edgecluster

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Error_name = map[int32]string{
		0: "NO_ERROR",
		1: "UNKNOWN",
		2: "EDGE_CLUSTER_ALREADY_EXISTS",
		3: "EDGE_CLUSTER_NOT_FOUND",
		4: "BAD_REQUEST",
	}
	Error_value = map[string]int32{
		"NO_ERROR":                    0,
		"UNKNOWN":                     1,
		"EDGE_CLUSTER_ALREADY_EXISTS": 2,
		"EDGE_CLUSTER_NOT_FOUND":      3,
		"BAD_REQUEST":                 4,
	}
)

Enum value maps for Error.

View Source
var (
	SortingDirection_name = map[int32]string{
		0: "ASCENDING",
		1: "DESCENDING",
	}
	SortingDirection_value = map[string]int32{
		"ASCENDING":  0,
		"DESCENDING": 1,
	}
)

Enum value maps for SortingDirection.

View Source
var (
	ConditionStatus_name = map[int32]string{
		0: "ConditionTrue",
		1: "ConditionFalse",
		2: "ConditionUnknown",
	}
	ConditionStatus_value = map[string]int32{
		"ConditionTrue":    0,
		"ConditionFalse":   1,
		"ConditionUnknown": 2,
	}
)

Enum value maps for ConditionStatus.

View Source
var (
	Protocol_name = map[int32]string{
		0: "TCP",
		1: "UDP",
		2: "SCTP",
	}
	Protocol_value = map[string]int32{
		"TCP":  0,
		"UDP":  1,
		"SCTP": 2,
	}
)

Enum value maps for Protocol.

View Source
var (
	ClusterType_name = map[int32]string{
		0: "K3S",
	}
	ClusterType_value = map[string]int32{
		"K3S": 0,
	}
)

Enum value maps for ClusterType.

View Source
var (
	NodeConditionType_name = map[int32]string{
		0: "Ready",
		1: "MemoryPressure",
		3: "DiskPressure",
		4: "PIDPressure",
		5: "NetworkUnavailable",
	}
	NodeConditionType_value = map[string]int32{
		"Ready":              0,
		"MemoryPressure":     1,
		"DiskPressure":       3,
		"PIDPressure":        4,
		"NetworkUnavailable": 5,
	}
)

Enum value maps for NodeConditionType.

View Source
var (
	NodeAddressType_name = map[int32]string{
		0: "Hostname",
		1: "ExternalIP",
		2: "InternalIP",
		3: "ExternalDNS",
		4: "InternalDNS",
	}
	NodeAddressType_value = map[string]int32{
		"Hostname":    0,
		"ExternalIP":  1,
		"InternalIP":  2,
		"ExternalDNS": 3,
		"InternalDNS": 4,
	}
)

Enum value maps for NodeAddressType.

View Source
var (
	PodConditionType_name = map[int32]string{
		0: "ContainersReady",
		1: "PodInitialized",
		2: "PodReady",
		3: "PodScheduled",
	}
	PodConditionType_value = map[string]int32{
		"ContainersReady": 0,
		"PodInitialized":  1,
		"PodReady":        2,
		"PodScheduled":    3,
	}
)

Enum value maps for PodConditionType.

View Source
var (
	ServiceType_name = map[int32]string{
		0: "ServiceTypeClusterIP",
		1: "ServiceTypeNodePort",
		2: "ServiceTypeLoadBalancer",
		3: "ServiceTypeExternalName",
	}
	ServiceType_value = map[string]int32{
		"ServiceTypeClusterIP":    0,
		"ServiceTypeNodePort":     1,
		"ServiceTypeLoadBalancer": 2,
		"ServiceTypeExternalName": 3,
	}
)

Enum value maps for ServiceType.

View Source
var File_edge_cluster_commons_proto protoreflect.FileDescriptor
View Source
var File_edge_cluster_messages_proto protoreflect.FileDescriptor
View Source
var File_edge_cluster_node_messages_proto protoreflect.FileDescriptor
View Source
var File_edge_cluster_operations_proto protoreflect.FileDescriptor
View Source
var File_edge_cluster_pod_messages_proto protoreflect.FileDescriptor
View Source
var File_edge_cluster_service_messages_proto protoreflect.FileDescriptor

Functions

func RegisterServiceServer added in v0.9.0

func RegisterServiceServer(s *grpc.Server, srv ServiceServer)

Types

type ClusterType added in v0.0.24

type ClusterType int32

* The different cluster types

const (
	// K3S cluster
	ClusterType_K3S ClusterType = 0
)

func (ClusterType) Descriptor added in v0.1.2

func (ClusterType) Enum added in v0.1.2

func (x ClusterType) Enum() *ClusterType

func (ClusterType) EnumDescriptor deprecated added in v0.0.24

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

Deprecated: Use ClusterType.Descriptor instead.

func (ClusterType) Number added in v0.1.2

func (x ClusterType) Number() protoreflect.EnumNumber

func (ClusterType) String added in v0.0.24

func (x ClusterType) String() string

func (ClusterType) Type added in v0.1.2

type ConditionStatus added in v0.9.0

type ConditionStatus int32

* These are valid condition statuses. "ConditionTrue" means a resource is in the condition. "ConditionFalse" means a resource is not in the condition. "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

const (
	ConditionStatus_ConditionTrue    ConditionStatus = 0
	ConditionStatus_ConditionFalse   ConditionStatus = 1
	ConditionStatus_ConditionUnknown ConditionStatus = 2
)

func (ConditionStatus) Descriptor added in v0.9.0

func (ConditionStatus) Enum added in v0.9.0

func (x ConditionStatus) Enum() *ConditionStatus

func (ConditionStatus) EnumDescriptor deprecated added in v0.9.0

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

Deprecated: Use ConditionStatus.Descriptor instead.

func (ConditionStatus) Number added in v0.9.0

func (ConditionStatus) String added in v0.9.0

func (x ConditionStatus) String() string

func (ConditionStatus) Type added in v0.9.0

type CreateEdgeClusterRequest

type CreateEdgeClusterRequest struct {

	// The edge cluster object
	EdgeCluster *EdgeCluster `protobuf:"bytes,1,opt,name=edgeCluster,proto3" json:"edgeCluster,omitempty"`
	// contains filtered or unexported fields
}

* Request to create a new edge cluster

func (*CreateEdgeClusterRequest) Descriptor deprecated

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

Deprecated: Use CreateEdgeClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateEdgeClusterRequest) GetEdgeCluster

func (x *CreateEdgeClusterRequest) GetEdgeCluster() *EdgeCluster

func (*CreateEdgeClusterRequest) ProtoMessage

func (*CreateEdgeClusterRequest) ProtoMessage()

func (*CreateEdgeClusterRequest) ProtoReflect added in v0.1.2

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

func (*CreateEdgeClusterRequest) Reset

func (x *CreateEdgeClusterRequest) Reset()

func (*CreateEdgeClusterRequest) String

func (x *CreateEdgeClusterRequest) String() string

type CreateEdgeClusterResponse

type CreateEdgeClusterResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,3,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// The created edge cluster object
	EdgeCluster *EdgeCluster `protobuf:"bytes,4,opt,name=edgeCluster,proto3" json:"edgeCluster,omitempty"`
	// The cursor defines the position of the edge cluster in the repository that can be later
	// referred to using pagination information
	Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of creating a new edge cluster

func (*CreateEdgeClusterResponse) Descriptor deprecated

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

Deprecated: Use CreateEdgeClusterResponse.ProtoReflect.Descriptor instead.

func (*CreateEdgeClusterResponse) GetCursor added in v0.0.17

func (x *CreateEdgeClusterResponse) GetCursor() string

func (*CreateEdgeClusterResponse) GetEdgeCluster added in v0.0.10

func (x *CreateEdgeClusterResponse) GetEdgeCluster() *EdgeCluster

func (*CreateEdgeClusterResponse) GetEdgeClusterID

func (x *CreateEdgeClusterResponse) GetEdgeClusterID() string

func (*CreateEdgeClusterResponse) GetError

func (x *CreateEdgeClusterResponse) GetError() Error

func (*CreateEdgeClusterResponse) GetErrorMessage

func (x *CreateEdgeClusterResponse) GetErrorMessage() string

func (*CreateEdgeClusterResponse) ProtoMessage

func (*CreateEdgeClusterResponse) ProtoMessage()

func (*CreateEdgeClusterResponse) ProtoReflect added in v0.1.2

func (*CreateEdgeClusterResponse) Reset

func (x *CreateEdgeClusterResponse) Reset()

func (*CreateEdgeClusterResponse) String

func (x *CreateEdgeClusterResponse) String() string

type DeleteEdgeClusterRequest

type DeleteEdgeClusterRequest struct {

	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// contains filtered or unexported fields
}

* Request to delete an existing edge cluster

func (*DeleteEdgeClusterRequest) Descriptor deprecated

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

Deprecated: Use DeleteEdgeClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteEdgeClusterRequest) GetEdgeClusterID

func (x *DeleteEdgeClusterRequest) GetEdgeClusterID() string

func (*DeleteEdgeClusterRequest) ProtoMessage

func (*DeleteEdgeClusterRequest) ProtoMessage()

func (*DeleteEdgeClusterRequest) ProtoReflect added in v0.1.2

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

func (*DeleteEdgeClusterRequest) Reset

func (x *DeleteEdgeClusterRequest) Reset()

func (*DeleteEdgeClusterRequest) String

func (x *DeleteEdgeClusterRequest) String() string

type DeleteEdgeClusterResponse

type DeleteEdgeClusterResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of deleting an existing edge cluster

func (*DeleteEdgeClusterResponse) Descriptor deprecated

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

Deprecated: Use DeleteEdgeClusterResponse.ProtoReflect.Descriptor instead.

func (*DeleteEdgeClusterResponse) GetError

func (x *DeleteEdgeClusterResponse) GetError() Error

func (*DeleteEdgeClusterResponse) GetErrorMessage

func (x *DeleteEdgeClusterResponse) GetErrorMessage() string

func (*DeleteEdgeClusterResponse) ProtoMessage

func (*DeleteEdgeClusterResponse) ProtoMessage()

func (*DeleteEdgeClusterResponse) ProtoReflect added in v0.1.2

func (*DeleteEdgeClusterResponse) Reset

func (x *DeleteEdgeClusterResponse) Reset()

func (*DeleteEdgeClusterResponse) String

func (x *DeleteEdgeClusterResponse) String() string

type EdgeCluster

type EdgeCluster struct {

	// The unique project identifier that owns the edge cluster
	ProjectID string `protobuf:"bytes,1,opt,name=projectID,proto3" json:"projectID,omitempty"`
	// The edge cluster name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Cluster secret value
	ClusterSecret string `protobuf:"bytes,3,opt,name=clusterSecret,proto3" json:"clusterSecret,omitempty"`
	// Cluster type
	ClusterType ClusterType `protobuf:"varint,4,opt,name=clusterType,proto3,enum=edgecluster.ClusterType" json:"clusterType,omitempty"`
	// contains filtered or unexported fields
}

* The edge cluster object

func (*EdgeCluster) Descriptor deprecated

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

Deprecated: Use EdgeCluster.ProtoReflect.Descriptor instead.

func (*EdgeCluster) GetClusterSecret added in v0.0.20

func (x *EdgeCluster) GetClusterSecret() string

func (*EdgeCluster) GetClusterType added in v0.0.24

func (x *EdgeCluster) GetClusterType() ClusterType

func (*EdgeCluster) GetName

func (x *EdgeCluster) GetName() string

func (*EdgeCluster) GetProjectID added in v0.6.0

func (x *EdgeCluster) GetProjectID() string

func (*EdgeCluster) ProtoMessage

func (*EdgeCluster) ProtoMessage()

func (*EdgeCluster) ProtoReflect added in v0.1.2

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

func (*EdgeCluster) Reset

func (x *EdgeCluster) Reset()

func (*EdgeCluster) String

func (x *EdgeCluster) String() string

type EdgeClusterNode added in v0.8.0

type EdgeClusterNode struct {

	// The node metadata
	Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The most recently observed status of the node
	Status *NodeStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

* Declares the details of an existing edge cluster node

func (*EdgeClusterNode) Descriptor deprecated added in v0.8.0

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

Deprecated: Use EdgeClusterNode.ProtoReflect.Descriptor instead.

func (*EdgeClusterNode) GetMetadata added in v0.8.0

func (x *EdgeClusterNode) GetMetadata() *ObjectMeta

func (*EdgeClusterNode) GetStatus added in v0.8.0

func (x *EdgeClusterNode) GetStatus() *NodeStatus

func (*EdgeClusterNode) ProtoMessage added in v0.8.0

func (*EdgeClusterNode) ProtoMessage()

func (*EdgeClusterNode) ProtoReflect added in v0.8.0

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

func (*EdgeClusterNode) Reset added in v0.8.0

func (x *EdgeClusterNode) Reset()

func (*EdgeClusterNode) String added in v0.8.0

func (x *EdgeClusterNode) String() string

type EdgeClusterNodeAddress added in v0.5.4

type EdgeClusterNodeAddress struct {

	// Edge cluster node address type, one of Hostname, ExternalIP or InternalIP.
	NodeAddressType NodeAddressType `protobuf:"varint,1,opt,name=nodeAddressType,proto3,enum=edgecluster.NodeAddressType" json:"nodeAddressType,omitempty"`
	// The node address.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

* EdgeClusterNodeAddress contains information for the edge cluster node's address.

func (*EdgeClusterNodeAddress) Descriptor deprecated added in v0.5.4

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

Deprecated: Use EdgeClusterNodeAddress.ProtoReflect.Descriptor instead.

func (*EdgeClusterNodeAddress) GetAddress added in v0.5.4

func (x *EdgeClusterNodeAddress) GetAddress() string

func (*EdgeClusterNodeAddress) GetNodeAddressType added in v0.5.4

func (x *EdgeClusterNodeAddress) GetNodeAddressType() NodeAddressType

func (*EdgeClusterNodeAddress) ProtoMessage added in v0.5.4

func (*EdgeClusterNodeAddress) ProtoMessage()

func (*EdgeClusterNodeAddress) ProtoReflect added in v0.5.4

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

func (*EdgeClusterNodeAddress) Reset added in v0.5.4

func (x *EdgeClusterNodeAddress) Reset()

func (*EdgeClusterNodeAddress) String added in v0.5.4

func (x *EdgeClusterNodeAddress) String() string

type EdgeClusterPod added in v0.8.0

type EdgeClusterPod struct {

	// The pod metadata
	Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The most recently observed status of the pod
	Status *PodStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// The specification of the desired behavior of the pod.
	Spec *PodSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

* Declares the details of an existing edge cluster pod

func (*EdgeClusterPod) Descriptor deprecated added in v0.8.0

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

Deprecated: Use EdgeClusterPod.ProtoReflect.Descriptor instead.

func (*EdgeClusterPod) GetMetadata added in v0.8.0

func (x *EdgeClusterPod) GetMetadata() *ObjectMeta

func (*EdgeClusterPod) GetSpec added in v0.8.0

func (x *EdgeClusterPod) GetSpec() *PodSpec

func (*EdgeClusterPod) GetStatus added in v0.8.0

func (x *EdgeClusterPod) GetStatus() *PodStatus

func (*EdgeClusterPod) ProtoMessage added in v0.8.0

func (*EdgeClusterPod) ProtoMessage()

func (*EdgeClusterPod) ProtoReflect added in v0.8.0

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

func (*EdgeClusterPod) Reset added in v0.8.0

func (x *EdgeClusterPod) Reset()

func (*EdgeClusterPod) String added in v0.8.0

func (x *EdgeClusterPod) String() string

type EdgeClusterService added in v0.9.0

type EdgeClusterService struct {

	// The service metadata
	Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The most recently observed status of the service
	Status *ServiceStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// The specification of the desired behavior of the service.
	Spec *ServiceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

* Declares the details of an existing edge cluster service

func (*EdgeClusterService) Descriptor deprecated added in v0.9.0

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

Deprecated: Use EdgeClusterService.ProtoReflect.Descriptor instead.

func (*EdgeClusterService) GetMetadata added in v0.9.0

func (x *EdgeClusterService) GetMetadata() *ObjectMeta

func (*EdgeClusterService) GetSpec added in v0.9.0

func (x *EdgeClusterService) GetSpec() *ServiceSpec

func (*EdgeClusterService) GetStatus added in v0.9.0

func (x *EdgeClusterService) GetStatus() *ServiceStatus

func (*EdgeClusterService) ProtoMessage added in v0.9.0

func (*EdgeClusterService) ProtoMessage()

func (*EdgeClusterService) ProtoReflect added in v0.9.0

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

func (*EdgeClusterService) Reset added in v0.9.0

func (x *EdgeClusterService) Reset()

func (*EdgeClusterService) String added in v0.9.0

func (x *EdgeClusterService) String() string

type EdgeClusterWithCursor added in v0.0.10

type EdgeClusterWithCursor struct {

	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// The cursor defines the position of the edge cluster in the repository that can be later
	// referred to using pagination information
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// The edge cluster object
	EdgeCluster *EdgeCluster `protobuf:"bytes,3,opt,name=edgeCluster,proto3" json:"edgeCluster,omitempty"`
	// The edge cluster provision details
	ProvisionDetail *ProvisionDetail `protobuf:"bytes,4,opt,name=provisionDetail,proto3" json:"provisionDetail,omitempty"`
	// contains filtered or unexported fields
}

The pair of edge cluster and a cursor that defines the position of the edge cluster in the repository that can later referred to using pagination information.

func (*EdgeClusterWithCursor) Descriptor deprecated added in v0.0.10

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

Deprecated: Use EdgeClusterWithCursor.ProtoReflect.Descriptor instead.

func (*EdgeClusterWithCursor) GetCursor added in v0.0.10

func (x *EdgeClusterWithCursor) GetCursor() string

func (*EdgeClusterWithCursor) GetEdgeCluster added in v0.0.15

func (x *EdgeClusterWithCursor) GetEdgeCluster() *EdgeCluster

func (*EdgeClusterWithCursor) GetEdgeClusterID added in v0.0.10

func (x *EdgeClusterWithCursor) GetEdgeClusterID() string

func (*EdgeClusterWithCursor) GetProvisionDetail added in v0.5.0

func (x *EdgeClusterWithCursor) GetProvisionDetail() *ProvisionDetail

func (*EdgeClusterWithCursor) ProtoMessage added in v0.0.10

func (*EdgeClusterWithCursor) ProtoMessage()

func (*EdgeClusterWithCursor) ProtoReflect added in v0.1.2

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

func (*EdgeClusterWithCursor) Reset added in v0.0.10

func (x *EdgeClusterWithCursor) Reset()

func (*EdgeClusterWithCursor) String added in v0.0.10

func (x *EdgeClusterWithCursor) String() string

type Error

type Error int32

* The different error types

const (
	// Indicates the operation was successful
	Error_NO_ERROR Error = 0
	// Indicates the operation fail with unknown error
	Error_UNKNOWN Error = 1
	// Indicates the edge cluster already exists
	Error_EDGE_CLUSTER_ALREADY_EXISTS Error = 2
	// Indicates the edge cluster does not exist
	Error_EDGE_CLUSTER_NOT_FOUND Error = 3
	// Indicates the provided values for he operation were invalid
	Error_BAD_REQUEST Error = 4
)

func (Error) Descriptor added in v0.1.2

func (Error) Descriptor() protoreflect.EnumDescriptor

func (Error) Enum added in v0.1.2

func (x Error) Enum() *Error

func (Error) EnumDescriptor deprecated

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

Deprecated: Use Error.Descriptor instead.

func (Error) Number added in v0.1.2

func (x Error) Number() protoreflect.EnumNumber

func (Error) String

func (x Error) String() string

func (Error) Type added in v0.1.2

func (Error) Type() protoreflect.EnumType

type ListEdgeClusterNodesRequest added in v0.5.4

type ListEdgeClusterNodesRequest struct {

	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// contains filtered or unexported fields
}

* ListEdgeClusterNodesRequest to list an existing edge cluster nodes details

func (*ListEdgeClusterNodesRequest) Descriptor deprecated added in v0.5.4

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

Deprecated: Use ListEdgeClusterNodesRequest.ProtoReflect.Descriptor instead.

func (*ListEdgeClusterNodesRequest) GetEdgeClusterID added in v0.5.4

func (x *ListEdgeClusterNodesRequest) GetEdgeClusterID() string

func (*ListEdgeClusterNodesRequest) ProtoMessage added in v0.5.4

func (*ListEdgeClusterNodesRequest) ProtoMessage()

func (*ListEdgeClusterNodesRequest) ProtoReflect added in v0.5.4

func (*ListEdgeClusterNodesRequest) Reset added in v0.5.4

func (x *ListEdgeClusterNodesRequest) Reset()

func (*ListEdgeClusterNodesRequest) String added in v0.5.4

func (x *ListEdgeClusterNodesRequest) String() string

type ListEdgeClusterNodesResponse added in v0.5.4

type ListEdgeClusterNodesResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// The list of an existing edge cluster nodes details
	Nodes []*EdgeClusterNode `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of listing an existing edge cluster nodes details

func (*ListEdgeClusterNodesResponse) Descriptor deprecated added in v0.5.4

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

Deprecated: Use ListEdgeClusterNodesResponse.ProtoReflect.Descriptor instead.

func (*ListEdgeClusterNodesResponse) GetError added in v0.5.4

func (x *ListEdgeClusterNodesResponse) GetError() Error

func (*ListEdgeClusterNodesResponse) GetErrorMessage added in v0.5.4

func (x *ListEdgeClusterNodesResponse) GetErrorMessage() string

func (*ListEdgeClusterNodesResponse) GetNodes added in v0.5.4

func (*ListEdgeClusterNodesResponse) ProtoMessage added in v0.5.4

func (*ListEdgeClusterNodesResponse) ProtoMessage()

func (*ListEdgeClusterNodesResponse) ProtoReflect added in v0.5.4

func (*ListEdgeClusterNodesResponse) Reset added in v0.5.4

func (x *ListEdgeClusterNodesResponse) Reset()

func (*ListEdgeClusterNodesResponse) String added in v0.5.4

type ListEdgeClusterPodsRequest added in v0.8.0

type ListEdgeClusterPodsRequest struct {

	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// Optional, if provided, will be used to filter pods under the given namespace
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Optional, if provided, will be used to filter pods deployed to the given node
	NodeName string `protobuf:"bytes,3,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
	// contains filtered or unexported fields
}

* ListEdgeClusterNodePodsRequest to list an existing edge cluster pods details

func (*ListEdgeClusterPodsRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListEdgeClusterPodsRequest.ProtoReflect.Descriptor instead.

func (*ListEdgeClusterPodsRequest) GetEdgeClusterID added in v0.8.0

func (x *ListEdgeClusterPodsRequest) GetEdgeClusterID() string

func (*ListEdgeClusterPodsRequest) GetNamespace added in v0.8.0

func (x *ListEdgeClusterPodsRequest) GetNamespace() string

func (*ListEdgeClusterPodsRequest) GetNodeName added in v0.8.0

func (x *ListEdgeClusterPodsRequest) GetNodeName() string

func (*ListEdgeClusterPodsRequest) ProtoMessage added in v0.8.0

func (*ListEdgeClusterPodsRequest) ProtoMessage()

func (*ListEdgeClusterPodsRequest) ProtoReflect added in v0.8.0

func (*ListEdgeClusterPodsRequest) Reset added in v0.8.0

func (x *ListEdgeClusterPodsRequest) Reset()

func (*ListEdgeClusterPodsRequest) String added in v0.8.0

func (x *ListEdgeClusterPodsRequest) String() string

type ListEdgeClusterPodsResponse added in v0.8.0

type ListEdgeClusterPodsResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// The list of an existing edge cluster pods details
	Pods []*EdgeClusterPod `protobuf:"bytes,3,rep,name=pods,proto3" json:"pods,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of listing an existing edge cluster pods details

func (*ListEdgeClusterPodsResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListEdgeClusterPodsResponse.ProtoReflect.Descriptor instead.

func (*ListEdgeClusterPodsResponse) GetError added in v0.8.0

func (x *ListEdgeClusterPodsResponse) GetError() Error

func (*ListEdgeClusterPodsResponse) GetErrorMessage added in v0.8.0

func (x *ListEdgeClusterPodsResponse) GetErrorMessage() string

func (*ListEdgeClusterPodsResponse) GetPods added in v0.8.0

func (*ListEdgeClusterPodsResponse) ProtoMessage added in v0.8.0

func (*ListEdgeClusterPodsResponse) ProtoMessage()

func (*ListEdgeClusterPodsResponse) ProtoReflect added in v0.8.0

func (*ListEdgeClusterPodsResponse) Reset added in v0.8.0

func (x *ListEdgeClusterPodsResponse) Reset()

func (*ListEdgeClusterPodsResponse) String added in v0.8.0

func (x *ListEdgeClusterPodsResponse) String() string

type ListEdgeClusterServicesRequest added in v0.9.0

type ListEdgeClusterServicesRequest struct {

	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// Optional, if provided, will be used to filter services under the given namespace
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Optional, if provided, will be used to filter services deployed to the given node
	NodeName string `protobuf:"bytes,3,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
	// contains filtered or unexported fields
}

* ListEdgeClusterNodeServicesRequest to list an existing edge cluster services details

func (*ListEdgeClusterServicesRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ListEdgeClusterServicesRequest.ProtoReflect.Descriptor instead.

func (*ListEdgeClusterServicesRequest) GetEdgeClusterID added in v0.9.0

func (x *ListEdgeClusterServicesRequest) GetEdgeClusterID() string

func (*ListEdgeClusterServicesRequest) GetNamespace added in v0.9.0

func (x *ListEdgeClusterServicesRequest) GetNamespace() string

func (*ListEdgeClusterServicesRequest) GetNodeName added in v0.9.0

func (x *ListEdgeClusterServicesRequest) GetNodeName() string

func (*ListEdgeClusterServicesRequest) ProtoMessage added in v0.9.0

func (*ListEdgeClusterServicesRequest) ProtoMessage()

func (*ListEdgeClusterServicesRequest) ProtoReflect added in v0.9.0

func (*ListEdgeClusterServicesRequest) Reset added in v0.9.0

func (x *ListEdgeClusterServicesRequest) Reset()

func (*ListEdgeClusterServicesRequest) String added in v0.9.0

type ListEdgeClusterServicesResponse added in v0.9.0

type ListEdgeClusterServicesResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// The list of an existing edge cluster services details
	Services []*EdgeClusterService `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of listing an existing edge cluster services details

func (*ListEdgeClusterServicesResponse) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ListEdgeClusterServicesResponse.ProtoReflect.Descriptor instead.

func (*ListEdgeClusterServicesResponse) GetError added in v0.9.0

func (x *ListEdgeClusterServicesResponse) GetError() Error

func (*ListEdgeClusterServicesResponse) GetErrorMessage added in v0.9.0

func (x *ListEdgeClusterServicesResponse) GetErrorMessage() string

func (*ListEdgeClusterServicesResponse) GetServices added in v0.9.0

func (*ListEdgeClusterServicesResponse) ProtoMessage added in v0.9.0

func (*ListEdgeClusterServicesResponse) ProtoMessage()

func (*ListEdgeClusterServicesResponse) ProtoReflect added in v0.9.0

func (*ListEdgeClusterServicesResponse) Reset added in v0.9.0

func (*ListEdgeClusterServicesResponse) String added in v0.9.0

type ListEdgeClustersRequest added in v0.9.0

type ListEdgeClustersRequest struct {

	// The pagination information
	Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// The collection of sorting option determines how the returned data must be sorted
	SortingOptions []*SortingOptionPair `protobuf:"bytes,2,rep,name=sortingOptions,proto3" json:"sortingOptions,omitempty"`
	// The unique edge cluster identifiers
	EdgeClusterIDs []string `protobuf:"bytes,3,rep,name=edgeClusterIDs,proto3" json:"edgeClusterIDs,omitempty"`
	// The unique project identifiers
	ProjectIDs []string `protobuf:"bytes,4,rep,name=projectIDs,proto3" json:"projectIDs,omitempty"`
	// contains filtered or unexported fields
}

* Request to search for edge clusters

func (*ListEdgeClustersRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ListEdgeClustersRequest.ProtoReflect.Descriptor instead.

func (*ListEdgeClustersRequest) GetEdgeClusterIDs added in v0.9.0

func (x *ListEdgeClustersRequest) GetEdgeClusterIDs() []string

func (*ListEdgeClustersRequest) GetPagination added in v0.9.0

func (x *ListEdgeClustersRequest) GetPagination() *Pagination

func (*ListEdgeClustersRequest) GetProjectIDs added in v0.9.0

func (x *ListEdgeClustersRequest) GetProjectIDs() []string

func (*ListEdgeClustersRequest) GetSortingOptions added in v0.9.0

func (x *ListEdgeClustersRequest) GetSortingOptions() []*SortingOptionPair

func (*ListEdgeClustersRequest) ProtoMessage added in v0.9.0

func (*ListEdgeClustersRequest) ProtoMessage()

func (*ListEdgeClustersRequest) ProtoReflect added in v0.9.0

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

func (*ListEdgeClustersRequest) Reset added in v0.9.0

func (x *ListEdgeClustersRequest) Reset()

func (*ListEdgeClustersRequest) String added in v0.9.0

func (x *ListEdgeClustersRequest) String() string

type ListEdgeClustersResponse added in v0.9.0

type ListEdgeClustersResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// Indicates whether more edges exist prior to the set defined by the clients arguments
	HasPreviousPage bool `protobuf:"varint,3,opt,name=hasPreviousPage,proto3" json:"hasPreviousPage,omitempty"`
	// Indicates whether more edges exist following the set defined by the clients arguments
	HasNextPage bool `protobuf:"varint,4,opt,name=hasNextPage,proto3" json:"hasNextPage,omitempty"`
	// Indicates the total count of the edge clusters that matched the provided filter criteria
	TotalCount int64 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	// The list contains the edge clusters that matched the search criteria
	EdgeClusters []*EdgeClusterWithCursor `protobuf:"bytes,6,rep,name=edgeClusters,proto3" json:"edgeClusters,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of searching for edge clusters

func (*ListEdgeClustersResponse) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ListEdgeClustersResponse.ProtoReflect.Descriptor instead.

func (*ListEdgeClustersResponse) GetEdgeClusters added in v0.9.0

func (x *ListEdgeClustersResponse) GetEdgeClusters() []*EdgeClusterWithCursor

func (*ListEdgeClustersResponse) GetError added in v0.9.0

func (x *ListEdgeClustersResponse) GetError() Error

func (*ListEdgeClustersResponse) GetErrorMessage added in v0.9.0

func (x *ListEdgeClustersResponse) GetErrorMessage() string

func (*ListEdgeClustersResponse) GetHasNextPage added in v0.9.0

func (x *ListEdgeClustersResponse) GetHasNextPage() bool

func (*ListEdgeClustersResponse) GetHasPreviousPage added in v0.9.0

func (x *ListEdgeClustersResponse) GetHasPreviousPage() bool

func (*ListEdgeClustersResponse) GetTotalCount added in v0.9.0

func (x *ListEdgeClustersResponse) GetTotalCount() int64

func (*ListEdgeClustersResponse) ProtoMessage added in v0.9.0

func (*ListEdgeClustersResponse) ProtoMessage()

func (*ListEdgeClustersResponse) ProtoReflect added in v0.9.0

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

func (*ListEdgeClustersResponse) Reset added in v0.9.0

func (x *ListEdgeClustersResponse) Reset()

func (*ListEdgeClustersResponse) String added in v0.9.0

func (x *ListEdgeClustersResponse) String() string

type LoadBalancerIngress added in v0.9.0

type LoadBalancerIngress struct {

	// IP is set for load-balancer ingress points that are IP based
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Hostname is set for load-balancer ingress points that are DNS based
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// PortStatus is a list of records of service ports
	// If used, every port defined in the service should have an entry in it
	PortStatus []*PortStatus `protobuf:"bytes,3,rep,name=portStatus,proto3" json:"portStatus,omitempty"`
	// contains filtered or unexported fields
}

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

func (*LoadBalancerIngress) Descriptor deprecated added in v0.9.0

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

Deprecated: Use LoadBalancerIngress.ProtoReflect.Descriptor instead.

func (*LoadBalancerIngress) GetHostname added in v0.9.0

func (x *LoadBalancerIngress) GetHostname() string

func (*LoadBalancerIngress) GetIp added in v0.9.0

func (x *LoadBalancerIngress) GetIp() string

func (*LoadBalancerIngress) GetPortStatus added in v0.9.0

func (x *LoadBalancerIngress) GetPortStatus() []*PortStatus

func (*LoadBalancerIngress) ProtoMessage added in v0.9.0

func (*LoadBalancerIngress) ProtoMessage()

func (*LoadBalancerIngress) ProtoReflect added in v0.9.0

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

func (*LoadBalancerIngress) Reset added in v0.9.0

func (x *LoadBalancerIngress) Reset()

func (*LoadBalancerIngress) String added in v0.9.0

func (x *LoadBalancerIngress) String() string

type LoadBalancerStatus added in v0.9.0

type LoadBalancerStatus struct {

	// Ingress is a list containing ingress points for the load-balancer.
	// Traffic intended for the service should be sent to these ingress points.
	Ingress []*LoadBalancerIngress `protobuf:"bytes,1,rep,name=Ingress,proto3" json:"Ingress,omitempty"`
	// contains filtered or unexported fields
}

LoadBalancerStatus represents the status of a load-balancer.

func (*LoadBalancerStatus) Descriptor deprecated added in v0.9.0

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

Deprecated: Use LoadBalancerStatus.ProtoReflect.Descriptor instead.

func (*LoadBalancerStatus) GetIngress added in v0.9.0

func (x *LoadBalancerStatus) GetIngress() []*LoadBalancerIngress

func (*LoadBalancerStatus) ProtoMessage added in v0.9.0

func (*LoadBalancerStatus) ProtoMessage()

func (*LoadBalancerStatus) ProtoReflect added in v0.9.0

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

func (*LoadBalancerStatus) Reset added in v0.9.0

func (x *LoadBalancerStatus) Reset()

func (*LoadBalancerStatus) String added in v0.9.0

func (x *LoadBalancerStatus) String() string

type NodeAddressType added in v0.9.0

type NodeAddressType int32

* The valid address type of edge cluster node

const (
	NodeAddressType_Hostname    NodeAddressType = 0
	NodeAddressType_ExternalIP  NodeAddressType = 1
	NodeAddressType_InternalIP  NodeAddressType = 2
	NodeAddressType_ExternalDNS NodeAddressType = 3
	NodeAddressType_InternalDNS NodeAddressType = 4
)

func (NodeAddressType) Descriptor added in v0.9.0

func (NodeAddressType) Enum added in v0.9.0

func (x NodeAddressType) Enum() *NodeAddressType

func (NodeAddressType) EnumDescriptor deprecated added in v0.9.0

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

Deprecated: Use NodeAddressType.Descriptor instead.

func (NodeAddressType) Number added in v0.9.0

func (NodeAddressType) String added in v0.9.0

func (x NodeAddressType) String() string

func (NodeAddressType) Type added in v0.9.0

type NodeCondition added in v0.9.0

type NodeCondition struct {

	// Type is the type of the condition
	Type NodeConditionType `protobuf:"varint,1,opt,name=type,proto3,enum=edgecluster.NodeConditionType" json:"type,omitempty"`
	// Status is the status of the condition
	Status ConditionStatus `protobuf:"varint,2,opt,name=status,proto3,enum=edgecluster.ConditionStatus" json:"status,omitempty"`
	// Last time we got an update on a given condition.
	LastHeartbeatTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=LastHeartbeatTime,proto3" json:"LastHeartbeatTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=LastTransitionTime,proto3" json:"LastTransitionTime,omitempty"`
	// Unique, one-word, CamelCase reason for the condition last transition.
	Reason string `protobuf:"bytes,5,opt,name=Reason,proto3" json:"Reason,omitempty"`
	// Human-readable message indicating details about last transition.
	Message string `protobuf:"bytes,6,opt,name=Message,proto3" json:"Message,omitempty"`
	// contains filtered or unexported fields
}

* NodeCondition contains condition information for a node.

func (*NodeCondition) Descriptor deprecated added in v0.9.0

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

Deprecated: Use NodeCondition.ProtoReflect.Descriptor instead.

func (*NodeCondition) GetLastHeartbeatTime added in v0.9.0

func (x *NodeCondition) GetLastHeartbeatTime() *timestamppb.Timestamp

func (*NodeCondition) GetLastTransitionTime added in v0.9.0

func (x *NodeCondition) GetLastTransitionTime() *timestamppb.Timestamp

func (*NodeCondition) GetMessage added in v0.9.0

func (x *NodeCondition) GetMessage() string

func (*NodeCondition) GetReason added in v0.9.0

func (x *NodeCondition) GetReason() string

func (*NodeCondition) GetStatus added in v0.9.0

func (x *NodeCondition) GetStatus() ConditionStatus

func (*NodeCondition) GetType added in v0.9.0

func (x *NodeCondition) GetType() NodeConditionType

func (*NodeCondition) ProtoMessage added in v0.9.0

func (*NodeCondition) ProtoMessage()

func (*NodeCondition) ProtoReflect added in v0.9.0

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

func (*NodeCondition) Reset added in v0.9.0

func (x *NodeCondition) Reset()

func (*NodeCondition) String added in v0.9.0

func (x *NodeCondition) String() string

type NodeConditionType added in v0.9.0

type NodeConditionType int32

* The valid conditions of node

const (
	// NodeReady means kubelet is healthy and ready to accept pods.
	NodeConditionType_Ready NodeConditionType = 0
	// NodeMemoryPressure means the kubelet is under pressure due to insufficient available memory.
	NodeConditionType_MemoryPressure NodeConditionType = 1
	// NodeDiskPressure means the kubelet is under pressure due to insufficient available disk.
	NodeConditionType_DiskPressure NodeConditionType = 3
	// NodePIDPressure means the kubelet is under pressure due to insufficient available PID.
	NodeConditionType_PIDPressure NodeConditionType = 4
	// NodeNetworkUnavailable means that network for the node is not correctly configured.
	NodeConditionType_NetworkUnavailable NodeConditionType = 5
)

func (NodeConditionType) Descriptor added in v0.9.0

func (NodeConditionType) Enum added in v0.9.0

func (NodeConditionType) EnumDescriptor deprecated added in v0.9.0

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

Deprecated: Use NodeConditionType.Descriptor instead.

func (NodeConditionType) Number added in v0.9.0

func (NodeConditionType) String added in v0.9.0

func (x NodeConditionType) String() string

func (NodeConditionType) Type added in v0.9.0

type NodeStatus added in v0.9.0

type NodeStatus struct {

	// Conditions is an array of current observed node conditions.
	Conditions []*NodeCondition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// Addresses is the list of addresses reachable to the node.
	Addresses []*EdgeClusterNodeAddress `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// NodeInfo is the set of ids/uuids to uniquely identify the node.
	NodeInfo *NodeSystemInfo `protobuf:"bytes,3,opt,name=nodeInfo,proto3" json:"nodeInfo,omitempty"`
	// contains filtered or unexported fields
}

* NodeStatus is information about the current status of a node.

func (*NodeStatus) Descriptor deprecated added in v0.9.0

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

Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead.

func (*NodeStatus) GetAddresses added in v0.9.0

func (x *NodeStatus) GetAddresses() []*EdgeClusterNodeAddress

func (*NodeStatus) GetConditions added in v0.9.0

func (x *NodeStatus) GetConditions() []*NodeCondition

func (*NodeStatus) GetNodeInfo added in v0.9.0

func (x *NodeStatus) GetNodeInfo() *NodeSystemInfo

func (*NodeStatus) ProtoMessage added in v0.9.0

func (*NodeStatus) ProtoMessage()

func (*NodeStatus) ProtoReflect added in v0.9.0

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

func (*NodeStatus) Reset added in v0.9.0

func (x *NodeStatus) Reset()

func (*NodeStatus) String added in v0.9.0

func (x *NodeStatus) String() string

type NodeSystemInfo added in v0.9.0

type NodeSystemInfo struct {

	// MachineID reported by the node. For unique machine identification
	// in the cluster this field is preferred.
	MachineID string `protobuf:"bytes,1,opt,name=machineID,proto3" json:"machineID,omitempty"`
	// SystemUUID reported by the node. For unique machine identification
	// MachineID is preferred. This field is specific to Red Hat hosts
	SystemUUID string `protobuf:"bytes,2,opt,name=systemUUID,proto3" json:"systemUUID,omitempty"`
	// Boot ID reported by the node.
	BootID string `protobuf:"bytes,3,opt,name=bootID,proto3" json:"bootID,omitempty"`
	// Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
	KernelVersion string `protobuf:"bytes,4,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"`
	// OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
	OsImage string `protobuf:"bytes,5,opt,name=osImage,proto3" json:"osImage,omitempty"`
	// ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).
	ContainerRuntimeVersion string `protobuf:"bytes,6,opt,name=containerRuntimeVersion,proto3" json:"containerRuntimeVersion,omitempty"`
	// Kubelet Version reported by the node.
	KubeletVersion string `protobuf:"bytes,7,opt,name=kubeletVersion,proto3" json:"kubeletVersion,omitempty"`
	// KubeProxy Version reported by the node.
	KubeProxyVersion string `protobuf:"bytes,8,opt,name=kubeProxyVersion,proto3" json:"kubeProxyVersion,omitempty"`
	// The Operating System reported by the node
	OperatingSystem string `protobuf:"bytes,9,opt,name=operatingSystem,proto3" json:"operatingSystem,omitempty"`
	// The Architecture reported by the node
	Architecture string `protobuf:"bytes,10,opt,name=architecture,proto3" json:"architecture,omitempty"`
	// contains filtered or unexported fields
}

* NodeSystemInfo contains a set of ids/uuids to uniquely identify the node.

func (*NodeSystemInfo) Descriptor deprecated added in v0.9.0

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

Deprecated: Use NodeSystemInfo.ProtoReflect.Descriptor instead.

func (*NodeSystemInfo) GetArchitecture added in v0.9.0

func (x *NodeSystemInfo) GetArchitecture() string

func (*NodeSystemInfo) GetBootID added in v0.9.0

func (x *NodeSystemInfo) GetBootID() string

func (*NodeSystemInfo) GetContainerRuntimeVersion added in v0.9.0

func (x *NodeSystemInfo) GetContainerRuntimeVersion() string

func (*NodeSystemInfo) GetKernelVersion added in v0.9.0

func (x *NodeSystemInfo) GetKernelVersion() string

func (*NodeSystemInfo) GetKubeProxyVersion added in v0.9.0

func (x *NodeSystemInfo) GetKubeProxyVersion() string

func (*NodeSystemInfo) GetKubeletVersion added in v0.9.0

func (x *NodeSystemInfo) GetKubeletVersion() string

func (*NodeSystemInfo) GetMachineID added in v0.9.0

func (x *NodeSystemInfo) GetMachineID() string

func (*NodeSystemInfo) GetOperatingSystem added in v0.9.0

func (x *NodeSystemInfo) GetOperatingSystem() string

func (*NodeSystemInfo) GetOsImage added in v0.9.0

func (x *NodeSystemInfo) GetOsImage() string

func (*NodeSystemInfo) GetSystemUUID added in v0.9.0

func (x *NodeSystemInfo) GetSystemUUID() string

func (*NodeSystemInfo) ProtoMessage added in v0.9.0

func (*NodeSystemInfo) ProtoMessage()

func (*NodeSystemInfo) ProtoReflect added in v0.9.0

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

func (*NodeSystemInfo) Reset added in v0.9.0

func (x *NodeSystemInfo) Reset()

func (*NodeSystemInfo) String added in v0.9.0

func (x *NodeSystemInfo) String() string

type ObjectMeta added in v0.9.0

type ObjectMeta struct {

	// The unique ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The namespace
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

* Standard edge cluster object's metadata.

func (*ObjectMeta) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead.

func (*ObjectMeta) GetId added in v0.9.0

func (x *ObjectMeta) GetId() string

func (*ObjectMeta) GetName added in v0.9.0

func (x *ObjectMeta) GetName() string

func (*ObjectMeta) GetNamespace added in v0.9.0

func (x *ObjectMeta) GetNamespace() string

func (*ObjectMeta) ProtoMessage added in v0.9.0

func (*ObjectMeta) ProtoMessage()

func (*ObjectMeta) ProtoReflect added in v0.9.0

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

func (*ObjectMeta) Reset added in v0.9.0

func (x *ObjectMeta) Reset()

func (*ObjectMeta) String added in v0.9.0

func (x *ObjectMeta) String() string

type Pagination added in v0.0.10

type Pagination struct {
	HasFirst  bool   `protobuf:"varint,1,opt,name=hasFirst,proto3" json:"hasFirst,omitempty"`
	First     int32  `protobuf:"varint,2,opt,name=first,proto3" json:"first,omitempty"`
	HasAfter  bool   `protobuf:"varint,3,opt,name=hasAfter,proto3" json:"hasAfter,omitempty"`
	After     string `protobuf:"bytes,4,opt,name=after,proto3" json:"after,omitempty"`
	HasLast   bool   `protobuf:"varint,5,opt,name=hasLast,proto3" json:"hasLast,omitempty"`
	Last      int32  `protobuf:"varint,6,opt,name=last,proto3" json:"last,omitempty"`
	HasBefore bool   `protobuf:"varint,7,opt,name=hasBefore,proto3" json:"hasBefore,omitempty"`
	Before    string `protobuf:"bytes,8,opt,name=before,proto3" json:"before,omitempty"`
	// contains filtered or unexported fields
}

* The pagination information compatible with graphql-relay connection definition, for more information visit: https://facebook.github.io/relay/graphql/connections.htm

func (*Pagination) Descriptor deprecated added in v0.0.10

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetAfter added in v0.0.10

func (x *Pagination) GetAfter() string

func (*Pagination) GetBefore added in v0.0.10

func (x *Pagination) GetBefore() string

func (*Pagination) GetFirst added in v0.0.10

func (x *Pagination) GetFirst() int32

func (*Pagination) GetHasAfter added in v0.0.14

func (x *Pagination) GetHasAfter() bool

func (*Pagination) GetHasBefore added in v0.0.14

func (x *Pagination) GetHasBefore() bool

func (*Pagination) GetHasFirst added in v0.0.14

func (x *Pagination) GetHasFirst() bool

func (*Pagination) GetHasLast added in v0.0.14

func (x *Pagination) GetHasLast() bool

func (*Pagination) GetLast added in v0.0.10

func (x *Pagination) GetLast() int32

func (*Pagination) ProtoMessage added in v0.0.10

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect added in v0.1.2

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

func (*Pagination) Reset added in v0.0.10

func (x *Pagination) Reset()

func (*Pagination) String added in v0.0.10

func (x *Pagination) String() string

type PodCondition added in v0.9.0

type PodCondition struct {

	// Type is the type of the condition.
	Type PodConditionType `protobuf:"varint,1,opt,name=type,proto3,enum=edgecluster.PodConditionType" json:"type,omitempty"`
	// Status is the status of the condition.
	Status ConditionStatus `protobuf:"varint,2,opt,name=status,proto3,enum=edgecluster.ConditionStatus" json:"status,omitempty"`
	// Last time we got an update on a given condition.
	LastProbeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=LastProbeTime,proto3" json:"LastProbeTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=LastTransitionTime,proto3" json:"LastTransitionTime,omitempty"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

* Declares the most recently observed status of the existing edge cluster pod

func (*PodCondition) Descriptor deprecated added in v0.9.0

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

Deprecated: Use PodCondition.ProtoReflect.Descriptor instead.

func (*PodCondition) GetLastProbeTime added in v0.9.0

func (x *PodCondition) GetLastProbeTime() *timestamppb.Timestamp

func (*PodCondition) GetLastTransitionTime added in v0.9.0

func (x *PodCondition) GetLastTransitionTime() *timestamppb.Timestamp

func (*PodCondition) GetMessage added in v0.9.0

func (x *PodCondition) GetMessage() string

func (*PodCondition) GetReason added in v0.9.0

func (x *PodCondition) GetReason() string

func (*PodCondition) GetStatus added in v0.9.0

func (x *PodCondition) GetStatus() ConditionStatus

func (*PodCondition) GetType added in v0.9.0

func (x *PodCondition) GetType() PodConditionType

func (*PodCondition) ProtoMessage added in v0.9.0

func (*PodCondition) ProtoMessage()

func (*PodCondition) ProtoReflect added in v0.9.0

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

func (*PodCondition) Reset added in v0.9.0

func (x *PodCondition) Reset()

func (*PodCondition) String added in v0.9.0

func (x *PodCondition) String() string

type PodConditionType added in v0.9.0

type PodConditionType int32

* The different error types

const (
	// ContainersReady indicates whether all containers in the pod are ready.
	PodConditionType_ContainersReady PodConditionType = 0
	// PodInitialized means that all init containers in the pod have started successfully.
	PodConditionType_PodInitialized PodConditionType = 1
	// PodReady means the pod is able to service requests and should be added to the
	// load balancing pools of all matching services.
	PodConditionType_PodReady PodConditionType = 2
	// PodScheduled represents status of the scheduling process for this pod.
	PodConditionType_PodScheduled PodConditionType = 3
)

func (PodConditionType) Descriptor added in v0.9.0

func (PodConditionType) Enum added in v0.9.0

func (PodConditionType) EnumDescriptor deprecated added in v0.9.0

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

Deprecated: Use PodConditionType.Descriptor instead.

func (PodConditionType) Number added in v0.9.0

func (PodConditionType) String added in v0.9.0

func (x PodConditionType) String() string

func (PodConditionType) Type added in v0.9.0

type PodSpec added in v0.9.0

type PodSpec struct {

	// The name of the node where the Pod is deployed into
	NodeName string `protobuf:"bytes,1,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
	// contains filtered or unexported fields
}

* Declares the specification of the desired behavior of the existing edge cluster pod

func (*PodSpec) Descriptor deprecated added in v0.9.0

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

Deprecated: Use PodSpec.ProtoReflect.Descriptor instead.

func (*PodSpec) GetNodeName added in v0.9.0

func (x *PodSpec) GetNodeName() string

func (*PodSpec) ProtoMessage added in v0.9.0

func (*PodSpec) ProtoMessage()

func (*PodSpec) ProtoReflect added in v0.9.0

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

func (*PodSpec) Reset added in v0.9.0

func (x *PodSpec) Reset()

func (*PodSpec) String added in v0.9.0

func (x *PodSpec) String() string

type PodStatus added in v0.9.0

type PodStatus struct {

	// IP address allocated to the pod. Routable at least within the cluster.
	HostIP string `protobuf:"bytes,1,opt,name=hostIP,proto3" json:"hostIP,omitempty"`
	// IP address allocated to the pod. Routable at least within the cluster.
	PodIP string `protobuf:"bytes,2,opt,name=podIP,proto3" json:"podIP,omitempty"`
	// Current service state of pod.
	Conditions []*PodCondition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

* Declares the most recently observed status of the existing edge cluster pod

func (*PodStatus) Descriptor deprecated added in v0.9.0

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

Deprecated: Use PodStatus.ProtoReflect.Descriptor instead.

func (*PodStatus) GetConditions added in v0.9.0

func (x *PodStatus) GetConditions() []*PodCondition

func (*PodStatus) GetHostIP added in v0.9.0

func (x *PodStatus) GetHostIP() string

func (*PodStatus) GetPodIP added in v0.9.0

func (x *PodStatus) GetPodIP() string

func (*PodStatus) ProtoMessage added in v0.9.0

func (*PodStatus) ProtoMessage()

func (*PodStatus) ProtoReflect added in v0.9.0

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

func (*PodStatus) Reset added in v0.9.0

func (x *PodStatus) Reset()

func (*PodStatus) String added in v0.9.0

func (x *PodStatus) String() string

type PortStatus added in v0.5.0

type PortStatus struct {

	// Port is the port number of the service port of which status is recorded here
	Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// Protocol is the protocol of the service port of which status is recorded here
	Protocol Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=edgecluster.Protocol" json:"protocol,omitempty"`
	// Error is to record the problem with the service port
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

PortStatus represents the error condition of a service port

func (*PortStatus) Descriptor deprecated added in v0.5.0

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

Deprecated: Use PortStatus.ProtoReflect.Descriptor instead.

func (*PortStatus) GetError added in v0.9.0

func (x *PortStatus) GetError() string

func (*PortStatus) GetPort added in v0.5.0

func (x *PortStatus) GetPort() int32

func (*PortStatus) GetProtocol added in v0.9.0

func (x *PortStatus) GetProtocol() Protocol

func (*PortStatus) ProtoMessage added in v0.5.0

func (*PortStatus) ProtoMessage()

func (*PortStatus) ProtoReflect added in v0.5.0

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

func (*PortStatus) Reset added in v0.5.0

func (x *PortStatus) Reset()

func (*PortStatus) String added in v0.5.0

func (x *PortStatus) String() string

type Protocol added in v0.5.0

type Protocol int32

*

Protocol defines network protocols.
const (
	// TCP protocol
	Protocol_TCP Protocol = 0
	// UDP protocol
	Protocol_UDP Protocol = 1
	// SCTP protocol
	Protocol_SCTP Protocol = 2
)

func (Protocol) Descriptor added in v0.5.0

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum added in v0.5.0

func (x Protocol) Enum() *Protocol

func (Protocol) EnumDescriptor deprecated added in v0.5.0

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

Deprecated: Use Protocol.Descriptor instead.

func (Protocol) Number added in v0.5.0

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String added in v0.5.0

func (x Protocol) String() string

func (Protocol) Type added in v0.5.0

type ProvisionDetail added in v0.9.1

type ProvisionDetail struct {

	// LoadBalancer contains the current status of the load-balancer,
	// if one is present.
	LoadBalancer *LoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer,proto3" json:"loadBalancer,omitempty"`
	// The provisioned edge cluster kubeconfig content
	KubeConfigContent string `protobuf:"bytes,2,opt,name=kubeConfigContent,proto3" json:"kubeConfigContent,omitempty"`
	// The ports that will be exposed by the edge cluster.
	Ports []int32 `protobuf:"varint,3,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

* The edge cluster provision details contains details such as current status of the edge cluster as well as ingress address of the edge cluster to connect to

func (*ProvisionDetail) Descriptor deprecated added in v0.9.1

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

Deprecated: Use ProvisionDetail.ProtoReflect.Descriptor instead.

func (*ProvisionDetail) GetKubeConfigContent added in v0.9.1

func (x *ProvisionDetail) GetKubeConfigContent() string

func (*ProvisionDetail) GetLoadBalancer added in v0.9.1

func (x *ProvisionDetail) GetLoadBalancer() *LoadBalancerStatus

func (*ProvisionDetail) GetPorts added in v0.10.0

func (x *ProvisionDetail) GetPorts() []int32

func (*ProvisionDetail) ProtoMessage added in v0.9.1

func (*ProvisionDetail) ProtoMessage()

func (*ProvisionDetail) ProtoReflect added in v0.9.1

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

func (*ProvisionDetail) Reset added in v0.9.1

func (x *ProvisionDetail) Reset()

func (*ProvisionDetail) String added in v0.9.1

func (x *ProvisionDetail) String() string

type ReadEdgeClusterRequest

type ReadEdgeClusterRequest struct {

	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// contains filtered or unexported fields
}

* Request to read an existing edge cluster

func (*ReadEdgeClusterRequest) Descriptor deprecated

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

Deprecated: Use ReadEdgeClusterRequest.ProtoReflect.Descriptor instead.

func (*ReadEdgeClusterRequest) GetEdgeClusterID

func (x *ReadEdgeClusterRequest) GetEdgeClusterID() string

func (*ReadEdgeClusterRequest) ProtoMessage

func (*ReadEdgeClusterRequest) ProtoMessage()

func (*ReadEdgeClusterRequest) ProtoReflect added in v0.1.2

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

func (*ReadEdgeClusterRequest) Reset

func (x *ReadEdgeClusterRequest) Reset()

func (*ReadEdgeClusterRequest) String

func (x *ReadEdgeClusterRequest) String() string

type ReadEdgeClusterResponse

type ReadEdgeClusterResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// The edge cluster object
	EdgeCluster *EdgeCluster `protobuf:"bytes,3,opt,name=edgeCluster,proto3" json:"edgeCluster,omitempty"`
	// The edge cluster provision details
	ProvisionDetail *ProvisionDetail `protobuf:"bytes,6,opt,name=provisionDetail,proto3" json:"provisionDetail,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of reading an existing edge cluster

func (*ReadEdgeClusterResponse) Descriptor deprecated

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

Deprecated: Use ReadEdgeClusterResponse.ProtoReflect.Descriptor instead.

func (*ReadEdgeClusterResponse) GetEdgeCluster

func (x *ReadEdgeClusterResponse) GetEdgeCluster() *EdgeCluster

func (*ReadEdgeClusterResponse) GetError

func (x *ReadEdgeClusterResponse) GetError() Error

func (*ReadEdgeClusterResponse) GetErrorMessage

func (x *ReadEdgeClusterResponse) GetErrorMessage() string

func (*ReadEdgeClusterResponse) GetProvisionDetail added in v0.5.0

func (x *ReadEdgeClusterResponse) GetProvisionDetail() *ProvisionDetail

func (*ReadEdgeClusterResponse) ProtoMessage

func (*ReadEdgeClusterResponse) ProtoMessage()

func (*ReadEdgeClusterResponse) ProtoReflect added in v0.1.2

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

func (*ReadEdgeClusterResponse) Reset

func (x *ReadEdgeClusterResponse) Reset()

func (*ReadEdgeClusterResponse) String

func (x *ReadEdgeClusterResponse) String() string

type ServiceClient added in v0.9.0

type ServiceClient interface {
	// CreateEdgeCluster creates a new edge cluster
	// request: The request to create a new edge cluster
	// Returns the result of creating new edge cluster
	CreateEdgeCluster(ctx context.Context, in *CreateEdgeClusterRequest, opts ...grpc.CallOption) (*CreateEdgeClusterResponse, error)
	// ReadEdgeCluster read an exsiting edge cluster
	// request: The request to read an esiting edge cluster
	// Returns the result of reading an existing edge cluster
	ReadEdgeCluster(ctx context.Context, in *ReadEdgeClusterRequest, opts ...grpc.CallOption) (*ReadEdgeClusterResponse, error)
	// UpdateEdgeCluster update an exsiting edge cluster
	// request: The request to update an esiting edge cluster
	// Returns the result of updateing an existing edge cluster
	UpdateEdgeCluster(ctx context.Context, in *UpdateEdgeClusterRequest, opts ...grpc.CallOption) (*UpdateEdgeClusterResponse, error)
	// DeleteEdgeCluster delete an exsiting edge cluster
	// request: The request to delete an esiting edge cluster
	// Returns the result of deleting an existing edge cluster
	DeleteEdgeCluster(ctx context.Context, in *DeleteEdgeClusterRequest, opts ...grpc.CallOption) (*DeleteEdgeClusterResponse, error)
	// ListEdgeClusters returns the list of edge clusters that matched the criteria
	// request: The request contains the search criteria
	// Returns the list of edge clusters that matched the criteria
	ListEdgeClusters(ctx context.Context, in *ListEdgeClustersRequest, opts ...grpc.CallOption) (*ListEdgeClustersResponse, error)
	// ListEdgeClusterNodes lists an existing edge cluster nodes details
	// request: The request to list an existing edge cluster nodes details
	// Returns an existing edge cluster nodes details
	ListEdgeClusterNodes(ctx context.Context, in *ListEdgeClusterNodesRequest, opts ...grpc.CallOption) (*ListEdgeClusterNodesResponse, error)
	// ListEdgeClusterPods lists an existing edge cluster pods details
	// request: The request to list an existing edge cluster pods details
	// Returns an existing edge cluster pods details
	ListEdgeClusterPods(ctx context.Context, in *ListEdgeClusterPodsRequest, opts ...grpc.CallOption) (*ListEdgeClusterPodsResponse, error)
	// ListEdgeClusterServices lists an existing edge cluster services details
	// request: The request to list an existing edge cluster services details
	// Returns an existing edge cluster services details
	ListEdgeClusterServices(ctx context.Context, in *ListEdgeClusterServicesRequest, opts ...grpc.CallOption) (*ListEdgeClusterServicesResponse, error)
}

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewServiceClient added in v0.9.0

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceCondition added in v0.9.0

type ServiceCondition struct {

	// Type is the type of the condition.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Status is the status of the condition.
	Status ConditionStatus `protobuf:"varint,2,opt,name=status,proto3,enum=edgecluster.ConditionStatus" json:"status,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=LastTransitionTime,proto3" json:"LastTransitionTime,omitempty"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

* Declares the most recently observed status of the service

func (*ServiceCondition) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ServiceCondition.ProtoReflect.Descriptor instead.

func (*ServiceCondition) GetLastTransitionTime added in v0.9.0

func (x *ServiceCondition) GetLastTransitionTime() *timestamppb.Timestamp

func (*ServiceCondition) GetMessage added in v0.9.0

func (x *ServiceCondition) GetMessage() string

func (*ServiceCondition) GetReason added in v0.9.0

func (x *ServiceCondition) GetReason() string

func (*ServiceCondition) GetStatus added in v0.9.0

func (x *ServiceCondition) GetStatus() ConditionStatus

func (*ServiceCondition) GetType added in v0.9.0

func (x *ServiceCondition) GetType() string

func (*ServiceCondition) ProtoMessage added in v0.9.0

func (*ServiceCondition) ProtoMessage()

func (*ServiceCondition) ProtoReflect added in v0.9.0

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

func (*ServiceCondition) Reset added in v0.9.0

func (x *ServiceCondition) Reset()

func (*ServiceCondition) String added in v0.9.0

func (x *ServiceCondition) String() string

type ServicePort added in v0.9.0

type ServicePort struct {

	// The name of this port within the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The IP protocol for this port
	Protcol Protocol `protobuf:"varint,2,opt,name=protcol,proto3,enum=edgecluster.Protocol" json:"protcol,omitempty"`
	// The port that will be exposed by this service.
	Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// Number or name of the port to access on the pods targeted by the service.
	TargetPort string `protobuf:"bytes,4,opt,name=targetPort,proto3" json:"targetPort,omitempty"`
	// The port on each node on which this service is exposed when type is
	// NodePort or LoadBalancer
	NodePort int32 `protobuf:"varint,5,opt,name=nodePort,proto3" json:"nodePort,omitempty"`
	// contains filtered or unexported fields
}

* ServicePort contains information on service's port.

func (*ServicePort) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ServicePort.ProtoReflect.Descriptor instead.

func (*ServicePort) GetName added in v0.9.0

func (x *ServicePort) GetName() string

func (*ServicePort) GetNodePort added in v0.9.0

func (x *ServicePort) GetNodePort() int32

func (*ServicePort) GetPort added in v0.9.0

func (x *ServicePort) GetPort() int32

func (*ServicePort) GetProtcol added in v0.9.0

func (x *ServicePort) GetProtcol() Protocol

func (*ServicePort) GetTargetPort added in v0.9.0

func (x *ServicePort) GetTargetPort() string

func (*ServicePort) ProtoMessage added in v0.9.0

func (*ServicePort) ProtoMessage()

func (*ServicePort) ProtoReflect added in v0.9.0

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

func (*ServicePort) Reset added in v0.9.0

func (x *ServicePort) Reset()

func (*ServicePort) String added in v0.9.0

func (x *ServicePort) String() string

type ServiceServer added in v0.9.0

type ServiceServer interface {
	// CreateEdgeCluster creates a new edge cluster
	// request: The request to create a new edge cluster
	// Returns the result of creating new edge cluster
	CreateEdgeCluster(context.Context, *CreateEdgeClusterRequest) (*CreateEdgeClusterResponse, error)
	// ReadEdgeCluster read an exsiting edge cluster
	// request: The request to read an esiting edge cluster
	// Returns the result of reading an existing edge cluster
	ReadEdgeCluster(context.Context, *ReadEdgeClusterRequest) (*ReadEdgeClusterResponse, error)
	// UpdateEdgeCluster update an exsiting edge cluster
	// request: The request to update an esiting edge cluster
	// Returns the result of updateing an existing edge cluster
	UpdateEdgeCluster(context.Context, *UpdateEdgeClusterRequest) (*UpdateEdgeClusterResponse, error)
	// DeleteEdgeCluster delete an exsiting edge cluster
	// request: The request to delete an esiting edge cluster
	// Returns the result of deleting an existing edge cluster
	DeleteEdgeCluster(context.Context, *DeleteEdgeClusterRequest) (*DeleteEdgeClusterResponse, error)
	// ListEdgeClusters returns the list of edge clusters that matched the criteria
	// request: The request contains the search criteria
	// Returns the list of edge clusters that matched the criteria
	ListEdgeClusters(context.Context, *ListEdgeClustersRequest) (*ListEdgeClustersResponse, error)
	// ListEdgeClusterNodes lists an existing edge cluster nodes details
	// request: The request to list an existing edge cluster nodes details
	// Returns an existing edge cluster nodes details
	ListEdgeClusterNodes(context.Context, *ListEdgeClusterNodesRequest) (*ListEdgeClusterNodesResponse, error)
	// ListEdgeClusterPods lists an existing edge cluster pods details
	// request: The request to list an existing edge cluster pods details
	// Returns an existing edge cluster pods details
	ListEdgeClusterPods(context.Context, *ListEdgeClusterPodsRequest) (*ListEdgeClusterPodsResponse, error)
	// ListEdgeClusterServices lists an existing edge cluster services details
	// request: The request to list an existing edge cluster services details
	// Returns an existing edge cluster services details
	ListEdgeClusterServices(context.Context, *ListEdgeClusterServicesRequest) (*ListEdgeClusterServicesResponse, error)
}

ServiceServer is the server API for Service service.

type ServiceSpec added in v0.9.0

type ServiceSpec struct {

	// The list of ports that are exposed by this service.
	Ports []*ServicePort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
	// clusterIPs is a list of IP addresses assigned to this service
	ClusterIPs []string `protobuf:"bytes,2,rep,name=clusterIPs,proto3" json:"clusterIPs,omitempty"`
	// type determines how the Service is exposed.
	Type ServiceType `protobuf:"varint,3,opt,name=type,proto3,enum=edgecluster.ServiceType" json:"type,omitempty"`
	// externalIPs is a list of IP addresses for which nodes in the cluster
	// will also accept traffic for this service.
	ExternalIPs []string `protobuf:"bytes,4,rep,name=externalIPs,proto3" json:"externalIPs,omitempty"`
	// externalName is the external reference that discovery mechanisms will
	// return as an alias for this service (e.g. a DNS CNAME record).
	ExternalName string `protobuf:"bytes,5,opt,name=externalName,proto3" json:"externalName,omitempty"`
	// contains filtered or unexported fields
}

* Declares the specification of the desired behavior of the existing edge cluster service

func (*ServiceSpec) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.

func (*ServiceSpec) GetClusterIPs added in v0.9.0

func (x *ServiceSpec) GetClusterIPs() []string

func (*ServiceSpec) GetExternalIPs added in v0.9.0

func (x *ServiceSpec) GetExternalIPs() []string

func (*ServiceSpec) GetExternalName added in v0.9.0

func (x *ServiceSpec) GetExternalName() string

func (*ServiceSpec) GetPorts added in v0.9.0

func (x *ServiceSpec) GetPorts() []*ServicePort

func (*ServiceSpec) GetType added in v0.9.0

func (x *ServiceSpec) GetType() ServiceType

func (*ServiceSpec) ProtoMessage added in v0.9.0

func (*ServiceSpec) ProtoMessage()

func (*ServiceSpec) ProtoReflect added in v0.9.0

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

func (*ServiceSpec) Reset added in v0.9.0

func (x *ServiceSpec) Reset()

func (*ServiceSpec) String added in v0.9.0

func (x *ServiceSpec) String() string

type ServiceStatus added in v0.9.0

type ServiceStatus struct {

	// LoadBalancer contains the current status of the load-balancer,
	// if one is present.
	LoadBalancer *LoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer,proto3" json:"loadBalancer,omitempty"`
	// Current service state of service.
	Conditions []*ServiceCondition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

* Declares the most recently observed status of the existing edge cluster service

func (*ServiceStatus) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.

func (*ServiceStatus) GetConditions added in v0.9.0

func (x *ServiceStatus) GetConditions() []*ServiceCondition

func (*ServiceStatus) GetLoadBalancer added in v0.9.0

func (x *ServiceStatus) GetLoadBalancer() *LoadBalancerStatus

func (*ServiceStatus) ProtoMessage added in v0.9.0

func (*ServiceStatus) ProtoMessage()

func (*ServiceStatus) ProtoReflect added in v0.9.0

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

func (*ServiceStatus) Reset added in v0.9.0

func (x *ServiceStatus) Reset()

func (*ServiceStatus) String added in v0.9.0

func (x *ServiceStatus) String() string

type ServiceType added in v0.9.0

type ServiceType int32

*

ServiceType string describes ingress methods for a service
const (
	// ServiceTypeClusterIP means a service will only be accessible inside the
	// cluster, via the cluster IP.
	ServiceType_ServiceTypeClusterIP ServiceType = 0
	// ServiceTypeNodePort means a service will be exposed on one port of
	// every node, in addition to 'ClusterIP' type.
	ServiceType_ServiceTypeNodePort ServiceType = 1
	// ServiceTypeLoadBalancer means a service will be exposed via an
	// external load balancer (if the cloud provider supports it), in addition
	// to 'NodePort' type.
	ServiceType_ServiceTypeLoadBalancer ServiceType = 2
	// ServiceTypeExternalName means a service consists of only a reference to
	// an external name that kubedns or equivalent will return as a CNAME
	// record, with no exposing or proxying of any pods involved.
	ServiceType_ServiceTypeExternalName ServiceType = 3
)

func (ServiceType) Descriptor added in v0.9.0

func (ServiceType) Enum added in v0.9.0

func (x ServiceType) Enum() *ServiceType

func (ServiceType) EnumDescriptor deprecated added in v0.9.0

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

Deprecated: Use ServiceType.Descriptor instead.

func (ServiceType) Number added in v0.9.0

func (x ServiceType) Number() protoreflect.EnumNumber

func (ServiceType) String added in v0.9.0

func (x ServiceType) String() string

func (ServiceType) Type added in v0.9.0

type SortingDirection added in v0.0.10

type SortingDirection int32

* The different sorting direction

const (
	// Indicates result data must be sorted from low to high sequence
	SortingDirection_ASCENDING SortingDirection = 0
	// Indicates result data must be sorted from high to low sequence
	SortingDirection_DESCENDING SortingDirection = 1
)

func (SortingDirection) Descriptor added in v0.1.2

func (SortingDirection) Enum added in v0.1.2

func (SortingDirection) EnumDescriptor deprecated added in v0.0.10

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

Deprecated: Use SortingDirection.Descriptor instead.

func (SortingDirection) Number added in v0.1.2

func (SortingDirection) String added in v0.0.10

func (x SortingDirection) String() string

func (SortingDirection) Type added in v0.1.2

type SortingOptionPair added in v0.0.10

type SortingOptionPair struct {

	// The name of the field on
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// THe sorting direction
	Direction SortingDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=edgecluster.SortingDirection" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

* Defines the pair of values that are used to determine how the result data should be sorted.

func (*SortingOptionPair) Descriptor deprecated added in v0.0.10

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

Deprecated: Use SortingOptionPair.ProtoReflect.Descriptor instead.

func (*SortingOptionPair) GetDirection added in v0.0.10

func (x *SortingOptionPair) GetDirection() SortingDirection

func (*SortingOptionPair) GetName added in v0.0.10

func (x *SortingOptionPair) GetName() string

func (*SortingOptionPair) ProtoMessage added in v0.0.10

func (*SortingOptionPair) ProtoMessage()

func (*SortingOptionPair) ProtoReflect added in v0.1.2

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

func (*SortingOptionPair) Reset added in v0.0.10

func (x *SortingOptionPair) Reset()

func (*SortingOptionPair) String added in v0.0.10

func (x *SortingOptionPair) String() string

type UnimplementedServiceServer added in v0.9.0

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedServiceServer) CreateEdgeCluster added in v0.9.0

func (*UnimplementedServiceServer) DeleteEdgeCluster added in v0.9.0

func (*UnimplementedServiceServer) ListEdgeClusterNodes added in v0.9.0

func (*UnimplementedServiceServer) ListEdgeClusterPods added in v0.9.0

func (*UnimplementedServiceServer) ListEdgeClusterServices added in v0.9.0

func (*UnimplementedServiceServer) ListEdgeClusters added in v0.9.0

func (*UnimplementedServiceServer) ReadEdgeCluster added in v0.9.0

func (*UnimplementedServiceServer) UpdateEdgeCluster added in v0.9.0

type UpdateEdgeClusterRequest

type UpdateEdgeClusterRequest struct {

	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// The edge cluster object contains the updated edge cluster details to update
	EdgeCluster *EdgeCluster `protobuf:"bytes,2,opt,name=edgeCluster,proto3" json:"edgeCluster,omitempty"`
	// contains filtered or unexported fields
}

* Request to update an existing edge cluster

func (*UpdateEdgeClusterRequest) Descriptor deprecated

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

Deprecated: Use UpdateEdgeClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateEdgeClusterRequest) GetEdgeCluster

func (x *UpdateEdgeClusterRequest) GetEdgeCluster() *EdgeCluster

func (*UpdateEdgeClusterRequest) GetEdgeClusterID

func (x *UpdateEdgeClusterRequest) GetEdgeClusterID() string

func (*UpdateEdgeClusterRequest) ProtoMessage

func (*UpdateEdgeClusterRequest) ProtoMessage()

func (*UpdateEdgeClusterRequest) ProtoReflect added in v0.1.2

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

func (*UpdateEdgeClusterRequest) Reset

func (x *UpdateEdgeClusterRequest) Reset()

func (*UpdateEdgeClusterRequest) String

func (x *UpdateEdgeClusterRequest) String() string

type UpdateEdgeClusterResponse

type UpdateEdgeClusterResponse struct {

	// Indicate whether the operation has any error
	Error Error `protobuf:"varint,1,opt,name=error,proto3,enum=edgecluster.Error" json:"error,omitempty"`
	// Contains error message if the operation was unsuccessful
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// The updated edge cluster object
	EdgeCluster *EdgeCluster `protobuf:"bytes,3,opt,name=edgeCluster,proto3" json:"edgeCluster,omitempty"`
	// The cursor defines the position of the edge cluster in the repository that can be later
	// referred to using pagination information
	Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

* Response contains the result of updating an existing edge cluster

func (*UpdateEdgeClusterResponse) Descriptor deprecated

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

Deprecated: Use UpdateEdgeClusterResponse.ProtoReflect.Descriptor instead.

func (*UpdateEdgeClusterResponse) GetCursor added in v0.0.17

func (x *UpdateEdgeClusterResponse) GetCursor() string

func (*UpdateEdgeClusterResponse) GetEdgeCluster added in v0.0.10

func (x *UpdateEdgeClusterResponse) GetEdgeCluster() *EdgeCluster

func (*UpdateEdgeClusterResponse) GetError

func (x *UpdateEdgeClusterResponse) GetError() Error

func (*UpdateEdgeClusterResponse) GetErrorMessage

func (x *UpdateEdgeClusterResponse) GetErrorMessage() string

func (*UpdateEdgeClusterResponse) ProtoMessage

func (*UpdateEdgeClusterResponse) ProtoMessage()

func (*UpdateEdgeClusterResponse) ProtoReflect added in v0.1.2

func (*UpdateEdgeClusterResponse) Reset

func (x *UpdateEdgeClusterResponse) Reset()

func (*UpdateEdgeClusterResponse) String

func (x *UpdateEdgeClusterResponse) String() string

Jump to

Keyboard shortcuts

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