v1

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Cluster_GetCluster_FullMethodName    = "/api.cluster.v1.Cluster/GetCluster"
	Cluster_ListClusters_FullMethodName  = "/api.cluster.v1.Cluster/ListClusters"
	Cluster_SaveCluster_FullMethodName   = "/api.cluster.v1.Cluster/SaveCluster"
	Cluster_DeleteCluster_FullMethodName = "/api.cluster.v1.Cluster/DeleteCluster"
)
View Source
const OperationClusterDeleteCluster = "/api.cluster.v1.Cluster/DeleteCluster"
View Source
const OperationClusterGetCluster = "/api.cluster.v1.Cluster/GetCluster"
View Source
const OperationClusterListClusters = "/api.cluster.v1.Cluster/ListClusters"
View Source
const OperationClusterSaveCluster = "/api.cluster.v1.Cluster/SaveCluster"

Variables

View Source
var Cluster_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.cluster.v1.Cluster",
	HandlerType: (*ClusterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCluster",
			Handler:    _Cluster_GetCluster_Handler,
		},
		{
			MethodName: "ListClusters",
			Handler:    _Cluster_ListClusters_Handler,
		},
		{
			MethodName: "SaveCluster",
			Handler:    _Cluster_SaveCluster_Handler,
		},
		{
			MethodName: "DeleteCluster",
			Handler:    _Cluster_DeleteCluster_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cluster/v1/cluster.proto",
}

Cluster_ServiceDesc is the grpc.ServiceDesc for Cluster service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_cluster_v1_cluster_proto protoreflect.FileDescriptor

Functions

func RegisterClusterHTTPServer

func RegisterClusterHTTPServer(s *http.Server, srv ClusterHTTPServer)

func RegisterClusterServer

func RegisterClusterServer(s grpc.ServiceRegistrar, srv ClusterServer)

Types

type ClusterClient

type ClusterClient interface {
	GetCluster(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error)
	ListClusters(ctx context.Context, in *ListsRequest, opts ...grpc.CallOption) (*ListsReply, error)
	SaveCluster(ctx context.Context, in *SaveRequest, opts ...grpc.CallOption) (*SaveReply, error)
	DeleteCluster(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteReply, error)
}

ClusterClient is the client API for Cluster 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 NewClusterClient

func NewClusterClient(cc grpc.ClientConnInterface) ClusterClient

type ClusterHTTPClient

type ClusterHTTPClient interface {
	DeleteCluster(ctx context.Context, req *DeleteRequest, opts ...http.CallOption) (rsp *DeleteReply, err error)
	GetCluster(ctx context.Context, req *GetRequest, opts ...http.CallOption) (rsp *GetReply, err error)
	ListClusters(ctx context.Context, req *ListsRequest, opts ...http.CallOption) (rsp *ListsReply, err error)
	SaveCluster(ctx context.Context, req *SaveRequest, opts ...http.CallOption) (rsp *SaveReply, err error)
}

func NewClusterHTTPClient

func NewClusterHTTPClient(client *http.Client) ClusterHTTPClient

type ClusterHTTPClientImpl

type ClusterHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*ClusterHTTPClientImpl) DeleteCluster

func (c *ClusterHTTPClientImpl) DeleteCluster(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteReply, error)

func (*ClusterHTTPClientImpl) GetCluster

func (c *ClusterHTTPClientImpl) GetCluster(ctx context.Context, in *GetRequest, opts ...http.CallOption) (*GetReply, error)

func (*ClusterHTTPClientImpl) ListClusters

func (c *ClusterHTTPClientImpl) ListClusters(ctx context.Context, in *ListsRequest, opts ...http.CallOption) (*ListsReply, error)

func (*ClusterHTTPClientImpl) SaveCluster

func (c *ClusterHTTPClientImpl) SaveCluster(ctx context.Context, in *SaveRequest, opts ...http.CallOption) (*SaveReply, error)

type ClusterHTTPServer

type ClusterHTTPServer interface {
	DeleteCluster(context.Context, *DeleteRequest) (*DeleteReply, error)
	GetCluster(context.Context, *GetRequest) (*GetReply, error)
	ListClusters(context.Context, *ListsRequest) (*ListsReply, error)
	SaveCluster(context.Context, *SaveRequest) (*SaveReply, error)
}

type ClusterResourceInfo

type ClusterResourceInfo struct {
	Kind  string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterResourceInfo) Descriptor deprecated

func (*ClusterResourceInfo) Descriptor() ([]byte, []int)

Deprecated: Use ClusterResourceInfo.ProtoReflect.Descriptor instead.

func (*ClusterResourceInfo) GetGroup

func (x *ClusterResourceInfo) GetGroup() string

func (*ClusterResourceInfo) GetKind

func (x *ClusterResourceInfo) GetKind() string

func (*ClusterResourceInfo) ProtoMessage

func (*ClusterResourceInfo) ProtoMessage()

func (*ClusterResourceInfo) ProtoReflect

func (x *ClusterResourceInfo) ProtoReflect() protoreflect.Message

func (*ClusterResourceInfo) Reset

func (x *ClusterResourceInfo) Reset()

func (*ClusterResourceInfo) String

func (x *ClusterResourceInfo) String() string

func (*ClusterResourceInfo) Validate

func (m *ClusterResourceInfo) Validate() error

Validate checks the field values on ClusterResourceInfo 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 (*ClusterResourceInfo) ValidateAll

func (m *ClusterResourceInfo) ValidateAll() error

ValidateAll checks the field values on ClusterResourceInfo 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 ClusterResourceInfoMultiError, or nil if none found.

type ClusterResourceInfoList

type ClusterResourceInfoList struct {
	Items []*ClusterResourceInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterResourceInfoList) Descriptor deprecated

func (*ClusterResourceInfoList) Descriptor() ([]byte, []int)

Deprecated: Use ClusterResourceInfoList.ProtoReflect.Descriptor instead.

func (*ClusterResourceInfoList) GetItems

func (*ClusterResourceInfoList) ProtoMessage

func (*ClusterResourceInfoList) ProtoMessage()

func (*ClusterResourceInfoList) ProtoReflect

func (x *ClusterResourceInfoList) ProtoReflect() protoreflect.Message

func (*ClusterResourceInfoList) Reset

func (x *ClusterResourceInfoList) Reset()

func (*ClusterResourceInfoList) String

func (x *ClusterResourceInfoList) String() string

func (*ClusterResourceInfoList) Validate

func (m *ClusterResourceInfoList) Validate() error

Validate checks the field values on ClusterResourceInfoList 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 (*ClusterResourceInfoList) ValidateAll

func (m *ClusterResourceInfoList) ValidateAll() error

ValidateAll checks the field values on ClusterResourceInfoList 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 ClusterResourceInfoListMultiError, or nil if none found.

type ClusterResourceInfoListMultiError

type ClusterResourceInfoListMultiError []error

ClusterResourceInfoListMultiError is an error wrapping multiple validation errors returned by ClusterResourceInfoList.ValidateAll() if the designated constraints aren't met.

func (ClusterResourceInfoListMultiError) AllErrors

func (m ClusterResourceInfoListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterResourceInfoListMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ClusterResourceInfoListValidationError

type ClusterResourceInfoListValidationError struct {
	// contains filtered or unexported fields
}

ClusterResourceInfoListValidationError is the validation error returned by ClusterResourceInfoList.Validate if the designated constraints aren't met.

func (ClusterResourceInfoListValidationError) Cause

Cause function returns cause value.

func (ClusterResourceInfoListValidationError) Error

Error satisfies the builtin error interface

func (ClusterResourceInfoListValidationError) ErrorName

ErrorName returns error name.

func (ClusterResourceInfoListValidationError) Field

Field function returns field value.

func (ClusterResourceInfoListValidationError) Key

Key function returns key value.

func (ClusterResourceInfoListValidationError) Reason

Reason function returns reason value.

type ClusterResourceInfoMultiError

type ClusterResourceInfoMultiError []error

ClusterResourceInfoMultiError is an error wrapping multiple validation errors returned by ClusterResourceInfo.ValidateAll() if the designated constraints aren't met.

func (ClusterResourceInfoMultiError) AllErrors

func (m ClusterResourceInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterResourceInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ClusterResourceInfoValidationError

type ClusterResourceInfoValidationError struct {
	// contains filtered or unexported fields
}

ClusterResourceInfoValidationError is the validation error returned by ClusterResourceInfo.Validate if the designated constraints aren't met.

func (ClusterResourceInfoValidationError) Cause

Cause function returns cause value.

func (ClusterResourceInfoValidationError) Error

Error satisfies the builtin error interface

func (ClusterResourceInfoValidationError) ErrorName

ErrorName returns error name.

func (ClusterResourceInfoValidationError) Field

Field function returns field value.

func (ClusterResourceInfoValidationError) Key

Key function returns key value.

func (ClusterResourceInfoValidationError) Reason

Reason function returns reason value.

type ClusterServer

type ClusterServer interface {
	GetCluster(context.Context, *GetRequest) (*GetReply, error)
	ListClusters(context.Context, *ListsRequest) (*ListsReply, error)
	SaveCluster(context.Context, *SaveRequest) (*SaveReply, error)
	DeleteCluster(context.Context, *DeleteRequest) (*DeleteReply, error)
	// contains filtered or unexported methods
}

ClusterServer is the server API for Cluster service. All implementations must embed UnimplementedClusterServer for forward compatibility

type Component

type Component struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Component) Descriptor deprecated

func (*Component) Descriptor() ([]byte, []int)

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetName

func (x *Component) GetName() string

func (*Component) GetNamespace

func (x *Component) GetNamespace() string

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

func (x *Component) ProtoReflect() protoreflect.Message

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

func (*Component) Validate

func (m *Component) Validate() error

Validate checks the field values on Component 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 (*Component) ValidateAll

func (m *Component) ValidateAll() error

ValidateAll checks the field values on Component 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 ComponentMultiError, or nil if none found.

type ComponentMultiError

type ComponentMultiError []error

ComponentMultiError is an error wrapping multiple validation errors returned by Component.ValidateAll() if the designated constraints aren't met.

func (ComponentMultiError) AllErrors

func (m ComponentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentMultiError) Error

func (m ComponentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ComponentValidationError

type ComponentValidationError struct {
	// contains filtered or unexported fields
}

ComponentValidationError is the validation error returned by Component.Validate if the designated constraints aren't met.

func (ComponentValidationError) Cause

func (e ComponentValidationError) Cause() error

Cause function returns cause value.

func (ComponentValidationError) Error

func (e ComponentValidationError) Error() string

Error satisfies the builtin error interface

func (ComponentValidationError) ErrorName

func (e ComponentValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentValidationError) Field

func (e ComponentValidationError) Field() string

Field function returns field value.

func (ComponentValidationError) Key

Key function returns key value.

func (ComponentValidationError) Reason

func (e ComponentValidationError) Reason() string

Reason function returns reason value.

type ComponentsList

type ComponentsList struct {
	MultiTenant         *Component `protobuf:"bytes,1,opt,name=multi_tenant,proto3" json:"multi_tenant,omitempty"`
	CertMgt             *Component `protobuf:"bytes,2,opt,name=cert_mgt,proto3" json:"cert_mgt,omitempty"`
	SecretMgt           *Component `protobuf:"bytes,3,opt,name=secret_mgt,proto3" json:"secret_mgt,omitempty"`
	SecretSync          *Component `protobuf:"bytes,4,opt,name=secret_sync,proto3" json:"secret_sync,omitempty"`
	IngressController   *Component `protobuf:"bytes,5,opt,name=ingress_controller,proto3" json:"ingress_controller,omitempty"`
	Deployment          *Component `protobuf:"bytes,6,opt,name=deployment,proto3" json:"deployment,omitempty"`
	ProgressiveDelivery *Component `protobuf:"bytes,7,opt,name=progressive_delivery,proto3" json:"progressive_delivery,omitempty"`
	Pipeline            *Component `protobuf:"bytes,8,opt,name=pipeline,proto3" json:"pipeline,omitempty"`
	EventListener       *Component `protobuf:"bytes,9,opt,name=event_listener,proto3" json:"event_listener,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentsList) Descriptor deprecated

func (*ComponentsList) Descriptor() ([]byte, []int)

Deprecated: Use ComponentsList.ProtoReflect.Descriptor instead.

func (*ComponentsList) GetCertMgt

func (x *ComponentsList) GetCertMgt() *Component

func (*ComponentsList) GetDeployment

func (x *ComponentsList) GetDeployment() *Component

func (*ComponentsList) GetEventListener

func (x *ComponentsList) GetEventListener() *Component

func (*ComponentsList) GetIngressController

func (x *ComponentsList) GetIngressController() *Component

func (*ComponentsList) GetMultiTenant

func (x *ComponentsList) GetMultiTenant() *Component

func (*ComponentsList) GetPipeline

func (x *ComponentsList) GetPipeline() *Component

func (*ComponentsList) GetProgressiveDelivery

func (x *ComponentsList) GetProgressiveDelivery() *Component

func (*ComponentsList) GetSecretMgt

func (x *ComponentsList) GetSecretMgt() *Component

func (*ComponentsList) GetSecretSync

func (x *ComponentsList) GetSecretSync() *Component

func (*ComponentsList) ProtoMessage

func (*ComponentsList) ProtoMessage()

func (*ComponentsList) ProtoReflect

func (x *ComponentsList) ProtoReflect() protoreflect.Message

func (*ComponentsList) Reset

func (x *ComponentsList) Reset()

func (*ComponentsList) String

func (x *ComponentsList) String() string

func (*ComponentsList) Validate

func (m *ComponentsList) Validate() error

Validate checks the field values on ComponentsList 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 (*ComponentsList) ValidateAll

func (m *ComponentsList) ValidateAll() error

ValidateAll checks the field values on ComponentsList 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 ComponentsListMultiError, or nil if none found.

type ComponentsListMultiError

type ComponentsListMultiError []error

ComponentsListMultiError is an error wrapping multiple validation errors returned by ComponentsList.ValidateAll() if the designated constraints aren't met.

func (ComponentsListMultiError) AllErrors

func (m ComponentsListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentsListMultiError) Error

func (m ComponentsListMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ComponentsListValidationError

type ComponentsListValidationError struct {
	// contains filtered or unexported fields
}

ComponentsListValidationError is the validation error returned by ComponentsList.Validate if the designated constraints aren't met.

func (ComponentsListValidationError) Cause

Cause function returns cause value.

func (ComponentsListValidationError) Error

Error satisfies the builtin error interface

func (ComponentsListValidationError) ErrorName

func (e ComponentsListValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentsListValidationError) Field

Field function returns field value.

func (ComponentsListValidationError) Key

Key function returns key value.

func (ComponentsListValidationError) Reason

Reason function returns reason value.

type DeleteReply

type DeleteReply struct {

	// msg specifies the message of the delete response.
	Msg string `protobuf:"bytes,1,opt,name=msg,json=message,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

DeleteReply represents a response to a delete request.

func (*DeleteReply) Descriptor deprecated

func (*DeleteReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead.

func (*DeleteReply) GetMsg

func (x *DeleteReply) GetMsg() string

func (*DeleteReply) ProtoMessage

func (*DeleteReply) ProtoMessage()

func (*DeleteReply) ProtoReflect

func (x *DeleteReply) ProtoReflect() protoreflect.Message

func (*DeleteReply) Reset

func (x *DeleteReply) Reset()

func (*DeleteReply) String

func (x *DeleteReply) String() string

func (*DeleteReply) Validate

func (m *DeleteReply) Validate() error

Validate checks the field values on DeleteReply 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 (*DeleteReply) ValidateAll

func (m *DeleteReply) ValidateAll() error

ValidateAll checks the field values on DeleteReply 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 DeleteReplyMultiError, or nil if none found.

type DeleteReplyMultiError

type DeleteReplyMultiError []error

DeleteReplyMultiError is an error wrapping multiple validation errors returned by DeleteReply.ValidateAll() if the designated constraints aren't met.

func (DeleteReplyMultiError) AllErrors

func (m DeleteReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteReplyMultiError) Error

func (m DeleteReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteReplyValidationError

type DeleteReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteReplyValidationError is the validation error returned by DeleteReply.Validate if the designated constraints aren't met.

func (DeleteReplyValidationError) Cause

Cause function returns cause value.

func (DeleteReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteReplyValidationError) ErrorName

func (e DeleteReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteReplyValidationError) Field

Field function returns field value.

func (DeleteReplyValidationError) Key

Key function returns key value.

func (DeleteReplyValidationError) Reason

Reason function returns reason value.

type DeleteRequest

type DeleteRequest struct {

	// ClusterName is the name of the cluster.
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"`
	// InsecureSkipCheck specifies whether to skip security checks.
	InsecureSkipCheck bool `protobuf:"varint,2,opt,name=insecure_skip_check,proto3" json:"insecure_skip_check,omitempty"`
	// contains filtered or unexported fields
}

DeleteRequest represents a request to delete a cluster.

func (*DeleteRequest) Descriptor deprecated

func (*DeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetClusterName

func (x *DeleteRequest) GetClusterName() string

func (*DeleteRequest) GetInsecureSkipCheck

func (x *DeleteRequest) GetInsecureSkipCheck() bool

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

func (x *DeleteRequest) ProtoReflect() protoreflect.Message

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

func (*DeleteRequest) Validate

func (m *DeleteRequest) Validate() error

Validate checks the field values on DeleteRequest 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 (*DeleteRequest) ValidateAll

func (m *DeleteRequest) ValidateAll() error

ValidateAll checks the field values on DeleteRequest 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 DeleteRequestMultiError, or nil if none found.

type DeleteRequestMultiError

type DeleteRequestMultiError []error

DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteRequestMultiError) AllErrors

func (m DeleteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRequestMultiError) Error

func (m DeleteRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteRequestValidationError

type DeleteRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.

func (DeleteRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

Reason function returns reason value.

type GetReply

type GetReply struct {

	// name is the name of the cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// cluster_kind is the kind of the cluster.
	ClusterKind string `protobuf:"bytes,2,opt,name=cluster_kind,proto3" json:"cluster_kind,omitempty"`
	// cluster_type is the type of the cluster.
	ClusterType string `protobuf:"bytes,3,opt,name=cluster_type,proto3" json:"cluster_type,omitempty"`
	// usage is the usage of the cluster.
	Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
	// host_cluster specifies the host cluster name if the cluster is a virtual cluster.
	HostCluster string `protobuf:"bytes,5,opt,name=host_cluster,proto3" json:"host_cluster,omitempty"`
	// primary_domain is used to build the domain of components within the cluster.
	PrimaryDomain string `protobuf:"bytes,6,opt,name=primary_domain,proto3" json:"primary_domain,omitempty"`
	// worker_type maybe pipeline or deployment, when the cluster usage is 'worker', the WorkType is required.
	WorkerType string `protobuf:"bytes,7,opt,name=worker_type,proto3" json:"worker_type,omitempty"`
	// api_server specifies the API server address of the cluster.
	ApiServer string `protobuf:"bytes,8,opt,name=api_server,proto3" json:"api_server,omitempty"`
	// components_list List of third-party components.
	ComponentsList *ComponentsList `protobuf:"bytes,9,opt,name=components_list,proto3" json:"components_list,omitempty"`
	// // reserved_namespaces_allowed_products key is namespace name, value is the product name list witch can use namespace.
	ReservedNamespacesAllowedProducts map[string]*structpb.ListValue `` /* 214-byte string literal not displayed */
	// // product_allowed_cluster_resources key is product name, value is the list of cluster resources.
	ProductAllowedClusterResources map[string]*structpb.ListValue `` /* 208-byte string literal not displayed */
	// contains filtered or unexported fields
}

GetReply represents a response to a get request.

func (*GetReply) Descriptor deprecated

func (*GetReply) Descriptor() ([]byte, []int)

Deprecated: Use GetReply.ProtoReflect.Descriptor instead.

func (*GetReply) GetApiServer

func (x *GetReply) GetApiServer() string

func (*GetReply) GetClusterKind

func (x *GetReply) GetClusterKind() string

func (*GetReply) GetClusterType

func (x *GetReply) GetClusterType() string

func (*GetReply) GetComponentsList

func (x *GetReply) GetComponentsList() *ComponentsList

func (*GetReply) GetHostCluster

func (x *GetReply) GetHostCluster() string

func (*GetReply) GetName

func (x *GetReply) GetName() string

func (*GetReply) GetPrimaryDomain

func (x *GetReply) GetPrimaryDomain() string

func (*GetReply) GetProductAllowedClusterResources

func (x *GetReply) GetProductAllowedClusterResources() map[string]*structpb.ListValue

func (*GetReply) GetReservedNamespacesAllowedProducts

func (x *GetReply) GetReservedNamespacesAllowedProducts() map[string]*structpb.ListValue

func (*GetReply) GetUsage

func (x *GetReply) GetUsage() string

func (*GetReply) GetWorkerType

func (x *GetReply) GetWorkerType() string

func (*GetReply) ProtoMessage

func (*GetReply) ProtoMessage()

func (*GetReply) ProtoReflect

func (x *GetReply) ProtoReflect() protoreflect.Message

func (*GetReply) Reset

func (x *GetReply) Reset()

func (*GetReply) String

func (x *GetReply) String() string

func (*GetReply) Validate

func (m *GetReply) Validate() error

Validate checks the field values on GetReply 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 (*GetReply) ValidateAll

func (m *GetReply) ValidateAll() error

ValidateAll checks the field values on GetReply 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 GetReplyMultiError, or nil if none found.

type GetReplyMultiError

type GetReplyMultiError []error

GetReplyMultiError is an error wrapping multiple validation errors returned by GetReply.ValidateAll() if the designated constraints aren't met.

func (GetReplyMultiError) AllErrors

func (m GetReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetReplyMultiError) Error

func (m GetReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetReplyValidationError

type GetReplyValidationError struct {
	// contains filtered or unexported fields
}

GetReplyValidationError is the validation error returned by GetReply.Validate if the designated constraints aren't met.

func (GetReplyValidationError) Cause

func (e GetReplyValidationError) Cause() error

Cause function returns cause value.

func (GetReplyValidationError) Error

func (e GetReplyValidationError) Error() string

Error satisfies the builtin error interface

func (GetReplyValidationError) ErrorName

func (e GetReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetReplyValidationError) Field

func (e GetReplyValidationError) Field() string

Field function returns field value.

func (GetReplyValidationError) Key

func (e GetReplyValidationError) Key() bool

Key function returns key value.

func (GetReplyValidationError) Reason

func (e GetReplyValidationError) Reason() string

Reason function returns reason value.

type GetRequest

type GetRequest struct {

	// cluster_name is the name of the cluster.
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"`
	// contains filtered or unexported fields
}

GetRequest represents a request to get a cluster.

func (*GetRequest) Descriptor deprecated

func (*GetRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetClusterName

func (x *GetRequest) GetClusterName() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

func (x *GetRequest) ProtoReflect() protoreflect.Message

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

func (*GetRequest) Validate

func (m *GetRequest) Validate() error

Validate checks the field values on GetRequest 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 (*GetRequest) ValidateAll

func (m *GetRequest) ValidateAll() error

ValidateAll checks the field values on GetRequest 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 GetRequestMultiError, or nil if none found.

type GetRequestMultiError

type GetRequestMultiError []error

GetRequestMultiError is an error wrapping multiple validation errors returned by GetRequest.ValidateAll() if the designated constraints aren't met.

func (GetRequestMultiError) AllErrors

func (m GetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRequestMultiError) Error

func (m GetRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRequestValidationError

type GetRequestValidationError struct {
	// contains filtered or unexported fields
}

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field

Field function returns field value.

func (GetRequestValidationError) Key

Key function returns key value.

func (GetRequestValidationError) Reason

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type ListsReply

type ListsReply struct {
	Items []*GetReply `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

ListsReply represents a response to a list request.

func (*ListsReply) Descriptor deprecated

func (*ListsReply) Descriptor() ([]byte, []int)

Deprecated: Use ListsReply.ProtoReflect.Descriptor instead.

func (*ListsReply) GetItems

func (x *ListsReply) GetItems() []*GetReply

func (*ListsReply) ProtoMessage

func (*ListsReply) ProtoMessage()

func (*ListsReply) ProtoReflect

func (x *ListsReply) ProtoReflect() protoreflect.Message

func (*ListsReply) Reset

func (x *ListsReply) Reset()

func (*ListsReply) String

func (x *ListsReply) String() string

func (*ListsReply) Validate

func (m *ListsReply) Validate() error

Validate checks the field values on ListsReply 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 (*ListsReply) ValidateAll

func (m *ListsReply) ValidateAll() error

ValidateAll checks the field values on ListsReply 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 ListsReplyMultiError, or nil if none found.

type ListsReplyMultiError

type ListsReplyMultiError []error

ListsReplyMultiError is an error wrapping multiple validation errors returned by ListsReply.ValidateAll() if the designated constraints aren't met.

func (ListsReplyMultiError) AllErrors

func (m ListsReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListsReplyMultiError) Error

func (m ListsReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListsReplyValidationError

type ListsReplyValidationError struct {
	// contains filtered or unexported fields
}

ListsReplyValidationError is the validation error returned by ListsReply.Validate if the designated constraints aren't met.

func (ListsReplyValidationError) Cause

func (e ListsReplyValidationError) Cause() error

Cause function returns cause value.

func (ListsReplyValidationError) Error

Error satisfies the builtin error interface

func (ListsReplyValidationError) ErrorName

func (e ListsReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListsReplyValidationError) Field

Field function returns field value.

func (ListsReplyValidationError) Key

Key function returns key value.

func (ListsReplyValidationError) Reason

func (e ListsReplyValidationError) Reason() string

Reason function returns reason value.

type ListsRequest

type ListsRequest struct {

	// Filter the list by field.
	// eg: field_selector=cluster_type=physical,usage=worker,worker_type=pipeline
	// Field Support:
	// cluster_type: exact match
	// usage: exact match
	// worker_type: exact match
	FieldSelector string `protobuf:"bytes,1,opt,name=field_selector,proto3" json:"field_selector,omitempty"`
	// contains filtered or unexported fields
}

ListsRequest represents a request to list clusters.

func (*ListsRequest) Descriptor deprecated

func (*ListsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListsRequest.ProtoReflect.Descriptor instead.

func (*ListsRequest) GetFieldSelector

func (x *ListsRequest) GetFieldSelector() string

func (*ListsRequest) ProtoMessage

func (*ListsRequest) ProtoMessage()

func (*ListsRequest) ProtoReflect

func (x *ListsRequest) ProtoReflect() protoreflect.Message

func (*ListsRequest) Reset

func (x *ListsRequest) Reset()

func (*ListsRequest) String

func (x *ListsRequest) String() string

func (*ListsRequest) Validate

func (m *ListsRequest) Validate() error

Validate checks the field values on ListsRequest 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 (*ListsRequest) ValidateAll

func (m *ListsRequest) ValidateAll() error

ValidateAll checks the field values on ListsRequest 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 ListsRequestMultiError, or nil if none found.

type ListsRequestMultiError

type ListsRequestMultiError []error

ListsRequestMultiError is an error wrapping multiple validation errors returned by ListsRequest.ValidateAll() if the designated constraints aren't met.

func (ListsRequestMultiError) AllErrors

func (m ListsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListsRequestMultiError) Error

func (m ListsRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListsRequestValidationError

type ListsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListsRequestValidationError is the validation error returned by ListsRequest.Validate if the designated constraints aren't met.

func (ListsRequestValidationError) Cause

Cause function returns cause value.

func (ListsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListsRequestValidationError) ErrorName

func (e ListsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListsRequestValidationError) Field

Field function returns field value.

func (ListsRequestValidationError) Key

Key function returns key value.

func (ListsRequestValidationError) Reason

Reason function returns reason value.

type SaveReply

type SaveReply struct {

	// msg specifies the message of the save response.
	Msg string `protobuf:"bytes,1,opt,name=msg,json=message,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

SaveReply represents a response to a save request.

func (*SaveReply) Descriptor deprecated

func (*SaveReply) Descriptor() ([]byte, []int)

Deprecated: Use SaveReply.ProtoReflect.Descriptor instead.

func (*SaveReply) GetMsg

func (x *SaveReply) GetMsg() string

func (*SaveReply) ProtoMessage

func (*SaveReply) ProtoMessage()

func (*SaveReply) ProtoReflect

func (x *SaveReply) ProtoReflect() protoreflect.Message

func (*SaveReply) Reset

func (x *SaveReply) Reset()

func (*SaveReply) String

func (x *SaveReply) String() string

func (*SaveReply) Validate

func (m *SaveReply) Validate() error

Validate checks the field values on SaveReply 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 (*SaveReply) ValidateAll

func (m *SaveReply) ValidateAll() error

ValidateAll checks the field values on SaveReply 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 SaveReplyMultiError, or nil if none found.

type SaveReplyMultiError

type SaveReplyMultiError []error

SaveReplyMultiError is an error wrapping multiple validation errors returned by SaveReply.ValidateAll() if the designated constraints aren't met.

func (SaveReplyMultiError) AllErrors

func (m SaveReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SaveReplyMultiError) Error

func (m SaveReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SaveReplyValidationError

type SaveReplyValidationError struct {
	// contains filtered or unexported fields
}

SaveReplyValidationError is the validation error returned by SaveReply.Validate if the designated constraints aren't met.

func (SaveReplyValidationError) Cause

func (e SaveReplyValidationError) Cause() error

Cause function returns cause value.

func (SaveReplyValidationError) Error

func (e SaveReplyValidationError) Error() string

Error satisfies the builtin error interface

func (SaveReplyValidationError) ErrorName

func (e SaveReplyValidationError) ErrorName() string

ErrorName returns error name.

func (SaveReplyValidationError) Field

func (e SaveReplyValidationError) Field() string

Field function returns field value.

func (SaveReplyValidationError) Key

Key function returns key value.

func (SaveReplyValidationError) Reason

func (e SaveReplyValidationError) Reason() string

Reason function returns reason value.

type SaveRequest

type SaveRequest struct {

	// cluster_name specifies the name of the cluster.
	ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"`
	// insecureSkipCheck specifies whether to skip the certificate check when connecting to the API server.
	InsecureSkipCheck bool `protobuf:"varint,3,opt,name=insecure_skip_check,proto3" json:"insecure_skip_check,omitempty"`
	// body specifies the body of the save request.
	Body *SaveRequest_Body `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

SaveRequest represents a request to save a cluster.

func (*SaveRequest) Descriptor deprecated

func (*SaveRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveRequest.ProtoReflect.Descriptor instead.

func (*SaveRequest) GetBody

func (x *SaveRequest) GetBody() *SaveRequest_Body

func (*SaveRequest) GetClusterName

func (x *SaveRequest) GetClusterName() string

func (*SaveRequest) GetInsecureSkipCheck

func (x *SaveRequest) GetInsecureSkipCheck() bool

func (*SaveRequest) ProtoMessage

func (*SaveRequest) ProtoMessage()

func (*SaveRequest) ProtoReflect

func (x *SaveRequest) ProtoReflect() protoreflect.Message

func (*SaveRequest) Reset

func (x *SaveRequest) Reset()

func (*SaveRequest) String

func (x *SaveRequest) String() string

func (*SaveRequest) Validate

func (m *SaveRequest) Validate() error

Validate checks the field values on SaveRequest 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 (*SaveRequest) ValidateAll

func (m *SaveRequest) ValidateAll() error

ValidateAll checks the field values on SaveRequest 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 SaveRequestMultiError, or nil if none found.

type SaveRequestMultiError

type SaveRequestMultiError []error

SaveRequestMultiError is an error wrapping multiple validation errors returned by SaveRequest.ValidateAll() if the designated constraints aren't met.

func (SaveRequestMultiError) AllErrors

func (m SaveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SaveRequestMultiError) Error

func (m SaveRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SaveRequestValidationError

type SaveRequestValidationError struct {
	// contains filtered or unexported fields
}

SaveRequestValidationError is the validation error returned by SaveRequest.Validate if the designated constraints aren't met.

func (SaveRequestValidationError) Cause

Cause function returns cause value.

func (SaveRequestValidationError) Error

Error satisfies the builtin error interface

func (SaveRequestValidationError) ErrorName

func (e SaveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SaveRequestValidationError) Field

Field function returns field value.

func (SaveRequestValidationError) Key

Key function returns key value.

func (SaveRequestValidationError) Reason

Reason function returns reason value.

type SaveRequest_Body

type SaveRequest_Body struct {

	// api_server specifies the API server address of the cluster.
	ApiServer string `protobuf:"bytes,1,opt,name=api_server,proto3" json:"api_server,omitempty"`
	// cluster_kind specifies the kind of the cluster.
	ClusterKind string `protobuf:"bytes,2,opt,name=cluster_kind,proto3" json:"cluster_kind,omitempty"`
	// cluster_type specifies the type of the cluster. It can be "physical" or "virtual".
	ClusterType string `protobuf:"bytes,3,opt,name=cluster_type,proto3" json:"cluster_type,omitempty"`
	// usage specifies the usage of the cluster. It can be "host" or "worker".
	Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`
	// host_cluster specifies the host cluster name if the cluster is a virtual cluster.
	HostCluster string `protobuf:"bytes,5,opt,name=host_cluster,proto3" json:"host_cluster,omitempty"`
	// argocd_host specifies the ArgoCD host name.
	ArgocdHost string `protobuf:"bytes,6,opt,name=argocd_host,proto3" json:"argocd_host,omitempty"`
	// vcluster specifies the configuration of the virtual cluster.
	Vcluster *Vcluster `protobuf:"bytes,7,opt,name=vcluster,proto3" json:"vcluster,omitempty"`
	// traefik specifies the configuration of the Traefik ingress controller.
	Traefik *Traefik `protobuf:"bytes,9,opt,name=traefik,proto3" json:"traefik,omitempty"`
	// kubeconfig specifies the Kubeconfig file of the cluster.
	Kubeconfig string `protobuf:"bytes,10,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
	// worker_type maybe pipeline or deployment, when the cluster usage is 'worker', the WorkType is required.
	WorkerType string `protobuf:"bytes,11,opt,name=worker_type,proto3" json:"worker_type,omitempty"`
	// primary_domain is used to build the domain of components within the cluster.
	PrimaryDomain string `protobuf:"bytes,12,opt,name=primary_domain,proto3" json:"primary_domain,omitempty"`
	// tekton_host is the domain for the tekton dashboard, and it must be a subdomain of the PrimaryDomain
	TektonHost string `protobuf:"bytes,13,opt,name=tekton_host,proto3" json:"tekton_host,omitempty"`
	// reserved_namespaces_allowed_products key is namespace name, value is the product name list witch can use namespace.
	ReservedNamespacesAllowedProducts map[string]*structpb.ListValue `` /* 214-byte string literal not displayed */
	// product_allowed_cluster_resources key is product name, value is the list of cluster resources.
	ProductAllowedClusterResources map[string]*structpb.ListValue `` /* 208-byte string literal not displayed */
	// components_list List of third-party components.
	ComponentsList *ComponentsList `protobuf:"bytes,16,opt,name=components_list,proto3" json:"components_list,omitempty"`
	// contains filtered or unexported fields
}

Body represents the body of the save request.

func (*SaveRequest_Body) Descriptor deprecated

func (*SaveRequest_Body) Descriptor() ([]byte, []int)

Deprecated: Use SaveRequest_Body.ProtoReflect.Descriptor instead.

func (*SaveRequest_Body) GetApiServer

func (x *SaveRequest_Body) GetApiServer() string

func (*SaveRequest_Body) GetArgocdHost

func (x *SaveRequest_Body) GetArgocdHost() string

func (*SaveRequest_Body) GetClusterKind

func (x *SaveRequest_Body) GetClusterKind() string

func (*SaveRequest_Body) GetClusterType

func (x *SaveRequest_Body) GetClusterType() string

func (*SaveRequest_Body) GetComponentsList

func (x *SaveRequest_Body) GetComponentsList() *ComponentsList

func (*SaveRequest_Body) GetHostCluster

func (x *SaveRequest_Body) GetHostCluster() string

func (*SaveRequest_Body) GetKubeconfig

func (x *SaveRequest_Body) GetKubeconfig() string

func (*SaveRequest_Body) GetPrimaryDomain

func (x *SaveRequest_Body) GetPrimaryDomain() string

func (*SaveRequest_Body) GetProductAllowedClusterResources

func (x *SaveRequest_Body) GetProductAllowedClusterResources() map[string]*structpb.ListValue

func (*SaveRequest_Body) GetReservedNamespacesAllowedProducts

func (x *SaveRequest_Body) GetReservedNamespacesAllowedProducts() map[string]*structpb.ListValue

func (*SaveRequest_Body) GetTektonHost

func (x *SaveRequest_Body) GetTektonHost() string

func (*SaveRequest_Body) GetTraefik

func (x *SaveRequest_Body) GetTraefik() *Traefik

func (*SaveRequest_Body) GetUsage

func (x *SaveRequest_Body) GetUsage() string

func (*SaveRequest_Body) GetVcluster

func (x *SaveRequest_Body) GetVcluster() *Vcluster

func (*SaveRequest_Body) GetWorkerType

func (x *SaveRequest_Body) GetWorkerType() string

func (*SaveRequest_Body) ProtoMessage

func (*SaveRequest_Body) ProtoMessage()

func (*SaveRequest_Body) ProtoReflect

func (x *SaveRequest_Body) ProtoReflect() protoreflect.Message

func (*SaveRequest_Body) Reset

func (x *SaveRequest_Body) Reset()

func (*SaveRequest_Body) String

func (x *SaveRequest_Body) String() string

func (*SaveRequest_Body) Validate

func (m *SaveRequest_Body) Validate() error

Validate checks the field values on SaveRequest_Body 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 (*SaveRequest_Body) ValidateAll

func (m *SaveRequest_Body) ValidateAll() error

ValidateAll checks the field values on SaveRequest_Body 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 SaveRequest_BodyMultiError, or nil if none found.

type SaveRequest_BodyMultiError

type SaveRequest_BodyMultiError []error

SaveRequest_BodyMultiError is an error wrapping multiple validation errors returned by SaveRequest_Body.ValidateAll() if the designated constraints aren't met.

func (SaveRequest_BodyMultiError) AllErrors

func (m SaveRequest_BodyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SaveRequest_BodyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SaveRequest_BodyValidationError

type SaveRequest_BodyValidationError struct {
	// contains filtered or unexported fields
}

SaveRequest_BodyValidationError is the validation error returned by SaveRequest_Body.Validate if the designated constraints aren't met.

func (SaveRequest_BodyValidationError) Cause

Cause function returns cause value.

func (SaveRequest_BodyValidationError) Error

Error satisfies the builtin error interface

func (SaveRequest_BodyValidationError) ErrorName

ErrorName returns error name.

func (SaveRequest_BodyValidationError) Field

Field function returns field value.

func (SaveRequest_BodyValidationError) Key

Key function returns key value.

func (SaveRequest_BodyValidationError) Reason

Reason function returns reason value.

type StringList

type StringList struct {
	Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

func (*StringList) Descriptor() ([]byte, []int)

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetItems

func (x *StringList) GetItems() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

func (x *StringList) ProtoReflect() protoreflect.Message

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

func (*StringList) Validate

func (m *StringList) Validate() error

Validate checks the field values on StringList 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 (*StringList) ValidateAll

func (m *StringList) ValidateAll() error

ValidateAll checks the field values on StringList 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 StringListMultiError, or nil if none found.

type StringListMultiError

type StringListMultiError []error

StringListMultiError is an error wrapping multiple validation errors returned by StringList.ValidateAll() if the designated constraints aren't met.

func (StringListMultiError) AllErrors

func (m StringListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StringListMultiError) Error

func (m StringListMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StringListValidationError

type StringListValidationError struct {
	// contains filtered or unexported fields
}

StringListValidationError is the validation error returned by StringList.Validate if the designated constraints aren't met.

func (StringListValidationError) Cause

func (e StringListValidationError) Cause() error

Cause function returns cause value.

func (StringListValidationError) Error

Error satisfies the builtin error interface

func (StringListValidationError) ErrorName

func (e StringListValidationError) ErrorName() string

ErrorName returns error name.

func (StringListValidationError) Field

Field function returns field value.

func (StringListValidationError) Key

Key function returns key value.

func (StringListValidationError) Reason

func (e StringListValidationError) Reason() string

Reason function returns reason value.

type Traefik

type Traefik struct {

	// httpNodePort specifies the NodePort for the HTTP port of the Traefik ingress controller.
	HttpNodePort string `protobuf:"bytes,1,opt,name=http_node_port,proto3" json:"http_node_port,omitempty"`
	// httpsNodePort specifies the NodePort for the HTTPS port of the Traefik ingress controller.
	HttpsNodePort string `protobuf:"bytes,2,opt,name=https_node_port,proto3" json:"https_node_port,omitempty"`
	// contains filtered or unexported fields
}

Traefik represents the configuration for the Traefik ingress controller.

func (*Traefik) Descriptor deprecated

func (*Traefik) Descriptor() ([]byte, []int)

Deprecated: Use Traefik.ProtoReflect.Descriptor instead.

func (*Traefik) GetHttpNodePort

func (x *Traefik) GetHttpNodePort() string

func (*Traefik) GetHttpsNodePort

func (x *Traefik) GetHttpsNodePort() string

func (*Traefik) ProtoMessage

func (*Traefik) ProtoMessage()

func (*Traefik) ProtoReflect

func (x *Traefik) ProtoReflect() protoreflect.Message

func (*Traefik) Reset

func (x *Traefik) Reset()

func (*Traefik) String

func (x *Traefik) String() string

func (*Traefik) Validate

func (m *Traefik) Validate() error

Validate checks the field values on Traefik 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 (*Traefik) ValidateAll

func (m *Traefik) ValidateAll() error

ValidateAll checks the field values on Traefik 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 TraefikMultiError, or nil if none found.

type TraefikMultiError

type TraefikMultiError []error

TraefikMultiError is an error wrapping multiple validation errors returned by Traefik.ValidateAll() if the designated constraints aren't met.

func (TraefikMultiError) AllErrors

func (m TraefikMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TraefikMultiError) Error

func (m TraefikMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TraefikValidationError

type TraefikValidationError struct {
	// contains filtered or unexported fields
}

TraefikValidationError is the validation error returned by Traefik.Validate if the designated constraints aren't met.

func (TraefikValidationError) Cause

func (e TraefikValidationError) Cause() error

Cause function returns cause value.

func (TraefikValidationError) Error

func (e TraefikValidationError) Error() string

Error satisfies the builtin error interface

func (TraefikValidationError) ErrorName

func (e TraefikValidationError) ErrorName() string

ErrorName returns error name.

func (TraefikValidationError) Field

func (e TraefikValidationError) Field() string

Field function returns field value.

func (TraefikValidationError) Key

func (e TraefikValidationError) Key() bool

Key function returns key value.

func (TraefikValidationError) Reason

func (e TraefikValidationError) Reason() string

Reason function returns reason value.

type UnimplementedClusterServer

type UnimplementedClusterServer struct {
}

UnimplementedClusterServer must be embedded to have forward compatible implementations.

func (UnimplementedClusterServer) DeleteCluster

func (UnimplementedClusterServer) GetCluster

func (UnimplementedClusterServer) ListClusters

func (UnimplementedClusterServer) SaveCluster

type UnsafeClusterServer

type UnsafeClusterServer interface {
	// contains filtered or unexported methods
}

UnsafeClusterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterServer will result in compilation errors.

type Vcluster

type Vcluster struct {

	// httpsNodePort specifies the NodePort for the HTTPS port of the virtual cluster.
	HttpsNodePort string `protobuf:"bytes,1,opt,name=https_node_port,proto3" json:"https_node_port,omitempty"`
	// contains filtered or unexported fields
}

Vcluster represents the configuration for the virtual cluster.

func (*Vcluster) Descriptor deprecated

func (*Vcluster) Descriptor() ([]byte, []int)

Deprecated: Use Vcluster.ProtoReflect.Descriptor instead.

func (*Vcluster) GetHttpsNodePort

func (x *Vcluster) GetHttpsNodePort() string

func (*Vcluster) ProtoMessage

func (*Vcluster) ProtoMessage()

func (*Vcluster) ProtoReflect

func (x *Vcluster) ProtoReflect() protoreflect.Message

func (*Vcluster) Reset

func (x *Vcluster) Reset()

func (*Vcluster) String

func (x *Vcluster) String() string

func (*Vcluster) Validate

func (m *Vcluster) Validate() error

Validate checks the field values on Vcluster 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 (*Vcluster) ValidateAll

func (m *Vcluster) ValidateAll() error

ValidateAll checks the field values on Vcluster 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 VclusterMultiError, or nil if none found.

type VclusterMultiError

type VclusterMultiError []error

VclusterMultiError is an error wrapping multiple validation errors returned by Vcluster.ValidateAll() if the designated constraints aren't met.

func (VclusterMultiError) AllErrors

func (m VclusterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VclusterMultiError) Error

func (m VclusterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type VclusterValidationError

type VclusterValidationError struct {
	// contains filtered or unexported fields
}

VclusterValidationError is the validation error returned by Vcluster.Validate if the designated constraints aren't met.

func (VclusterValidationError) Cause

func (e VclusterValidationError) Cause() error

Cause function returns cause value.

func (VclusterValidationError) Error

func (e VclusterValidationError) Error() string

Error satisfies the builtin error interface

func (VclusterValidationError) ErrorName

func (e VclusterValidationError) ErrorName() string

ErrorName returns error name.

func (VclusterValidationError) Field

func (e VclusterValidationError) Field() string

Field function returns field value.

func (VclusterValidationError) Key

func (e VclusterValidationError) Key() bool

Key function returns key value.

func (VclusterValidationError) Reason

func (e VclusterValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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