edgecluster

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EdgeClusterStatus_name = map[int32]string{
	0: "Provisioning",
	1: "Ready",
	2: "Deleting",
}
View Source
var EdgeClusterStatus_value = map[string]int32{
	"Provisioning": 0,
	"Ready":        1,
	"Deleting":     2,
}
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",
}
View Source
var Error_value = map[string]int32{
	"NO_ERROR":                    0,
	"UNKNOWN":                     1,
	"EDGE_CLUSTER_ALREADY_EXISTS": 2,
	"EDGE_CLUSTER_NOT_FOUND":      3,
	"BAD_REQUEST":                 4,
}
View Source
var SortingDirection_name = map[int32]string{
	0: "ASCENDING",
	1: "DESCENDING",
}
View Source
var SortingDirection_value = map[string]int32{
	"ASCENDING":  0,
	"DESCENDING": 1,
}

Functions

func RegisterEdgeClusterServiceServer

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

Types

type CreateEdgeClusterRequest

type CreateEdgeClusterRequest struct {
	// The edge cluster object
	EdgeCluster          *EdgeCluster `protobuf:"bytes,1,opt,name=edgeCluster,proto3" json:"edgeCluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

* Request to create a new edge cluster

func (*CreateEdgeClusterRequest) Descriptor

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

func (*CreateEdgeClusterRequest) GetEdgeCluster

func (m *CreateEdgeClusterRequest) GetEdgeCluster() *EdgeCluster

func (*CreateEdgeClusterRequest) ProtoMessage

func (*CreateEdgeClusterRequest) ProtoMessage()

func (*CreateEdgeClusterRequest) Reset

func (m *CreateEdgeClusterRequest) Reset()

func (*CreateEdgeClusterRequest) String

func (m *CreateEdgeClusterRequest) String() string

func (*CreateEdgeClusterRequest) XXX_DiscardUnknown

func (m *CreateEdgeClusterRequest) XXX_DiscardUnknown()

func (*CreateEdgeClusterRequest) XXX_Marshal

func (m *CreateEdgeClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEdgeClusterRequest) XXX_Merge

func (m *CreateEdgeClusterRequest) XXX_Merge(src proto.Message)

func (*CreateEdgeClusterRequest) XXX_Size

func (m *CreateEdgeClusterRequest) XXX_Size() int

func (*CreateEdgeClusterRequest) XXX_Unmarshal

func (m *CreateEdgeClusterRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

* Response contains the result of creating a new edge cluster

func (*CreateEdgeClusterResponse) Descriptor

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

func (*CreateEdgeClusterResponse) GetCursor added in v0.0.17

func (m *CreateEdgeClusterResponse) GetCursor() string

func (*CreateEdgeClusterResponse) GetEdgeCluster added in v0.0.10

func (m *CreateEdgeClusterResponse) GetEdgeCluster() *EdgeCluster

func (*CreateEdgeClusterResponse) GetEdgeClusterID

func (m *CreateEdgeClusterResponse) GetEdgeClusterID() string

func (*CreateEdgeClusterResponse) GetError

func (m *CreateEdgeClusterResponse) GetError() Error

func (*CreateEdgeClusterResponse) GetErrorMessage

func (m *CreateEdgeClusterResponse) GetErrorMessage() string

func (*CreateEdgeClusterResponse) GetProvisioningDetail added in v0.0.19

func (m *CreateEdgeClusterResponse) GetProvisioningDetail() *EdgeClusterProvisioningDetail

func (*CreateEdgeClusterResponse) ProtoMessage

func (*CreateEdgeClusterResponse) ProtoMessage()

func (*CreateEdgeClusterResponse) Reset

func (m *CreateEdgeClusterResponse) Reset()

func (*CreateEdgeClusterResponse) String

func (m *CreateEdgeClusterResponse) String() string

func (*CreateEdgeClusterResponse) XXX_DiscardUnknown

func (m *CreateEdgeClusterResponse) XXX_DiscardUnknown()

func (*CreateEdgeClusterResponse) XXX_Marshal

func (m *CreateEdgeClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEdgeClusterResponse) XXX_Merge

func (m *CreateEdgeClusterResponse) XXX_Merge(src proto.Message)

func (*CreateEdgeClusterResponse) XXX_Size

func (m *CreateEdgeClusterResponse) XXX_Size() int

func (*CreateEdgeClusterResponse) XXX_Unmarshal

func (m *CreateEdgeClusterResponse) XXX_Unmarshal(b []byte) error

type DeleteEdgeClusterRequest

type DeleteEdgeClusterRequest struct {
	// The unique edge cluster identifier
	EdgeClusterID        string   `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request to delete an existing edge cluster

func (*DeleteEdgeClusterRequest) Descriptor

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

func (*DeleteEdgeClusterRequest) GetEdgeClusterID

func (m *DeleteEdgeClusterRequest) GetEdgeClusterID() string

func (*DeleteEdgeClusterRequest) ProtoMessage

func (*DeleteEdgeClusterRequest) ProtoMessage()

func (*DeleteEdgeClusterRequest) Reset

func (m *DeleteEdgeClusterRequest) Reset()

func (*DeleteEdgeClusterRequest) String

func (m *DeleteEdgeClusterRequest) String() string

func (*DeleteEdgeClusterRequest) XXX_DiscardUnknown

func (m *DeleteEdgeClusterRequest) XXX_DiscardUnknown()

func (*DeleteEdgeClusterRequest) XXX_Marshal

func (m *DeleteEdgeClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteEdgeClusterRequest) XXX_Merge

func (m *DeleteEdgeClusterRequest) XXX_Merge(src proto.Message)

func (*DeleteEdgeClusterRequest) XXX_Size

func (m *DeleteEdgeClusterRequest) XXX_Size() int

func (*DeleteEdgeClusterRequest) XXX_Unmarshal

func (m *DeleteEdgeClusterRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response contains the result of deleting an existing edge cluster

func (*DeleteEdgeClusterResponse) Descriptor

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

func (*DeleteEdgeClusterResponse) GetError

func (m *DeleteEdgeClusterResponse) GetError() Error

func (*DeleteEdgeClusterResponse) GetErrorMessage

func (m *DeleteEdgeClusterResponse) GetErrorMessage() string

func (*DeleteEdgeClusterResponse) ProtoMessage

func (*DeleteEdgeClusterResponse) ProtoMessage()

func (*DeleteEdgeClusterResponse) Reset

func (m *DeleteEdgeClusterResponse) Reset()

func (*DeleteEdgeClusterResponse) String

func (m *DeleteEdgeClusterResponse) String() string

func (*DeleteEdgeClusterResponse) XXX_DiscardUnknown

func (m *DeleteEdgeClusterResponse) XXX_DiscardUnknown()

func (*DeleteEdgeClusterResponse) XXX_Marshal

func (m *DeleteEdgeClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteEdgeClusterResponse) XXX_Merge

func (m *DeleteEdgeClusterResponse) XXX_Merge(src proto.Message)

func (*DeleteEdgeClusterResponse) XXX_Size

func (m *DeleteEdgeClusterResponse) XXX_Size() int

func (*DeleteEdgeClusterResponse) XXX_Unmarshal

func (m *DeleteEdgeClusterResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* The edge cluster object

func (*EdgeCluster) Descriptor

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

func (*EdgeCluster) GetClusterSecret added in v0.0.20

func (m *EdgeCluster) GetClusterSecret() string

func (*EdgeCluster) GetName

func (m *EdgeCluster) GetName() string

func (*EdgeCluster) GetTenantID added in v0.0.10

func (m *EdgeCluster) GetTenantID() string

func (*EdgeCluster) ProtoMessage

func (*EdgeCluster) ProtoMessage()

func (*EdgeCluster) Reset

func (m *EdgeCluster) Reset()

func (*EdgeCluster) String

func (m *EdgeCluster) String() string

func (*EdgeCluster) XXX_DiscardUnknown

func (m *EdgeCluster) XXX_DiscardUnknown()

func (*EdgeCluster) XXX_Marshal

func (m *EdgeCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EdgeCluster) XXX_Merge

func (m *EdgeCluster) XXX_Merge(src proto.Message)

func (*EdgeCluster) XXX_Size

func (m *EdgeCluster) XXX_Size() int

func (*EdgeCluster) XXX_Unmarshal

func (m *EdgeCluster) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*EdgeClusterProvisioningDetail) GetKubeConfigContent added in v0.0.19

func (m *EdgeClusterProvisioningDetail) GetKubeConfigContent() string

func (*EdgeClusterProvisioningDetail) GetPublicIPAddress added in v0.0.19

func (m *EdgeClusterProvisioningDetail) GetPublicIPAddress() string

func (*EdgeClusterProvisioningDetail) GetStatus added in v0.0.19

func (*EdgeClusterProvisioningDetail) ProtoMessage added in v0.0.19

func (*EdgeClusterProvisioningDetail) ProtoMessage()

func (*EdgeClusterProvisioningDetail) Reset added in v0.0.19

func (m *EdgeClusterProvisioningDetail) Reset()

func (*EdgeClusterProvisioningDetail) String added in v0.0.19

func (*EdgeClusterProvisioningDetail) XXX_DiscardUnknown added in v0.0.19

func (m *EdgeClusterProvisioningDetail) XXX_DiscardUnknown()

func (*EdgeClusterProvisioningDetail) XXX_Marshal added in v0.0.19

func (m *EdgeClusterProvisioningDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EdgeClusterProvisioningDetail) XXX_Merge added in v0.0.19

func (m *EdgeClusterProvisioningDetail) XXX_Merge(src proto.Message)

func (*EdgeClusterProvisioningDetail) XXX_Size added in v0.0.19

func (m *EdgeClusterProvisioningDetail) XXX_Size() int

func (*EdgeClusterProvisioningDetail) XXX_Unmarshal added in v0.0.19

func (m *EdgeClusterProvisioningDetail) XXX_Unmarshal(b []byte) error

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.

func NewEdgeClusterServiceClient

func NewEdgeClusterServiceClient(cc *grpc.ClientConn) EdgeClusterServiceClient

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) EnumDescriptor added in v0.0.19

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

func (EdgeClusterStatus) String added in v0.0.19

func (x EdgeClusterStatus) 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 provisioning details
	ProvisioningDetail   *EdgeClusterProvisioningDetail `protobuf:"bytes,4,opt,name=provisioningDetail,proto3" json:"provisioningDetail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

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

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

func (*EdgeClusterWithCursor) GetCursor added in v0.0.10

func (m *EdgeClusterWithCursor) GetCursor() string

func (*EdgeClusterWithCursor) GetEdgeCluster added in v0.0.15

func (m *EdgeClusterWithCursor) GetEdgeCluster() *EdgeCluster

func (*EdgeClusterWithCursor) GetEdgeClusterID added in v0.0.10

func (m *EdgeClusterWithCursor) GetEdgeClusterID() string

func (*EdgeClusterWithCursor) GetProvisioningDetail added in v0.0.21

func (m *EdgeClusterWithCursor) GetProvisioningDetail() *EdgeClusterProvisioningDetail

func (*EdgeClusterWithCursor) ProtoMessage added in v0.0.10

func (*EdgeClusterWithCursor) ProtoMessage()

func (*EdgeClusterWithCursor) Reset added in v0.0.10

func (m *EdgeClusterWithCursor) Reset()

func (*EdgeClusterWithCursor) String added in v0.0.10

func (m *EdgeClusterWithCursor) String() string

func (*EdgeClusterWithCursor) XXX_DiscardUnknown added in v0.0.10

func (m *EdgeClusterWithCursor) XXX_DiscardUnknown()

func (*EdgeClusterWithCursor) XXX_Marshal added in v0.0.10

func (m *EdgeClusterWithCursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EdgeClusterWithCursor) XXX_Merge added in v0.0.10

func (m *EdgeClusterWithCursor) XXX_Merge(src proto.Message)

func (*EdgeClusterWithCursor) XXX_Size added in v0.0.10

func (m *EdgeClusterWithCursor) XXX_Size() int

func (*EdgeClusterWithCursor) XXX_Unmarshal added in v0.0.10

func (m *EdgeClusterWithCursor) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Error) String

func (x Error) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Pagination) Descriptor added in v0.0.10

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

func (*Pagination) GetAfter added in v0.0.10

func (m *Pagination) GetAfter() string

func (*Pagination) GetBefore added in v0.0.10

func (m *Pagination) GetBefore() string

func (*Pagination) GetFirst added in v0.0.10

func (m *Pagination) GetFirst() int32

func (*Pagination) GetHasAfter added in v0.0.14

func (m *Pagination) GetHasAfter() bool

func (*Pagination) GetHasBefore added in v0.0.14

func (m *Pagination) GetHasBefore() bool

func (*Pagination) GetHasFirst added in v0.0.14

func (m *Pagination) GetHasFirst() bool

func (*Pagination) GetHasLast added in v0.0.14

func (m *Pagination) GetHasLast() bool

func (*Pagination) GetLast added in v0.0.10

func (m *Pagination) GetLast() int32

func (*Pagination) ProtoMessage added in v0.0.10

func (*Pagination) ProtoMessage()

func (*Pagination) Reset added in v0.0.10

func (m *Pagination) Reset()

func (*Pagination) String added in v0.0.10

func (m *Pagination) String() string

func (*Pagination) XXX_DiscardUnknown added in v0.0.10

func (m *Pagination) XXX_DiscardUnknown()

func (*Pagination) XXX_Marshal added in v0.0.10

func (m *Pagination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pagination) XXX_Merge added in v0.0.10

func (m *Pagination) XXX_Merge(src proto.Message)

func (*Pagination) XXX_Size added in v0.0.10

func (m *Pagination) XXX_Size() int

func (*Pagination) XXX_Unmarshal added in v0.0.10

func (m *Pagination) XXX_Unmarshal(b []byte) error

type ReadEdgeClusterRequest

type ReadEdgeClusterRequest struct {
	// The unique edge cluster identifier
	EdgeClusterID        string   `protobuf:"bytes,1,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request to read an existing edge cluster

func (*ReadEdgeClusterRequest) Descriptor

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

func (*ReadEdgeClusterRequest) GetEdgeClusterID

func (m *ReadEdgeClusterRequest) GetEdgeClusterID() string

func (*ReadEdgeClusterRequest) ProtoMessage

func (*ReadEdgeClusterRequest) ProtoMessage()

func (*ReadEdgeClusterRequest) Reset

func (m *ReadEdgeClusterRequest) Reset()

func (*ReadEdgeClusterRequest) String

func (m *ReadEdgeClusterRequest) String() string

func (*ReadEdgeClusterRequest) XXX_DiscardUnknown

func (m *ReadEdgeClusterRequest) XXX_DiscardUnknown()

func (*ReadEdgeClusterRequest) XXX_Marshal

func (m *ReadEdgeClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadEdgeClusterRequest) XXX_Merge

func (m *ReadEdgeClusterRequest) XXX_Merge(src proto.Message)

func (*ReadEdgeClusterRequest) XXX_Size

func (m *ReadEdgeClusterRequest) XXX_Size() int

func (*ReadEdgeClusterRequest) XXX_Unmarshal

func (m *ReadEdgeClusterRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

* Response contains the result of reading an existing edge cluster

func (*ReadEdgeClusterResponse) Descriptor

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

func (*ReadEdgeClusterResponse) GetEdgeCluster

func (m *ReadEdgeClusterResponse) GetEdgeCluster() *EdgeCluster

func (*ReadEdgeClusterResponse) GetError

func (m *ReadEdgeClusterResponse) GetError() Error

func (*ReadEdgeClusterResponse) GetErrorMessage

func (m *ReadEdgeClusterResponse) GetErrorMessage() string

func (*ReadEdgeClusterResponse) GetProvisioningDetail added in v0.0.19

func (m *ReadEdgeClusterResponse) GetProvisioningDetail() *EdgeClusterProvisioningDetail

func (*ReadEdgeClusterResponse) ProtoMessage

func (*ReadEdgeClusterResponse) ProtoMessage()

func (*ReadEdgeClusterResponse) Reset

func (m *ReadEdgeClusterResponse) Reset()

func (*ReadEdgeClusterResponse) String

func (m *ReadEdgeClusterResponse) String() string

func (*ReadEdgeClusterResponse) XXX_DiscardUnknown

func (m *ReadEdgeClusterResponse) XXX_DiscardUnknown()

func (*ReadEdgeClusterResponse) XXX_Marshal

func (m *ReadEdgeClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadEdgeClusterResponse) XXX_Merge

func (m *ReadEdgeClusterResponse) XXX_Merge(src proto.Message)

func (*ReadEdgeClusterResponse) XXX_Size

func (m *ReadEdgeClusterResponse) XXX_Size() int

func (*ReadEdgeClusterResponse) XXX_Unmarshal

func (m *ReadEdgeClusterResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request to search for edge clusters

func (*SearchRequest) Descriptor added in v0.0.10

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

func (*SearchRequest) GetEdgeClusterIDs added in v0.0.10

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

func (*SearchRequest) GetPagination added in v0.0.10

func (m *SearchRequest) GetPagination() *Pagination

func (*SearchRequest) GetSortingOptions added in v0.0.10

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

func (*SearchRequest) GetTenantIDs added in v0.0.10

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

func (*SearchRequest) ProtoMessage added in v0.0.10

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) Reset added in v0.0.10

func (m *SearchRequest) Reset()

func (*SearchRequest) String added in v0.0.10

func (m *SearchRequest) String() string

func (*SearchRequest) XXX_DiscardUnknown added in v0.0.10

func (m *SearchRequest) XXX_DiscardUnknown()

func (*SearchRequest) XXX_Marshal added in v0.0.10

func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchRequest) XXX_Merge added in v0.0.10

func (m *SearchRequest) XXX_Merge(src proto.Message)

func (*SearchRequest) XXX_Size added in v0.0.10

func (m *SearchRequest) XXX_Size() int

func (*SearchRequest) XXX_Unmarshal added in v0.0.10

func (m *SearchRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

* Response contains the result of searching for edge clusters

func (*SearchResponse) Descriptor added in v0.0.10

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

func (*SearchResponse) GetEdgeClusters added in v0.0.10

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

func (*SearchResponse) GetError added in v0.0.10

func (m *SearchResponse) GetError() Error

func (*SearchResponse) GetErrorMessage added in v0.0.10

func (m *SearchResponse) GetErrorMessage() string

func (*SearchResponse) GetHasNextPage added in v0.0.10

func (m *SearchResponse) GetHasNextPage() bool

func (*SearchResponse) GetHasPreviousPage added in v0.0.10

func (m *SearchResponse) GetHasPreviousPage() bool

func (*SearchResponse) GetTotalCount added in v0.0.14

func (m *SearchResponse) GetTotalCount() int64

func (*SearchResponse) ProtoMessage added in v0.0.10

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) Reset added in v0.0.10

func (m *SearchResponse) Reset()

func (*SearchResponse) String added in v0.0.10

func (m *SearchResponse) String() string

func (*SearchResponse) XXX_DiscardUnknown added in v0.0.10

func (m *SearchResponse) XXX_DiscardUnknown()

func (*SearchResponse) XXX_Marshal added in v0.0.10

func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchResponse) XXX_Merge added in v0.0.10

func (m *SearchResponse) XXX_Merge(src proto.Message)

func (*SearchResponse) XXX_Size added in v0.0.10

func (m *SearchResponse) XXX_Size() int

func (*SearchResponse) XXX_Unmarshal added in v0.0.10

func (m *SearchResponse) XXX_Unmarshal(b []byte) error

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

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

func (SortingDirection) String added in v0.0.10

func (x SortingDirection) String() string

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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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

func (*SortingOptionPair) Descriptor added in v0.0.10

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

func (*SortingOptionPair) GetDirection added in v0.0.10

func (m *SortingOptionPair) GetDirection() SortingDirection

func (*SortingOptionPair) GetName added in v0.0.10

func (m *SortingOptionPair) GetName() string

func (*SortingOptionPair) ProtoMessage added in v0.0.10

func (*SortingOptionPair) ProtoMessage()

func (*SortingOptionPair) Reset added in v0.0.10

func (m *SortingOptionPair) Reset()

func (*SortingOptionPair) String added in v0.0.10

func (m *SortingOptionPair) String() string

func (*SortingOptionPair) XXX_DiscardUnknown added in v0.0.10

func (m *SortingOptionPair) XXX_DiscardUnknown()

func (*SortingOptionPair) XXX_Marshal added in v0.0.10

func (m *SortingOptionPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SortingOptionPair) XXX_Merge added in v0.0.10

func (m *SortingOptionPair) XXX_Merge(src proto.Message)

func (*SortingOptionPair) XXX_Size added in v0.0.10

func (m *SortingOptionPair) XXX_Size() int

func (*SortingOptionPair) XXX_Unmarshal added in v0.0.10

func (m *SortingOptionPair) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

* Request to update an existing edge cluster

func (*UpdateEdgeClusterRequest) Descriptor

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

func (*UpdateEdgeClusterRequest) GetEdgeCluster

func (m *UpdateEdgeClusterRequest) GetEdgeCluster() *EdgeCluster

func (*UpdateEdgeClusterRequest) GetEdgeClusterID

func (m *UpdateEdgeClusterRequest) GetEdgeClusterID() string

func (*UpdateEdgeClusterRequest) ProtoMessage

func (*UpdateEdgeClusterRequest) ProtoMessage()

func (*UpdateEdgeClusterRequest) Reset

func (m *UpdateEdgeClusterRequest) Reset()

func (*UpdateEdgeClusterRequest) String

func (m *UpdateEdgeClusterRequest) String() string

func (*UpdateEdgeClusterRequest) XXX_DiscardUnknown

func (m *UpdateEdgeClusterRequest) XXX_DiscardUnknown()

func (*UpdateEdgeClusterRequest) XXX_Marshal

func (m *UpdateEdgeClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateEdgeClusterRequest) XXX_Merge

func (m *UpdateEdgeClusterRequest) XXX_Merge(src proto.Message)

func (*UpdateEdgeClusterRequest) XXX_Size

func (m *UpdateEdgeClusterRequest) XXX_Size() int

func (*UpdateEdgeClusterRequest) XXX_Unmarshal

func (m *UpdateEdgeClusterRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

* Response contains the result of updating an existing edge cluster

func (*UpdateEdgeClusterResponse) Descriptor

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

func (*UpdateEdgeClusterResponse) GetCursor added in v0.0.17

func (m *UpdateEdgeClusterResponse) GetCursor() string

func (*UpdateEdgeClusterResponse) GetEdgeCluster added in v0.0.10

func (m *UpdateEdgeClusterResponse) GetEdgeCluster() *EdgeCluster

func (*UpdateEdgeClusterResponse) GetError

func (m *UpdateEdgeClusterResponse) GetError() Error

func (*UpdateEdgeClusterResponse) GetErrorMessage

func (m *UpdateEdgeClusterResponse) GetErrorMessage() string

func (*UpdateEdgeClusterResponse) GetProvisioningDetail added in v0.0.19

func (m *UpdateEdgeClusterResponse) GetProvisioningDetail() *EdgeClusterProvisioningDetail

func (*UpdateEdgeClusterResponse) ProtoMessage

func (*UpdateEdgeClusterResponse) ProtoMessage()

func (*UpdateEdgeClusterResponse) Reset

func (m *UpdateEdgeClusterResponse) Reset()

func (*UpdateEdgeClusterResponse) String

func (m *UpdateEdgeClusterResponse) String() string

func (*UpdateEdgeClusterResponse) XXX_DiscardUnknown

func (m *UpdateEdgeClusterResponse) XXX_DiscardUnknown()

func (*UpdateEdgeClusterResponse) XXX_Marshal

func (m *UpdateEdgeClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateEdgeClusterResponse) XXX_Merge

func (m *UpdateEdgeClusterResponse) XXX_Merge(src proto.Message)

func (*UpdateEdgeClusterResponse) XXX_Size

func (m *UpdateEdgeClusterResponse) XXX_Size() int

func (*UpdateEdgeClusterResponse) XXX_Unmarshal

func (m *UpdateEdgeClusterResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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