edgecluster

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 8 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 (
	ClusterType_name = map[int32]string{
		0: "K3S",
	}
	ClusterType_value = map[string]int32{
		"K3S": 0,
	}
)

Enum value maps for ClusterType.

View Source
var (
	EdgeClusterStatus_name = map[int32]string{
		0: "Provisioning",
		1: "Ready",
		2: "Deleting",
	}
	EdgeClusterStatus_value = map[string]int32{
		"Provisioning": 0,
		"Ready":        1,
		"Deleting":     2,
	}
)

Enum value maps for EdgeClusterStatus.

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 File_edge_cluster_proto protoreflect.FileDescriptor

Functions

func RegisterEdgeClusterServiceServer

func RegisterEdgeClusterServiceServer(s *grpc.Server, srv EdgeClusterServiceServer)

Types

type ClusterType added in v0.0.24

type ClusterType int32

* The different error 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 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"`
	// The edge cluster provisioning details
	ProvisioningDetail *EdgeClusterProvisioningDetail `protobuf:"bytes,6,opt,name=provisioningDetail,proto3" json:"provisioningDetail,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) GetProvisioningDetail added in v0.0.19

func (x *CreateEdgeClusterResponse) GetProvisioningDetail() *EdgeClusterProvisioningDetail

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 tenant identifier that owns the edge cluster
	TenantID string `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,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 secret value
	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) GetTenantID added in v0.0.10

func (x *EdgeCluster) GetTenantID() 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 EdgeClusterProvisioningDetail added in v0.0.19

type EdgeClusterProvisioningDetail struct {

	// The edge cluster status
	Status EdgeClusterStatus `protobuf:"varint,1,opt,name=status,proto3,enum=edgecluster.EdgeClusterStatus" json:"status,omitempty"`
	// The edge cluster public IP address to connect to
	PublicIPAddress string `protobuf:"bytes,2,opt,name=publicIPAddress,proto3" json:"publicIPAddress,omitempty"`
	// The provisioned edge cluster kubeconfig content
	KubeConfigContent string `protobuf:"bytes,3,opt,name=kubeConfigContent,proto3" json:"kubeConfigContent,omitempty"`
	// contains filtered or unexported fields
}

* The edge cluster provisioning details contains details such as current status of the edge cluster as well as the public IP address of the cluster to connect to

func (*EdgeClusterProvisioningDetail) Descriptor deprecated added in v0.0.19

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

Deprecated: Use EdgeClusterProvisioningDetail.ProtoReflect.Descriptor instead.

func (*EdgeClusterProvisioningDetail) GetKubeConfigContent added in v0.0.19

func (x *EdgeClusterProvisioningDetail) GetKubeConfigContent() string

func (*EdgeClusterProvisioningDetail) GetPublicIPAddress added in v0.0.19

func (x *EdgeClusterProvisioningDetail) GetPublicIPAddress() string

func (*EdgeClusterProvisioningDetail) GetStatus added in v0.0.19

func (*EdgeClusterProvisioningDetail) ProtoMessage added in v0.0.19

func (*EdgeClusterProvisioningDetail) ProtoMessage()

func (*EdgeClusterProvisioningDetail) ProtoReflect added in v0.1.2

func (*EdgeClusterProvisioningDetail) Reset added in v0.0.19

func (x *EdgeClusterProvisioningDetail) Reset()

func (*EdgeClusterProvisioningDetail) String added in v0.0.19

type EdgeClusterServiceClient

type EdgeClusterServiceClient 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 exiting 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 exiting 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 exiting edge cluster
	DeleteEdgeCluster(ctx context.Context, in *DeleteEdgeClusterRequest, opts ...grpc.CallOption) (*DeleteEdgeClusterResponse, error)
	// Search 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
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
}

EdgeClusterServiceClient is the client API for EdgeClusterService service.

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

type EdgeClusterServiceServer

type EdgeClusterServiceServer 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 exiting 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 exiting 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 exiting edge cluster
	DeleteEdgeCluster(context.Context, *DeleteEdgeClusterRequest) (*DeleteEdgeClusterResponse, error)
	// Search 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
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
}

EdgeClusterServiceServer is the server API for EdgeClusterService service.

type EdgeClusterStatus added in v0.0.19

type EdgeClusterStatus int32

* The different edge cluster status

const (
	// Indicates that the edge cluster is still being provisioned and it is not ready to use yet
	EdgeClusterStatus_Provisioning EdgeClusterStatus = 0
	// Indicates that the edge cluster is ready to use
	EdgeClusterStatus_Ready EdgeClusterStatus = 1
	// Indicates that the edge cluster is being deleted
	EdgeClusterStatus_Deleting EdgeClusterStatus = 2
)

func (EdgeClusterStatus) Descriptor added in v0.1.2

func (EdgeClusterStatus) Enum added in v0.1.2

func (EdgeClusterStatus) EnumDescriptor deprecated added in v0.0.19

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

Deprecated: Use EdgeClusterStatus.Descriptor instead.

func (EdgeClusterStatus) Number added in v0.1.2

func (EdgeClusterStatus) String added in v0.0.19

func (x EdgeClusterStatus) String() string

func (EdgeClusterStatus) Type added in v0.1.2

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 provisioning details
	ProvisioningDetail *EdgeClusterProvisioningDetail `protobuf:"bytes,4,opt,name=provisioningDetail,proto3" json:"provisioningDetail,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) GetProvisioningDetail added in v0.0.21

func (x *EdgeClusterWithCursor) GetProvisioningDetail() *EdgeClusterProvisioningDetail

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 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 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 provisioning details
	ProvisioningDetail *EdgeClusterProvisioningDetail `protobuf:"bytes,6,opt,name=provisioningDetail,proto3" json:"provisioningDetail,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) GetProvisioningDetail added in v0.0.19

func (x *ReadEdgeClusterResponse) GetProvisioningDetail() *EdgeClusterProvisioningDetail

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

type SearchRequest 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 tenant identifiers
	TenantIDs []string `protobuf:"bytes,4,rep,name=tenantIDs,proto3" json:"tenantIDs,omitempty"`
	// contains filtered or unexported fields
}

* Request to search for edge clusters

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

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetEdgeClusterIDs added in v0.0.10

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

func (*SearchRequest) GetPagination added in v0.0.10

func (x *SearchRequest) GetPagination() *Pagination

func (*SearchRequest) GetSortingOptions added in v0.0.10

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

func (*SearchRequest) GetTenantIDs added in v0.0.10

func (x *SearchRequest) GetTenantIDs() []string

func (*SearchRequest) ProtoMessage added in v0.0.10

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect added in v0.1.2

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

func (*SearchRequest) Reset added in v0.0.10

func (x *SearchRequest) Reset()

func (*SearchRequest) String added in v0.0.10

func (x *SearchRequest) String() string

type SearchResponse added in v0.0.10

type SearchResponse 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 (*SearchResponse) Descriptor deprecated added in v0.0.10

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

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetEdgeClusters added in v0.0.10

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

func (*SearchResponse) GetError added in v0.0.10

func (x *SearchResponse) GetError() Error

func (*SearchResponse) GetErrorMessage added in v0.0.10

func (x *SearchResponse) GetErrorMessage() string

func (*SearchResponse) GetHasNextPage added in v0.0.10

func (x *SearchResponse) GetHasNextPage() bool

func (*SearchResponse) GetHasPreviousPage added in v0.0.10

func (x *SearchResponse) GetHasPreviousPage() bool

func (*SearchResponse) GetTotalCount added in v0.0.14

func (x *SearchResponse) GetTotalCount() int64

func (*SearchResponse) ProtoMessage added in v0.0.10

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect added in v0.1.2

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

func (*SearchResponse) Reset added in v0.0.10

func (x *SearchResponse) Reset()

func (*SearchResponse) String added in v0.0.10

func (x *SearchResponse) String() string

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 UnimplementedEdgeClusterServiceServer

type UnimplementedEdgeClusterServiceServer struct {
}

UnimplementedEdgeClusterServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEdgeClusterServiceServer) CreateEdgeCluster

func (*UnimplementedEdgeClusterServiceServer) DeleteEdgeCluster

func (*UnimplementedEdgeClusterServiceServer) ReadEdgeCluster

func (*UnimplementedEdgeClusterServiceServer) Search added in v0.0.10

func (*UnimplementedEdgeClusterServiceServer) UpdateEdgeCluster

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"`
	// The edge cluster provisioning details
	ProvisioningDetail *EdgeClusterProvisioningDetail `protobuf:"bytes,6,opt,name=provisioningDetail,proto3" json:"provisioningDetail,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) GetProvisioningDetail added in v0.0.19

func (x *UpdateEdgeClusterResponse) GetProvisioningDetail() *EdgeClusterProvisioningDetail

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