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
- 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
- type ServiceInformationServiceClient
- type ServiceInformationServiceServer
- type ServiceInformationService_GetServiceInformationClient
- type ServiceInformationService_GetServiceInformationServer
- type UnimplementedServiceInformationServiceServer
- type UnsafeServiceInformationServiceServer
Constants ¶
This section is empty.
Variables ¶
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
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
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 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.