edgecluster

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0 Imports: 7 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",
}
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,
}

Functions

func RegisterEdgeClusterServiceServer

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

Types

type CreateEdgeClusterRequest

type CreateEdgeClusterRequest struct {
	// The unique tenant identifier
	TenantID string `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	// The edge cluster object
	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 create a new edge cluster

func (*CreateEdgeClusterRequest) Descriptor

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

func (*CreateEdgeClusterRequest) GetEdgeCluster

func (m *CreateEdgeClusterRequest) GetEdgeCluster() *EdgeCluster

func (*CreateEdgeClusterRequest) GetTenantID

func (m *CreateEdgeClusterRequest) GetTenantID() string

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"`
	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) GetEdgeClusterID

func (m *CreateEdgeClusterResponse) GetEdgeClusterID() string

func (*CreateEdgeClusterResponse) GetError

func (m *CreateEdgeClusterResponse) GetError() Error

func (*CreateEdgeClusterResponse) GetErrorMessage

func (m *CreateEdgeClusterResponse) GetErrorMessage() string

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 tenant identifier
	TenantID string `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	// The unique edge cluster identifier
	EdgeClusterID        string   `protobuf:"bytes,2,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) GetTenantID

func (m *DeleteEdgeClusterRequest) GetTenantID() 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 edge cluster name
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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) GetName

func (m *EdgeCluster) GetName() 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 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)
}

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

EdgeClusterServiceServer is the server API for EdgeClusterService service.

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 ReadEdgeClusterRequest

type ReadEdgeClusterRequest struct {
	// The unique tenant identifier
	TenantID string `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	// The unique edge cluster identifier
	EdgeClusterID        string   `protobuf:"bytes,2,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) GetTenantID

func (m *ReadEdgeClusterRequest) GetTenantID() 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"`
	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) 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 UnimplementedEdgeClusterServiceServer

type UnimplementedEdgeClusterServiceServer struct {
}

UnimplementedEdgeClusterServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEdgeClusterServiceServer) CreateEdgeCluster

func (*UnimplementedEdgeClusterServiceServer) DeleteEdgeCluster

func (*UnimplementedEdgeClusterServiceServer) ReadEdgeCluster

func (*UnimplementedEdgeClusterServiceServer) UpdateEdgeCluster

type UpdateEdgeClusterRequest

type UpdateEdgeClusterRequest struct {
	// The unique tenant identifier
	TenantID string `protobuf:"bytes,1,opt,name=tenantID,proto3" json:"tenantID,omitempty"`
	// The unique edge cluster identifier
	EdgeClusterID string `protobuf:"bytes,2,opt,name=edgeClusterID,proto3" json:"edgeClusterID,omitempty"`
	// The edge cluster object contains the updated edge cluster details to update
	EdgeCluster          *EdgeCluster `protobuf:"bytes,3,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) GetTenantID

func (m *UpdateEdgeClusterRequest) GetTenantID() 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"`
	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) GetError

func (m *UpdateEdgeClusterResponse) GetError() Error

func (*UpdateEdgeClusterResponse) GetErrorMessage

func (m *UpdateEdgeClusterResponse) GetErrorMessage() string

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