1 parent
7062bc70f0
commit
be10cc4b42
62 files changed
+440
-438
No files matched your search
@@ -1,19 +1,19 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/account_service.proto
|
||||
|
||||
package services
|
||||
|
||||
import (
|
||||
_ "github.com/golang/protobuf/ptypes/wrappers"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
accounts "github.com/hashicorp/boundary/internal/gen/controller/api/resources/accounts"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
_ "google.golang.org/protobuf/types/known/wrapperspb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -328,9 +328,9 @@ type UpdateAccountRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *accounts.Account `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *accounts.Account `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateAccountRequest) Reset() {
|
||||
@@ -379,7 +379,7 @@ func (x *UpdateAccountRequest) GetItem() *accounts.Account {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateAccountRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -971,7 +971,7 @@ var file_controller_api_services_v1_account_service_proto_goTypes = []interface{
|
||||
(*ChangePasswordRequest)(nil), // 12: controller.api.services.v1.ChangePasswordRequest
|
||||
(*ChangePasswordResponse)(nil), // 13: controller.api.services.v1.ChangePasswordResponse
|
||||
(*accounts.Account)(nil), // 14: controller.api.resources.accounts.v1.Account
|
||||
(*field_mask.FieldMask)(nil), // 15: google.protobuf.FieldMask
|
||||
(*fieldmaskpb.FieldMask)(nil), // 15: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_account_service_proto_depIdxs = []int32{
|
||||
14, // 0: controller.api.services.v1.GetAccountResponse.item:type_name -> controller.api.resources.accounts.v1.Account
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/auth_method_service.proto
|
||||
|
||||
package services
|
||||
|
||||
import (
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
authmethods "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authmethods"
|
||||
authtokens "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authtokens"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
structpb "google.golang.org/protobuf/types/known/structpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -339,7 +339,7 @@ type UpdateAuthMethodRequest struct {
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *authmethods.AuthMethod `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateAuthMethodRequest) Reset() {
|
||||
@@ -388,7 +388,7 @@ func (x *UpdateAuthMethodRequest) GetItem() *authmethods.AuthMethod {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateAuthMethodRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateAuthMethodRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -597,7 +597,7 @@ type ChangeStateRequest struct {
|
||||
// The mutation will fail if the version does not match the latest known good version.
|
||||
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
||||
// The attributes specific to this auth method's state.
|
||||
Attributes *_struct.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
||||
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ChangeStateRequest) Reset() {
|
||||
@@ -646,7 +646,7 @@ func (x *ChangeStateRequest) GetVersion() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ChangeStateRequest) GetAttributes() *_struct.Struct {
|
||||
func (x *ChangeStateRequest) GetAttributes() *structpb.Struct {
|
||||
if x != nil {
|
||||
return x.Attributes
|
||||
}
|
||||
@@ -765,7 +765,7 @@ type OidcStartAttributes struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// An object which will be marshaled as JSON and roundtripped in the token command call.
|
||||
RoundtripPayload *_struct.Struct `protobuf:"bytes,1,opt,name=roundtrip_payload,proto3" json:"roundtrip_payload,omitempty"`
|
||||
RoundtripPayload *structpb.Struct `protobuf:"bytes,1,opt,name=roundtrip_payload,proto3" json:"roundtrip_payload,omitempty"`
|
||||
// Cached marshaled payload. This is not ingressed from the client; anything found will be thrown out.
|
||||
CachedRoundtripPayload string `protobuf:"bytes,2,opt,name=cached_roundtrip_payload,json=cachedRoundtripPayload,proto3" json:"cached_roundtrip_payload,omitempty"`
|
||||
}
|
||||
@@ -802,7 +802,7 @@ func (*OidcStartAttributes) Descriptor() ([]byte, []int) {
|
||||
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *OidcStartAttributes) GetRoundtripPayload() *_struct.Struct {
|
||||
func (x *OidcStartAttributes) GetRoundtripPayload() *structpb.Struct {
|
||||
if x != nil {
|
||||
return x.RoundtripPayload
|
||||
}
|
||||
@@ -881,9 +881,9 @@ type AuthenticateRequest struct {
|
||||
// Deprecated; use "attributes" instead.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
Credentials *_struct.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
|
||||
Credentials *structpb.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
|
||||
// Attributes are passed to the Auth Method; the valid keys and values depend on the type of Auth Method as well as the command.
|
||||
Attributes *_struct.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
||||
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
||||
// The command to perform.
|
||||
Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty"`
|
||||
}
|
||||
@@ -935,14 +935,14 @@ func (x *AuthenticateRequest) GetTokenType() string {
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *AuthenticateRequest) GetCredentials() *_struct.Struct {
|
||||
func (x *AuthenticateRequest) GetCredentials() *structpb.Struct {
|
||||
if x != nil {
|
||||
return x.Credentials
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AuthenticateRequest) GetAttributes() *_struct.Struct {
|
||||
func (x *AuthenticateRequest) GetAttributes() *structpb.Struct {
|
||||
if x != nil {
|
||||
return x.Attributes
|
||||
}
|
||||
@@ -962,7 +962,7 @@ type AuthenticateResponse struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Valid keys and values depend on the type of Auth Method as well as the command.
|
||||
Attributes *_struct.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
||||
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
||||
// The command that was performed.
|
||||
Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty"`
|
||||
}
|
||||
@@ -999,7 +999,7 @@ func (*AuthenticateResponse) Descriptor() ([]byte, []int) {
|
||||
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *AuthenticateResponse) GetAttributes() *_struct.Struct {
|
||||
func (x *AuthenticateResponse) GetAttributes() *structpb.Struct {
|
||||
if x != nil {
|
||||
return x.Attributes
|
||||
}
|
||||
@@ -1024,7 +1024,7 @@ type AuthenticateLoginRequest struct {
|
||||
// to keep it safe from rogue JS in the browser.
|
||||
TokenType string `protobuf:"bytes,2,opt,name=token_type,proto3" json:"token_type,omitempty"`
|
||||
// Credentials are passed to the Auth Method; the valid keys and values depend on the type of Auth Method.
|
||||
Credentials *_struct.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
|
||||
Credentials *structpb.Struct `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
|
||||
}
|
||||
|
||||
func (x *AuthenticateLoginRequest) Reset() {
|
||||
@@ -1073,7 +1073,7 @@ func (x *AuthenticateLoginRequest) GetTokenType() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AuthenticateLoginRequest) GetCredentials() *_struct.Struct {
|
||||
func (x *AuthenticateLoginRequest) GetCredentials() *structpb.Struct {
|
||||
if x != nil {
|
||||
return x.Credentials
|
||||
}
|
||||
@@ -1447,8 +1447,8 @@ var file_controller_api_services_v1_auth_method_service_proto_goTypes = []interf
|
||||
(*AuthenticateLoginRequest)(nil), // 18: controller.api.services.v1.AuthenticateLoginRequest
|
||||
(*AuthenticateLoginResponse)(nil), // 19: controller.api.services.v1.AuthenticateLoginResponse
|
||||
(*authmethods.AuthMethod)(nil), // 20: controller.api.resources.authmethods.v1.AuthMethod
|
||||
(*field_mask.FieldMask)(nil), // 21: google.protobuf.FieldMask
|
||||
(*_struct.Struct)(nil), // 22: google.protobuf.Struct
|
||||
(*fieldmaskpb.FieldMask)(nil), // 21: google.protobuf.FieldMask
|
||||
(*structpb.Struct)(nil), // 22: google.protobuf.Struct
|
||||
(*authtokens.AuthToken)(nil), // 23: controller.api.resources.authtokens.v1.AuthToken
|
||||
}
|
||||
var file_controller_api_services_v1_auth_method_service_proto_depIdxs = []int32{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/authtokens_service.proto
|
||||
|
||||
package services
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/group_service.proto
|
||||
|
||||
package services
|
||||
|
||||
import (
|
||||
_ "github.com/golang/protobuf/ptypes/wrappers"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
groups "github.com/hashicorp/boundary/internal/gen/controller/api/resources/groups"
|
||||
_ "github.com/hashicorp/boundary/internal/gen/controller/api/resources/scopes"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
_ "google.golang.org/protobuf/types/known/wrapperspb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -337,9 +337,9 @@ type UpdateGroupRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *groups.Group `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *groups.Group `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateGroupRequest) Reset() {
|
||||
@@ -388,7 +388,7 @@ func (x *UpdateGroupRequest) GetItem() *groups.Group {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateGroupRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -1108,7 +1108,7 @@ var file_controller_api_services_v1_group_service_proto_goTypes = []interface{}{
|
||||
(*RemoveGroupMembersRequest)(nil), // 14: controller.api.services.v1.RemoveGroupMembersRequest
|
||||
(*RemoveGroupMembersResponse)(nil), // 15: controller.api.services.v1.RemoveGroupMembersResponse
|
||||
(*groups.Group)(nil), // 16: controller.api.resources.groups.v1.Group
|
||||
(*field_mask.FieldMask)(nil), // 17: google.protobuf.FieldMask
|
||||
(*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_group_service_proto_depIdxs = []int32{
|
||||
16, // 0: controller.api.services.v1.GetGroupResponse.item:type_name -> controller.api.resources.groups.v1.Group
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/host_catalog_service.proto
|
||||
|
||||
package services
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
hostcatalogs "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hostcatalogs"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -337,7 +337,7 @@ type UpdateHostCatalogRequest struct {
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *hostcatalogs.HostCatalog `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateHostCatalogRequest) Reset() {
|
||||
@@ -386,7 +386,7 @@ func (x *UpdateHostCatalogRequest) GetItem() *hostcatalogs.HostCatalog {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateHostCatalogRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateHostCatalogRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -698,7 +698,7 @@ var file_controller_api_services_v1_host_catalog_service_proto_goTypes = []inter
|
||||
(*DeleteHostCatalogRequest)(nil), // 8: controller.api.services.v1.DeleteHostCatalogRequest
|
||||
(*DeleteHostCatalogResponse)(nil), // 9: controller.api.services.v1.DeleteHostCatalogResponse
|
||||
(*hostcatalogs.HostCatalog)(nil), // 10: controller.api.resources.hostcatalogs.v1.HostCatalog
|
||||
(*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
||||
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_host_catalog_service_proto_depIdxs = []int32{
|
||||
10, // 0: controller.api.services.v1.GetHostCatalogResponse.item:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/host_service.proto
|
||||
|
||||
package services
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
hosts "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hosts"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -327,9 +327,9 @@ type UpdateHostRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *hosts.Host `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *hosts.Host `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateHostRequest) Reset() {
|
||||
@@ -378,7 +378,7 @@ func (x *UpdateHostRequest) GetItem() *hosts.Host {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateHostRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateHostRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -656,18 +656,18 @@ func file_controller_api_services_v1_host_service_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_controller_api_services_v1_host_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_controller_api_services_v1_host_service_proto_goTypes = []interface{}{
|
||||
(*GetHostRequest)(nil), // 0: controller.api.services.v1.GetHostRequest
|
||||
(*GetHostResponse)(nil), // 1: controller.api.services.v1.GetHostResponse
|
||||
(*ListHostsRequest)(nil), // 2: controller.api.services.v1.ListHostsRequest
|
||||
(*ListHostsResponse)(nil), // 3: controller.api.services.v1.ListHostsResponse
|
||||
(*CreateHostRequest)(nil), // 4: controller.api.services.v1.CreateHostRequest
|
||||
(*CreateHostResponse)(nil), // 5: controller.api.services.v1.CreateHostResponse
|
||||
(*UpdateHostRequest)(nil), // 6: controller.api.services.v1.UpdateHostRequest
|
||||
(*UpdateHostResponse)(nil), // 7: controller.api.services.v1.UpdateHostResponse
|
||||
(*DeleteHostRequest)(nil), // 8: controller.api.services.v1.DeleteHostRequest
|
||||
(*DeleteHostResponse)(nil), // 9: controller.api.services.v1.DeleteHostResponse
|
||||
(*hosts.Host)(nil), // 10: controller.api.resources.hosts.v1.Host
|
||||
(*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
||||
(*GetHostRequest)(nil), // 0: controller.api.services.v1.GetHostRequest
|
||||
(*GetHostResponse)(nil), // 1: controller.api.services.v1.GetHostResponse
|
||||
(*ListHostsRequest)(nil), // 2: controller.api.services.v1.ListHostsRequest
|
||||
(*ListHostsResponse)(nil), // 3: controller.api.services.v1.ListHostsResponse
|
||||
(*CreateHostRequest)(nil), // 4: controller.api.services.v1.CreateHostRequest
|
||||
(*CreateHostResponse)(nil), // 5: controller.api.services.v1.CreateHostResponse
|
||||
(*UpdateHostRequest)(nil), // 6: controller.api.services.v1.UpdateHostRequest
|
||||
(*UpdateHostResponse)(nil), // 7: controller.api.services.v1.UpdateHostResponse
|
||||
(*DeleteHostRequest)(nil), // 8: controller.api.services.v1.DeleteHostRequest
|
||||
(*DeleteHostResponse)(nil), // 9: controller.api.services.v1.DeleteHostResponse
|
||||
(*hosts.Host)(nil), // 10: controller.api.resources.hosts.v1.Host
|
||||
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_host_service_proto_depIdxs = []int32{
|
||||
10, // 0: controller.api.services.v1.GetHostResponse.item:type_name -> controller.api.resources.hosts.v1.Host
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/host_set_service.proto
|
||||
|
||||
package services
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
hostsets "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hostsets"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -327,9 +327,9 @@ type UpdateHostSetRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *hostsets.HostSet `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *hostsets.HostSet `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateHostSetRequest) Reset() {
|
||||
@@ -378,7 +378,7 @@ func (x *UpdateHostSetRequest) GetItem() *hostsets.HostSet {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateHostSetRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateHostSetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -1098,7 +1098,7 @@ var file_controller_api_services_v1_host_set_service_proto_goTypes = []interface
|
||||
(*RemoveHostSetHostsRequest)(nil), // 14: controller.api.services.v1.RemoveHostSetHostsRequest
|
||||
(*RemoveHostSetHostsResponse)(nil), // 15: controller.api.services.v1.RemoveHostSetHostsResponse
|
||||
(*hostsets.HostSet)(nil), // 16: controller.api.resources.hostsets.v1.HostSet
|
||||
(*field_mask.FieldMask)(nil), // 17: google.protobuf.FieldMask
|
||||
(*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_host_set_service_proto_depIdxs = []int32{
|
||||
16, // 0: controller.api.services.v1.GetHostSetResponse.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/role_service.proto
|
||||
|
||||
package services
|
||||
|
||||
import (
|
||||
_ "github.com/golang/protobuf/ptypes/wrappers"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
roles "github.com/hashicorp/boundary/internal/gen/controller/api/resources/roles"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
_ "google.golang.org/protobuf/types/known/wrapperspb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -336,9 +336,9 @@ type UpdateRoleRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *roles.Role `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *roles.Role `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateRoleRequest) Reset() {
|
||||
@@ -387,7 +387,7 @@ func (x *UpdateRoleRequest) GetItem() *roles.Role {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateRoleRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateRoleRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -1523,7 +1523,7 @@ var file_controller_api_services_v1_role_service_proto_goTypes = []interface{}{
|
||||
(*RemoveRoleGrantsRequest)(nil), // 20: controller.api.services.v1.RemoveRoleGrantsRequest
|
||||
(*RemoveRoleGrantsResponse)(nil), // 21: controller.api.services.v1.RemoveRoleGrantsResponse
|
||||
(*roles.Role)(nil), // 22: controller.api.resources.roles.v1.Role
|
||||
(*field_mask.FieldMask)(nil), // 23: google.protobuf.FieldMask
|
||||
(*fieldmaskpb.FieldMask)(nil), // 23: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_role_service_proto_depIdxs = []int32{
|
||||
22, // 0: controller.api.services.v1.GetRoleResponse.item:type_name -> controller.api.resources.roles.v1.Role
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/scope_service.proto
|
||||
|
||||
package services
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
scopes "github.com/hashicorp/boundary/internal/gen/controller/api/resources/scopes"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -351,9 +351,9 @@ type UpdateScopeRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *scopes.Scope `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *scopes.Scope `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateScopeRequest) Reset() {
|
||||
@@ -402,7 +402,7 @@ func (x *UpdateScopeRequest) GetItem() *scopes.Scope {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateScopeRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateScopeRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -696,18 +696,18 @@ func file_controller_api_services_v1_scope_service_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_controller_api_services_v1_scope_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_controller_api_services_v1_scope_service_proto_goTypes = []interface{}{
|
||||
(*GetScopeRequest)(nil), // 0: controller.api.services.v1.GetScopeRequest
|
||||
(*GetScopeResponse)(nil), // 1: controller.api.services.v1.GetScopeResponse
|
||||
(*ListScopesRequest)(nil), // 2: controller.api.services.v1.ListScopesRequest
|
||||
(*ListScopesResponse)(nil), // 3: controller.api.services.v1.ListScopesResponse
|
||||
(*CreateScopeRequest)(nil), // 4: controller.api.services.v1.CreateScopeRequest
|
||||
(*CreateScopeResponse)(nil), // 5: controller.api.services.v1.CreateScopeResponse
|
||||
(*UpdateScopeRequest)(nil), // 6: controller.api.services.v1.UpdateScopeRequest
|
||||
(*UpdateScopeResponse)(nil), // 7: controller.api.services.v1.UpdateScopeResponse
|
||||
(*DeleteScopeRequest)(nil), // 8: controller.api.services.v1.DeleteScopeRequest
|
||||
(*DeleteScopeResponse)(nil), // 9: controller.api.services.v1.DeleteScopeResponse
|
||||
(*scopes.Scope)(nil), // 10: controller.api.resources.scopes.v1.Scope
|
||||
(*field_mask.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
||||
(*GetScopeRequest)(nil), // 0: controller.api.services.v1.GetScopeRequest
|
||||
(*GetScopeResponse)(nil), // 1: controller.api.services.v1.GetScopeResponse
|
||||
(*ListScopesRequest)(nil), // 2: controller.api.services.v1.ListScopesRequest
|
||||
(*ListScopesResponse)(nil), // 3: controller.api.services.v1.ListScopesResponse
|
||||
(*CreateScopeRequest)(nil), // 4: controller.api.services.v1.CreateScopeRequest
|
||||
(*CreateScopeResponse)(nil), // 5: controller.api.services.v1.CreateScopeResponse
|
||||
(*UpdateScopeRequest)(nil), // 6: controller.api.services.v1.UpdateScopeRequest
|
||||
(*UpdateScopeResponse)(nil), // 7: controller.api.services.v1.UpdateScopeResponse
|
||||
(*DeleteScopeRequest)(nil), // 8: controller.api.services.v1.DeleteScopeRequest
|
||||
(*DeleteScopeResponse)(nil), // 9: controller.api.services.v1.DeleteScopeResponse
|
||||
(*scopes.Scope)(nil), // 10: controller.api.resources.scopes.v1.Scope
|
||||
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_scope_service_proto_depIdxs = []int32{
|
||||
10, // 0: controller.api.services.v1.GetScopeResponse.item:type_name -> controller.api.resources.scopes.v1.Scope
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/session_service.proto
|
||||
|
||||
package services
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
sessions "github.com/hashicorp/boundary/internal/gen/controller/api/resources/sessions"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
_ "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/target_service.proto
|
||||
|
||||
package services
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
targets "github.com/hashicorp/boundary/internal/gen/controller/api/resources/targets"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -335,9 +335,9 @@ type UpdateTargetRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *targets.Target `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *targets.Target `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateTargetRequest) Reset() {
|
||||
@@ -386,7 +386,7 @@ func (x *UpdateTargetRequest) GetItem() *targets.Target {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateTargetRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateTargetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -1265,7 +1265,7 @@ var file_controller_api_services_v1_target_service_proto_goTypes = []interface{}
|
||||
(*AuthorizeSessionRequest)(nil), // 16: controller.api.services.v1.AuthorizeSessionRequest
|
||||
(*AuthorizeSessionResponse)(nil), // 17: controller.api.services.v1.AuthorizeSessionResponse
|
||||
(*targets.Target)(nil), // 18: controller.api.resources.targets.v1.Target
|
||||
(*field_mask.FieldMask)(nil), // 19: google.protobuf.FieldMask
|
||||
(*fieldmaskpb.FieldMask)(nil), // 19: google.protobuf.FieldMask
|
||||
(*targets.SessionAuthorization)(nil), // 20: controller.api.resources.targets.v1.SessionAuthorization
|
||||
}
|
||||
var file_controller_api_services_v1_target_service_proto_depIdxs = []int32{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/services/v1/user_service.proto
|
||||
|
||||
package services
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
users "github.com/hashicorp/boundary/internal/gen/controller/api/resources/users"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -335,9 +335,9 @@ type UpdateUserRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *users.User `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Item *users.User `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
||||
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateUserRequest) Reset() {
|
||||
@@ -386,7 +386,7 @@ func (x *UpdateUserRequest) GetItem() *users.User {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateUserRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
||||
if x != nil {
|
||||
return x.UpdateMask
|
||||
}
|
||||
@@ -1099,7 +1099,7 @@ var file_controller_api_services_v1_user_service_proto_goTypes = []interface{}{
|
||||
(*RemoveUserAccountsRequest)(nil), // 14: controller.api.services.v1.RemoveUserAccountsRequest
|
||||
(*RemoveUserAccountsResponse)(nil), // 15: controller.api.services.v1.RemoveUserAccountsResponse
|
||||
(*users.User)(nil), // 16: controller.api.resources.users.v1.User
|
||||
(*field_mask.FieldMask)(nil), // 17: google.protobuf.FieldMask
|
||||
(*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask
|
||||
}
|
||||
var file_controller_api_services_v1_user_service_proto_depIdxs = []int32{
|
||||
16, // 0: controller.api.services.v1.GetUserResponse.item:type_name -> controller.api.resources.users.v1.User
|
||||
|
||||
Reference in new issue
Block a user