cluster_orchestrator_southbound

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ClusterOrchestratorSouthbound_RegisterCluster_FullMethodName                   = "/cluster_orchestrator_southbound_proto.ClusterOrchestratorSouthbound/RegisterCluster"
	ClusterOrchestratorSouthbound_UpdateClusterStatus_FullMethodName               = "/cluster_orchestrator_southbound_proto.ClusterOrchestratorSouthbound/UpdateClusterStatus"
	ClusterOrchestratorSouthbound_GetClusterNumByTemplateIdentifier_FullMethodName = "/cluster_orchestrator_southbound_proto.ClusterOrchestratorSouthbound/GetClusterNumByTemplateIdentifier"
)

Variables

View Source
var (
	RegisterClusterResponse_Result_name = map[int32]string{
		0: "SUCCESS",
		1: "ERROR",
	}
	RegisterClusterResponse_Result_value = map[string]int32{
		"SUCCESS": 0,
		"ERROR":   1,
	}
)

Enum value maps for RegisterClusterResponse_Result.

View Source
var (
	UpdateClusterStatusRequest_Code_name = map[int32]string{
		0: "INACTIVE",
		1: "REGISTERING",
		2: "INSTALL_IN_PROGRESS",
		3: "ACTIVE",
		4: "DEREGISTERING",
		5: "UNINSTALL_IN_PROGRESS",
		6: "ERROR",
	}
	UpdateClusterStatusRequest_Code_value = map[string]int32{
		"INACTIVE":              0,
		"REGISTERING":           1,
		"INSTALL_IN_PROGRESS":   2,
		"ACTIVE":                3,
		"DEREGISTERING":         4,
		"UNINSTALL_IN_PROGRESS": 5,
		"ERROR":                 6,
	}
)

Enum value maps for UpdateClusterStatusRequest_Code.

View Source
var (
	UpdateClusterStatusResponse_ActionRequest_name = map[int32]string{
		0: "NONE",
		1: "REGISTER",
		2: "DEREGISTER",
	}
	UpdateClusterStatusResponse_ActionRequest_value = map[string]int32{
		"NONE":       0,
		"REGISTER":   1,
		"DEREGISTER": 2,
	}
)

Enum value maps for UpdateClusterStatusResponse_ActionRequest.

View Source
var (
	GetClusterNumByTemplateIdentifierResponse_Result_name = map[int32]string{
		0: "SUCCESS",
		1: "ERROR",
	}
	GetClusterNumByTemplateIdentifierResponse_Result_value = map[string]int32{
		"SUCCESS": 0,
		"ERROR":   1,
	}
)

Enum value maps for GetClusterNumByTemplateIdentifierResponse_Result.

View Source
var ClusterOrchestratorSouthbound_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cluster_orchestrator_southbound_proto.ClusterOrchestratorSouthbound",
	HandlerType: (*ClusterOrchestratorSouthboundServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterCluster",
			Handler:    _ClusterOrchestratorSouthbound_RegisterCluster_Handler,
		},
		{
			MethodName: "UpdateClusterStatus",
			Handler:    _ClusterOrchestratorSouthbound_UpdateClusterStatus_Handler,
		},
		{
			MethodName: "GetClusterNumByTemplateIdentifier",
			Handler:    _ClusterOrchestratorSouthbound_GetClusterNumByTemplateIdentifier_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cluster_orchestrator_southbound.proto",
}

ClusterOrchestratorSouthbound_ServiceDesc is the grpc.ServiceDesc for ClusterOrchestratorSouthbound 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_orchestrator_southbound_proto protoreflect.FileDescriptor

Functions

func RegisterClusterOrchestratorSouthboundServer

func RegisterClusterOrchestratorSouthboundServer(s grpc.ServiceRegistrar, srv ClusterOrchestratorSouthboundServer)

Types

type ClusterOrchestratorSouthboundClient

type ClusterOrchestratorSouthboundClient interface {
	// RegisterCluster is called from Edge Node to receive cluster installation script
	RegisterCluster(ctx context.Context, in *RegisterClusterRequest, opts ...grpc.CallOption) (*RegisterClusterResponse, error)
	// UpdateClusterStatus is called from Edge Cluster to set the status cluster deployment
	UpdateClusterStatus(ctx context.Context, in *UpdateClusterStatusRequest, opts ...grpc.CallOption) (*UpdateClusterStatusResponse, error)
	// GetClusterNumByTemplateIdentifier is called from Cluster Manager service
	GetClusterNumByTemplateIdentifier(ctx context.Context, in *GetClusterNumByTemplateIdentifierRequest, opts ...grpc.CallOption) (*GetClusterNumByTemplateIdentifierResponse, error)
}

ClusterOrchestratorSouthboundClient is the client API for ClusterOrchestratorSouthbound 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.

type ClusterOrchestratorSouthboundServer

type ClusterOrchestratorSouthboundServer interface {
	// RegisterCluster is called from Edge Node to receive cluster installation script
	RegisterCluster(context.Context, *RegisterClusterRequest) (*RegisterClusterResponse, error)
	// UpdateClusterStatus is called from Edge Cluster to set the status cluster deployment
	UpdateClusterStatus(context.Context, *UpdateClusterStatusRequest) (*UpdateClusterStatusResponse, error)
	// GetClusterNumByTemplateIdentifier is called from Cluster Manager service
	GetClusterNumByTemplateIdentifier(context.Context, *GetClusterNumByTemplateIdentifierRequest) (*GetClusterNumByTemplateIdentifierResponse, error)
	// contains filtered or unexported methods
}

ClusterOrchestratorSouthboundServer is the server API for ClusterOrchestratorSouthbound service. All implementations must embed UnimplementedClusterOrchestratorSouthboundServer for forward compatibility.

type GetClusterNumByTemplateIdentifierRequest

type GetClusterNumByTemplateIdentifierRequest struct {

	// it's format is "template name" + "-" + "template version"
	TemplateIdentifier string `protobuf:"bytes,1,opt,name=templateIdentifier,proto3" json:"templateIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterNumByTemplateIdentifierRequest) Descriptor deprecated

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

Deprecated: Use GetClusterNumByTemplateIdentifierRequest.ProtoReflect.Descriptor instead.

func (*GetClusterNumByTemplateIdentifierRequest) GetTemplateIdentifier

func (x *GetClusterNumByTemplateIdentifierRequest) GetTemplateIdentifier() string

func (*GetClusterNumByTemplateIdentifierRequest) ProtoMessage

func (*GetClusterNumByTemplateIdentifierRequest) ProtoReflect

func (*GetClusterNumByTemplateIdentifierRequest) Reset

func (*GetClusterNumByTemplateIdentifierRequest) String

func (*GetClusterNumByTemplateIdentifierRequest) Validate

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

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

type GetClusterNumByTemplateIdentifierRequestMultiError

type GetClusterNumByTemplateIdentifierRequestMultiError []error

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

func (GetClusterNumByTemplateIdentifierRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetClusterNumByTemplateIdentifierRequestMultiError) Error

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

type GetClusterNumByTemplateIdentifierRequestValidationError

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

GetClusterNumByTemplateIdentifierRequestValidationError is the validation error returned by GetClusterNumByTemplateIdentifierRequest.Validate if the designated constraints aren't met.

func (GetClusterNumByTemplateIdentifierRequestValidationError) Cause

Cause function returns cause value.

func (GetClusterNumByTemplateIdentifierRequestValidationError) Error

Error satisfies the builtin error interface

func (GetClusterNumByTemplateIdentifierRequestValidationError) ErrorName

ErrorName returns error name.

func (GetClusterNumByTemplateIdentifierRequestValidationError) Field

Field function returns field value.

func (GetClusterNumByTemplateIdentifierRequestValidationError) Key

Key function returns key value.

func (GetClusterNumByTemplateIdentifierRequestValidationError) Reason

Reason function returns reason value.

type GetClusterNumByTemplateIdentifierResponse

type GetClusterNumByTemplateIdentifierResponse struct {
	Res        GetClusterNumByTemplateIdentifierResponse_Result `` /* 152-byte string literal not displayed */
	ClusterNum int32                                            `protobuf:"varint,2,opt,name=clusterNum,proto3" json:"clusterNum,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterNumByTemplateIdentifierResponse) Descriptor deprecated

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

Deprecated: Use GetClusterNumByTemplateIdentifierResponse.ProtoReflect.Descriptor instead.

func (*GetClusterNumByTemplateIdentifierResponse) GetClusterNum

func (*GetClusterNumByTemplateIdentifierResponse) GetRes

func (*GetClusterNumByTemplateIdentifierResponse) ProtoMessage

func (*GetClusterNumByTemplateIdentifierResponse) ProtoReflect

func (*GetClusterNumByTemplateIdentifierResponse) Reset

func (*GetClusterNumByTemplateIdentifierResponse) String

func (*GetClusterNumByTemplateIdentifierResponse) Validate

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

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

type GetClusterNumByTemplateIdentifierResponseMultiError

type GetClusterNumByTemplateIdentifierResponseMultiError []error

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

func (GetClusterNumByTemplateIdentifierResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetClusterNumByTemplateIdentifierResponseMultiError) Error

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

type GetClusterNumByTemplateIdentifierResponseValidationError

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

GetClusterNumByTemplateIdentifierResponseValidationError is the validation error returned by GetClusterNumByTemplateIdentifierResponse.Validate if the designated constraints aren't met.

func (GetClusterNumByTemplateIdentifierResponseValidationError) Cause

Cause function returns cause value.

func (GetClusterNumByTemplateIdentifierResponseValidationError) Error

Error satisfies the builtin error interface

func (GetClusterNumByTemplateIdentifierResponseValidationError) ErrorName

ErrorName returns error name.

func (GetClusterNumByTemplateIdentifierResponseValidationError) Field

Field function returns field value.

func (GetClusterNumByTemplateIdentifierResponseValidationError) Key

Key function returns key value.

func (GetClusterNumByTemplateIdentifierResponseValidationError) Reason

Reason function returns reason value.

type GetClusterNumByTemplateIdentifierResponse_Result

type GetClusterNumByTemplateIdentifierResponse_Result int32
const (
	GetClusterNumByTemplateIdentifierResponse_SUCCESS GetClusterNumByTemplateIdentifierResponse_Result = 0
	GetClusterNumByTemplateIdentifierResponse_ERROR   GetClusterNumByTemplateIdentifierResponse_Result = 1
)

func (GetClusterNumByTemplateIdentifierResponse_Result) Descriptor

func (GetClusterNumByTemplateIdentifierResponse_Result) Enum

func (GetClusterNumByTemplateIdentifierResponse_Result) EnumDescriptor deprecated

Deprecated: Use GetClusterNumByTemplateIdentifierResponse_Result.Descriptor instead.

func (GetClusterNumByTemplateIdentifierResponse_Result) Number

func (GetClusterNumByTemplateIdentifierResponse_Result) String

func (GetClusterNumByTemplateIdentifierResponse_Result) Type

type RegisterClusterRequest

type RegisterClusterRequest struct {
	NodeGuid string `protobuf:"bytes,1,opt,name=node_guid,json=nodeGuid,proto3" json:"node_guid,omitempty"`
	// contains filtered or unexported fields
}

RegisterClusterRequest contains Edge Node identity assigned by Inventory

func (*RegisterClusterRequest) Descriptor deprecated

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

Deprecated: Use RegisterClusterRequest.ProtoReflect.Descriptor instead.

func (*RegisterClusterRequest) GetNodeGuid

func (x *RegisterClusterRequest) GetNodeGuid() string

func (*RegisterClusterRequest) ProtoMessage

func (*RegisterClusterRequest) ProtoMessage()

func (*RegisterClusterRequest) ProtoReflect

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

func (*RegisterClusterRequest) Reset

func (x *RegisterClusterRequest) Reset()

func (*RegisterClusterRequest) String

func (x *RegisterClusterRequest) String() string

func (*RegisterClusterRequest) Validate

func (m *RegisterClusterRequest) Validate() error

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

func (m *RegisterClusterRequest) ValidateAll() error

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

type RegisterClusterRequestMultiError

type RegisterClusterRequestMultiError []error

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

func (RegisterClusterRequestMultiError) AllErrors

func (m RegisterClusterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterClusterRequestMultiError) Error

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

type RegisterClusterRequestValidationError

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

RegisterClusterRequestValidationError is the validation error returned by RegisterClusterRequest.Validate if the designated constraints aren't met.

func (RegisterClusterRequestValidationError) Cause

Cause function returns cause value.

func (RegisterClusterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterClusterRequestValidationError) ErrorName

ErrorName returns error name.

func (RegisterClusterRequestValidationError) Field

Field function returns field value.

func (RegisterClusterRequestValidationError) Key

Key function returns key value.

func (RegisterClusterRequestValidationError) Reason

Reason function returns reason value.

type RegisterClusterResponse

type RegisterClusterResponse struct {
	InstallCmd   *ShellScriptCommand            `protobuf:"bytes,1,opt,name=install_cmd,json=installCmd,proto3" json:"install_cmd,omitempty"`
	UninstallCmd *ShellScriptCommand            `protobuf:"bytes,2,opt,name=uninstall_cmd,json=uninstallCmd,proto3" json:"uninstall_cmd,omitempty"`
	Res          RegisterClusterResponse_Result `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

RegisterClusterResponse contains shell script to be executed by Cluster Agent to install cluster

func (*RegisterClusterResponse) Descriptor deprecated

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

Deprecated: Use RegisterClusterResponse.ProtoReflect.Descriptor instead.

func (*RegisterClusterResponse) GetInstallCmd

func (x *RegisterClusterResponse) GetInstallCmd() *ShellScriptCommand

func (*RegisterClusterResponse) GetRes

func (*RegisterClusterResponse) GetUninstallCmd

func (x *RegisterClusterResponse) GetUninstallCmd() *ShellScriptCommand

func (*RegisterClusterResponse) ProtoMessage

func (*RegisterClusterResponse) ProtoMessage()

func (*RegisterClusterResponse) ProtoReflect

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

func (*RegisterClusterResponse) Reset

func (x *RegisterClusterResponse) Reset()

func (*RegisterClusterResponse) String

func (x *RegisterClusterResponse) String() string

func (*RegisterClusterResponse) Validate

func (m *RegisterClusterResponse) Validate() error

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

func (m *RegisterClusterResponse) ValidateAll() error

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

type RegisterClusterResponseMultiError

type RegisterClusterResponseMultiError []error

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

func (RegisterClusterResponseMultiError) AllErrors

func (m RegisterClusterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterClusterResponseMultiError) Error

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

type RegisterClusterResponseValidationError

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

RegisterClusterResponseValidationError is the validation error returned by RegisterClusterResponse.Validate if the designated constraints aren't met.

func (RegisterClusterResponseValidationError) Cause

Cause function returns cause value.

func (RegisterClusterResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterClusterResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterClusterResponseValidationError) Field

Field function returns field value.

func (RegisterClusterResponseValidationError) Key

Key function returns key value.

func (RegisterClusterResponseValidationError) Reason

Reason function returns reason value.

type RegisterClusterResponse_Result

type RegisterClusterResponse_Result int32
const (
	RegisterClusterResponse_SUCCESS RegisterClusterResponse_Result = 0
	RegisterClusterResponse_ERROR   RegisterClusterResponse_Result = 1
)

func (RegisterClusterResponse_Result) Descriptor

func (RegisterClusterResponse_Result) Enum

func (RegisterClusterResponse_Result) EnumDescriptor deprecated

func (RegisterClusterResponse_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegisterClusterResponse_Result.Descriptor instead.

func (RegisterClusterResponse_Result) Number

func (RegisterClusterResponse_Result) String

func (RegisterClusterResponse_Result) Type

type ShellScriptCommand

type ShellScriptCommand struct {

	// example1: "curl -fL https://DOMAIN.NAME/system-agent-install.sh | sudo  sh -s - --server https://DOMAIN.NAME --label 'cattle.io/os=linux' --token 86f9cqfnvvlmwmvvmsptmr5wqj9d6bqpxkmxbvjw2txklhbglcdtff --ca-checksum b50da8bfa2cbcc13e209b9ffbab4b39c699e0aa2b3fe50f44ec4477c54725ea3 --etcd --controlplane --worker"
	// example2: "/usr/local/bin/rancher-system-agent-uninstall.sh; /usr/local/bin/rke2-uninstall.sh"
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

ShellScriptCommand is a command to be executed by Cluster Agent to install/uninstall LKPE. command is to be executed in shell, like this `sh -c command`

func (*ShellScriptCommand) Descriptor deprecated

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

Deprecated: Use ShellScriptCommand.ProtoReflect.Descriptor instead.

func (*ShellScriptCommand) GetCommand

func (x *ShellScriptCommand) GetCommand() string

func (*ShellScriptCommand) ProtoMessage

func (*ShellScriptCommand) ProtoMessage()

func (*ShellScriptCommand) ProtoReflect

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

func (*ShellScriptCommand) Reset

func (x *ShellScriptCommand) Reset()

func (*ShellScriptCommand) String

func (x *ShellScriptCommand) String() string

func (*ShellScriptCommand) Validate

func (m *ShellScriptCommand) Validate() error

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

func (m *ShellScriptCommand) ValidateAll() error

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

type ShellScriptCommandMultiError

type ShellScriptCommandMultiError []error

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

func (ShellScriptCommandMultiError) AllErrors

func (m ShellScriptCommandMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ShellScriptCommandMultiError) Error

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

type ShellScriptCommandValidationError

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

ShellScriptCommandValidationError is the validation error returned by ShellScriptCommand.Validate if the designated constraints aren't met.

func (ShellScriptCommandValidationError) Cause

Cause function returns cause value.

func (ShellScriptCommandValidationError) Error

Error satisfies the builtin error interface

func (ShellScriptCommandValidationError) ErrorName

ErrorName returns error name.

func (ShellScriptCommandValidationError) Field

Field function returns field value.

func (ShellScriptCommandValidationError) Key

Key function returns key value.

func (ShellScriptCommandValidationError) Reason

Reason function returns reason value.

type UnimplementedClusterOrchestratorSouthboundServer

type UnimplementedClusterOrchestratorSouthboundServer struct{}

UnimplementedClusterOrchestratorSouthboundServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedClusterOrchestratorSouthboundServer) RegisterCluster

func (UnimplementedClusterOrchestratorSouthboundServer) UpdateClusterStatus

type UnsafeClusterOrchestratorSouthboundServer

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

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

type UpdateClusterStatusRequest

type UpdateClusterStatusRequest struct {
	Code     UpdateClusterStatusRequest_Code `` /* 137-byte string literal not displayed */
	NodeGuid string                          `protobuf:"bytes,2,opt,name=node_guid,json=nodeGuid,proto3" json:"node_guid,omitempty"`
	// contains filtered or unexported fields
}

UpdateClusterStatusRequest is used by Cluster Agent to represent its internal state machine

func (*UpdateClusterStatusRequest) Descriptor deprecated

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

Deprecated: Use UpdateClusterStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterStatusRequest) GetCode

func (*UpdateClusterStatusRequest) GetNodeGuid

func (x *UpdateClusterStatusRequest) GetNodeGuid() string

func (*UpdateClusterStatusRequest) ProtoMessage

func (*UpdateClusterStatusRequest) ProtoMessage()

func (*UpdateClusterStatusRequest) ProtoReflect

func (*UpdateClusterStatusRequest) Reset

func (x *UpdateClusterStatusRequest) Reset()

func (*UpdateClusterStatusRequest) String

func (x *UpdateClusterStatusRequest) String() string

func (*UpdateClusterStatusRequest) Validate

func (m *UpdateClusterStatusRequest) Validate() error

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

func (m *UpdateClusterStatusRequest) ValidateAll() error

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

type UpdateClusterStatusRequestMultiError

type UpdateClusterStatusRequestMultiError []error

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

func (UpdateClusterStatusRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateClusterStatusRequestMultiError) Error

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

type UpdateClusterStatusRequestValidationError

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

UpdateClusterStatusRequestValidationError is the validation error returned by UpdateClusterStatusRequest.Validate if the designated constraints aren't met.

func (UpdateClusterStatusRequestValidationError) Cause

Cause function returns cause value.

func (UpdateClusterStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateClusterStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateClusterStatusRequestValidationError) Field

Field function returns field value.

func (UpdateClusterStatusRequestValidationError) Key

Key function returns key value.

func (UpdateClusterStatusRequestValidationError) Reason

Reason function returns reason value.

type UpdateClusterStatusRequest_Code

type UpdateClusterStatusRequest_Code int32
const (
	UpdateClusterStatusRequest_INACTIVE              UpdateClusterStatusRequest_Code = 0
	UpdateClusterStatusRequest_REGISTERING           UpdateClusterStatusRequest_Code = 1
	UpdateClusterStatusRequest_INSTALL_IN_PROGRESS   UpdateClusterStatusRequest_Code = 2
	UpdateClusterStatusRequest_ACTIVE                UpdateClusterStatusRequest_Code = 3
	UpdateClusterStatusRequest_DEREGISTERING         UpdateClusterStatusRequest_Code = 4
	UpdateClusterStatusRequest_UNINSTALL_IN_PROGRESS UpdateClusterStatusRequest_Code = 5
	UpdateClusterStatusRequest_ERROR                 UpdateClusterStatusRequest_Code = 6
)

func (UpdateClusterStatusRequest_Code) Descriptor

func (UpdateClusterStatusRequest_Code) Enum

func (UpdateClusterStatusRequest_Code) EnumDescriptor deprecated

func (UpdateClusterStatusRequest_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpdateClusterStatusRequest_Code.Descriptor instead.

func (UpdateClusterStatusRequest_Code) Number

func (UpdateClusterStatusRequest_Code) String

func (UpdateClusterStatusRequest_Code) Type

type UpdateClusterStatusResponse

type UpdateClusterStatusResponse struct {
	ActionRequest UpdateClusterStatusResponse_ActionRequest `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpdateClusterStatusResponse is used to request Cluster Agent to transition to new internal state

func (*UpdateClusterStatusResponse) Descriptor deprecated

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

Deprecated: Use UpdateClusterStatusResponse.ProtoReflect.Descriptor instead.

func (*UpdateClusterStatusResponse) GetActionRequest

func (*UpdateClusterStatusResponse) ProtoMessage

func (*UpdateClusterStatusResponse) ProtoMessage()

func (*UpdateClusterStatusResponse) ProtoReflect

func (*UpdateClusterStatusResponse) Reset

func (x *UpdateClusterStatusResponse) Reset()

func (*UpdateClusterStatusResponse) String

func (x *UpdateClusterStatusResponse) String() string

func (*UpdateClusterStatusResponse) Validate

func (m *UpdateClusterStatusResponse) Validate() error

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

func (m *UpdateClusterStatusResponse) ValidateAll() error

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

type UpdateClusterStatusResponseMultiError

type UpdateClusterStatusResponseMultiError []error

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

func (UpdateClusterStatusResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateClusterStatusResponseMultiError) Error

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

type UpdateClusterStatusResponseValidationError

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

UpdateClusterStatusResponseValidationError is the validation error returned by UpdateClusterStatusResponse.Validate if the designated constraints aren't met.

func (UpdateClusterStatusResponseValidationError) Cause

Cause function returns cause value.

func (UpdateClusterStatusResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateClusterStatusResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateClusterStatusResponseValidationError) Field

Field function returns field value.

func (UpdateClusterStatusResponseValidationError) Key

Key function returns key value.

func (UpdateClusterStatusResponseValidationError) Reason

Reason function returns reason value.

type UpdateClusterStatusResponse_ActionRequest

type UpdateClusterStatusResponse_ActionRequest int32
const (
	UpdateClusterStatusResponse_NONE       UpdateClusterStatusResponse_ActionRequest = 0
	UpdateClusterStatusResponse_REGISTER   UpdateClusterStatusResponse_ActionRequest = 1
	UpdateClusterStatusResponse_DEREGISTER UpdateClusterStatusResponse_ActionRequest = 2
)

func (UpdateClusterStatusResponse_ActionRequest) Descriptor

func (UpdateClusterStatusResponse_ActionRequest) Enum

func (UpdateClusterStatusResponse_ActionRequest) EnumDescriptor deprecated

func (UpdateClusterStatusResponse_ActionRequest) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpdateClusterStatusResponse_ActionRequest.Descriptor instead.

func (UpdateClusterStatusResponse_ActionRequest) Number

func (UpdateClusterStatusResponse_ActionRequest) String

func (UpdateClusterStatusResponse_ActionRequest) Type

Jump to

Keyboard shortcuts

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