Documentation ¶
Index ¶
- Variables
- func RegisterServiceAccountServiceServer(s grpc.ServiceRegistrar, srv ServiceAccountServiceServer)
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetDescription() string
- func (x *CreateRequest) GetDisplayName() string
- func (x *CreateRequest) GetName() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type ServiceAccount
- func (*ServiceAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccount) GetClientId() string
- func (x *ServiceAccount) GetClientSecret() string
- func (x *ServiceAccount) GetDescription() string
- func (x *ServiceAccount) GetDisplayName() string
- func (x *ServiceAccount) GetEmail() string
- func (x *ServiceAccount) GetName() string
- func (x *ServiceAccount) GetServiceAccountId() int64
- func (*ServiceAccount) ProtoMessage()
- func (x *ServiceAccount) ProtoReflect() protoreflect.Message
- func (x *ServiceAccount) Reset()
- func (x *ServiceAccount) String() string
- type ServiceAccountRequest
- func (*ServiceAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccountRequest) GetServiceAccountId() string
- func (*ServiceAccountRequest) ProtoMessage()
- func (x *ServiceAccountRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceAccountRequest) Reset()
- func (x *ServiceAccountRequest) String() string
- type ServiceAccountServiceClient
- type ServiceAccountServiceServer
- type ServiceAccountService_DeleteClient
- type ServiceAccountService_DeleteServer
- type ServiceAccountService_ListClient
- type ServiceAccountService_ListServer
- type UnimplementedServiceAccountServiceServer
- func (UnimplementedServiceAccountServiceServer) Create(context.Context, *CreateRequest) (*ServiceAccount, error)
- func (UnimplementedServiceAccountServiceServer) Delete(ServiceAccountService_DeleteServer) error
- func (UnimplementedServiceAccountServiceServer) List(*empty.Empty, ServiceAccountService_ListServer) error
- type UnsafeServiceAccountServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_service_account_proto protoreflect.FileDescriptor
var ServiceAccountService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ServiceAccountService", HandlerType: (*ServiceAccountServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ServiceAccountService_Create_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ServiceAccountService_List_Handler, ServerStreams: true, }, { StreamName: "Delete", Handler: _ServiceAccountService_Delete_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "service_account.proto", }
ServiceAccountService_ServiceDesc is the grpc.ServiceDesc for ServiceAccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceAccountServiceServer ¶
func RegisterServiceAccountServiceServer(s grpc.ServiceRegistrar, srv ServiceAccountServiceServer)
Types ¶
type CreateRequest ¶
type CreateRequest struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetDescription ¶
func (x *CreateRequest) GetDescription() string
func (*CreateRequest) GetDisplayName ¶
func (x *CreateRequest) GetDisplayName() string
func (*CreateRequest) GetName ¶
func (x *CreateRequest) GetName() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type ServiceAccount ¶
type ServiceAccount struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ClientId string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,5,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` ServiceAccountId int64 `protobuf:"varint,6,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ServiceAccount) Descriptor
deprecated
func (*ServiceAccount) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.
func (*ServiceAccount) GetClientId ¶
func (x *ServiceAccount) GetClientId() string
func (*ServiceAccount) GetClientSecret ¶
func (x *ServiceAccount) GetClientSecret() string
func (*ServiceAccount) GetDescription ¶
func (x *ServiceAccount) GetDescription() string
func (*ServiceAccount) GetDisplayName ¶
func (x *ServiceAccount) GetDisplayName() string
func (*ServiceAccount) GetEmail ¶
func (x *ServiceAccount) GetEmail() string
func (*ServiceAccount) GetName ¶
func (x *ServiceAccount) GetName() string
func (*ServiceAccount) GetServiceAccountId ¶
func (x *ServiceAccount) GetServiceAccountId() int64
func (*ServiceAccount) ProtoMessage ¶
func (*ServiceAccount) ProtoMessage()
func (*ServiceAccount) ProtoReflect ¶
func (x *ServiceAccount) ProtoReflect() protoreflect.Message
func (*ServiceAccount) Reset ¶
func (x *ServiceAccount) Reset()
func (*ServiceAccount) String ¶
func (x *ServiceAccount) String() string
type ServiceAccountRequest ¶
type ServiceAccountRequest struct { ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*ServiceAccountRequest) Descriptor
deprecated
func (*ServiceAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAccountRequest.ProtoReflect.Descriptor instead.
func (*ServiceAccountRequest) GetServiceAccountId ¶
func (x *ServiceAccountRequest) GetServiceAccountId() string
func (*ServiceAccountRequest) ProtoMessage ¶
func (*ServiceAccountRequest) ProtoMessage()
func (*ServiceAccountRequest) ProtoReflect ¶
func (x *ServiceAccountRequest) ProtoReflect() protoreflect.Message
func (*ServiceAccountRequest) Reset ¶
func (x *ServiceAccountRequest) Reset()
func (*ServiceAccountRequest) String ¶
func (x *ServiceAccountRequest) String() string
type ServiceAccountServiceClient ¶
type ServiceAccountServiceClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*ServiceAccount, error) List(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ServiceAccountService_ListClient, error) Delete(ctx context.Context, opts ...grpc.CallOption) (ServiceAccountService_DeleteClient, error) }
ServiceAccountServiceClient is the client API for ServiceAccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceAccountServiceClient ¶
func NewServiceAccountServiceClient(cc grpc.ClientConnInterface) ServiceAccountServiceClient
type ServiceAccountServiceServer ¶
type ServiceAccountServiceServer interface { Create(context.Context, *CreateRequest) (*ServiceAccount, error) List(*empty.Empty, ServiceAccountService_ListServer) error Delete(ServiceAccountService_DeleteServer) error // contains filtered or unexported methods }
ServiceAccountServiceServer is the server API for ServiceAccountService service. All implementations must embed UnimplementedServiceAccountServiceServer for forward compatibility
type ServiceAccountService_DeleteClient ¶
type ServiceAccountService_DeleteClient interface { Send(*ServiceAccountRequest) error Recv() (*ServiceAccount, error) grpc.ClientStream }
type ServiceAccountService_DeleteServer ¶
type ServiceAccountService_DeleteServer interface { Send(*ServiceAccount) error Recv() (*ServiceAccountRequest, error) grpc.ServerStream }
type ServiceAccountService_ListClient ¶
type ServiceAccountService_ListClient interface { Recv() (*ServiceAccount, error) grpc.ClientStream }
type ServiceAccountService_ListServer ¶
type ServiceAccountService_ListServer interface { Send(*ServiceAccount) error grpc.ServerStream }
type UnimplementedServiceAccountServiceServer ¶
type UnimplementedServiceAccountServiceServer struct { }
UnimplementedServiceAccountServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceAccountServiceServer) Create ¶
func (UnimplementedServiceAccountServiceServer) Create(context.Context, *CreateRequest) (*ServiceAccount, error)
type UnsafeServiceAccountServiceServer ¶
type UnsafeServiceAccountServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceAccountServiceServer will result in compilation errors.