namespace

package
v0.0.0-...-51115e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2022 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Overview

Package namespace is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_namespace_namespace_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (NamespaceAllRequestValidationError) Error

Error satisfies the builtin error interface

func (NamespaceAllRequestValidationError) ErrorName

ErrorName returns error name.

func (NamespaceAllRequestValidationError) Field

Field function returns field value.

func (NamespaceAllRequestValidationError) Key

Key function returns key value.

func (NamespaceAllRequestValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceAllResponseValidationError) Error

Error satisfies the builtin error interface

func (NamespaceAllResponseValidationError) ErrorName

ErrorName returns error name.

func (NamespaceAllResponseValidationError) Field

Field function returns field value.

func (NamespaceAllResponseValidationError) Key

Key function returns key value.

func (NamespaceAllResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (NamespaceCpuMemoryRequestMultiError) Error

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

Cause function returns cause value.

func (NamespaceCpuMemoryRequestValidationError) Error

Error satisfies the builtin error interface

func (NamespaceCpuMemoryRequestValidationError) ErrorName

ErrorName returns error name.

func (NamespaceCpuMemoryRequestValidationError) Field

Field function returns field value.

func (NamespaceCpuMemoryRequestValidationError) Key

Key function returns key value.

func (NamespaceCpuMemoryRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (NamespaceCpuMemoryResponseMultiError) Error

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

Cause function returns cause value.

func (NamespaceCpuMemoryResponseValidationError) Error

Error satisfies the builtin error interface

func (NamespaceCpuMemoryResponseValidationError) ErrorName

ErrorName returns error name.

func (NamespaceCpuMemoryResponseValidationError) Field

Field function returns field value.

func (NamespaceCpuMemoryResponseValidationError) Key

Key function returns key value.

func (NamespaceCpuMemoryResponseValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (NamespaceCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (NamespaceCreateRequestValidationError) Field

Field function returns field value.

func (NamespaceCreateRequestValidationError) Key

Key function returns key value.

func (NamespaceCreateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (NamespaceCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (NamespaceCreateResponseValidationError) Field

Field function returns field value.

func (NamespaceCreateResponseValidationError) Key

Key function returns key value.

func (NamespaceCreateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (NamespaceDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (NamespaceDeleteRequestValidationError) Field

Field function returns field value.

func (NamespaceDeleteRequestValidationError) Key

Key function returns key value.

func (NamespaceDeleteRequestValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (NamespaceDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (NamespaceDeleteResponseValidationError) Field

Field function returns field value.

func (NamespaceDeleteResponseValidationError) Key

Key function returns key value.

func (NamespaceDeleteResponseValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceIsExistsRequestValidationError) Error

Error satisfies the builtin error interface

func (NamespaceIsExistsRequestValidationError) ErrorName

ErrorName returns error name.

func (NamespaceIsExistsRequestValidationError) Field

Field function returns field value.

func (NamespaceIsExistsRequestValidationError) Key

Key function returns key value.

func (NamespaceIsExistsRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (NamespaceIsExistsResponseMultiError) Error

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

Cause function returns cause value.

func (NamespaceIsExistsResponseValidationError) Error

Error satisfies the builtin error interface

func (NamespaceIsExistsResponseValidationError) ErrorName

ErrorName returns error name.

func (NamespaceIsExistsResponseValidationError) Field

Field function returns field value.

func (NamespaceIsExistsResponseValidationError) Key

Key function returns key value.

func (NamespaceIsExistsResponseValidationError) Reason

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

Cause function returns cause value.

func (NamespaceItemValidationError) Error

Error satisfies the builtin error interface

func (NamespaceItemValidationError) ErrorName

func (e NamespaceItemValidationError) ErrorName() string

ErrorName returns error name.

func (NamespaceItemValidationError) Field

Field function returns field value.

func (NamespaceItemValidationError) Key

Key function returns key value.

func (NamespaceItemValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceServiceEndpointValidationError) Error

Error satisfies the builtin error interface

func (NamespaceServiceEndpointValidationError) ErrorName

ErrorName returns error name.

func (NamespaceServiceEndpointValidationError) Field

Field function returns field value.

func (NamespaceServiceEndpointValidationError) Key

Key function returns key value.

func (NamespaceServiceEndpointValidationError) Reason

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 (*NamespaceServiceEndpointsRequest) Reset

func (*NamespaceServiceEndpointsRequest) String

func (*NamespaceServiceEndpointsRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (NamespaceServiceEndpointsRequestMultiError) Error

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

Cause function returns cause value.

func (NamespaceServiceEndpointsRequestValidationError) Error

Error satisfies the builtin error interface

func (NamespaceServiceEndpointsRequestValidationError) ErrorName

ErrorName returns error name.

func (NamespaceServiceEndpointsRequestValidationError) Field

Field function returns field value.

func (NamespaceServiceEndpointsRequestValidationError) Key

Key function returns key value.

func (NamespaceServiceEndpointsRequestValidationError) Reason

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 (*NamespaceServiceEndpointsResponse) ProtoMessage

func (*NamespaceServiceEndpointsResponse) ProtoMessage()

func (*NamespaceServiceEndpointsResponse) ProtoReflect

func (*NamespaceServiceEndpointsResponse) Reset

func (*NamespaceServiceEndpointsResponse) String

func (*NamespaceServiceEndpointsResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (NamespaceServiceEndpointsResponseMultiError) Error

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

Cause function returns cause value.

func (NamespaceServiceEndpointsResponseValidationError) Error

Error satisfies the builtin error interface

func (NamespaceServiceEndpointsResponseValidationError) ErrorName

ErrorName returns error name.

func (NamespaceServiceEndpointsResponseValidationError) Field

Field function returns field value.

func (NamespaceServiceEndpointsResponseValidationError) Key

Key function returns key value.

func (NamespaceServiceEndpointsResponseValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceShowRequestValidationError) Error

Error satisfies the builtin error interface

func (NamespaceShowRequestValidationError) ErrorName

ErrorName returns error name.

func (NamespaceShowRequestValidationError) Field

Field function returns field value.

func (NamespaceShowRequestValidationError) Key

Key function returns key value.

func (NamespaceShowRequestValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceShowResponseValidationError) Error

Error satisfies the builtin error interface

func (NamespaceShowResponseValidationError) ErrorName

ErrorName returns error name.

func (NamespaceShowResponseValidationError) Field

Field function returns field value.

func (NamespaceShowResponseValidationError) Key

Key function returns key value.

func (NamespaceShowResponseValidationError) Reason

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

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

Cause function returns cause value.

func (NamespaceSimpleProjectValidationError) Error

Error satisfies the builtin error interface

func (NamespaceSimpleProjectValidationError) ErrorName

ErrorName returns error name.

func (NamespaceSimpleProjectValidationError) Field

Field function returns field value.

func (NamespaceSimpleProjectValidationError) Key

Key function returns key value.

func (NamespaceSimpleProjectValidationError) Reason

Reason function returns reason value.

type UnimplementedNamespaceServer

type UnimplementedNamespaceServer struct {
}

UnimplementedNamespaceServer must be embedded to have forward compatible implementations.

func (UnimplementedNamespaceServer) All

func (UnimplementedNamespaceServer) Show

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL