Documentation ¶
Index ¶
- Variables
- func RegisterServiceInformationServiceServer(s grpc.ServiceRegistrar, srv ServiceInformationServiceServer)
- type CertificateChain
- func (*CertificateChain) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateChain) GetCa() []byte
- func (x *CertificateChain) GetCertificate() []byte
- func (*CertificateChain) ProtoMessage()
- func (x *CertificateChain) ProtoReflect() protoreflect.Message
- func (x *CertificateChain) Reset()
- func (x *CertificateChain) String() string
- func (m *CertificateChain) Validate() error
- func (m *CertificateChain) ValidateAll() error
- type CertificateChainMultiError
- type CertificateChainValidationError
- func (e CertificateChainValidationError) Cause() error
- func (e CertificateChainValidationError) Error() string
- func (e CertificateChainValidationError) ErrorName() string
- func (e CertificateChainValidationError) Field() string
- func (e CertificateChainValidationError) Key() bool
- func (e CertificateChainValidationError) Reason() string
- type ServiceInformation
- func (*ServiceInformation) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceInformation) GetCommit() string
- func (x *ServiceInformation) GetName() string
- func (x *ServiceInformation) GetVersion() string
- func (*ServiceInformation) ProtoMessage()
- func (x *ServiceInformation) ProtoReflect() protoreflect.Message
- func (x *ServiceInformation) Reset()
- func (x *ServiceInformation) String() string
- func (m *ServiceInformation) Validate() error
- func (m *ServiceInformation) ValidateAll() error
- type ServiceInformationMultiError
- type ServiceInformationServiceClient
- type ServiceInformationServiceServer
- type ServiceInformationService_GetServiceInformationClient
- type ServiceInformationService_GetServiceInformationServer
- type ServiceInformationValidationError
- func (e ServiceInformationValidationError) Cause() error
- func (e ServiceInformationValidationError) Error() string
- func (e ServiceInformationValidationError) ErrorName() string
- func (e ServiceInformationValidationError) Field() string
- func (e ServiceInformationValidationError) Key() bool
- func (e ServiceInformationValidationError) Reason() string
- type UnimplementedServiceInformationServiceServer
- type UnsafeServiceInformationServiceServer
- type UserSource
Constants ¶
This section is empty.
Variables ¶
var ( UserSource_name = map[int32]string{ 0: "INTERNAL", 1: "SCIM", } UserSource_value = map[string]int32{ "INTERNAL": 0, "SCIM": 1, } )
Enum value maps for UserSource.
var File_api_domain_common_messages_proto protoreflect.FileDescriptor
var File_api_domain_common_service_proto protoreflect.FileDescriptor
var ServiceInformationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "common.ServiceInformationService", HandlerType: (*ServiceInformationServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetServiceInformation", Handler: _ServiceInformationService_GetServiceInformation_Handler, ServerStreams: true, }, }, Metadata: "api/domain/common/service.proto", }
ServiceInformationService_ServiceDesc is the grpc.ServiceDesc for ServiceInformationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceInformationServiceServer ¶
func RegisterServiceInformationServiceServer(s grpc.ServiceRegistrar, srv ServiceInformationServiceServer)
Types ¶
type CertificateChain ¶
type CertificateChain struct { // CA Certificate Ca []byte `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"` // Certificate Certificate []byte `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
Chain of certificates
func (*CertificateChain) Descriptor
deprecated
func (*CertificateChain) Descriptor() ([]byte, []int)
Deprecated: Use CertificateChain.ProtoReflect.Descriptor instead.
func (*CertificateChain) GetCa ¶
func (x *CertificateChain) GetCa() []byte
func (*CertificateChain) GetCertificate ¶
func (x *CertificateChain) GetCertificate() []byte
func (*CertificateChain) ProtoMessage ¶
func (*CertificateChain) ProtoMessage()
func (*CertificateChain) ProtoReflect ¶
func (x *CertificateChain) ProtoReflect() protoreflect.Message
func (*CertificateChain) Reset ¶
func (x *CertificateChain) Reset()
func (*CertificateChain) String ¶
func (x *CertificateChain) String() string
func (*CertificateChain) Validate ¶ added in v0.3.0
func (m *CertificateChain) Validate() error
Validate checks the field values on CertificateChain with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CertificateChain) ValidateAll ¶ added in v0.3.0
func (m *CertificateChain) ValidateAll() error
ValidateAll checks the field values on CertificateChain with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CertificateChainMultiError, or nil if none found.
type CertificateChainMultiError ¶ added in v0.3.0
type CertificateChainMultiError []error
CertificateChainMultiError is an error wrapping multiple validation errors returned by CertificateChain.ValidateAll() if the designated constraints aren't met.
func (CertificateChainMultiError) AllErrors ¶ added in v0.3.0
func (m CertificateChainMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CertificateChainMultiError) Error ¶ added in v0.3.0
func (m CertificateChainMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CertificateChainValidationError ¶ added in v0.3.0
type CertificateChainValidationError struct {
// contains filtered or unexported fields
}
CertificateChainValidationError is the validation error returned by CertificateChain.Validate if the designated constraints aren't met.
func (CertificateChainValidationError) Cause ¶ added in v0.3.0
func (e CertificateChainValidationError) Cause() error
Cause function returns cause value.
func (CertificateChainValidationError) Error ¶ added in v0.3.0
func (e CertificateChainValidationError) Error() string
Error satisfies the builtin error interface
func (CertificateChainValidationError) ErrorName ¶ added in v0.3.0
func (e CertificateChainValidationError) ErrorName() string
ErrorName returns error name.
func (CertificateChainValidationError) Field ¶ added in v0.3.0
func (e CertificateChainValidationError) Field() string
Field function returns field value.
func (CertificateChainValidationError) Key ¶ added in v0.3.0
func (e CertificateChainValidationError) Key() bool
Key function returns key value.
func (CertificateChainValidationError) Reason ¶ added in v0.3.0
func (e CertificateChainValidationError) Reason() string
Reason function returns reason value.
type ServiceInformation ¶
type ServiceInformation struct { // version Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // commit hash of the service Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
ServiceInformation are the version and commit hash of a service
func (*ServiceInformation) Descriptor
deprecated
func (*ServiceInformation) Descriptor() ([]byte, []int)
Deprecated: Use ServiceInformation.ProtoReflect.Descriptor instead.
func (*ServiceInformation) GetCommit ¶
func (x *ServiceInformation) GetCommit() string
func (*ServiceInformation) GetName ¶
func (x *ServiceInformation) GetName() string
func (*ServiceInformation) GetVersion ¶
func (x *ServiceInformation) GetVersion() string
func (*ServiceInformation) ProtoMessage ¶
func (*ServiceInformation) ProtoMessage()
func (*ServiceInformation) ProtoReflect ¶
func (x *ServiceInformation) ProtoReflect() protoreflect.Message
func (*ServiceInformation) Reset ¶
func (x *ServiceInformation) Reset()
func (*ServiceInformation) String ¶
func (x *ServiceInformation) String() string
func (*ServiceInformation) Validate ¶ added in v0.3.0
func (m *ServiceInformation) Validate() error
Validate checks the field values on ServiceInformation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceInformation) ValidateAll ¶ added in v0.3.0
func (m *ServiceInformation) ValidateAll() error
ValidateAll checks the field values on ServiceInformation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceInformationMultiError, or nil if none found.
type ServiceInformationMultiError ¶ added in v0.3.0
type ServiceInformationMultiError []error
ServiceInformationMultiError is an error wrapping multiple validation errors returned by ServiceInformation.ValidateAll() if the designated constraints aren't met.
func (ServiceInformationMultiError) AllErrors ¶ added in v0.3.0
func (m ServiceInformationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceInformationMultiError) Error ¶ added in v0.3.0
func (m ServiceInformationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceInformationServiceClient ¶
type ServiceInformationServiceClient interface { // Get information about the service. This can include information for other // services additionally. GetServiceInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (ServiceInformationService_GetServiceInformationClient, error) }
ServiceInformationServiceClient is the client API for ServiceInformationService 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 NewServiceInformationServiceClient ¶
func NewServiceInformationServiceClient(cc grpc.ClientConnInterface) ServiceInformationServiceClient
type ServiceInformationServiceServer ¶
type ServiceInformationServiceServer interface { // Get information about the service. This can include information for other // services additionally. GetServiceInformation(*emptypb.Empty, ServiceInformationService_GetServiceInformationServer) error // contains filtered or unexported methods }
ServiceInformationServiceServer is the server API for ServiceInformationService service. All implementations must embed UnimplementedServiceInformationServiceServer for forward compatibility
type ServiceInformationService_GetServiceInformationClient ¶
type ServiceInformationService_GetServiceInformationClient interface { Recv() (*ServiceInformation, error) grpc.ClientStream }
type ServiceInformationService_GetServiceInformationServer ¶
type ServiceInformationService_GetServiceInformationServer interface { Send(*ServiceInformation) error grpc.ServerStream }
type ServiceInformationValidationError ¶ added in v0.3.0
type ServiceInformationValidationError struct {
// contains filtered or unexported fields
}
ServiceInformationValidationError is the validation error returned by ServiceInformation.Validate if the designated constraints aren't met.
func (ServiceInformationValidationError) Cause ¶ added in v0.3.0
func (e ServiceInformationValidationError) Cause() error
Cause function returns cause value.
func (ServiceInformationValidationError) Error ¶ added in v0.3.0
func (e ServiceInformationValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceInformationValidationError) ErrorName ¶ added in v0.3.0
func (e ServiceInformationValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceInformationValidationError) Field ¶ added in v0.3.0
func (e ServiceInformationValidationError) Field() string
Field function returns field value.
func (ServiceInformationValidationError) Key ¶ added in v0.3.0
func (e ServiceInformationValidationError) Key() bool
Key function returns key value.
func (ServiceInformationValidationError) Reason ¶ added in v0.3.0
func (e ServiceInformationValidationError) Reason() string
Reason function returns reason value.
type UnimplementedServiceInformationServiceServer ¶
type UnimplementedServiceInformationServiceServer struct { }
UnimplementedServiceInformationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceInformationServiceServer) GetServiceInformation ¶
func (UnimplementedServiceInformationServiceServer) GetServiceInformation(*emptypb.Empty, ServiceInformationService_GetServiceInformationServer) error
type UnsafeServiceInformationServiceServer ¶
type UnsafeServiceInformationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceInformationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceInformationServiceServer will result in compilation errors.
type UserSource ¶ added in v0.3.0
type UserSource int32
const ( UserSource_INTERNAL UserSource = 0 UserSource_SCIM UserSource = 1 )
func (UserSource) Descriptor ¶ added in v0.3.0
func (UserSource) Descriptor() protoreflect.EnumDescriptor
func (UserSource) Enum ¶ added in v0.3.0
func (x UserSource) Enum() *UserSource
func (UserSource) EnumDescriptor
deprecated
added in
v0.3.0
func (UserSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSource.Descriptor instead.
func (UserSource) Number ¶ added in v0.3.0
func (x UserSource) Number() protoreflect.EnumNumber
func (UserSource) String ¶ added in v0.3.0
func (x UserSource) String() string
func (UserSource) Type ¶ added in v0.3.0
func (UserSource) Type() protoreflect.EnumType