Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- func RegisterStatusServiceHTTPServer(s *http.Server, srv StatusServiceHTTPServer)
- func RegisterStatusServiceServer(s grpc.ServiceRegistrar, srv StatusServiceServer)
- type CASResource
- func (*CASResource) Descriptor() ([]byte, []int)deprecated
- func (x *CASResource) GetDigest() string
- func (x *CASResource) GetFileName() string
- func (x *CASResource) GetSize() int64
- func (*CASResource) ProtoMessage()
- func (x *CASResource) ProtoReflect() protoreflect.Message
- func (x *CASResource) Reset()
- func (x *CASResource) String() string
- func (m *CASResource) Validate() error
- func (m *CASResource) ValidateAll() error
- type CASResourceMultiError
- type CASResourceValidationError
- func (e CASResourceValidationError) Cause() error
- func (e CASResourceValidationError) Error() string
- func (e CASResourceValidationError) ErrorName() string
- func (e CASResourceValidationError) Field() string
- func (e CASResourceValidationError) Key() bool
- func (e CASResourceValidationError) Reason() string
- type InfozRequest
- func (*InfozRequest) Descriptor() ([]byte, []int)deprecated
- func (*InfozRequest) ProtoMessage()
- func (x *InfozRequest) ProtoReflect() protoreflect.Message
- func (x *InfozRequest) Reset()
- func (x *InfozRequest) String() string
- func (m *InfozRequest) Validate() error
- func (m *InfozRequest) ValidateAll() error
- type InfozRequestMultiError
- type InfozRequestValidationError
- func (e InfozRequestValidationError) Cause() error
- func (e InfozRequestValidationError) Error() string
- func (e InfozRequestValidationError) ErrorName() string
- func (e InfozRequestValidationError) Field() string
- func (e InfozRequestValidationError) Key() bool
- func (e InfozRequestValidationError) Reason() string
- type InfozResponse
- func (*InfozResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InfozResponse) GetVersion() string
- func (*InfozResponse) ProtoMessage()
- func (x *InfozResponse) ProtoReflect() protoreflect.Message
- func (x *InfozResponse) Reset()
- func (x *InfozResponse) String() string
- func (m *InfozResponse) Validate() error
- func (m *InfozResponse) ValidateAll() error
- type InfozResponseMultiError
- type InfozResponseValidationError
- func (e InfozResponseValidationError) Cause() error
- func (e InfozResponseValidationError) Error() string
- func (e InfozResponseValidationError) ErrorName() string
- func (e InfozResponseValidationError) Field() string
- func (e InfozResponseValidationError) Key() bool
- func (e InfozResponseValidationError) Reason() string
- type ResourceServiceClient
- type ResourceServiceDescribeRequest
- func (*ResourceServiceDescribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceServiceDescribeRequest) GetDigest() string
- func (*ResourceServiceDescribeRequest) ProtoMessage()
- func (x *ResourceServiceDescribeRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceServiceDescribeRequest) Reset()
- func (x *ResourceServiceDescribeRequest) String() string
- func (m *ResourceServiceDescribeRequest) Validate() error
- func (m *ResourceServiceDescribeRequest) ValidateAll() error
- type ResourceServiceDescribeRequestMultiError
- type ResourceServiceDescribeRequestValidationError
- func (e ResourceServiceDescribeRequestValidationError) Cause() error
- func (e ResourceServiceDescribeRequestValidationError) Error() string
- func (e ResourceServiceDescribeRequestValidationError) ErrorName() string
- func (e ResourceServiceDescribeRequestValidationError) Field() string
- func (e ResourceServiceDescribeRequestValidationError) Key() bool
- func (e ResourceServiceDescribeRequestValidationError) Reason() string
- type ResourceServiceDescribeResponse
- func (*ResourceServiceDescribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceServiceDescribeResponse) GetResult() *CASResource
- func (*ResourceServiceDescribeResponse) ProtoMessage()
- func (x *ResourceServiceDescribeResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceServiceDescribeResponse) Reset()
- func (x *ResourceServiceDescribeResponse) String() string
- func (m *ResourceServiceDescribeResponse) Validate() error
- func (m *ResourceServiceDescribeResponse) ValidateAll() error
- type ResourceServiceDescribeResponseMultiError
- type ResourceServiceDescribeResponseValidationError
- func (e ResourceServiceDescribeResponseValidationError) Cause() error
- func (e ResourceServiceDescribeResponseValidationError) Error() string
- func (e ResourceServiceDescribeResponseValidationError) ErrorName() string
- func (e ResourceServiceDescribeResponseValidationError) Field() string
- func (e ResourceServiceDescribeResponseValidationError) Key() bool
- func (e ResourceServiceDescribeResponseValidationError) Reason() string
- type ResourceServiceServer
- type StatusServiceClient
- type StatusServiceHTTPClient
- type StatusServiceHTTPClientImpl
- type StatusServiceHTTPServer
- type StatusServiceServer
- type StatuszRequest
- func (*StatuszRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatuszRequest) GetReadiness() bool
- func (*StatuszRequest) ProtoMessage()
- func (x *StatuszRequest) ProtoReflect() protoreflect.Message
- func (x *StatuszRequest) Reset()
- func (x *StatuszRequest) String() string
- func (m *StatuszRequest) Validate() error
- func (m *StatuszRequest) ValidateAll() error
- type StatuszRequestMultiError
- type StatuszRequestValidationError
- func (e StatuszRequestValidationError) Cause() error
- func (e StatuszRequestValidationError) Error() string
- func (e StatuszRequestValidationError) ErrorName() string
- func (e StatuszRequestValidationError) Field() string
- func (e StatuszRequestValidationError) Key() bool
- func (e StatuszRequestValidationError) Reason() string
- type StatuszResponse
- func (*StatuszResponse) Descriptor() ([]byte, []int)deprecated
- func (*StatuszResponse) ProtoMessage()
- func (x *StatuszResponse) ProtoReflect() protoreflect.Message
- func (x *StatuszResponse) Reset()
- func (x *StatuszResponse) String() string
- func (m *StatuszResponse) Validate() error
- func (m *StatuszResponse) ValidateAll() error
- type StatuszResponseMultiError
- type StatuszResponseValidationError
- func (e StatuszResponseValidationError) Cause() error
- func (e StatuszResponseValidationError) Error() string
- func (e StatuszResponseValidationError) ErrorName() string
- func (e StatuszResponseValidationError) Field() string
- func (e StatuszResponseValidationError) Key() bool
- func (e StatuszResponseValidationError) Reason() string
- type UnimplementedResourceServiceServer
- type UnimplementedStatusServiceServer
- type UnsafeResourceServiceServer
- type UnsafeStatusServiceServer
Constants ¶
const OperationStatusServiceInfoz = "/cas.v1.StatusService/Infoz"
const OperationStatusServiceStatusz = "/cas.v1.StatusService/Statusz"
Variables ¶
var File_cas_v1_resource_proto protoreflect.FileDescriptor
var File_cas_v1_status_proto protoreflect.FileDescriptor
var ResourceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cas.v1.ResourceService", HandlerType: (*ResourceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Describe", Handler: _ResourceService_Describe_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cas/v1/resource.proto", }
ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StatusService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cas.v1.StatusService", HandlerType: (*StatusServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Infoz", Handler: _StatusService_Infoz_Handler, }, { MethodName: "Statusz", Handler: _StatusService_Statusz_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cas/v1/status.proto", }
StatusService_ServiceDesc is the grpc.ServiceDesc for StatusService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterResourceServiceServer ¶
func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
func RegisterStatusServiceHTTPServer ¶
func RegisterStatusServiceHTTPServer(s *http.Server, srv StatusServiceHTTPServer)
func RegisterStatusServiceServer ¶
func RegisterStatusServiceServer(s grpc.ServiceRegistrar, srv StatusServiceServer)
Types ¶
type CASResource ¶
type CASResource struct { FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // size in bytes Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*CASResource) Descriptor
deprecated
func (*CASResource) Descriptor() ([]byte, []int)
Deprecated: Use CASResource.ProtoReflect.Descriptor instead.
func (*CASResource) GetDigest ¶
func (x *CASResource) GetDigest() string
func (*CASResource) GetFileName ¶
func (x *CASResource) GetFileName() string
func (*CASResource) GetSize ¶
func (x *CASResource) GetSize() int64
func (*CASResource) ProtoMessage ¶
func (*CASResource) ProtoMessage()
func (*CASResource) ProtoReflect ¶
func (x *CASResource) ProtoReflect() protoreflect.Message
func (*CASResource) Reset ¶
func (x *CASResource) Reset()
func (*CASResource) String ¶
func (x *CASResource) String() string
func (*CASResource) Validate ¶
func (m *CASResource) Validate() error
Validate checks the field values on CASResource 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 (*CASResource) ValidateAll ¶
func (m *CASResource) ValidateAll() error
ValidateAll checks the field values on CASResource 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 CASResourceMultiError, or nil if none found.
type CASResourceMultiError ¶
type CASResourceMultiError []error
CASResourceMultiError is an error wrapping multiple validation errors returned by CASResource.ValidateAll() if the designated constraints aren't met.
func (CASResourceMultiError) AllErrors ¶
func (m CASResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CASResourceMultiError) Error ¶
func (m CASResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CASResourceValidationError ¶
type CASResourceValidationError struct {
// contains filtered or unexported fields
}
CASResourceValidationError is the validation error returned by CASResource.Validate if the designated constraints aren't met.
func (CASResourceValidationError) Cause ¶
func (e CASResourceValidationError) Cause() error
Cause function returns cause value.
func (CASResourceValidationError) Error ¶
func (e CASResourceValidationError) Error() string
Error satisfies the builtin error interface
func (CASResourceValidationError) ErrorName ¶
func (e CASResourceValidationError) ErrorName() string
ErrorName returns error name.
func (CASResourceValidationError) Field ¶
func (e CASResourceValidationError) Field() string
Field function returns field value.
func (CASResourceValidationError) Key ¶
func (e CASResourceValidationError) Key() bool
Key function returns key value.
func (CASResourceValidationError) Reason ¶
func (e CASResourceValidationError) Reason() string
Reason function returns reason value.
type InfozRequest ¶
type InfozRequest struct {
// contains filtered or unexported fields
}
func (*InfozRequest) Descriptor
deprecated
func (*InfozRequest) Descriptor() ([]byte, []int)
Deprecated: Use InfozRequest.ProtoReflect.Descriptor instead.
func (*InfozRequest) ProtoMessage ¶
func (*InfozRequest) ProtoMessage()
func (*InfozRequest) ProtoReflect ¶
func (x *InfozRequest) ProtoReflect() protoreflect.Message
func (*InfozRequest) Reset ¶
func (x *InfozRequest) Reset()
func (*InfozRequest) String ¶
func (x *InfozRequest) String() string
func (*InfozRequest) Validate ¶
func (m *InfozRequest) Validate() error
Validate checks the field values on InfozRequest 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 (*InfozRequest) ValidateAll ¶
func (m *InfozRequest) ValidateAll() error
ValidateAll checks the field values on InfozRequest 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 InfozRequestMultiError, or nil if none found.
type InfozRequestMultiError ¶
type InfozRequestMultiError []error
InfozRequestMultiError is an error wrapping multiple validation errors returned by InfozRequest.ValidateAll() if the designated constraints aren't met.
func (InfozRequestMultiError) AllErrors ¶
func (m InfozRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InfozRequestMultiError) Error ¶
func (m InfozRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InfozRequestValidationError ¶
type InfozRequestValidationError struct {
// contains filtered or unexported fields
}
InfozRequestValidationError is the validation error returned by InfozRequest.Validate if the designated constraints aren't met.
func (InfozRequestValidationError) Cause ¶
func (e InfozRequestValidationError) Cause() error
Cause function returns cause value.
func (InfozRequestValidationError) Error ¶
func (e InfozRequestValidationError) Error() string
Error satisfies the builtin error interface
func (InfozRequestValidationError) ErrorName ¶
func (e InfozRequestValidationError) ErrorName() string
ErrorName returns error name.
func (InfozRequestValidationError) Field ¶
func (e InfozRequestValidationError) Field() string
Field function returns field value.
func (InfozRequestValidationError) Key ¶
func (e InfozRequestValidationError) Key() bool
Key function returns key value.
func (InfozRequestValidationError) Reason ¶
func (e InfozRequestValidationError) Reason() string
Reason function returns reason value.
type InfozResponse ¶
type InfozResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*InfozResponse) Descriptor
deprecated
func (*InfozResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfozResponse.ProtoReflect.Descriptor instead.
func (*InfozResponse) GetVersion ¶
func (x *InfozResponse) GetVersion() string
func (*InfozResponse) ProtoMessage ¶
func (*InfozResponse) ProtoMessage()
func (*InfozResponse) ProtoReflect ¶
func (x *InfozResponse) ProtoReflect() protoreflect.Message
func (*InfozResponse) Reset ¶
func (x *InfozResponse) Reset()
func (*InfozResponse) String ¶
func (x *InfozResponse) String() string
func (*InfozResponse) Validate ¶
func (m *InfozResponse) Validate() error
Validate checks the field values on InfozResponse 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 (*InfozResponse) ValidateAll ¶
func (m *InfozResponse) ValidateAll() error
ValidateAll checks the field values on InfozResponse 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 InfozResponseMultiError, or nil if none found.
type InfozResponseMultiError ¶
type InfozResponseMultiError []error
InfozResponseMultiError is an error wrapping multiple validation errors returned by InfozResponse.ValidateAll() if the designated constraints aren't met.
func (InfozResponseMultiError) AllErrors ¶
func (m InfozResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InfozResponseMultiError) Error ¶
func (m InfozResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InfozResponseValidationError ¶
type InfozResponseValidationError struct {
// contains filtered or unexported fields
}
InfozResponseValidationError is the validation error returned by InfozResponse.Validate if the designated constraints aren't met.
func (InfozResponseValidationError) Cause ¶
func (e InfozResponseValidationError) Cause() error
Cause function returns cause value.
func (InfozResponseValidationError) Error ¶
func (e InfozResponseValidationError) Error() string
Error satisfies the builtin error interface
func (InfozResponseValidationError) ErrorName ¶
func (e InfozResponseValidationError) ErrorName() string
ErrorName returns error name.
func (InfozResponseValidationError) Field ¶
func (e InfozResponseValidationError) Field() string
Field function returns field value.
func (InfozResponseValidationError) Key ¶
func (e InfozResponseValidationError) Key() bool
Key function returns key value.
func (InfozResponseValidationError) Reason ¶
func (e InfozResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceServiceClient ¶
type ResourceServiceClient interface {
Describe(ctx context.Context, in *ResourceServiceDescribeRequest, opts ...grpc.CallOption) (*ResourceServiceDescribeResponse, error)
}
ResourceServiceClient is the client API for ResourceService 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 NewResourceServiceClient ¶
func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient
type ResourceServiceDescribeRequest ¶
type ResourceServiceDescribeRequest struct { Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*ResourceServiceDescribeRequest) Descriptor
deprecated
func (*ResourceServiceDescribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceServiceDescribeRequest.ProtoReflect.Descriptor instead.
func (*ResourceServiceDescribeRequest) GetDigest ¶
func (x *ResourceServiceDescribeRequest) GetDigest() string
func (*ResourceServiceDescribeRequest) ProtoMessage ¶
func (*ResourceServiceDescribeRequest) ProtoMessage()
func (*ResourceServiceDescribeRequest) ProtoReflect ¶
func (x *ResourceServiceDescribeRequest) ProtoReflect() protoreflect.Message
func (*ResourceServiceDescribeRequest) Reset ¶
func (x *ResourceServiceDescribeRequest) Reset()
func (*ResourceServiceDescribeRequest) String ¶
func (x *ResourceServiceDescribeRequest) String() string
func (*ResourceServiceDescribeRequest) Validate ¶
func (m *ResourceServiceDescribeRequest) Validate() error
Validate checks the field values on ResourceServiceDescribeRequest 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 (*ResourceServiceDescribeRequest) ValidateAll ¶
func (m *ResourceServiceDescribeRequest) ValidateAll() error
ValidateAll checks the field values on ResourceServiceDescribeRequest 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 ResourceServiceDescribeRequestMultiError, or nil if none found.
type ResourceServiceDescribeRequestMultiError ¶
type ResourceServiceDescribeRequestMultiError []error
ResourceServiceDescribeRequestMultiError is an error wrapping multiple validation errors returned by ResourceServiceDescribeRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceServiceDescribeRequestMultiError) AllErrors ¶
func (m ResourceServiceDescribeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceServiceDescribeRequestMultiError) Error ¶
func (m ResourceServiceDescribeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceServiceDescribeRequestValidationError ¶
type ResourceServiceDescribeRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceServiceDescribeRequestValidationError is the validation error returned by ResourceServiceDescribeRequest.Validate if the designated constraints aren't met.
func (ResourceServiceDescribeRequestValidationError) Cause ¶
func (e ResourceServiceDescribeRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceServiceDescribeRequestValidationError) Error ¶
func (e ResourceServiceDescribeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceServiceDescribeRequestValidationError) ErrorName ¶
func (e ResourceServiceDescribeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceServiceDescribeRequestValidationError) Field ¶
func (e ResourceServiceDescribeRequestValidationError) Field() string
Field function returns field value.
func (ResourceServiceDescribeRequestValidationError) Key ¶
func (e ResourceServiceDescribeRequestValidationError) Key() bool
Key function returns key value.
func (ResourceServiceDescribeRequestValidationError) Reason ¶
func (e ResourceServiceDescribeRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceServiceDescribeResponse ¶
type ResourceServiceDescribeResponse struct { Result *CASResource `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ResourceServiceDescribeResponse) Descriptor
deprecated
func (*ResourceServiceDescribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceServiceDescribeResponse.ProtoReflect.Descriptor instead.
func (*ResourceServiceDescribeResponse) GetResult ¶
func (x *ResourceServiceDescribeResponse) GetResult() *CASResource
func (*ResourceServiceDescribeResponse) ProtoMessage ¶
func (*ResourceServiceDescribeResponse) ProtoMessage()
func (*ResourceServiceDescribeResponse) ProtoReflect ¶
func (x *ResourceServiceDescribeResponse) ProtoReflect() protoreflect.Message
func (*ResourceServiceDescribeResponse) Reset ¶
func (x *ResourceServiceDescribeResponse) Reset()
func (*ResourceServiceDescribeResponse) String ¶
func (x *ResourceServiceDescribeResponse) String() string
func (*ResourceServiceDescribeResponse) Validate ¶
func (m *ResourceServiceDescribeResponse) Validate() error
Validate checks the field values on ResourceServiceDescribeResponse 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 (*ResourceServiceDescribeResponse) ValidateAll ¶
func (m *ResourceServiceDescribeResponse) ValidateAll() error
ValidateAll checks the field values on ResourceServiceDescribeResponse 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 ResourceServiceDescribeResponseMultiError, or nil if none found.
type ResourceServiceDescribeResponseMultiError ¶
type ResourceServiceDescribeResponseMultiError []error
ResourceServiceDescribeResponseMultiError is an error wrapping multiple validation errors returned by ResourceServiceDescribeResponse.ValidateAll() if the designated constraints aren't met.
func (ResourceServiceDescribeResponseMultiError) AllErrors ¶
func (m ResourceServiceDescribeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceServiceDescribeResponseMultiError) Error ¶
func (m ResourceServiceDescribeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceServiceDescribeResponseValidationError ¶
type ResourceServiceDescribeResponseValidationError struct {
// contains filtered or unexported fields
}
ResourceServiceDescribeResponseValidationError is the validation error returned by ResourceServiceDescribeResponse.Validate if the designated constraints aren't met.
func (ResourceServiceDescribeResponseValidationError) Cause ¶
func (e ResourceServiceDescribeResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourceServiceDescribeResponseValidationError) Error ¶
func (e ResourceServiceDescribeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceServiceDescribeResponseValidationError) ErrorName ¶
func (e ResourceServiceDescribeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceServiceDescribeResponseValidationError) Field ¶
func (e ResourceServiceDescribeResponseValidationError) Field() string
Field function returns field value.
func (ResourceServiceDescribeResponseValidationError) Key ¶
func (e ResourceServiceDescribeResponseValidationError) Key() bool
Key function returns key value.
func (ResourceServiceDescribeResponseValidationError) Reason ¶
func (e ResourceServiceDescribeResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceServiceServer ¶
type ResourceServiceServer interface { Describe(context.Context, *ResourceServiceDescribeRequest) (*ResourceServiceDescribeResponse, error) // contains filtered or unexported methods }
ResourceServiceServer is the server API for ResourceService service. All implementations must embed UnimplementedResourceServiceServer for forward compatibility
type StatusServiceClient ¶
type StatusServiceClient interface { Infoz(ctx context.Context, in *InfozRequest, opts ...grpc.CallOption) (*InfozResponse, error) Statusz(ctx context.Context, in *StatuszRequest, opts ...grpc.CallOption) (*StatuszResponse, error) }
StatusServiceClient is the client API for StatusService 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 NewStatusServiceClient ¶
func NewStatusServiceClient(cc grpc.ClientConnInterface) StatusServiceClient
type StatusServiceHTTPClient ¶
type StatusServiceHTTPClient interface { Infoz(ctx context.Context, req *InfozRequest, opts ...http.CallOption) (rsp *InfozResponse, err error) Statusz(ctx context.Context, req *StatuszRequest, opts ...http.CallOption) (rsp *StatuszResponse, err error) }
func NewStatusServiceHTTPClient ¶
func NewStatusServiceHTTPClient(client *http.Client) StatusServiceHTTPClient
type StatusServiceHTTPClientImpl ¶
type StatusServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*StatusServiceHTTPClientImpl) Infoz ¶
func (c *StatusServiceHTTPClientImpl) Infoz(ctx context.Context, in *InfozRequest, opts ...http.CallOption) (*InfozResponse, error)
func (*StatusServiceHTTPClientImpl) Statusz ¶
func (c *StatusServiceHTTPClientImpl) Statusz(ctx context.Context, in *StatuszRequest, opts ...http.CallOption) (*StatuszResponse, error)
type StatusServiceHTTPServer ¶
type StatusServiceHTTPServer interface { Infoz(context.Context, *InfozRequest) (*InfozResponse, error) Statusz(context.Context, *StatuszRequest) (*StatuszResponse, error) }
type StatusServiceServer ¶
type StatusServiceServer interface { Infoz(context.Context, *InfozRequest) (*InfozResponse, error) Statusz(context.Context, *StatuszRequest) (*StatuszResponse, error) // contains filtered or unexported methods }
StatusServiceServer is the server API for StatusService service. All implementations must embed UnimplementedStatusServiceServer for forward compatibility
type StatuszRequest ¶
type StatuszRequest struct { // Parameter that can be used by readiness probes // The main difference is that readiness probes will take into account that all // dependent services are up and ready Readiness bool `protobuf:"varint,1,opt,name=readiness,proto3" json:"readiness,omitempty"` // contains filtered or unexported fields }
func (*StatuszRequest) Descriptor
deprecated
func (*StatuszRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatuszRequest.ProtoReflect.Descriptor instead.
func (*StatuszRequest) GetReadiness ¶
func (x *StatuszRequest) GetReadiness() bool
func (*StatuszRequest) ProtoMessage ¶
func (*StatuszRequest) ProtoMessage()
func (*StatuszRequest) ProtoReflect ¶
func (x *StatuszRequest) ProtoReflect() protoreflect.Message
func (*StatuszRequest) Reset ¶
func (x *StatuszRequest) Reset()
func (*StatuszRequest) String ¶
func (x *StatuszRequest) String() string
func (*StatuszRequest) Validate ¶
func (m *StatuszRequest) Validate() error
Validate checks the field values on StatuszRequest 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 (*StatuszRequest) ValidateAll ¶
func (m *StatuszRequest) ValidateAll() error
ValidateAll checks the field values on StatuszRequest 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 StatuszRequestMultiError, or nil if none found.
type StatuszRequestMultiError ¶
type StatuszRequestMultiError []error
StatuszRequestMultiError is an error wrapping multiple validation errors returned by StatuszRequest.ValidateAll() if the designated constraints aren't met.
func (StatuszRequestMultiError) AllErrors ¶
func (m StatuszRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatuszRequestMultiError) Error ¶
func (m StatuszRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatuszRequestValidationError ¶
type StatuszRequestValidationError struct {
// contains filtered or unexported fields
}
StatuszRequestValidationError is the validation error returned by StatuszRequest.Validate if the designated constraints aren't met.
func (StatuszRequestValidationError) Cause ¶
func (e StatuszRequestValidationError) Cause() error
Cause function returns cause value.
func (StatuszRequestValidationError) Error ¶
func (e StatuszRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatuszRequestValidationError) ErrorName ¶
func (e StatuszRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatuszRequestValidationError) Field ¶
func (e StatuszRequestValidationError) Field() string
Field function returns field value.
func (StatuszRequestValidationError) Key ¶
func (e StatuszRequestValidationError) Key() bool
Key function returns key value.
func (StatuszRequestValidationError) Reason ¶
func (e StatuszRequestValidationError) Reason() string
Reason function returns reason value.
type StatuszResponse ¶
type StatuszResponse struct {
// contains filtered or unexported fields
}
func (*StatuszResponse) Descriptor
deprecated
func (*StatuszResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatuszResponse.ProtoReflect.Descriptor instead.
func (*StatuszResponse) ProtoMessage ¶
func (*StatuszResponse) ProtoMessage()
func (*StatuszResponse) ProtoReflect ¶
func (x *StatuszResponse) ProtoReflect() protoreflect.Message
func (*StatuszResponse) Reset ¶
func (x *StatuszResponse) Reset()
func (*StatuszResponse) String ¶
func (x *StatuszResponse) String() string
func (*StatuszResponse) Validate ¶
func (m *StatuszResponse) Validate() error
Validate checks the field values on StatuszResponse 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 (*StatuszResponse) ValidateAll ¶
func (m *StatuszResponse) ValidateAll() error
ValidateAll checks the field values on StatuszResponse 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 StatuszResponseMultiError, or nil if none found.
type StatuszResponseMultiError ¶
type StatuszResponseMultiError []error
StatuszResponseMultiError is an error wrapping multiple validation errors returned by StatuszResponse.ValidateAll() if the designated constraints aren't met.
func (StatuszResponseMultiError) AllErrors ¶
func (m StatuszResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatuszResponseMultiError) Error ¶
func (m StatuszResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatuszResponseValidationError ¶
type StatuszResponseValidationError struct {
// contains filtered or unexported fields
}
StatuszResponseValidationError is the validation error returned by StatuszResponse.Validate if the designated constraints aren't met.
func (StatuszResponseValidationError) Cause ¶
func (e StatuszResponseValidationError) Cause() error
Cause function returns cause value.
func (StatuszResponseValidationError) Error ¶
func (e StatuszResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatuszResponseValidationError) ErrorName ¶
func (e StatuszResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatuszResponseValidationError) Field ¶
func (e StatuszResponseValidationError) Field() string
Field function returns field value.
func (StatuszResponseValidationError) Key ¶
func (e StatuszResponseValidationError) Key() bool
Key function returns key value.
func (StatuszResponseValidationError) Reason ¶
func (e StatuszResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedResourceServiceServer ¶
type UnimplementedResourceServiceServer struct { }
UnimplementedResourceServiceServer must be embedded to have forward compatible implementations.
type UnimplementedStatusServiceServer ¶
type UnimplementedStatusServiceServer struct { }
UnimplementedStatusServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedStatusServiceServer) Infoz ¶
func (UnimplementedStatusServiceServer) Infoz(context.Context, *InfozRequest) (*InfozResponse, error)
func (UnimplementedStatusServiceServer) Statusz ¶
func (UnimplementedStatusServiceServer) Statusz(context.Context, *StatuszRequest) (*StatuszResponse, error)
type UnsafeResourceServiceServer ¶
type UnsafeResourceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.
type UnsafeStatusServiceServer ¶
type UnsafeStatusServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStatusServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StatusServiceServer will result in compilation errors.