Documentation
¶
Overview ¶
Package namespace is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterNamespaceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNamespaceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NamespaceClient) error
- func RegisterNamespaceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNamespaceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NamespaceServer) error
- func RegisterNamespaceServer(s grpc.ServiceRegistrar, srv NamespaceServer)
- type NamespaceAllRequest
- func (*NamespaceAllRequest) Descriptor() ([]byte, []int)deprecated
- func (*NamespaceAllRequest) ProtoMessage()
- func (x *NamespaceAllRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceAllRequest) Reset()
- func (x *NamespaceAllRequest) String() string
- func (m *NamespaceAllRequest) Validate() error
- func (m *NamespaceAllRequest) ValidateAll() error
- type NamespaceAllRequestMultiError
- type NamespaceAllRequestValidationError
- func (e NamespaceAllRequestValidationError) Cause() error
- func (e NamespaceAllRequestValidationError) Error() string
- func (e NamespaceAllRequestValidationError) ErrorName() string
- func (e NamespaceAllRequestValidationError) Field() string
- func (e NamespaceAllRequestValidationError) Key() bool
- func (e NamespaceAllRequestValidationError) Reason() string
- type NamespaceAllResponse
- func (*NamespaceAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceAllResponse) GetData() []*NamespaceItem
- func (*NamespaceAllResponse) ProtoMessage()
- func (x *NamespaceAllResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceAllResponse) Reset()
- func (x *NamespaceAllResponse) String() string
- func (m *NamespaceAllResponse) Validate() error
- func (m *NamespaceAllResponse) ValidateAll() error
- type NamespaceAllResponseMultiError
- type NamespaceAllResponseValidationError
- func (e NamespaceAllResponseValidationError) Cause() error
- func (e NamespaceAllResponseValidationError) Error() string
- func (e NamespaceAllResponseValidationError) ErrorName() string
- func (e NamespaceAllResponseValidationError) Field() string
- func (e NamespaceAllResponseValidationError) Key() bool
- func (e NamespaceAllResponseValidationError) Reason() string
- type NamespaceClient
- type NamespaceCpuMemoryRequest
- func (*NamespaceCpuMemoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceCpuMemoryRequest) GetNamespaceId() int64
- func (*NamespaceCpuMemoryRequest) ProtoMessage()
- func (x *NamespaceCpuMemoryRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceCpuMemoryRequest) Reset()
- func (x *NamespaceCpuMemoryRequest) String() string
- func (m *NamespaceCpuMemoryRequest) Validate() error
- func (m *NamespaceCpuMemoryRequest) ValidateAll() error
- type NamespaceCpuMemoryRequestMultiError
- type NamespaceCpuMemoryRequestValidationError
- func (e NamespaceCpuMemoryRequestValidationError) Cause() error
- func (e NamespaceCpuMemoryRequestValidationError) Error() string
- func (e NamespaceCpuMemoryRequestValidationError) ErrorName() string
- func (e NamespaceCpuMemoryRequestValidationError) Field() string
- func (e NamespaceCpuMemoryRequestValidationError) Key() bool
- func (e NamespaceCpuMemoryRequestValidationError) Reason() string
- type NamespaceCpuMemoryResponse
- func (*NamespaceCpuMemoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceCpuMemoryResponse) GetCpu() string
- func (x *NamespaceCpuMemoryResponse) GetMemory() string
- func (*NamespaceCpuMemoryResponse) ProtoMessage()
- func (x *NamespaceCpuMemoryResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceCpuMemoryResponse) Reset()
- func (x *NamespaceCpuMemoryResponse) String() string
- func (m *NamespaceCpuMemoryResponse) Validate() error
- func (m *NamespaceCpuMemoryResponse) ValidateAll() error
- type NamespaceCpuMemoryResponseMultiError
- type NamespaceCpuMemoryResponseValidationError
- func (e NamespaceCpuMemoryResponseValidationError) Cause() error
- func (e NamespaceCpuMemoryResponseValidationError) Error() string
- func (e NamespaceCpuMemoryResponseValidationError) ErrorName() string
- func (e NamespaceCpuMemoryResponseValidationError) Field() string
- func (e NamespaceCpuMemoryResponseValidationError) Key() bool
- func (e NamespaceCpuMemoryResponseValidationError) Reason() string
- type NamespaceCreateRequest
- func (*NamespaceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceCreateRequest) GetNamespace() string
- func (*NamespaceCreateRequest) ProtoMessage()
- func (x *NamespaceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceCreateRequest) Reset()
- func (x *NamespaceCreateRequest) String() string
- func (m *NamespaceCreateRequest) Validate() error
- func (m *NamespaceCreateRequest) ValidateAll() error
- type NamespaceCreateRequestMultiError
- type NamespaceCreateRequestValidationError
- func (e NamespaceCreateRequestValidationError) Cause() error
- func (e NamespaceCreateRequestValidationError) Error() string
- func (e NamespaceCreateRequestValidationError) ErrorName() string
- func (e NamespaceCreateRequestValidationError) Field() string
- func (e NamespaceCreateRequestValidationError) Key() bool
- func (e NamespaceCreateRequestValidationError) Reason() string
- type NamespaceCreateResponse
- func (*NamespaceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceCreateResponse) GetCreatedAt() string
- func (x *NamespaceCreateResponse) GetId() int64
- func (x *NamespaceCreateResponse) GetImagePullSecrets() []string
- func (x *NamespaceCreateResponse) GetName() string
- func (x *NamespaceCreateResponse) GetUpdatedAt() string
- func (*NamespaceCreateResponse) ProtoMessage()
- func (x *NamespaceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceCreateResponse) Reset()
- func (x *NamespaceCreateResponse) String() string
- func (m *NamespaceCreateResponse) Validate() error
- func (m *NamespaceCreateResponse) ValidateAll() error
- type NamespaceCreateResponseMultiError
- type NamespaceCreateResponseValidationError
- func (e NamespaceCreateResponseValidationError) Cause() error
- func (e NamespaceCreateResponseValidationError) Error() string
- func (e NamespaceCreateResponseValidationError) ErrorName() string
- func (e NamespaceCreateResponseValidationError) Field() string
- func (e NamespaceCreateResponseValidationError) Key() bool
- func (e NamespaceCreateResponseValidationError) Reason() string
- type NamespaceDeleteRequest
- func (*NamespaceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceDeleteRequest) GetNamespaceId() int64
- func (*NamespaceDeleteRequest) ProtoMessage()
- func (x *NamespaceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceDeleteRequest) Reset()
- func (x *NamespaceDeleteRequest) String() string
- func (m *NamespaceDeleteRequest) Validate() error
- func (m *NamespaceDeleteRequest) ValidateAll() error
- type NamespaceDeleteRequestMultiError
- type NamespaceDeleteRequestValidationError
- func (e NamespaceDeleteRequestValidationError) Cause() error
- func (e NamespaceDeleteRequestValidationError) Error() string
- func (e NamespaceDeleteRequestValidationError) ErrorName() string
- func (e NamespaceDeleteRequestValidationError) Field() string
- func (e NamespaceDeleteRequestValidationError) Key() bool
- func (e NamespaceDeleteRequestValidationError) Reason() string
- type NamespaceDeleteResponse
- func (*NamespaceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*NamespaceDeleteResponse) ProtoMessage()
- func (x *NamespaceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceDeleteResponse) Reset()
- func (x *NamespaceDeleteResponse) String() string
- func (m *NamespaceDeleteResponse) Validate() error
- func (m *NamespaceDeleteResponse) ValidateAll() error
- type NamespaceDeleteResponseMultiError
- type NamespaceDeleteResponseValidationError
- func (e NamespaceDeleteResponseValidationError) Cause() error
- func (e NamespaceDeleteResponseValidationError) Error() string
- func (e NamespaceDeleteResponseValidationError) ErrorName() string
- func (e NamespaceDeleteResponseValidationError) Field() string
- func (e NamespaceDeleteResponseValidationError) Key() bool
- func (e NamespaceDeleteResponseValidationError) Reason() string
- type NamespaceIsExistsRequest
- func (*NamespaceIsExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceIsExistsRequest) GetName() string
- func (*NamespaceIsExistsRequest) ProtoMessage()
- func (x *NamespaceIsExistsRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceIsExistsRequest) Reset()
- func (x *NamespaceIsExistsRequest) String() string
- func (m *NamespaceIsExistsRequest) Validate() error
- func (m *NamespaceIsExistsRequest) ValidateAll() error
- type NamespaceIsExistsRequestMultiError
- type NamespaceIsExistsRequestValidationError
- func (e NamespaceIsExistsRequestValidationError) Cause() error
- func (e NamespaceIsExistsRequestValidationError) Error() string
- func (e NamespaceIsExistsRequestValidationError) ErrorName() string
- func (e NamespaceIsExistsRequestValidationError) Field() string
- func (e NamespaceIsExistsRequestValidationError) Key() bool
- func (e NamespaceIsExistsRequestValidationError) Reason() string
- type NamespaceIsExistsResponse
- func (*NamespaceIsExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceIsExistsResponse) GetExists() bool
- func (x *NamespaceIsExistsResponse) GetId() int64
- func (*NamespaceIsExistsResponse) ProtoMessage()
- func (x *NamespaceIsExistsResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceIsExistsResponse) Reset()
- func (x *NamespaceIsExistsResponse) String() string
- func (m *NamespaceIsExistsResponse) Validate() error
- func (m *NamespaceIsExistsResponse) ValidateAll() error
- type NamespaceIsExistsResponseMultiError
- type NamespaceIsExistsResponseValidationError
- func (e NamespaceIsExistsResponseValidationError) Cause() error
- func (e NamespaceIsExistsResponseValidationError) Error() string
- func (e NamespaceIsExistsResponseValidationError) ErrorName() string
- func (e NamespaceIsExistsResponseValidationError) Field() string
- func (e NamespaceIsExistsResponseValidationError) Key() bool
- func (e NamespaceIsExistsResponseValidationError) Reason() string
- type NamespaceItem
- func (*NamespaceItem) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceItem) GetCreatedAt() string
- func (x *NamespaceItem) GetId() int64
- func (x *NamespaceItem) GetName() string
- func (x *NamespaceItem) GetProjects() []*NamespaceSimpleProject
- func (x *NamespaceItem) GetUpdatedAt() string
- func (*NamespaceItem) ProtoMessage()
- func (x *NamespaceItem) ProtoReflect() protoreflect.Message
- func (x *NamespaceItem) Reset()
- func (x *NamespaceItem) String() string
- func (m *NamespaceItem) Validate() error
- func (m *NamespaceItem) ValidateAll() error
- type NamespaceItemMultiError
- type NamespaceItemValidationError
- func (e NamespaceItemValidationError) Cause() error
- func (e NamespaceItemValidationError) Error() string
- func (e NamespaceItemValidationError) ErrorName() string
- func (e NamespaceItemValidationError) Field() string
- func (e NamespaceItemValidationError) Key() bool
- func (e NamespaceItemValidationError) Reason() string
- type NamespaceServer
- type NamespaceServiceEndpoint
- func (*NamespaceServiceEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceServiceEndpoint) GetName() string
- func (x *NamespaceServiceEndpoint) GetPortName() string
- func (x *NamespaceServiceEndpoint) GetUrl() string
- func (*NamespaceServiceEndpoint) ProtoMessage()
- func (x *NamespaceServiceEndpoint) ProtoReflect() protoreflect.Message
- func (x *NamespaceServiceEndpoint) Reset()
- func (x *NamespaceServiceEndpoint) String() string
- func (m *NamespaceServiceEndpoint) Validate() error
- func (m *NamespaceServiceEndpoint) ValidateAll() error
- type NamespaceServiceEndpointMultiError
- type NamespaceServiceEndpointValidationError
- func (e NamespaceServiceEndpointValidationError) Cause() error
- func (e NamespaceServiceEndpointValidationError) Error() string
- func (e NamespaceServiceEndpointValidationError) ErrorName() string
- func (e NamespaceServiceEndpointValidationError) Field() string
- func (e NamespaceServiceEndpointValidationError) Key() bool
- func (e NamespaceServiceEndpointValidationError) Reason() string
- type NamespaceServiceEndpointsRequest
- func (*NamespaceServiceEndpointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceServiceEndpointsRequest) GetNamespaceId() int64
- func (x *NamespaceServiceEndpointsRequest) GetProjectName() string
- func (*NamespaceServiceEndpointsRequest) ProtoMessage()
- func (x *NamespaceServiceEndpointsRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceServiceEndpointsRequest) Reset()
- func (x *NamespaceServiceEndpointsRequest) String() string
- func (m *NamespaceServiceEndpointsRequest) Validate() error
- func (m *NamespaceServiceEndpointsRequest) ValidateAll() error
- type NamespaceServiceEndpointsRequestMultiError
- type NamespaceServiceEndpointsRequestValidationError
- func (e NamespaceServiceEndpointsRequestValidationError) Cause() error
- func (e NamespaceServiceEndpointsRequestValidationError) Error() string
- func (e NamespaceServiceEndpointsRequestValidationError) ErrorName() string
- func (e NamespaceServiceEndpointsRequestValidationError) Field() string
- func (e NamespaceServiceEndpointsRequestValidationError) Key() bool
- func (e NamespaceServiceEndpointsRequestValidationError) Reason() string
- type NamespaceServiceEndpointsResponse
- func (*NamespaceServiceEndpointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceServiceEndpointsResponse) GetData() []*NamespaceServiceEndpoint
- func (*NamespaceServiceEndpointsResponse) ProtoMessage()
- func (x *NamespaceServiceEndpointsResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceServiceEndpointsResponse) Reset()
- func (x *NamespaceServiceEndpointsResponse) String() string
- func (m *NamespaceServiceEndpointsResponse) Validate() error
- func (m *NamespaceServiceEndpointsResponse) ValidateAll() error
- type NamespaceServiceEndpointsResponseMultiError
- type NamespaceServiceEndpointsResponseValidationError
- func (e NamespaceServiceEndpointsResponseValidationError) Cause() error
- func (e NamespaceServiceEndpointsResponseValidationError) Error() string
- func (e NamespaceServiceEndpointsResponseValidationError) ErrorName() string
- func (e NamespaceServiceEndpointsResponseValidationError) Field() string
- func (e NamespaceServiceEndpointsResponseValidationError) Key() bool
- func (e NamespaceServiceEndpointsResponseValidationError) Reason() string
- type NamespaceShowRequest
- func (*NamespaceShowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceShowRequest) GetNamespaceId() int64
- func (*NamespaceShowRequest) ProtoMessage()
- func (x *NamespaceShowRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceShowRequest) Reset()
- func (x *NamespaceShowRequest) String() string
- func (m *NamespaceShowRequest) Validate() error
- func (m *NamespaceShowRequest) ValidateAll() error
- type NamespaceShowRequestMultiError
- type NamespaceShowRequestValidationError
- func (e NamespaceShowRequestValidationError) Cause() error
- func (e NamespaceShowRequestValidationError) Error() string
- func (e NamespaceShowRequestValidationError) ErrorName() string
- func (e NamespaceShowRequestValidationError) Field() string
- func (e NamespaceShowRequestValidationError) Key() bool
- func (e NamespaceShowRequestValidationError) Reason() string
- type NamespaceShowResponse
- func (*NamespaceShowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceShowResponse) GetCreatedAt() string
- func (x *NamespaceShowResponse) GetId() int64
- func (x *NamespaceShowResponse) GetImagePullSecrets() []string
- func (x *NamespaceShowResponse) GetName() string
- func (x *NamespaceShowResponse) GetProjects() []*model.ProjectModel
- func (x *NamespaceShowResponse) GetUpdatedAt() string
- func (*NamespaceShowResponse) ProtoMessage()
- func (x *NamespaceShowResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceShowResponse) Reset()
- func (x *NamespaceShowResponse) String() string
- func (m *NamespaceShowResponse) Validate() error
- func (m *NamespaceShowResponse) ValidateAll() error
- type NamespaceShowResponseMultiError
- type NamespaceShowResponseValidationError
- func (e NamespaceShowResponseValidationError) Cause() error
- func (e NamespaceShowResponseValidationError) Error() string
- func (e NamespaceShowResponseValidationError) ErrorName() string
- func (e NamespaceShowResponseValidationError) Field() string
- func (e NamespaceShowResponseValidationError) Key() bool
- func (e NamespaceShowResponseValidationError) Reason() string
- type NamespaceSimpleProject
- func (*NamespaceSimpleProject) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceSimpleProject) GetId() int64
- func (x *NamespaceSimpleProject) GetName() string
- func (x *NamespaceSimpleProject) GetStatus() string
- func (*NamespaceSimpleProject) ProtoMessage()
- func (x *NamespaceSimpleProject) ProtoReflect() protoreflect.Message
- func (x *NamespaceSimpleProject) Reset()
- func (x *NamespaceSimpleProject) String() string
- func (m *NamespaceSimpleProject) Validate() error
- func (m *NamespaceSimpleProject) ValidateAll() error
- type NamespaceSimpleProjectMultiError
- type NamespaceSimpleProjectValidationError
- func (e NamespaceSimpleProjectValidationError) Cause() error
- func (e NamespaceSimpleProjectValidationError) Error() string
- func (e NamespaceSimpleProjectValidationError) ErrorName() string
- func (e NamespaceSimpleProjectValidationError) Field() string
- func (e NamespaceSimpleProjectValidationError) Key() bool
- func (e NamespaceSimpleProjectValidationError) Reason() string
- type UnimplementedNamespaceServer
- func (UnimplementedNamespaceServer) All(context.Context, *NamespaceAllRequest) (*NamespaceAllResponse, error)
- func (UnimplementedNamespaceServer) CpuMemory(context.Context, *NamespaceCpuMemoryRequest) (*NamespaceCpuMemoryResponse, error)
- func (UnimplementedNamespaceServer) Create(context.Context, *NamespaceCreateRequest) (*NamespaceCreateResponse, error)
- func (UnimplementedNamespaceServer) Delete(context.Context, *NamespaceDeleteRequest) (*NamespaceDeleteResponse, error)
- func (UnimplementedNamespaceServer) IsExists(context.Context, *NamespaceIsExistsRequest) (*NamespaceIsExistsResponse, error)
- func (UnimplementedNamespaceServer) ServiceEndpoints(context.Context, *NamespaceServiceEndpointsRequest) (*NamespaceServiceEndpointsResponse, error)
- func (UnimplementedNamespaceServer) Show(context.Context, *NamespaceShowRequest) (*NamespaceShowResponse, error)
- type UnsafeNamespaceServer
Constants ¶
This section is empty.
Variables ¶
var File_namespace_namespace_proto protoreflect.FileDescriptor
var Namespace_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Namespace", HandlerType: (*NamespaceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "All", Handler: _Namespace_All_Handler, }, { MethodName: "Create", Handler: _Namespace_Create_Handler, }, { MethodName: "Show", Handler: _Namespace_Show_Handler, }, { MethodName: "Delete", Handler: _Namespace_Delete_Handler, }, { MethodName: "IsExists", Handler: _Namespace_IsExists_Handler, }, { MethodName: "CpuMemory", Handler: _Namespace_CpuMemory_Handler, }, { MethodName: "ServiceEndpoints", Handler: _Namespace_ServiceEndpoints_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "namespace/namespace.proto", }
Namespace_ServiceDesc is the grpc.ServiceDesc for Namespace service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNamespaceHandler ¶
func RegisterNamespaceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNamespaceHandler registers the http handlers for service Namespace to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNamespaceHandlerClient ¶
func RegisterNamespaceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NamespaceClient) error
RegisterNamespaceHandlerClient registers the http handlers for service Namespace to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NamespaceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NamespaceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NamespaceClient" to call the correct interceptors.
func RegisterNamespaceHandlerFromEndpoint ¶
func RegisterNamespaceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNamespaceHandlerFromEndpoint is same as RegisterNamespaceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNamespaceHandlerServer ¶
func RegisterNamespaceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NamespaceServer) error
RegisterNamespaceHandlerServer registers the http handlers for service Namespace to "mux". UnaryRPC :call NamespaceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNamespaceHandlerFromEndpoint instead.
func RegisterNamespaceServer ¶
func RegisterNamespaceServer(s grpc.ServiceRegistrar, srv NamespaceServer)
Types ¶
type NamespaceAllRequest ¶
type NamespaceAllRequest struct {
// contains filtered or unexported fields
}
func (*NamespaceAllRequest) Descriptor
deprecated
func (*NamespaceAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceAllRequest.ProtoReflect.Descriptor instead.
func (*NamespaceAllRequest) ProtoMessage ¶
func (*NamespaceAllRequest) ProtoMessage()
func (*NamespaceAllRequest) ProtoReflect ¶
func (x *NamespaceAllRequest) ProtoReflect() protoreflect.Message
func (*NamespaceAllRequest) Reset ¶
func (x *NamespaceAllRequest) Reset()
func (*NamespaceAllRequest) String ¶
func (x *NamespaceAllRequest) String() string
func (*NamespaceAllRequest) Validate ¶
func (m *NamespaceAllRequest) Validate() error
Validate checks the field values on NamespaceAllRequest 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 (*NamespaceAllRequest) ValidateAll ¶
func (m *NamespaceAllRequest) ValidateAll() error
ValidateAll checks the field values on NamespaceAllRequest 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 NamespaceAllRequestMultiError, or nil if none found.
type NamespaceAllRequestMultiError ¶
type NamespaceAllRequestMultiError []error
NamespaceAllRequestMultiError is an error wrapping multiple validation errors returned by NamespaceAllRequest.ValidateAll() if the designated constraints aren't met.
func (NamespaceAllRequestMultiError) AllErrors ¶
func (m NamespaceAllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceAllRequestMultiError) Error ¶
func (m NamespaceAllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceAllRequestValidationError ¶
type NamespaceAllRequestValidationError struct {
// contains filtered or unexported fields
}
NamespaceAllRequestValidationError is the validation error returned by NamespaceAllRequest.Validate if the designated constraints aren't met.
func (NamespaceAllRequestValidationError) Cause ¶
func (e NamespaceAllRequestValidationError) Cause() error
Cause function returns cause value.
func (NamespaceAllRequestValidationError) Error ¶
func (e NamespaceAllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceAllRequestValidationError) ErrorName ¶
func (e NamespaceAllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceAllRequestValidationError) Field ¶
func (e NamespaceAllRequestValidationError) Field() string
Field function returns field value.
func (NamespaceAllRequestValidationError) Key ¶
func (e NamespaceAllRequestValidationError) Key() bool
Key function returns key value.
func (NamespaceAllRequestValidationError) Reason ¶
func (e NamespaceAllRequestValidationError) Reason() string
Reason function returns reason value.
type NamespaceAllResponse ¶
type NamespaceAllResponse struct { Data []*NamespaceItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*NamespaceAllResponse) Descriptor
deprecated
func (*NamespaceAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceAllResponse.ProtoReflect.Descriptor instead.
func (*NamespaceAllResponse) GetData ¶
func (x *NamespaceAllResponse) GetData() []*NamespaceItem
func (*NamespaceAllResponse) ProtoMessage ¶
func (*NamespaceAllResponse) ProtoMessage()
func (*NamespaceAllResponse) ProtoReflect ¶
func (x *NamespaceAllResponse) ProtoReflect() protoreflect.Message
func (*NamespaceAllResponse) Reset ¶
func (x *NamespaceAllResponse) Reset()
func (*NamespaceAllResponse) String ¶
func (x *NamespaceAllResponse) String() string
func (*NamespaceAllResponse) Validate ¶
func (m *NamespaceAllResponse) Validate() error
Validate checks the field values on NamespaceAllResponse 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 (*NamespaceAllResponse) ValidateAll ¶
func (m *NamespaceAllResponse) ValidateAll() error
ValidateAll checks the field values on NamespaceAllResponse 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 NamespaceAllResponseMultiError, or nil if none found.
type NamespaceAllResponseMultiError ¶
type NamespaceAllResponseMultiError []error
NamespaceAllResponseMultiError is an error wrapping multiple validation errors returned by NamespaceAllResponse.ValidateAll() if the designated constraints aren't met.
func (NamespaceAllResponseMultiError) AllErrors ¶
func (m NamespaceAllResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceAllResponseMultiError) Error ¶
func (m NamespaceAllResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceAllResponseValidationError ¶
type NamespaceAllResponseValidationError struct {
// contains filtered or unexported fields
}
NamespaceAllResponseValidationError is the validation error returned by NamespaceAllResponse.Validate if the designated constraints aren't met.
func (NamespaceAllResponseValidationError) Cause ¶
func (e NamespaceAllResponseValidationError) Cause() error
Cause function returns cause value.
func (NamespaceAllResponseValidationError) Error ¶
func (e NamespaceAllResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceAllResponseValidationError) ErrorName ¶
func (e NamespaceAllResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceAllResponseValidationError) Field ¶
func (e NamespaceAllResponseValidationError) Field() string
Field function returns field value.
func (NamespaceAllResponseValidationError) Key ¶
func (e NamespaceAllResponseValidationError) Key() bool
Key function returns key value.
func (NamespaceAllResponseValidationError) Reason ¶
func (e NamespaceAllResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceClient ¶
type NamespaceClient interface { // All 获取所有的名称空间 All(ctx context.Context, in *NamespaceAllRequest, opts ...grpc.CallOption) (*NamespaceAllResponse, error) // Create 创建名称空间 Create(ctx context.Context, in *NamespaceCreateRequest, opts ...grpc.CallOption) (*NamespaceCreateResponse, error) // Show 查看名称空间详情 Show(ctx context.Context, in *NamespaceShowRequest, opts ...grpc.CallOption) (*NamespaceShowResponse, error) // Delete 删除名称空间 Delete(ctx context.Context, in *NamespaceDeleteRequest, opts ...grpc.CallOption) (*NamespaceDeleteResponse, error) // IsExists 名称空间是否存在 IsExists(ctx context.Context, in *NamespaceIsExistsRequest, opts ...grpc.CallOption) (*NamespaceIsExistsResponse, error) // CpuMemory 名称空间总共使用的 cpu memory CpuMemory(ctx context.Context, in *NamespaceCpuMemoryRequest, opts ...grpc.CallOption) (*NamespaceCpuMemoryResponse, error) // ServiceEndpoints 名称空间下面所有服务的 endpoint ServiceEndpoints(ctx context.Context, in *NamespaceServiceEndpointsRequest, opts ...grpc.CallOption) (*NamespaceServiceEndpointsResponse, error) }
NamespaceClient is the client API for Namespace 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 NewNamespaceClient ¶
func NewNamespaceClient(cc grpc.ClientConnInterface) NamespaceClient
type NamespaceCpuMemoryRequest ¶
type NamespaceCpuMemoryRequest struct { NamespaceId int64 `protobuf:"varint,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*NamespaceCpuMemoryRequest) Descriptor
deprecated
func (*NamespaceCpuMemoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceCpuMemoryRequest.ProtoReflect.Descriptor instead.
func (*NamespaceCpuMemoryRequest) GetNamespaceId ¶
func (x *NamespaceCpuMemoryRequest) GetNamespaceId() int64
func (*NamespaceCpuMemoryRequest) ProtoMessage ¶
func (*NamespaceCpuMemoryRequest) ProtoMessage()
func (*NamespaceCpuMemoryRequest) ProtoReflect ¶
func (x *NamespaceCpuMemoryRequest) ProtoReflect() protoreflect.Message
func (*NamespaceCpuMemoryRequest) Reset ¶
func (x *NamespaceCpuMemoryRequest) Reset()
func (*NamespaceCpuMemoryRequest) String ¶
func (x *NamespaceCpuMemoryRequest) String() string
func (*NamespaceCpuMemoryRequest) Validate ¶
func (m *NamespaceCpuMemoryRequest) Validate() error
Validate checks the field values on NamespaceCpuMemoryRequest 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 (*NamespaceCpuMemoryRequest) ValidateAll ¶
func (m *NamespaceCpuMemoryRequest) ValidateAll() error
ValidateAll checks the field values on NamespaceCpuMemoryRequest 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 NamespaceCpuMemoryRequestMultiError, or nil if none found.
type NamespaceCpuMemoryRequestMultiError ¶
type NamespaceCpuMemoryRequestMultiError []error
NamespaceCpuMemoryRequestMultiError is an error wrapping multiple validation errors returned by NamespaceCpuMemoryRequest.ValidateAll() if the designated constraints aren't met.
func (NamespaceCpuMemoryRequestMultiError) AllErrors ¶
func (m NamespaceCpuMemoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceCpuMemoryRequestMultiError) Error ¶
func (m NamespaceCpuMemoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceCpuMemoryRequestValidationError ¶
type NamespaceCpuMemoryRequestValidationError struct {
// contains filtered or unexported fields
}
NamespaceCpuMemoryRequestValidationError is the validation error returned by NamespaceCpuMemoryRequest.Validate if the designated constraints aren't met.
func (NamespaceCpuMemoryRequestValidationError) Cause ¶
func (e NamespaceCpuMemoryRequestValidationError) Cause() error
Cause function returns cause value.
func (NamespaceCpuMemoryRequestValidationError) Error ¶
func (e NamespaceCpuMemoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceCpuMemoryRequestValidationError) ErrorName ¶
func (e NamespaceCpuMemoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceCpuMemoryRequestValidationError) Field ¶
func (e NamespaceCpuMemoryRequestValidationError) Field() string
Field function returns field value.
func (NamespaceCpuMemoryRequestValidationError) Key ¶
func (e NamespaceCpuMemoryRequestValidationError) Key() bool
Key function returns key value.
func (NamespaceCpuMemoryRequestValidationError) Reason ¶
func (e NamespaceCpuMemoryRequestValidationError) Reason() string
Reason function returns reason value.
type NamespaceCpuMemoryResponse ¶
type NamespaceCpuMemoryResponse struct { Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory string `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
func (*NamespaceCpuMemoryResponse) Descriptor
deprecated
func (*NamespaceCpuMemoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceCpuMemoryResponse.ProtoReflect.Descriptor instead.
func (*NamespaceCpuMemoryResponse) GetCpu ¶
func (x *NamespaceCpuMemoryResponse) GetCpu() string
func (*NamespaceCpuMemoryResponse) GetMemory ¶
func (x *NamespaceCpuMemoryResponse) GetMemory() string
func (*NamespaceCpuMemoryResponse) ProtoMessage ¶
func (*NamespaceCpuMemoryResponse) ProtoMessage()
func (*NamespaceCpuMemoryResponse) ProtoReflect ¶
func (x *NamespaceCpuMemoryResponse) ProtoReflect() protoreflect.Message
func (*NamespaceCpuMemoryResponse) Reset ¶
func (x *NamespaceCpuMemoryResponse) Reset()
func (*NamespaceCpuMemoryResponse) String ¶
func (x *NamespaceCpuMemoryResponse) String() string
func (*NamespaceCpuMemoryResponse) Validate ¶
func (m *NamespaceCpuMemoryResponse) Validate() error
Validate checks the field values on NamespaceCpuMemoryResponse 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 (*NamespaceCpuMemoryResponse) ValidateAll ¶
func (m *NamespaceCpuMemoryResponse) ValidateAll() error
ValidateAll checks the field values on NamespaceCpuMemoryResponse 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 NamespaceCpuMemoryResponseMultiError, or nil if none found.
type NamespaceCpuMemoryResponseMultiError ¶
type NamespaceCpuMemoryResponseMultiError []error
NamespaceCpuMemoryResponseMultiError is an error wrapping multiple validation errors returned by NamespaceCpuMemoryResponse.ValidateAll() if the designated constraints aren't met.
func (NamespaceCpuMemoryResponseMultiError) AllErrors ¶
func (m NamespaceCpuMemoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceCpuMemoryResponseMultiError) Error ¶
func (m NamespaceCpuMemoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceCpuMemoryResponseValidationError ¶
type NamespaceCpuMemoryResponseValidationError struct {
// contains filtered or unexported fields
}
NamespaceCpuMemoryResponseValidationError is the validation error returned by NamespaceCpuMemoryResponse.Validate if the designated constraints aren't met.
func (NamespaceCpuMemoryResponseValidationError) Cause ¶
func (e NamespaceCpuMemoryResponseValidationError) Cause() error
Cause function returns cause value.
func (NamespaceCpuMemoryResponseValidationError) Error ¶
func (e NamespaceCpuMemoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceCpuMemoryResponseValidationError) ErrorName ¶
func (e NamespaceCpuMemoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceCpuMemoryResponseValidationError) Field ¶
func (e NamespaceCpuMemoryResponseValidationError) Field() string
Field function returns field value.
func (NamespaceCpuMemoryResponseValidationError) Key ¶
func (e NamespaceCpuMemoryResponseValidationError) Key() bool
Key function returns key value.
func (NamespaceCpuMemoryResponseValidationError) Reason ¶
func (e NamespaceCpuMemoryResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceCreateRequest ¶
type NamespaceCreateRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*NamespaceCreateRequest) Descriptor
deprecated
func (*NamespaceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceCreateRequest.ProtoReflect.Descriptor instead.
func (*NamespaceCreateRequest) GetNamespace ¶
func (x *NamespaceCreateRequest) GetNamespace() string
func (*NamespaceCreateRequest) ProtoMessage ¶
func (*NamespaceCreateRequest) ProtoMessage()
func (*NamespaceCreateRequest) ProtoReflect ¶
func (x *NamespaceCreateRequest) ProtoReflect() protoreflect.Message
func (*NamespaceCreateRequest) Reset ¶
func (x *NamespaceCreateRequest) Reset()
func (*NamespaceCreateRequest) String ¶
func (x *NamespaceCreateRequest) String() string
func (*NamespaceCreateRequest) Validate ¶
func (m *NamespaceCreateRequest) Validate() error
Validate checks the field values on NamespaceCreateRequest 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 (*NamespaceCreateRequest) ValidateAll ¶
func (m *NamespaceCreateRequest) ValidateAll() error
ValidateAll checks the field values on NamespaceCreateRequest 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 NamespaceCreateRequestMultiError, or nil if none found.
type NamespaceCreateRequestMultiError ¶
type NamespaceCreateRequestMultiError []error
NamespaceCreateRequestMultiError is an error wrapping multiple validation errors returned by NamespaceCreateRequest.ValidateAll() if the designated constraints aren't met.
func (NamespaceCreateRequestMultiError) AllErrors ¶
func (m NamespaceCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceCreateRequestMultiError) Error ¶
func (m NamespaceCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceCreateRequestValidationError ¶
type NamespaceCreateRequestValidationError struct {
// contains filtered or unexported fields
}
NamespaceCreateRequestValidationError is the validation error returned by NamespaceCreateRequest.Validate if the designated constraints aren't met.
func (NamespaceCreateRequestValidationError) Cause ¶
func (e NamespaceCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (NamespaceCreateRequestValidationError) Error ¶
func (e NamespaceCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceCreateRequestValidationError) ErrorName ¶
func (e NamespaceCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceCreateRequestValidationError) Field ¶
func (e NamespaceCreateRequestValidationError) Field() string
Field function returns field value.
func (NamespaceCreateRequestValidationError) Key ¶
func (e NamespaceCreateRequestValidationError) Key() bool
Key function returns key value.
func (NamespaceCreateRequestValidationError) Reason ¶
func (e NamespaceCreateRequestValidationError) Reason() string
Reason function returns reason value.
type NamespaceCreateResponse ¶
type NamespaceCreateResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ImagePullSecrets []string `protobuf:"bytes,3,rep,name=image_pull_secrets,json=imagePullSecrets,proto3" json:"image_pull_secrets,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*NamespaceCreateResponse) Descriptor
deprecated
func (*NamespaceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceCreateResponse.ProtoReflect.Descriptor instead.
func (*NamespaceCreateResponse) GetCreatedAt ¶
func (x *NamespaceCreateResponse) GetCreatedAt() string
func (*NamespaceCreateResponse) GetId ¶
func (x *NamespaceCreateResponse) GetId() int64
func (*NamespaceCreateResponse) GetImagePullSecrets ¶
func (x *NamespaceCreateResponse) GetImagePullSecrets() []string
func (*NamespaceCreateResponse) GetName ¶
func (x *NamespaceCreateResponse) GetName() string
func (*NamespaceCreateResponse) GetUpdatedAt ¶
func (x *NamespaceCreateResponse) GetUpdatedAt() string
func (*NamespaceCreateResponse) ProtoMessage ¶
func (*NamespaceCreateResponse) ProtoMessage()
func (*NamespaceCreateResponse) ProtoReflect ¶
func (x *NamespaceCreateResponse) ProtoReflect() protoreflect.Message
func (*NamespaceCreateResponse) Reset ¶
func (x *NamespaceCreateResponse) Reset()
func (*NamespaceCreateResponse) String ¶
func (x *NamespaceCreateResponse) String() string
func (*NamespaceCreateResponse) Validate ¶
func (m *NamespaceCreateResponse) Validate() error
Validate checks the field values on NamespaceCreateResponse 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 (*NamespaceCreateResponse) ValidateAll ¶
func (m *NamespaceCreateResponse) ValidateAll() error
ValidateAll checks the field values on NamespaceCreateResponse 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 NamespaceCreateResponseMultiError, or nil if none found.
type NamespaceCreateResponseMultiError ¶
type NamespaceCreateResponseMultiError []error
NamespaceCreateResponseMultiError is an error wrapping multiple validation errors returned by NamespaceCreateResponse.ValidateAll() if the designated constraints aren't met.
func (NamespaceCreateResponseMultiError) AllErrors ¶
func (m NamespaceCreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceCreateResponseMultiError) Error ¶
func (m NamespaceCreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceCreateResponseValidationError ¶
type NamespaceCreateResponseValidationError struct {
// contains filtered or unexported fields
}
NamespaceCreateResponseValidationError is the validation error returned by NamespaceCreateResponse.Validate if the designated constraints aren't met.
func (NamespaceCreateResponseValidationError) Cause ¶
func (e NamespaceCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (NamespaceCreateResponseValidationError) Error ¶
func (e NamespaceCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceCreateResponseValidationError) ErrorName ¶
func (e NamespaceCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceCreateResponseValidationError) Field ¶
func (e NamespaceCreateResponseValidationError) Field() string
Field function returns field value.
func (NamespaceCreateResponseValidationError) Key ¶
func (e NamespaceCreateResponseValidationError) Key() bool
Key function returns key value.
func (NamespaceCreateResponseValidationError) Reason ¶
func (e NamespaceCreateResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceDeleteRequest ¶
type NamespaceDeleteRequest struct { NamespaceId int64 `protobuf:"varint,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*NamespaceDeleteRequest) Descriptor
deprecated
func (*NamespaceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceDeleteRequest.ProtoReflect.Descriptor instead.
func (*NamespaceDeleteRequest) GetNamespaceId ¶
func (x *NamespaceDeleteRequest) GetNamespaceId() int64
func (*NamespaceDeleteRequest) ProtoMessage ¶
func (*NamespaceDeleteRequest) ProtoMessage()
func (*NamespaceDeleteRequest) ProtoReflect ¶
func (x *NamespaceDeleteRequest) ProtoReflect() protoreflect.Message
func (*NamespaceDeleteRequest) Reset ¶
func (x *NamespaceDeleteRequest) Reset()
func (*NamespaceDeleteRequest) String ¶
func (x *NamespaceDeleteRequest) String() string
func (*NamespaceDeleteRequest) Validate ¶
func (m *NamespaceDeleteRequest) Validate() error
Validate checks the field values on NamespaceDeleteRequest 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 (*NamespaceDeleteRequest) ValidateAll ¶
func (m *NamespaceDeleteRequest) ValidateAll() error
ValidateAll checks the field values on NamespaceDeleteRequest 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 NamespaceDeleteRequestMultiError, or nil if none found.
type NamespaceDeleteRequestMultiError ¶
type NamespaceDeleteRequestMultiError []error
NamespaceDeleteRequestMultiError is an error wrapping multiple validation errors returned by NamespaceDeleteRequest.ValidateAll() if the designated constraints aren't met.
func (NamespaceDeleteRequestMultiError) AllErrors ¶
func (m NamespaceDeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceDeleteRequestMultiError) Error ¶
func (m NamespaceDeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceDeleteRequestValidationError ¶
type NamespaceDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
NamespaceDeleteRequestValidationError is the validation error returned by NamespaceDeleteRequest.Validate if the designated constraints aren't met.
func (NamespaceDeleteRequestValidationError) Cause ¶
func (e NamespaceDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (NamespaceDeleteRequestValidationError) Error ¶
func (e NamespaceDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceDeleteRequestValidationError) ErrorName ¶
func (e NamespaceDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceDeleteRequestValidationError) Field ¶
func (e NamespaceDeleteRequestValidationError) Field() string
Field function returns field value.
func (NamespaceDeleteRequestValidationError) Key ¶
func (e NamespaceDeleteRequestValidationError) Key() bool
Key function returns key value.
func (NamespaceDeleteRequestValidationError) Reason ¶
func (e NamespaceDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type NamespaceDeleteResponse ¶
type NamespaceDeleteResponse struct {
// contains filtered or unexported fields
}
func (*NamespaceDeleteResponse) Descriptor
deprecated
func (*NamespaceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceDeleteResponse.ProtoReflect.Descriptor instead.
func (*NamespaceDeleteResponse) ProtoMessage ¶
func (*NamespaceDeleteResponse) ProtoMessage()
func (*NamespaceDeleteResponse) ProtoReflect ¶
func (x *NamespaceDeleteResponse) ProtoReflect() protoreflect.Message
func (*NamespaceDeleteResponse) Reset ¶
func (x *NamespaceDeleteResponse) Reset()
func (*NamespaceDeleteResponse) String ¶
func (x *NamespaceDeleteResponse) String() string
func (*NamespaceDeleteResponse) Validate ¶
func (m *NamespaceDeleteResponse) Validate() error
Validate checks the field values on NamespaceDeleteResponse 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 (*NamespaceDeleteResponse) ValidateAll ¶
func (m *NamespaceDeleteResponse) ValidateAll() error
ValidateAll checks the field values on NamespaceDeleteResponse 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 NamespaceDeleteResponseMultiError, or nil if none found.
type NamespaceDeleteResponseMultiError ¶
type NamespaceDeleteResponseMultiError []error
NamespaceDeleteResponseMultiError is an error wrapping multiple validation errors returned by NamespaceDeleteResponse.ValidateAll() if the designated constraints aren't met.
func (NamespaceDeleteResponseMultiError) AllErrors ¶
func (m NamespaceDeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceDeleteResponseMultiError) Error ¶
func (m NamespaceDeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceDeleteResponseValidationError ¶
type NamespaceDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
NamespaceDeleteResponseValidationError is the validation error returned by NamespaceDeleteResponse.Validate if the designated constraints aren't met.
func (NamespaceDeleteResponseValidationError) Cause ¶
func (e NamespaceDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (NamespaceDeleteResponseValidationError) Error ¶
func (e NamespaceDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceDeleteResponseValidationError) ErrorName ¶
func (e NamespaceDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceDeleteResponseValidationError) Field ¶
func (e NamespaceDeleteResponseValidationError) Field() string
Field function returns field value.
func (NamespaceDeleteResponseValidationError) Key ¶
func (e NamespaceDeleteResponseValidationError) Key() bool
Key function returns key value.
func (NamespaceDeleteResponseValidationError) Reason ¶
func (e NamespaceDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceIsExistsRequest ¶
type NamespaceIsExistsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*NamespaceIsExistsRequest) Descriptor
deprecated
func (*NamespaceIsExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceIsExistsRequest.ProtoReflect.Descriptor instead.
func (*NamespaceIsExistsRequest) GetName ¶
func (x *NamespaceIsExistsRequest) GetName() string
func (*NamespaceIsExistsRequest) ProtoMessage ¶
func (*NamespaceIsExistsRequest) ProtoMessage()
func (*NamespaceIsExistsRequest) ProtoReflect ¶
func (x *NamespaceIsExistsRequest) ProtoReflect() protoreflect.Message
func (*NamespaceIsExistsRequest) Reset ¶
func (x *NamespaceIsExistsRequest) Reset()
func (*NamespaceIsExistsRequest) String ¶
func (x *NamespaceIsExistsRequest) String() string
func (*NamespaceIsExistsRequest) Validate ¶
func (m *NamespaceIsExistsRequest) Validate() error
Validate checks the field values on NamespaceIsExistsRequest 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 (*NamespaceIsExistsRequest) ValidateAll ¶
func (m *NamespaceIsExistsRequest) ValidateAll() error
ValidateAll checks the field values on NamespaceIsExistsRequest 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 NamespaceIsExistsRequestMultiError, or nil if none found.
type NamespaceIsExistsRequestMultiError ¶
type NamespaceIsExistsRequestMultiError []error
NamespaceIsExistsRequestMultiError is an error wrapping multiple validation errors returned by NamespaceIsExistsRequest.ValidateAll() if the designated constraints aren't met.
func (NamespaceIsExistsRequestMultiError) AllErrors ¶
func (m NamespaceIsExistsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceIsExistsRequestMultiError) Error ¶
func (m NamespaceIsExistsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceIsExistsRequestValidationError ¶
type NamespaceIsExistsRequestValidationError struct {
// contains filtered or unexported fields
}
NamespaceIsExistsRequestValidationError is the validation error returned by NamespaceIsExistsRequest.Validate if the designated constraints aren't met.
func (NamespaceIsExistsRequestValidationError) Cause ¶
func (e NamespaceIsExistsRequestValidationError) Cause() error
Cause function returns cause value.
func (NamespaceIsExistsRequestValidationError) Error ¶
func (e NamespaceIsExistsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceIsExistsRequestValidationError) ErrorName ¶
func (e NamespaceIsExistsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceIsExistsRequestValidationError) Field ¶
func (e NamespaceIsExistsRequestValidationError) Field() string
Field function returns field value.
func (NamespaceIsExistsRequestValidationError) Key ¶
func (e NamespaceIsExistsRequestValidationError) Key() bool
Key function returns key value.
func (NamespaceIsExistsRequestValidationError) Reason ¶
func (e NamespaceIsExistsRequestValidationError) Reason() string
Reason function returns reason value.
type NamespaceIsExistsResponse ¶
type NamespaceIsExistsResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NamespaceIsExistsResponse) Descriptor
deprecated
func (*NamespaceIsExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceIsExistsResponse.ProtoReflect.Descriptor instead.
func (*NamespaceIsExistsResponse) GetExists ¶
func (x *NamespaceIsExistsResponse) GetExists() bool
func (*NamespaceIsExistsResponse) GetId ¶
func (x *NamespaceIsExistsResponse) GetId() int64
func (*NamespaceIsExistsResponse) ProtoMessage ¶
func (*NamespaceIsExistsResponse) ProtoMessage()
func (*NamespaceIsExistsResponse) ProtoReflect ¶
func (x *NamespaceIsExistsResponse) ProtoReflect() protoreflect.Message
func (*NamespaceIsExistsResponse) Reset ¶
func (x *NamespaceIsExistsResponse) Reset()
func (*NamespaceIsExistsResponse) String ¶
func (x *NamespaceIsExistsResponse) String() string
func (*NamespaceIsExistsResponse) Validate ¶
func (m *NamespaceIsExistsResponse) Validate() error
Validate checks the field values on NamespaceIsExistsResponse 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 (*NamespaceIsExistsResponse) ValidateAll ¶
func (m *NamespaceIsExistsResponse) ValidateAll() error
ValidateAll checks the field values on NamespaceIsExistsResponse 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 NamespaceIsExistsResponseMultiError, or nil if none found.
type NamespaceIsExistsResponseMultiError ¶
type NamespaceIsExistsResponseMultiError []error
NamespaceIsExistsResponseMultiError is an error wrapping multiple validation errors returned by NamespaceIsExistsResponse.ValidateAll() if the designated constraints aren't met.
func (NamespaceIsExistsResponseMultiError) AllErrors ¶
func (m NamespaceIsExistsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceIsExistsResponseMultiError) Error ¶
func (m NamespaceIsExistsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceIsExistsResponseValidationError ¶
type NamespaceIsExistsResponseValidationError struct {
// contains filtered or unexported fields
}
NamespaceIsExistsResponseValidationError is the validation error returned by NamespaceIsExistsResponse.Validate if the designated constraints aren't met.
func (NamespaceIsExistsResponseValidationError) Cause ¶
func (e NamespaceIsExistsResponseValidationError) Cause() error
Cause function returns cause value.
func (NamespaceIsExistsResponseValidationError) Error ¶
func (e NamespaceIsExistsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceIsExistsResponseValidationError) ErrorName ¶
func (e NamespaceIsExistsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceIsExistsResponseValidationError) Field ¶
func (e NamespaceIsExistsResponseValidationError) Field() string
Field function returns field value.
func (NamespaceIsExistsResponseValidationError) Key ¶
func (e NamespaceIsExistsResponseValidationError) Key() bool
Key function returns key value.
func (NamespaceIsExistsResponseValidationError) Reason ¶
func (e NamespaceIsExistsResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceItem ¶
type NamespaceItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Projects []*NamespaceSimpleProject `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*NamespaceItem) Descriptor
deprecated
func (*NamespaceItem) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceItem.ProtoReflect.Descriptor instead.
func (*NamespaceItem) GetCreatedAt ¶
func (x *NamespaceItem) GetCreatedAt() string
func (*NamespaceItem) GetId ¶
func (x *NamespaceItem) GetId() int64
func (*NamespaceItem) GetName ¶
func (x *NamespaceItem) GetName() string
func (*NamespaceItem) GetProjects ¶
func (x *NamespaceItem) GetProjects() []*NamespaceSimpleProject
func (*NamespaceItem) GetUpdatedAt ¶
func (x *NamespaceItem) GetUpdatedAt() string
func (*NamespaceItem) ProtoMessage ¶
func (*NamespaceItem) ProtoMessage()
func (*NamespaceItem) ProtoReflect ¶
func (x *NamespaceItem) ProtoReflect() protoreflect.Message
func (*NamespaceItem) Reset ¶
func (x *NamespaceItem) Reset()
func (*NamespaceItem) String ¶
func (x *NamespaceItem) String() string
func (*NamespaceItem) Validate ¶
func (m *NamespaceItem) Validate() error
Validate checks the field values on NamespaceItem 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 (*NamespaceItem) ValidateAll ¶
func (m *NamespaceItem) ValidateAll() error
ValidateAll checks the field values on NamespaceItem 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 NamespaceItemMultiError, or nil if none found.
type NamespaceItemMultiError ¶
type NamespaceItemMultiError []error
NamespaceItemMultiError is an error wrapping multiple validation errors returned by NamespaceItem.ValidateAll() if the designated constraints aren't met.
func (NamespaceItemMultiError) AllErrors ¶
func (m NamespaceItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceItemMultiError) Error ¶
func (m NamespaceItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceItemValidationError ¶
type NamespaceItemValidationError struct {
// contains filtered or unexported fields
}
NamespaceItemValidationError is the validation error returned by NamespaceItem.Validate if the designated constraints aren't met.
func (NamespaceItemValidationError) Cause ¶
func (e NamespaceItemValidationError) Cause() error
Cause function returns cause value.
func (NamespaceItemValidationError) Error ¶
func (e NamespaceItemValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceItemValidationError) ErrorName ¶
func (e NamespaceItemValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceItemValidationError) Field ¶
func (e NamespaceItemValidationError) Field() string
Field function returns field value.
func (NamespaceItemValidationError) Key ¶
func (e NamespaceItemValidationError) Key() bool
Key function returns key value.
func (NamespaceItemValidationError) Reason ¶
func (e NamespaceItemValidationError) Reason() string
Reason function returns reason value.
type NamespaceServer ¶
type NamespaceServer interface { // All 获取所有的名称空间 All(context.Context, *NamespaceAllRequest) (*NamespaceAllResponse, error) // Create 创建名称空间 Create(context.Context, *NamespaceCreateRequest) (*NamespaceCreateResponse, error) // Show 查看名称空间详情 Show(context.Context, *NamespaceShowRequest) (*NamespaceShowResponse, error) // Delete 删除名称空间 Delete(context.Context, *NamespaceDeleteRequest) (*NamespaceDeleteResponse, error) // IsExists 名称空间是否存在 IsExists(context.Context, *NamespaceIsExistsRequest) (*NamespaceIsExistsResponse, error) // CpuMemory 名称空间总共使用的 cpu memory CpuMemory(context.Context, *NamespaceCpuMemoryRequest) (*NamespaceCpuMemoryResponse, error) // ServiceEndpoints 名称空间下面所有服务的 endpoint ServiceEndpoints(context.Context, *NamespaceServiceEndpointsRequest) (*NamespaceServiceEndpointsResponse, error) // contains filtered or unexported methods }
NamespaceServer is the server API for Namespace service. All implementations must embed UnimplementedNamespaceServer for forward compatibility
type NamespaceServiceEndpoint ¶
type NamespaceServiceEndpoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` PortName string `protobuf:"bytes,3,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` // contains filtered or unexported fields }
func (*NamespaceServiceEndpoint) Descriptor
deprecated
func (*NamespaceServiceEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceServiceEndpoint.ProtoReflect.Descriptor instead.
func (*NamespaceServiceEndpoint) GetName ¶
func (x *NamespaceServiceEndpoint) GetName() string
func (*NamespaceServiceEndpoint) GetPortName ¶
func (x *NamespaceServiceEndpoint) GetPortName() string
func (*NamespaceServiceEndpoint) GetUrl ¶
func (x *NamespaceServiceEndpoint) GetUrl() string
func (*NamespaceServiceEndpoint) ProtoMessage ¶
func (*NamespaceServiceEndpoint) ProtoMessage()
func (*NamespaceServiceEndpoint) ProtoReflect ¶
func (x *NamespaceServiceEndpoint) ProtoReflect() protoreflect.Message
func (*NamespaceServiceEndpoint) Reset ¶
func (x *NamespaceServiceEndpoint) Reset()
func (*NamespaceServiceEndpoint) String ¶
func (x *NamespaceServiceEndpoint) String() string
func (*NamespaceServiceEndpoint) Validate ¶
func (m *NamespaceServiceEndpoint) Validate() error
Validate checks the field values on NamespaceServiceEndpoint 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 (*NamespaceServiceEndpoint) ValidateAll ¶
func (m *NamespaceServiceEndpoint) ValidateAll() error
ValidateAll checks the field values on NamespaceServiceEndpoint 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 NamespaceServiceEndpointMultiError, or nil if none found.
type NamespaceServiceEndpointMultiError ¶
type NamespaceServiceEndpointMultiError []error
NamespaceServiceEndpointMultiError is an error wrapping multiple validation errors returned by NamespaceServiceEndpoint.ValidateAll() if the designated constraints aren't met.
func (NamespaceServiceEndpointMultiError) AllErrors ¶
func (m NamespaceServiceEndpointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceServiceEndpointMultiError) Error ¶
func (m NamespaceServiceEndpointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceServiceEndpointValidationError ¶
type NamespaceServiceEndpointValidationError struct {
// contains filtered or unexported fields
}
NamespaceServiceEndpointValidationError is the validation error returned by NamespaceServiceEndpoint.Validate if the designated constraints aren't met.
func (NamespaceServiceEndpointValidationError) Cause ¶
func (e NamespaceServiceEndpointValidationError) Cause() error
Cause function returns cause value.
func (NamespaceServiceEndpointValidationError) Error ¶
func (e NamespaceServiceEndpointValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceServiceEndpointValidationError) ErrorName ¶
func (e NamespaceServiceEndpointValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceServiceEndpointValidationError) Field ¶
func (e NamespaceServiceEndpointValidationError) Field() string
Field function returns field value.
func (NamespaceServiceEndpointValidationError) Key ¶
func (e NamespaceServiceEndpointValidationError) Key() bool
Key function returns key value.
func (NamespaceServiceEndpointValidationError) Reason ¶
func (e NamespaceServiceEndpointValidationError) Reason() string
Reason function returns reason value.
type NamespaceServiceEndpointsRequest ¶
type NamespaceServiceEndpointsRequest struct { NamespaceId int64 `protobuf:"varint,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // contains filtered or unexported fields }
func (*NamespaceServiceEndpointsRequest) Descriptor
deprecated
func (*NamespaceServiceEndpointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceServiceEndpointsRequest.ProtoReflect.Descriptor instead.
func (*NamespaceServiceEndpointsRequest) GetNamespaceId ¶
func (x *NamespaceServiceEndpointsRequest) GetNamespaceId() int64
func (*NamespaceServiceEndpointsRequest) GetProjectName ¶
func (x *NamespaceServiceEndpointsRequest) GetProjectName() string
func (*NamespaceServiceEndpointsRequest) ProtoMessage ¶
func (*NamespaceServiceEndpointsRequest) ProtoMessage()
func (*NamespaceServiceEndpointsRequest) ProtoReflect ¶
func (x *NamespaceServiceEndpointsRequest) ProtoReflect() protoreflect.Message
func (*NamespaceServiceEndpointsRequest) Reset ¶
func (x *NamespaceServiceEndpointsRequest) Reset()
func (*NamespaceServiceEndpointsRequest) String ¶
func (x *NamespaceServiceEndpointsRequest) String() string
func (*NamespaceServiceEndpointsRequest) Validate ¶
func (m *NamespaceServiceEndpointsRequest) Validate() error
Validate checks the field values on NamespaceServiceEndpointsRequest 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 (*NamespaceServiceEndpointsRequest) ValidateAll ¶
func (m *NamespaceServiceEndpointsRequest) ValidateAll() error
ValidateAll checks the field values on NamespaceServiceEndpointsRequest 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 NamespaceServiceEndpointsRequestMultiError, or nil if none found.
type NamespaceServiceEndpointsRequestMultiError ¶
type NamespaceServiceEndpointsRequestMultiError []error
NamespaceServiceEndpointsRequestMultiError is an error wrapping multiple validation errors returned by NamespaceServiceEndpointsRequest.ValidateAll() if the designated constraints aren't met.
func (NamespaceServiceEndpointsRequestMultiError) AllErrors ¶
func (m NamespaceServiceEndpointsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceServiceEndpointsRequestMultiError) Error ¶
func (m NamespaceServiceEndpointsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceServiceEndpointsRequestValidationError ¶
type NamespaceServiceEndpointsRequestValidationError struct {
// contains filtered or unexported fields
}
NamespaceServiceEndpointsRequestValidationError is the validation error returned by NamespaceServiceEndpointsRequest.Validate if the designated constraints aren't met.
func (NamespaceServiceEndpointsRequestValidationError) Cause ¶
func (e NamespaceServiceEndpointsRequestValidationError) Cause() error
Cause function returns cause value.
func (NamespaceServiceEndpointsRequestValidationError) Error ¶
func (e NamespaceServiceEndpointsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceServiceEndpointsRequestValidationError) ErrorName ¶
func (e NamespaceServiceEndpointsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceServiceEndpointsRequestValidationError) Field ¶
func (e NamespaceServiceEndpointsRequestValidationError) Field() string
Field function returns field value.
func (NamespaceServiceEndpointsRequestValidationError) Key ¶
func (e NamespaceServiceEndpointsRequestValidationError) Key() bool
Key function returns key value.
func (NamespaceServiceEndpointsRequestValidationError) Reason ¶
func (e NamespaceServiceEndpointsRequestValidationError) Reason() string
Reason function returns reason value.
type NamespaceServiceEndpointsResponse ¶
type NamespaceServiceEndpointsResponse struct { Data []*NamespaceServiceEndpoint `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*NamespaceServiceEndpointsResponse) Descriptor
deprecated
func (*NamespaceServiceEndpointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceServiceEndpointsResponse.ProtoReflect.Descriptor instead.
func (*NamespaceServiceEndpointsResponse) GetData ¶
func (x *NamespaceServiceEndpointsResponse) GetData() []*NamespaceServiceEndpoint
func (*NamespaceServiceEndpointsResponse) ProtoMessage ¶
func (*NamespaceServiceEndpointsResponse) ProtoMessage()
func (*NamespaceServiceEndpointsResponse) ProtoReflect ¶
func (x *NamespaceServiceEndpointsResponse) ProtoReflect() protoreflect.Message
func (*NamespaceServiceEndpointsResponse) Reset ¶
func (x *NamespaceServiceEndpointsResponse) Reset()
func (*NamespaceServiceEndpointsResponse) String ¶
func (x *NamespaceServiceEndpointsResponse) String() string
func (*NamespaceServiceEndpointsResponse) Validate ¶
func (m *NamespaceServiceEndpointsResponse) Validate() error
Validate checks the field values on NamespaceServiceEndpointsResponse 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 (*NamespaceServiceEndpointsResponse) ValidateAll ¶
func (m *NamespaceServiceEndpointsResponse) ValidateAll() error
ValidateAll checks the field values on NamespaceServiceEndpointsResponse 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 NamespaceServiceEndpointsResponseMultiError, or nil if none found.
type NamespaceServiceEndpointsResponseMultiError ¶
type NamespaceServiceEndpointsResponseMultiError []error
NamespaceServiceEndpointsResponseMultiError is an error wrapping multiple validation errors returned by NamespaceServiceEndpointsResponse.ValidateAll() if the designated constraints aren't met.
func (NamespaceServiceEndpointsResponseMultiError) AllErrors ¶
func (m NamespaceServiceEndpointsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceServiceEndpointsResponseMultiError) Error ¶
func (m NamespaceServiceEndpointsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceServiceEndpointsResponseValidationError ¶
type NamespaceServiceEndpointsResponseValidationError struct {
// contains filtered or unexported fields
}
NamespaceServiceEndpointsResponseValidationError is the validation error returned by NamespaceServiceEndpointsResponse.Validate if the designated constraints aren't met.
func (NamespaceServiceEndpointsResponseValidationError) Cause ¶
func (e NamespaceServiceEndpointsResponseValidationError) Cause() error
Cause function returns cause value.
func (NamespaceServiceEndpointsResponseValidationError) Error ¶
func (e NamespaceServiceEndpointsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceServiceEndpointsResponseValidationError) ErrorName ¶
func (e NamespaceServiceEndpointsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceServiceEndpointsResponseValidationError) Field ¶
func (e NamespaceServiceEndpointsResponseValidationError) Field() string
Field function returns field value.
func (NamespaceServiceEndpointsResponseValidationError) Key ¶
func (e NamespaceServiceEndpointsResponseValidationError) Key() bool
Key function returns key value.
func (NamespaceServiceEndpointsResponseValidationError) Reason ¶
func (e NamespaceServiceEndpointsResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceShowRequest ¶
type NamespaceShowRequest struct { NamespaceId int64 `protobuf:"varint,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // contains filtered or unexported fields }
func (*NamespaceShowRequest) Descriptor
deprecated
func (*NamespaceShowRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceShowRequest.ProtoReflect.Descriptor instead.
func (*NamespaceShowRequest) GetNamespaceId ¶
func (x *NamespaceShowRequest) GetNamespaceId() int64
func (*NamespaceShowRequest) ProtoMessage ¶
func (*NamespaceShowRequest) ProtoMessage()
func (*NamespaceShowRequest) ProtoReflect ¶
func (x *NamespaceShowRequest) ProtoReflect() protoreflect.Message
func (*NamespaceShowRequest) Reset ¶
func (x *NamespaceShowRequest) Reset()
func (*NamespaceShowRequest) String ¶
func (x *NamespaceShowRequest) String() string
func (*NamespaceShowRequest) Validate ¶
func (m *NamespaceShowRequest) Validate() error
Validate checks the field values on NamespaceShowRequest 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 (*NamespaceShowRequest) ValidateAll ¶
func (m *NamespaceShowRequest) ValidateAll() error
ValidateAll checks the field values on NamespaceShowRequest 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 NamespaceShowRequestMultiError, or nil if none found.
type NamespaceShowRequestMultiError ¶
type NamespaceShowRequestMultiError []error
NamespaceShowRequestMultiError is an error wrapping multiple validation errors returned by NamespaceShowRequest.ValidateAll() if the designated constraints aren't met.
func (NamespaceShowRequestMultiError) AllErrors ¶
func (m NamespaceShowRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceShowRequestMultiError) Error ¶
func (m NamespaceShowRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceShowRequestValidationError ¶
type NamespaceShowRequestValidationError struct {
// contains filtered or unexported fields
}
NamespaceShowRequestValidationError is the validation error returned by NamespaceShowRequest.Validate if the designated constraints aren't met.
func (NamespaceShowRequestValidationError) Cause ¶
func (e NamespaceShowRequestValidationError) Cause() error
Cause function returns cause value.
func (NamespaceShowRequestValidationError) Error ¶
func (e NamespaceShowRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceShowRequestValidationError) ErrorName ¶
func (e NamespaceShowRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceShowRequestValidationError) Field ¶
func (e NamespaceShowRequestValidationError) Field() string
Field function returns field value.
func (NamespaceShowRequestValidationError) Key ¶
func (e NamespaceShowRequestValidationError) Key() bool
Key function returns key value.
func (NamespaceShowRequestValidationError) Reason ¶
func (e NamespaceShowRequestValidationError) Reason() string
Reason function returns reason value.
type NamespaceShowResponse ¶
type NamespaceShowResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ImagePullSecrets []string `protobuf:"bytes,3,rep,name=image_pull_secrets,json=imagePullSecrets,proto3" json:"image_pull_secrets,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Projects []*model.ProjectModel `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*NamespaceShowResponse) Descriptor
deprecated
func (*NamespaceShowResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceShowResponse.ProtoReflect.Descriptor instead.
func (*NamespaceShowResponse) GetCreatedAt ¶
func (x *NamespaceShowResponse) GetCreatedAt() string
func (*NamespaceShowResponse) GetId ¶
func (x *NamespaceShowResponse) GetId() int64
func (*NamespaceShowResponse) GetImagePullSecrets ¶
func (x *NamespaceShowResponse) GetImagePullSecrets() []string
func (*NamespaceShowResponse) GetName ¶
func (x *NamespaceShowResponse) GetName() string
func (*NamespaceShowResponse) GetProjects ¶
func (x *NamespaceShowResponse) GetProjects() []*model.ProjectModel
func (*NamespaceShowResponse) GetUpdatedAt ¶
func (x *NamespaceShowResponse) GetUpdatedAt() string
func (*NamespaceShowResponse) ProtoMessage ¶
func (*NamespaceShowResponse) ProtoMessage()
func (*NamespaceShowResponse) ProtoReflect ¶
func (x *NamespaceShowResponse) ProtoReflect() protoreflect.Message
func (*NamespaceShowResponse) Reset ¶
func (x *NamespaceShowResponse) Reset()
func (*NamespaceShowResponse) String ¶
func (x *NamespaceShowResponse) String() string
func (*NamespaceShowResponse) Validate ¶
func (m *NamespaceShowResponse) Validate() error
Validate checks the field values on NamespaceShowResponse 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 (*NamespaceShowResponse) ValidateAll ¶
func (m *NamespaceShowResponse) ValidateAll() error
ValidateAll checks the field values on NamespaceShowResponse 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 NamespaceShowResponseMultiError, or nil if none found.
type NamespaceShowResponseMultiError ¶
type NamespaceShowResponseMultiError []error
NamespaceShowResponseMultiError is an error wrapping multiple validation errors returned by NamespaceShowResponse.ValidateAll() if the designated constraints aren't met.
func (NamespaceShowResponseMultiError) AllErrors ¶
func (m NamespaceShowResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceShowResponseMultiError) Error ¶
func (m NamespaceShowResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceShowResponseValidationError ¶
type NamespaceShowResponseValidationError struct {
// contains filtered or unexported fields
}
NamespaceShowResponseValidationError is the validation error returned by NamespaceShowResponse.Validate if the designated constraints aren't met.
func (NamespaceShowResponseValidationError) Cause ¶
func (e NamespaceShowResponseValidationError) Cause() error
Cause function returns cause value.
func (NamespaceShowResponseValidationError) Error ¶
func (e NamespaceShowResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceShowResponseValidationError) ErrorName ¶
func (e NamespaceShowResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceShowResponseValidationError) Field ¶
func (e NamespaceShowResponseValidationError) Field() string
Field function returns field value.
func (NamespaceShowResponseValidationError) Key ¶
func (e NamespaceShowResponseValidationError) Key() bool
Key function returns key value.
func (NamespaceShowResponseValidationError) Reason ¶
func (e NamespaceShowResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceSimpleProject ¶
type NamespaceSimpleProject struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*NamespaceSimpleProject) Descriptor
deprecated
func (*NamespaceSimpleProject) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceSimpleProject.ProtoReflect.Descriptor instead.
func (*NamespaceSimpleProject) GetId ¶
func (x *NamespaceSimpleProject) GetId() int64
func (*NamespaceSimpleProject) GetName ¶
func (x *NamespaceSimpleProject) GetName() string
func (*NamespaceSimpleProject) GetStatus ¶
func (x *NamespaceSimpleProject) GetStatus() string
func (*NamespaceSimpleProject) ProtoMessage ¶
func (*NamespaceSimpleProject) ProtoMessage()
func (*NamespaceSimpleProject) ProtoReflect ¶
func (x *NamespaceSimpleProject) ProtoReflect() protoreflect.Message
func (*NamespaceSimpleProject) Reset ¶
func (x *NamespaceSimpleProject) Reset()
func (*NamespaceSimpleProject) String ¶
func (x *NamespaceSimpleProject) String() string
func (*NamespaceSimpleProject) Validate ¶
func (m *NamespaceSimpleProject) Validate() error
Validate checks the field values on NamespaceSimpleProject 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 (*NamespaceSimpleProject) ValidateAll ¶
func (m *NamespaceSimpleProject) ValidateAll() error
ValidateAll checks the field values on NamespaceSimpleProject 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 NamespaceSimpleProjectMultiError, or nil if none found.
type NamespaceSimpleProjectMultiError ¶
type NamespaceSimpleProjectMultiError []error
NamespaceSimpleProjectMultiError is an error wrapping multiple validation errors returned by NamespaceSimpleProject.ValidateAll() if the designated constraints aren't met.
func (NamespaceSimpleProjectMultiError) AllErrors ¶
func (m NamespaceSimpleProjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceSimpleProjectMultiError) Error ¶
func (m NamespaceSimpleProjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceSimpleProjectValidationError ¶
type NamespaceSimpleProjectValidationError struct {
// contains filtered or unexported fields
}
NamespaceSimpleProjectValidationError is the validation error returned by NamespaceSimpleProject.Validate if the designated constraints aren't met.
func (NamespaceSimpleProjectValidationError) Cause ¶
func (e NamespaceSimpleProjectValidationError) Cause() error
Cause function returns cause value.
func (NamespaceSimpleProjectValidationError) Error ¶
func (e NamespaceSimpleProjectValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceSimpleProjectValidationError) ErrorName ¶
func (e NamespaceSimpleProjectValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceSimpleProjectValidationError) Field ¶
func (e NamespaceSimpleProjectValidationError) Field() string
Field function returns field value.
func (NamespaceSimpleProjectValidationError) Key ¶
func (e NamespaceSimpleProjectValidationError) Key() bool
Key function returns key value.
func (NamespaceSimpleProjectValidationError) Reason ¶
func (e NamespaceSimpleProjectValidationError) Reason() string
Reason function returns reason value.
type UnimplementedNamespaceServer ¶
type UnimplementedNamespaceServer struct { }
UnimplementedNamespaceServer must be embedded to have forward compatible implementations.
func (UnimplementedNamespaceServer) All ¶
func (UnimplementedNamespaceServer) All(context.Context, *NamespaceAllRequest) (*NamespaceAllResponse, error)
func (UnimplementedNamespaceServer) CpuMemory ¶
func (UnimplementedNamespaceServer) CpuMemory(context.Context, *NamespaceCpuMemoryRequest) (*NamespaceCpuMemoryResponse, error)
func (UnimplementedNamespaceServer) Create ¶
func (UnimplementedNamespaceServer) Create(context.Context, *NamespaceCreateRequest) (*NamespaceCreateResponse, error)
func (UnimplementedNamespaceServer) Delete ¶
func (UnimplementedNamespaceServer) Delete(context.Context, *NamespaceDeleteRequest) (*NamespaceDeleteResponse, error)
func (UnimplementedNamespaceServer) IsExists ¶
func (UnimplementedNamespaceServer) IsExists(context.Context, *NamespaceIsExistsRequest) (*NamespaceIsExistsResponse, error)
func (UnimplementedNamespaceServer) ServiceEndpoints ¶
func (UnimplementedNamespaceServer) ServiceEndpoints(context.Context, *NamespaceServiceEndpointsRequest) (*NamespaceServiceEndpointsResponse, error)
func (UnimplementedNamespaceServer) Show ¶
func (UnimplementedNamespaceServer) Show(context.Context, *NamespaceShowRequest) (*NamespaceShowResponse, error)
type UnsafeNamespaceServer ¶
type UnsafeNamespaceServer interface {
// contains filtered or unexported methods
}
UnsafeNamespaceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NamespaceServer will result in compilation errors.