Documentation
¶
Index ¶
Constants ¶
const (
STSService_Health_FullMethodName = "/gitlab.iam.sts.v1.STSService/Health"
)
Variables ¶
var File_proto_sts_sts_proto protoreflect.FileDescriptor
var STSService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.iam.sts.v1.STSService", HandlerType: (*STSServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Health", Handler: _STSService_Health_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/sts/sts.proto", }
STSService_ServiceDesc is the grpc.ServiceDesc for STSService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSTSServiceServer ¶ added in v1.10.0
func RegisterSTSServiceServer(s grpc.ServiceRegistrar, srv STSServiceServer)
Types ¶
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetStatus ¶
func (x *HealthResponse) GetStatus() string
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type STSServiceClient ¶ added in v1.10.0
type STSServiceClient interface {
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}
STSServiceClient is the client API for STSService 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 NewSTSServiceClient ¶ added in v1.10.0
func NewSTSServiceClient(cc grpc.ClientConnInterface) STSServiceClient
type STSServiceServer ¶ added in v1.10.0
type STSServiceServer interface {
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// contains filtered or unexported methods
}
STSServiceServer is the server API for STSService service. All implementations must embed UnimplementedSTSServiceServer for forward compatibility.
type UnimplementedSTSServiceServer ¶ added in v1.10.0
type UnimplementedSTSServiceServer struct{}
UnimplementedSTSServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSTSServiceServer) Health ¶ added in v1.10.0
func (UnimplementedSTSServiceServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
type UnsafeSTSServiceServer ¶ added in v1.10.0
type UnsafeSTSServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSTSServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to STSServiceServer will result in compilation errors.