v1

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 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_api_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 added in v0.3.1

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

func (*ClusterHTTPClientImpl) ListClusters added in v0.3.1

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 added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use ClusterResourceInfo.ProtoReflect.Descriptor instead.

func (*ClusterResourceInfo) GetGroup added in v0.3.6

func (x *ClusterResourceInfo) GetGroup() string

func (*ClusterResourceInfo) GetKind added in v0.3.6

func (x *ClusterResourceInfo) GetKind() string

func (*ClusterResourceInfo) ProtoMessage added in v0.3.6

func (*ClusterResourceInfo) ProtoMessage()

func (*ClusterResourceInfo) ProtoReflect added in v0.3.6

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

func (*ClusterResourceInfo) Reset added in v0.3.6

func (x *ClusterResourceInfo) Reset()

func (*ClusterResourceInfo) String added in v0.3.6

func (x *ClusterResourceInfo) String() string

func (*ClusterResourceInfo) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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

func (*ClusterResourceInfoList) Descriptor deprecated added in v0.3.6

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

Deprecated: Use ClusterResourceInfoList.ProtoReflect.Descriptor instead.

func (*ClusterResourceInfoList) GetItems added in v0.3.6

func (*ClusterResourceInfoList) ProtoMessage added in v0.3.6

func (*ClusterResourceInfoList) ProtoMessage()

func (*ClusterResourceInfoList) ProtoReflect added in v0.3.6

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

func (*ClusterResourceInfoList) Reset added in v0.3.6

func (x *ClusterResourceInfoList) Reset()

func (*ClusterResourceInfoList) String added in v0.3.6

func (x *ClusterResourceInfoList) String() string

func (*ClusterResourceInfoList) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m ClusterResourceInfoListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterResourceInfoListMultiError) Error added in v0.3.6

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

type ClusterResourceInfoListValidationError added in v0.3.6

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 added in v0.3.6

Cause function returns cause value.

func (ClusterResourceInfoListValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (ClusterResourceInfoListValidationError) ErrorName added in v0.3.6

ErrorName returns error name.

func (ClusterResourceInfoListValidationError) Field added in v0.3.6

Field function returns field value.

func (ClusterResourceInfoListValidationError) Key added in v0.3.6

Key function returns key value.

func (ClusterResourceInfoListValidationError) Reason added in v0.3.6

Reason function returns reason value.

type ClusterResourceInfoMultiError added in v0.3.6

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 added in v0.3.6

func (m ClusterResourceInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterResourceInfoMultiError) Error added in v0.3.6

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

type ClusterResourceInfoValidationError added in v0.3.6

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 added in v0.3.6

Cause function returns cause value.

func (ClusterResourceInfoValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (ClusterResourceInfoValidationError) ErrorName added in v0.3.6

ErrorName returns error name.

func (ClusterResourceInfoValidationError) Field added in v0.3.6

Field function returns field value.

func (ClusterResourceInfoValidationError) Key added in v0.3.6

Key function returns key value.

func (ClusterResourceInfoValidationError) Reason added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetName added in v0.3.6

func (x *Component) GetName() string

func (*Component) GetNamespace added in v0.3.6

func (x *Component) GetNamespace() string

func (*Component) ProtoMessage added in v0.3.6

func (*Component) ProtoMessage()

func (*Component) ProtoReflect added in v0.3.6

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

func (*Component) Reset added in v0.3.6

func (x *Component) Reset()

func (*Component) String added in v0.3.6

func (x *Component) String() string

func (*Component) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m ComponentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentMultiError) Error added in v0.3.6

func (m ComponentMultiError) Error() string

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

type ComponentValidationError added in v0.3.6

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 added in v0.3.6

func (e ComponentValidationError) Cause() error

Cause function returns cause value.

func (ComponentValidationError) Error added in v0.3.6

func (e ComponentValidationError) Error() string

Error satisfies the builtin error interface

func (ComponentValidationError) ErrorName added in v0.3.6

func (e ComponentValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentValidationError) Field added in v0.3.6

func (e ComponentValidationError) Field() string

Field function returns field value.

func (ComponentValidationError) Key added in v0.3.6

Key function returns key value.

func (ComponentValidationError) Reason added in v0.3.6

func (e ComponentValidationError) Reason() string

Reason function returns reason value.

type ComponentsList added in v0.3.6

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 added in v0.3.6

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

Deprecated: Use ComponentsList.ProtoReflect.Descriptor instead.

func (*ComponentsList) GetCertMgt added in v0.3.6

func (x *ComponentsList) GetCertMgt() *Component

func (*ComponentsList) GetDeployment added in v0.3.6

func (x *ComponentsList) GetDeployment() *Component

func (*ComponentsList) GetEventListener added in v0.3.6

func (x *ComponentsList) GetEventListener() *Component

func (*ComponentsList) GetIngressController added in v0.3.6

func (x *ComponentsList) GetIngressController() *Component

func (*ComponentsList) GetMultiTenant added in v0.3.6

func (x *ComponentsList) GetMultiTenant() *Component

func (*ComponentsList) GetPipeline added in v0.3.6

func (x *ComponentsList) GetPipeline() *Component

func (*ComponentsList) GetProgressiveDelivery added in v0.3.6

func (x *ComponentsList) GetProgressiveDelivery() *Component

func (*ComponentsList) GetSecretMgt added in v0.3.6

func (x *ComponentsList) GetSecretMgt() *Component

func (*ComponentsList) GetSecretSync added in v0.3.6

func (x *ComponentsList) GetSecretSync() *Component

func (*ComponentsList) ProtoMessage added in v0.3.6

func (*ComponentsList) ProtoMessage()

func (*ComponentsList) ProtoReflect added in v0.3.6

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

func (*ComponentsList) Reset added in v0.3.6

func (x *ComponentsList) Reset()

func (*ComponentsList) String added in v0.3.6

func (x *ComponentsList) String() string

func (*ComponentsList) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m ComponentsListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentsListMultiError) Error added in v0.3.6

func (m ComponentsListMultiError) Error() string

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

type ComponentsListValidationError added in v0.3.6

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 added in v0.3.6

Cause function returns cause value.

func (ComponentsListValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (ComponentsListValidationError) ErrorName added in v0.3.6

func (e ComponentsListValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentsListValidationError) Field added in v0.3.6

Field function returns field value.

func (ComponentsListValidationError) Key added in v0.3.6

Key function returns key value.

func (ComponentsListValidationError) Reason added in v0.3.6

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 added in v0.3.1

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 added in v0.3.1

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

Deprecated: Use GetReply.ProtoReflect.Descriptor instead.

func (*GetReply) GetApiServer added in v0.3.1

func (x *GetReply) GetApiServer() string

func (*GetReply) GetClusterKind added in v0.3.1

func (x *GetReply) GetClusterKind() string

func (*GetReply) GetClusterType added in v0.3.1

func (x *GetReply) GetClusterType() string

func (*GetReply) GetComponentsList added in v0.3.6

func (x *GetReply) GetComponentsList() *ComponentsList

func (*GetReply) GetHostCluster added in v0.3.1

func (x *GetReply) GetHostCluster() string

func (*GetReply) GetName added in v0.3.1

func (x *GetReply) GetName() string

func (*GetReply) GetPrimaryDomain added in v0.3.1

func (x *GetReply) GetPrimaryDomain() string

func (*GetReply) GetProductAllowedClusterResources added in v0.3.6

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

func (*GetReply) GetReservedNamespacesAllowedProducts added in v0.3.6

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

func (*GetReply) GetUsage added in v0.3.1

func (x *GetReply) GetUsage() string

func (*GetReply) GetWorkerType added in v0.3.1

func (x *GetReply) GetWorkerType() string

func (*GetReply) ProtoMessage added in v0.3.1

func (*GetReply) ProtoMessage()

func (*GetReply) ProtoReflect added in v0.3.1

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

func (*GetReply) Reset added in v0.3.1

func (x *GetReply) Reset()

func (*GetReply) String added in v0.3.1

func (x *GetReply) String() string

func (*GetReply) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m GetReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetReplyMultiError) Error added in v0.3.6

func (m GetReplyMultiError) Error() string

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

type GetReplyValidationError added in v0.3.6

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 added in v0.3.6

func (e GetReplyValidationError) Cause() error

Cause function returns cause value.

func (GetReplyValidationError) Error added in v0.3.6

func (e GetReplyValidationError) Error() string

Error satisfies the builtin error interface

func (GetReplyValidationError) ErrorName added in v0.3.6

func (e GetReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetReplyValidationError) Field added in v0.3.6

func (e GetReplyValidationError) Field() string

Field function returns field value.

func (GetReplyValidationError) Key added in v0.3.6

func (e GetReplyValidationError) Key() bool

Key function returns key value.

func (GetReplyValidationError) Reason added in v0.3.6

func (e GetReplyValidationError) Reason() string

Reason function returns reason value.

type GetRequest added in v0.3.1

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 added in v0.3.1

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetClusterName added in v0.3.1

func (x *GetRequest) GetClusterName() string

func (*GetRequest) ProtoMessage added in v0.3.1

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect added in v0.3.1

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

func (*GetRequest) Reset added in v0.3.1

func (x *GetRequest) Reset()

func (*GetRequest) String added in v0.3.1

func (x *GetRequest) String() string

func (*GetRequest) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m GetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRequestMultiError) Error added in v0.3.6

func (m GetRequestMultiError) Error() string

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

type GetRequestValidationError added in v0.3.6

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 added in v0.3.6

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName added in v0.3.6

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field added in v0.3.6

Field function returns field value.

func (GetRequestValidationError) Key added in v0.3.6

Key function returns key value.

func (GetRequestValidationError) Reason added in v0.3.6

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type ListsReply added in v0.3.1

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 added in v0.3.1

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

Deprecated: Use ListsReply.ProtoReflect.Descriptor instead.

func (*ListsReply) GetItems added in v0.3.1

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

func (*ListsReply) ProtoMessage added in v0.3.1

func (*ListsReply) ProtoMessage()

func (*ListsReply) ProtoReflect added in v0.3.1

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

func (*ListsReply) Reset added in v0.3.1

func (x *ListsReply) Reset()

func (*ListsReply) String added in v0.3.1

func (x *ListsReply) String() string

func (*ListsReply) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m ListsReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListsReplyMultiError) Error added in v0.3.6

func (m ListsReplyMultiError) Error() string

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

type ListsReplyValidationError added in v0.3.6

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 added in v0.3.6

func (e ListsReplyValidationError) Cause() error

Cause function returns cause value.

func (ListsReplyValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (ListsReplyValidationError) ErrorName added in v0.3.6

func (e ListsReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListsReplyValidationError) Field added in v0.3.6

Field function returns field value.

func (ListsReplyValidationError) Key added in v0.3.6

Key function returns key value.

func (ListsReplyValidationError) Reason added in v0.3.6

func (e ListsReplyValidationError) Reason() string

Reason function returns reason value.

type ListsRequest added in v0.3.1

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 added in v0.3.1

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

Deprecated: Use ListsRequest.ProtoReflect.Descriptor instead.

func (*ListsRequest) GetFieldSelector added in v0.3.1

func (x *ListsRequest) GetFieldSelector() string

func (*ListsRequest) ProtoMessage added in v0.3.1

func (*ListsRequest) ProtoMessage()

func (*ListsRequest) ProtoReflect added in v0.3.1

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

func (*ListsRequest) Reset added in v0.3.1

func (x *ListsRequest) Reset()

func (*ListsRequest) String added in v0.3.1

func (x *ListsRequest) String() string

func (*ListsRequest) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m ListsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListsRequestMultiError) Error added in v0.3.6

func (m ListsRequestMultiError) Error() string

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

type ListsRequestValidationError added in v0.3.6

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 added in v0.3.6

Cause function returns cause value.

func (ListsRequestValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (ListsRequestValidationError) ErrorName added in v0.3.6

func (e ListsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListsRequestValidationError) Field added in v0.3.6

Field function returns field value.

func (ListsRequestValidationError) Key added in v0.3.6

Key function returns key value.

func (ListsRequestValidationError) Reason added in v0.3.6

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 added in v0.3.6

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 added in v0.3.0

func (x *SaveRequest_Body) GetPrimaryDomain() string

func (*SaveRequest_Body) GetProductAllowedClusterResources added in v0.3.6

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

func (*SaveRequest_Body) GetReservedNamespacesAllowedProducts added in v0.3.6

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

func (*SaveRequest_Body) GetTektonHost added in v0.3.0

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 added in v0.3.0

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 added in v0.3.6

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

func (*StringList) Descriptor deprecated added in v0.3.6

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

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetItems added in v0.3.6

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

func (*StringList) ProtoMessage added in v0.3.6

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect added in v0.3.6

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

func (*StringList) Reset added in v0.3.6

func (x *StringList) Reset()

func (*StringList) String added in v0.3.6

func (x *StringList) String() string

func (*StringList) Validate added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

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 added in v0.3.6

func (m StringListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StringListMultiError) Error added in v0.3.6

func (m StringListMultiError) Error() string

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

type StringListValidationError added in v0.3.6

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 added in v0.3.6

func (e StringListValidationError) Cause() error

Cause function returns cause value.

func (StringListValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (StringListValidationError) ErrorName added in v0.3.6

func (e StringListValidationError) ErrorName() string

ErrorName returns error name.

func (StringListValidationError) Field added in v0.3.6

Field function returns field value.

func (StringListValidationError) Key added in v0.3.6

Key function returns key value.

func (StringListValidationError) Reason added in v0.3.6

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 added in v0.3.1

func (UnimplementedClusterServer) ListClusters added in v0.3.1

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