license

package
v2.7.0-nightly.20230526 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDuplicateClusterID is thrown when a cluster is registered but the ID already exists
	ErrDuplicateClusterID = status.Error(codes.Unimplemented, "cluster ID is not unique")

	// ErrInvalidIDOrSecret is thrown when the provided cluster ID or secret is not valid
	ErrInvalidIDOrSecret = status.Error(codes.Unimplemented, "cluster ID or secret is not valid")

	// ErrNotActivated is thrown when a cluster does not have an enterprise key activated
	ErrNotActivated = status.Error(codes.Unimplemented, "cluster does not have enterprise features enabled")
)
View Source
var (
	ErrInvalidLengthLicense        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLicense          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLicense = fmt.Errorf("proto: unexpected end of group")
)

Functions

func IsErrDuplicateClusterID

func IsErrDuplicateClusterID(err error) bool

IsErrDuplicateClusterID checks if an error is an ErrDuplicateClusterID

func IsErrInvalidIDOrSecret

func IsErrInvalidIDOrSecret(err error) bool

IsErrInvalidIDOrSecret checks if an error is an ErrInvalidIDOrSecret

func IsErrNotActivated

func IsErrNotActivated(err error) bool

IsErrNotActivated checks if an error is an ErrNotActivated

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type APIClient

type APIClient interface {
	// Activate enables the license service by setting the enterprise activation
	// code to serve.
	Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error)
	GetActivationCode(ctx context.Context, in *GetActivationCodeRequest, opts ...grpc.CallOption) (*GetActivationCodeResponse, error)
	// DeleteAll deactivates the server and removes all data.
	DeleteAll(ctx context.Context, in *DeleteAllRequest, opts ...grpc.CallOption) (*DeleteAllResponse, error)
	// CRUD operations for the pachds registered with this server.
	AddCluster(ctx context.Context, in *AddClusterRequest, opts ...grpc.CallOption) (*AddClusterResponse, error)
	DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*DeleteClusterResponse, error)
	ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*UpdateClusterResponse, error)
	// Heartbeat is the RPC registered pachds make to the license server
	// to communicate their status and fetch updates.
	Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)
	// Lists all clusters available to user
	ListUserClusters(ctx context.Context, in *ListUserClustersRequest, opts ...grpc.CallOption) (*ListUserClustersResponse, error)
}

APIClient is the client API for API service.

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

func NewAPIClient

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer

type APIServer interface {
	// Activate enables the license service by setting the enterprise activation
	// code to serve.
	Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
	GetActivationCode(context.Context, *GetActivationCodeRequest) (*GetActivationCodeResponse, error)
	// DeleteAll deactivates the server and removes all data.
	DeleteAll(context.Context, *DeleteAllRequest) (*DeleteAllResponse, error)
	// CRUD operations for the pachds registered with this server.
	AddCluster(context.Context, *AddClusterRequest) (*AddClusterResponse, error)
	DeleteCluster(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
	ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	UpdateCluster(context.Context, *UpdateClusterRequest) (*UpdateClusterResponse, error)
	// Heartbeat is the RPC registered pachds make to the license server
	// to communicate their status and fetch updates.
	Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
	// Lists all clusters available to user
	ListUserClusters(context.Context, *ListUserClustersRequest) (*ListUserClustersResponse, error)
}

APIServer is the server API for API service.

type ActivateRequest

type ActivateRequest struct {
	// activation_code is a Pachyderm enterprise activation code. New users can
	// obtain trial activation codes
	ActivationCode string `protobuf:"bytes,1,opt,name=activation_code,json=activationCode,proto3" json:"activation_code,omitempty"`
	// expires is a timestamp indicating when this activation code will expire.
	// This should not generally be set (it's primarily used for testing), and is
	// only applied if it's earlier than the signed expiration time in
	// 'activation_code'.
	Expires              *types.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ActivateRequest) Descriptor

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

func (*ActivateRequest) GetActivationCode

func (m *ActivateRequest) GetActivationCode() string

func (*ActivateRequest) GetExpires

func (m *ActivateRequest) GetExpires() *types.Timestamp

func (*ActivateRequest) Marshal

func (m *ActivateRequest) Marshal() (dAtA []byte, err error)

func (*ActivateRequest) MarshalLogObject

func (x *ActivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ActivateRequest) MarshalTo

func (m *ActivateRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActivateRequest) MarshalToSizedBuffer

func (m *ActivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivateRequest) ProtoMessage

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) Reset

func (m *ActivateRequest) Reset()

func (*ActivateRequest) Size

func (m *ActivateRequest) Size() (n int)

func (*ActivateRequest) String

func (m *ActivateRequest) String() string

func (*ActivateRequest) Unmarshal

func (m *ActivateRequest) Unmarshal(dAtA []byte) error

func (*ActivateRequest) XXX_DiscardUnknown

func (m *ActivateRequest) XXX_DiscardUnknown()

func (*ActivateRequest) XXX_Marshal

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

func (*ActivateRequest) XXX_Merge

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

func (*ActivateRequest) XXX_Size

func (m *ActivateRequest) XXX_Size() int

func (*ActivateRequest) XXX_Unmarshal

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

type ActivateResponse

type ActivateResponse struct {
	Info                 *enterprise.TokenInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ActivateResponse) Descriptor

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

func (*ActivateResponse) GetInfo

func (m *ActivateResponse) GetInfo() *enterprise.TokenInfo

func (*ActivateResponse) Marshal

func (m *ActivateResponse) Marshal() (dAtA []byte, err error)

func (*ActivateResponse) MarshalLogObject

func (x *ActivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ActivateResponse) MarshalTo

func (m *ActivateResponse) MarshalTo(dAtA []byte) (int, error)

func (*ActivateResponse) MarshalToSizedBuffer

func (m *ActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivateResponse) ProtoMessage

func (*ActivateResponse) ProtoMessage()

func (*ActivateResponse) Reset

func (m *ActivateResponse) Reset()

func (*ActivateResponse) Size

func (m *ActivateResponse) Size() (n int)

func (*ActivateResponse) String

func (m *ActivateResponse) String() string

func (*ActivateResponse) Unmarshal

func (m *ActivateResponse) Unmarshal(dAtA []byte) error

func (*ActivateResponse) XXX_DiscardUnknown

func (m *ActivateResponse) XXX_DiscardUnknown()

func (*ActivateResponse) XXX_Marshal

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

func (*ActivateResponse) XXX_Merge

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

func (*ActivateResponse) XXX_Size

func (m *ActivateResponse) XXX_Size() int

func (*ActivateResponse) XXX_Unmarshal

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

type AddClusterRequest

type AddClusterRequest struct {
	// id is the unique, immutable identifier for this cluster
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// address is the public GPRC address where the cluster can be reached
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// If set, secret specifies the shared secret this cluster will use
	// to authenticate to the license server. Otherwise a secret will be
	// generated and returned in the response.
	Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// The pachd address for users to connect to.
	UserAddress string `protobuf:"bytes,4,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"`
	// The deployment ID value generated by each Cluster
	ClusterDeploymentId string `protobuf:"bytes,5,opt,name=cluster_deployment_id,json=clusterDeploymentId,proto3" json:"cluster_deployment_id,omitempty"`
	// This field indicates whether the address points to an enterprise server
	EnterpriseServer     bool     `protobuf:"varint,6,opt,name=enterprise_server,json=enterpriseServer,proto3" json:"enterprise_server,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddClusterRequest) Descriptor

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

func (*AddClusterRequest) GetAddress

func (m *AddClusterRequest) GetAddress() string

func (*AddClusterRequest) GetClusterDeploymentId

func (m *AddClusterRequest) GetClusterDeploymentId() string

func (*AddClusterRequest) GetEnterpriseServer

func (m *AddClusterRequest) GetEnterpriseServer() bool

func (*AddClusterRequest) GetId

func (m *AddClusterRequest) GetId() string

func (*AddClusterRequest) GetSecret

func (m *AddClusterRequest) GetSecret() string

func (*AddClusterRequest) GetUserAddress

func (m *AddClusterRequest) GetUserAddress() string

func (*AddClusterRequest) Marshal

func (m *AddClusterRequest) Marshal() (dAtA []byte, err error)

func (*AddClusterRequest) MarshalLogObject

func (x *AddClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*AddClusterRequest) MarshalTo

func (m *AddClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddClusterRequest) MarshalToSizedBuffer

func (m *AddClusterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddClusterRequest) ProtoMessage

func (*AddClusterRequest) ProtoMessage()

func (*AddClusterRequest) Reset

func (m *AddClusterRequest) Reset()

func (*AddClusterRequest) Size

func (m *AddClusterRequest) Size() (n int)

func (*AddClusterRequest) String

func (m *AddClusterRequest) String() string

func (*AddClusterRequest) Unmarshal

func (m *AddClusterRequest) Unmarshal(dAtA []byte) error

func (*AddClusterRequest) XXX_DiscardUnknown

func (m *AddClusterRequest) XXX_DiscardUnknown()

func (*AddClusterRequest) XXX_Marshal

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

func (*AddClusterRequest) XXX_Merge

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

func (*AddClusterRequest) XXX_Size

func (m *AddClusterRequest) XXX_Size() int

func (*AddClusterRequest) XXX_Unmarshal

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

type AddClusterResponse

type AddClusterResponse struct {
	Secret               string   `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddClusterResponse) Descriptor

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

func (*AddClusterResponse) GetSecret

func (m *AddClusterResponse) GetSecret() string

func (*AddClusterResponse) Marshal

func (m *AddClusterResponse) Marshal() (dAtA []byte, err error)

func (*AddClusterResponse) MarshalLogObject

func (x *AddClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*AddClusterResponse) MarshalTo

func (m *AddClusterResponse) MarshalTo(dAtA []byte) (int, error)

func (*AddClusterResponse) MarshalToSizedBuffer

func (m *AddClusterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddClusterResponse) ProtoMessage

func (*AddClusterResponse) ProtoMessage()

func (*AddClusterResponse) Reset

func (m *AddClusterResponse) Reset()

func (*AddClusterResponse) Size

func (m *AddClusterResponse) Size() (n int)

func (*AddClusterResponse) String

func (m *AddClusterResponse) String() string

func (*AddClusterResponse) Unmarshal

func (m *AddClusterResponse) Unmarshal(dAtA []byte) error

func (*AddClusterResponse) XXX_DiscardUnknown

func (m *AddClusterResponse) XXX_DiscardUnknown()

func (*AddClusterResponse) XXX_Marshal

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

func (*AddClusterResponse) XXX_Merge

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

func (*AddClusterResponse) XXX_Size

func (m *AddClusterResponse) XXX_Size() int

func (*AddClusterResponse) XXX_Unmarshal

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

type ClusterStatus

type ClusterStatus struct {
	Id                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address              string     `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Version              string     `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	AuthEnabled          bool       `protobuf:"varint,4,opt,name=auth_enabled,json=authEnabled,proto3" json:"auth_enabled,omitempty" db:"auth_enabled"`
	ClientId             string     `protobuf:"bytes,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" db:"client_id"`
	LastHeartbeat        *time.Time `` /* 128-byte string literal not displayed */
	CreatedAt            *time.Time `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty" db:"created_at"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ClusterStatus) Descriptor

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

func (*ClusterStatus) GetAddress

func (m *ClusterStatus) GetAddress() string

func (*ClusterStatus) GetAuthEnabled

func (m *ClusterStatus) GetAuthEnabled() bool

func (*ClusterStatus) GetClientId

func (m *ClusterStatus) GetClientId() string

func (*ClusterStatus) GetCreatedAt

func (m *ClusterStatus) GetCreatedAt() *time.Time

func (*ClusterStatus) GetId

func (m *ClusterStatus) GetId() string

func (*ClusterStatus) GetLastHeartbeat

func (m *ClusterStatus) GetLastHeartbeat() *time.Time

func (*ClusterStatus) GetVersion

func (m *ClusterStatus) GetVersion() string

func (*ClusterStatus) Marshal

func (m *ClusterStatus) Marshal() (dAtA []byte, err error)

func (*ClusterStatus) MarshalLogObject

func (x *ClusterStatus) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ClusterStatus) MarshalTo

func (m *ClusterStatus) MarshalTo(dAtA []byte) (int, error)

func (*ClusterStatus) MarshalToSizedBuffer

func (m *ClusterStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterStatus) ProtoMessage

func (*ClusterStatus) ProtoMessage()

func (*ClusterStatus) Reset

func (m *ClusterStatus) Reset()

func (*ClusterStatus) Size

func (m *ClusterStatus) Size() (n int)

func (*ClusterStatus) String

func (m *ClusterStatus) String() string

func (*ClusterStatus) Unmarshal

func (m *ClusterStatus) Unmarshal(dAtA []byte) error

func (*ClusterStatus) XXX_DiscardUnknown

func (m *ClusterStatus) XXX_DiscardUnknown()

func (*ClusterStatus) XXX_Marshal

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

func (*ClusterStatus) XXX_Merge

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

func (*ClusterStatus) XXX_Size

func (m *ClusterStatus) XXX_Size() int

func (*ClusterStatus) XXX_Unmarshal

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

type DeactivateRequest

type DeactivateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeactivateRequest) Descriptor

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

func (*DeactivateRequest) Marshal

func (m *DeactivateRequest) Marshal() (dAtA []byte, err error)

func (*DeactivateRequest) MarshalLogObject

func (x *DeactivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeactivateRequest) MarshalTo

func (m *DeactivateRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeactivateRequest) MarshalToSizedBuffer

func (m *DeactivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeactivateRequest) ProtoMessage

func (*DeactivateRequest) ProtoMessage()

func (*DeactivateRequest) Reset

func (m *DeactivateRequest) Reset()

func (*DeactivateRequest) Size

func (m *DeactivateRequest) Size() (n int)

func (*DeactivateRequest) String

func (m *DeactivateRequest) String() string

func (*DeactivateRequest) Unmarshal

func (m *DeactivateRequest) Unmarshal(dAtA []byte) error

func (*DeactivateRequest) XXX_DiscardUnknown

func (m *DeactivateRequest) XXX_DiscardUnknown()

func (*DeactivateRequest) XXX_Marshal

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

func (*DeactivateRequest) XXX_Merge

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

func (*DeactivateRequest) XXX_Size

func (m *DeactivateRequest) XXX_Size() int

func (*DeactivateRequest) XXX_Unmarshal

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

type DeactivateResponse

type DeactivateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeactivateResponse) Descriptor

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

func (*DeactivateResponse) Marshal

func (m *DeactivateResponse) Marshal() (dAtA []byte, err error)

func (*DeactivateResponse) MarshalLogObject

func (x *DeactivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeactivateResponse) MarshalTo

func (m *DeactivateResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeactivateResponse) MarshalToSizedBuffer

func (m *DeactivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeactivateResponse) ProtoMessage

func (*DeactivateResponse) ProtoMessage()

func (*DeactivateResponse) Reset

func (m *DeactivateResponse) Reset()

func (*DeactivateResponse) Size

func (m *DeactivateResponse) Size() (n int)

func (*DeactivateResponse) String

func (m *DeactivateResponse) String() string

func (*DeactivateResponse) Unmarshal

func (m *DeactivateResponse) Unmarshal(dAtA []byte) error

func (*DeactivateResponse) XXX_DiscardUnknown

func (m *DeactivateResponse) XXX_DiscardUnknown()

func (*DeactivateResponse) XXX_Marshal

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

func (*DeactivateResponse) XXX_Merge

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

func (*DeactivateResponse) XXX_Size

func (m *DeactivateResponse) XXX_Size() int

func (*DeactivateResponse) XXX_Unmarshal

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

type DeleteAllRequest

type DeleteAllRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAllRequest) Descriptor

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

func (*DeleteAllRequest) Marshal

func (m *DeleteAllRequest) Marshal() (dAtA []byte, err error)

func (*DeleteAllRequest) MarshalLogObject

func (x *DeleteAllRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeleteAllRequest) MarshalTo

func (m *DeleteAllRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteAllRequest) MarshalToSizedBuffer

func (m *DeleteAllRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteAllRequest) ProtoMessage

func (*DeleteAllRequest) ProtoMessage()

func (*DeleteAllRequest) Reset

func (m *DeleteAllRequest) Reset()

func (*DeleteAllRequest) Size

func (m *DeleteAllRequest) Size() (n int)

func (*DeleteAllRequest) String

func (m *DeleteAllRequest) String() string

func (*DeleteAllRequest) Unmarshal

func (m *DeleteAllRequest) Unmarshal(dAtA []byte) error

func (*DeleteAllRequest) XXX_DiscardUnknown

func (m *DeleteAllRequest) XXX_DiscardUnknown()

func (*DeleteAllRequest) XXX_Marshal

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

func (*DeleteAllRequest) XXX_Merge

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

func (*DeleteAllRequest) XXX_Size

func (m *DeleteAllRequest) XXX_Size() int

func (*DeleteAllRequest) XXX_Unmarshal

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

type DeleteAllResponse

type DeleteAllResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAllResponse) Descriptor

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

func (*DeleteAllResponse) Marshal

func (m *DeleteAllResponse) Marshal() (dAtA []byte, err error)

func (*DeleteAllResponse) MarshalLogObject

func (x *DeleteAllResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeleteAllResponse) MarshalTo

func (m *DeleteAllResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteAllResponse) MarshalToSizedBuffer

func (m *DeleteAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteAllResponse) ProtoMessage

func (*DeleteAllResponse) ProtoMessage()

func (*DeleteAllResponse) Reset

func (m *DeleteAllResponse) Reset()

func (*DeleteAllResponse) Size

func (m *DeleteAllResponse) Size() (n int)

func (*DeleteAllResponse) String

func (m *DeleteAllResponse) String() string

func (*DeleteAllResponse) Unmarshal

func (m *DeleteAllResponse) Unmarshal(dAtA []byte) error

func (*DeleteAllResponse) XXX_DiscardUnknown

func (m *DeleteAllResponse) XXX_DiscardUnknown()

func (*DeleteAllResponse) XXX_Marshal

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

func (*DeleteAllResponse) XXX_Merge

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

func (*DeleteAllResponse) XXX_Size

func (m *DeleteAllResponse) XXX_Size() int

func (*DeleteAllResponse) XXX_Unmarshal

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

type DeleteClusterRequest

type DeleteClusterRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterRequest) Descriptor

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

func (*DeleteClusterRequest) GetId

func (m *DeleteClusterRequest) GetId() string

func (*DeleteClusterRequest) Marshal

func (m *DeleteClusterRequest) Marshal() (dAtA []byte, err error)

func (*DeleteClusterRequest) MarshalLogObject

func (x *DeleteClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeleteClusterRequest) MarshalTo

func (m *DeleteClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteClusterRequest) MarshalToSizedBuffer

func (m *DeleteClusterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) Reset

func (m *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) Size

func (m *DeleteClusterRequest) Size() (n int)

func (*DeleteClusterRequest) String

func (m *DeleteClusterRequest) String() string

func (*DeleteClusterRequest) Unmarshal

func (m *DeleteClusterRequest) Unmarshal(dAtA []byte) error

func (*DeleteClusterRequest) XXX_DiscardUnknown

func (m *DeleteClusterRequest) XXX_DiscardUnknown()

func (*DeleteClusterRequest) XXX_Marshal

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

func (*DeleteClusterRequest) XXX_Merge

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

func (*DeleteClusterRequest) XXX_Size

func (m *DeleteClusterRequest) XXX_Size() int

func (*DeleteClusterRequest) XXX_Unmarshal

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

type DeleteClusterResponse

type DeleteClusterResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterResponse) Descriptor

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

func (*DeleteClusterResponse) Marshal

func (m *DeleteClusterResponse) Marshal() (dAtA []byte, err error)

func (*DeleteClusterResponse) MarshalLogObject

func (x *DeleteClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeleteClusterResponse) MarshalTo

func (m *DeleteClusterResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteClusterResponse) MarshalToSizedBuffer

func (m *DeleteClusterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteClusterResponse) ProtoMessage

func (*DeleteClusterResponse) ProtoMessage()

func (*DeleteClusterResponse) Reset

func (m *DeleteClusterResponse) Reset()

func (*DeleteClusterResponse) Size

func (m *DeleteClusterResponse) Size() (n int)

func (*DeleteClusterResponse) String

func (m *DeleteClusterResponse) String() string

func (*DeleteClusterResponse) Unmarshal

func (m *DeleteClusterResponse) Unmarshal(dAtA []byte) error

func (*DeleteClusterResponse) XXX_DiscardUnknown

func (m *DeleteClusterResponse) XXX_DiscardUnknown()

func (*DeleteClusterResponse) XXX_Marshal

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

func (*DeleteClusterResponse) XXX_Merge

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

func (*DeleteClusterResponse) XXX_Size

func (m *DeleteClusterResponse) XXX_Size() int

func (*DeleteClusterResponse) XXX_Unmarshal

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

type GetActivationCodeRequest

type GetActivationCodeRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetActivationCodeRequest) Descriptor

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

func (*GetActivationCodeRequest) Marshal

func (m *GetActivationCodeRequest) Marshal() (dAtA []byte, err error)

func (*GetActivationCodeRequest) MarshalLogObject

func (x *GetActivationCodeRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetActivationCodeRequest) MarshalTo

func (m *GetActivationCodeRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetActivationCodeRequest) MarshalToSizedBuffer

func (m *GetActivationCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetActivationCodeRequest) ProtoMessage

func (*GetActivationCodeRequest) ProtoMessage()

func (*GetActivationCodeRequest) Reset

func (m *GetActivationCodeRequest) Reset()

func (*GetActivationCodeRequest) Size

func (m *GetActivationCodeRequest) Size() (n int)

func (*GetActivationCodeRequest) String

func (m *GetActivationCodeRequest) String() string

func (*GetActivationCodeRequest) Unmarshal

func (m *GetActivationCodeRequest) Unmarshal(dAtA []byte) error

func (*GetActivationCodeRequest) XXX_DiscardUnknown

func (m *GetActivationCodeRequest) XXX_DiscardUnknown()

func (*GetActivationCodeRequest) XXX_Marshal

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

func (*GetActivationCodeRequest) XXX_Merge

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

func (*GetActivationCodeRequest) XXX_Size

func (m *GetActivationCodeRequest) XXX_Size() int

func (*GetActivationCodeRequest) XXX_Unmarshal

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

type GetActivationCodeResponse

type GetActivationCodeResponse struct {
	State                enterprise.State      `protobuf:"varint,1,opt,name=state,proto3,enum=enterprise_v2.State" json:"state,omitempty"`
	Info                 *enterprise.TokenInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	ActivationCode       string                `protobuf:"bytes,3,opt,name=activation_code,json=activationCode,proto3" json:"activation_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*GetActivationCodeResponse) Descriptor

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

func (*GetActivationCodeResponse) GetActivationCode

func (m *GetActivationCodeResponse) GetActivationCode() string

func (*GetActivationCodeResponse) GetInfo

func (*GetActivationCodeResponse) GetState

func (*GetActivationCodeResponse) Marshal

func (m *GetActivationCodeResponse) Marshal() (dAtA []byte, err error)

func (*GetActivationCodeResponse) MarshalLogObject

func (x *GetActivationCodeResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetActivationCodeResponse) MarshalTo

func (m *GetActivationCodeResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetActivationCodeResponse) MarshalToSizedBuffer

func (m *GetActivationCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetActivationCodeResponse) ProtoMessage

func (*GetActivationCodeResponse) ProtoMessage()

func (*GetActivationCodeResponse) Reset

func (m *GetActivationCodeResponse) Reset()

func (*GetActivationCodeResponse) Size

func (m *GetActivationCodeResponse) Size() (n int)

func (*GetActivationCodeResponse) String

func (m *GetActivationCodeResponse) String() string

func (*GetActivationCodeResponse) Unmarshal

func (m *GetActivationCodeResponse) Unmarshal(dAtA []byte) error

func (*GetActivationCodeResponse) XXX_DiscardUnknown

func (m *GetActivationCodeResponse) XXX_DiscardUnknown()

func (*GetActivationCodeResponse) XXX_Marshal

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

func (*GetActivationCodeResponse) XXX_Merge

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

func (*GetActivationCodeResponse) XXX_Size

func (m *GetActivationCodeResponse) XXX_Size() int

func (*GetActivationCodeResponse) XXX_Unmarshal

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

type HeartbeatRequest

type HeartbeatRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Secret               string   `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	AuthEnabled          bool     `protobuf:"varint,4,opt,name=auth_enabled,json=authEnabled,proto3" json:"auth_enabled,omitempty"`
	ClientId             string   `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HeartbeatRequest) Descriptor

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

func (*HeartbeatRequest) GetAuthEnabled

func (m *HeartbeatRequest) GetAuthEnabled() bool

func (*HeartbeatRequest) GetClientId

func (m *HeartbeatRequest) GetClientId() string

func (*HeartbeatRequest) GetId

func (m *HeartbeatRequest) GetId() string

func (*HeartbeatRequest) GetSecret

func (m *HeartbeatRequest) GetSecret() string

func (*HeartbeatRequest) GetVersion

func (m *HeartbeatRequest) GetVersion() string

func (*HeartbeatRequest) Marshal

func (m *HeartbeatRequest) Marshal() (dAtA []byte, err error)

func (*HeartbeatRequest) MarshalLogObject

func (x *HeartbeatRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*HeartbeatRequest) MarshalTo

func (m *HeartbeatRequest) MarshalTo(dAtA []byte) (int, error)

func (*HeartbeatRequest) MarshalToSizedBuffer

func (m *HeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HeartbeatRequest) ProtoMessage

func (*HeartbeatRequest) ProtoMessage()

func (*HeartbeatRequest) Reset

func (m *HeartbeatRequest) Reset()

func (*HeartbeatRequest) Size

func (m *HeartbeatRequest) Size() (n int)

func (*HeartbeatRequest) String

func (m *HeartbeatRequest) String() string

func (*HeartbeatRequest) Unmarshal

func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error

func (*HeartbeatRequest) XXX_DiscardUnknown

func (m *HeartbeatRequest) XXX_DiscardUnknown()

func (*HeartbeatRequest) XXX_Marshal

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

func (*HeartbeatRequest) XXX_Merge

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

func (*HeartbeatRequest) XXX_Size

func (m *HeartbeatRequest) XXX_Size() int

func (*HeartbeatRequest) XXX_Unmarshal

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

type HeartbeatResponse

type HeartbeatResponse struct {
	License              *enterprise.LicenseRecord `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*HeartbeatResponse) Descriptor

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

func (*HeartbeatResponse) GetLicense

func (m *HeartbeatResponse) GetLicense() *enterprise.LicenseRecord

func (*HeartbeatResponse) Marshal

func (m *HeartbeatResponse) Marshal() (dAtA []byte, err error)

func (*HeartbeatResponse) MarshalLogObject

func (x *HeartbeatResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*HeartbeatResponse) MarshalTo

func (m *HeartbeatResponse) MarshalTo(dAtA []byte) (int, error)

func (*HeartbeatResponse) MarshalToSizedBuffer

func (m *HeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HeartbeatResponse) ProtoMessage

func (*HeartbeatResponse) ProtoMessage()

func (*HeartbeatResponse) Reset

func (m *HeartbeatResponse) Reset()

func (*HeartbeatResponse) Size

func (m *HeartbeatResponse) Size() (n int)

func (*HeartbeatResponse) String

func (m *HeartbeatResponse) String() string

func (*HeartbeatResponse) Unmarshal

func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error

func (*HeartbeatResponse) XXX_DiscardUnknown

func (m *HeartbeatResponse) XXX_DiscardUnknown()

func (*HeartbeatResponse) XXX_Marshal

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

func (*HeartbeatResponse) XXX_Merge

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

func (*HeartbeatResponse) XXX_Size

func (m *HeartbeatResponse) XXX_Size() int

func (*HeartbeatResponse) XXX_Unmarshal

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

type ListClustersRequest

type ListClustersRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClustersRequest) Descriptor

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

func (*ListClustersRequest) Marshal

func (m *ListClustersRequest) Marshal() (dAtA []byte, err error)

func (*ListClustersRequest) MarshalLogObject

func (x *ListClustersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ListClustersRequest) MarshalTo

func (m *ListClustersRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListClustersRequest) MarshalToSizedBuffer

func (m *ListClustersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) Reset

func (m *ListClustersRequest) Reset()

func (*ListClustersRequest) Size

func (m *ListClustersRequest) Size() (n int)

func (*ListClustersRequest) String

func (m *ListClustersRequest) String() string

func (*ListClustersRequest) Unmarshal

func (m *ListClustersRequest) Unmarshal(dAtA []byte) error

func (*ListClustersRequest) XXX_DiscardUnknown

func (m *ListClustersRequest) XXX_DiscardUnknown()

func (*ListClustersRequest) XXX_Marshal

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

func (*ListClustersRequest) XXX_Merge

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

func (*ListClustersRequest) XXX_Size

func (m *ListClustersRequest) XXX_Size() int

func (*ListClustersRequest) XXX_Unmarshal

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

type ListClustersResponse

type ListClustersResponse struct {
	Clusters             []*ClusterStatus `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ListClustersResponse) Descriptor

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

func (*ListClustersResponse) GetClusters

func (m *ListClustersResponse) GetClusters() []*ClusterStatus

func (*ListClustersResponse) Marshal

func (m *ListClustersResponse) Marshal() (dAtA []byte, err error)

func (*ListClustersResponse) MarshalLogObject

func (x *ListClustersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ListClustersResponse) MarshalTo

func (m *ListClustersResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListClustersResponse) MarshalToSizedBuffer

func (m *ListClustersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) Reset

func (m *ListClustersResponse) Reset()

func (*ListClustersResponse) Size

func (m *ListClustersResponse) Size() (n int)

func (*ListClustersResponse) String

func (m *ListClustersResponse) String() string

func (*ListClustersResponse) Unmarshal

func (m *ListClustersResponse) Unmarshal(dAtA []byte) error

func (*ListClustersResponse) XXX_DiscardUnknown

func (m *ListClustersResponse) XXX_DiscardUnknown()

func (*ListClustersResponse) XXX_Marshal

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

func (*ListClustersResponse) XXX_Merge

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

func (*ListClustersResponse) XXX_Size

func (m *ListClustersResponse) XXX_Size() int

func (*ListClustersResponse) XXX_Unmarshal

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

type ListUserClustersRequest

type ListUserClustersRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUserClustersRequest) Descriptor

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

func (*ListUserClustersRequest) Marshal

func (m *ListUserClustersRequest) Marshal() (dAtA []byte, err error)

func (*ListUserClustersRequest) MarshalLogObject

func (x *ListUserClustersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ListUserClustersRequest) MarshalTo

func (m *ListUserClustersRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListUserClustersRequest) MarshalToSizedBuffer

func (m *ListUserClustersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListUserClustersRequest) ProtoMessage

func (*ListUserClustersRequest) ProtoMessage()

func (*ListUserClustersRequest) Reset

func (m *ListUserClustersRequest) Reset()

func (*ListUserClustersRequest) Size

func (m *ListUserClustersRequest) Size() (n int)

func (*ListUserClustersRequest) String

func (m *ListUserClustersRequest) String() string

func (*ListUserClustersRequest) Unmarshal

func (m *ListUserClustersRequest) Unmarshal(dAtA []byte) error

func (*ListUserClustersRequest) XXX_DiscardUnknown

func (m *ListUserClustersRequest) XXX_DiscardUnknown()

func (*ListUserClustersRequest) XXX_Marshal

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

func (*ListUserClustersRequest) XXX_Merge

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

func (*ListUserClustersRequest) XXX_Size

func (m *ListUserClustersRequest) XXX_Size() int

func (*ListUserClustersRequest) XXX_Unmarshal

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

type ListUserClustersResponse

type ListUserClustersResponse struct {
	Clusters             []*UserClusterInfo `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ListUserClustersResponse) Descriptor

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

func (*ListUserClustersResponse) GetClusters

func (m *ListUserClustersResponse) GetClusters() []*UserClusterInfo

func (*ListUserClustersResponse) Marshal

func (m *ListUserClustersResponse) Marshal() (dAtA []byte, err error)

func (*ListUserClustersResponse) MarshalLogObject

func (x *ListUserClustersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ListUserClustersResponse) MarshalTo

func (m *ListUserClustersResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListUserClustersResponse) MarshalToSizedBuffer

func (m *ListUserClustersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListUserClustersResponse) ProtoMessage

func (*ListUserClustersResponse) ProtoMessage()

func (*ListUserClustersResponse) Reset

func (m *ListUserClustersResponse) Reset()

func (*ListUserClustersResponse) Size

func (m *ListUserClustersResponse) Size() (n int)

func (*ListUserClustersResponse) String

func (m *ListUserClustersResponse) String() string

func (*ListUserClustersResponse) Unmarshal

func (m *ListUserClustersResponse) Unmarshal(dAtA []byte) error

func (*ListUserClustersResponse) XXX_DiscardUnknown

func (m *ListUserClustersResponse) XXX_DiscardUnknown()

func (*ListUserClustersResponse) XXX_Marshal

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

func (*ListUserClustersResponse) XXX_Merge

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

func (*ListUserClustersResponse) XXX_Size

func (m *ListUserClustersResponse) XXX_Size() int

func (*ListUserClustersResponse) XXX_Unmarshal

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

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) Activate

func (*UnimplementedAPIServer) AddCluster

func (*UnimplementedAPIServer) DeleteAll

func (*UnimplementedAPIServer) DeleteCluster

func (*UnimplementedAPIServer) GetActivationCode

func (*UnimplementedAPIServer) Heartbeat

func (*UnimplementedAPIServer) ListClusters

func (*UnimplementedAPIServer) ListUserClusters

func (*UnimplementedAPIServer) UpdateCluster

type UpdateClusterRequest

type UpdateClusterRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	UserAddress          string   `protobuf:"bytes,3,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"`
	ClusterDeploymentId  string   `protobuf:"bytes,4,opt,name=cluster_deployment_id,json=clusterDeploymentId,proto3" json:"cluster_deployment_id,omitempty"`
	Secret               string   `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Note: Updates of the enterprise-server field are not allowed. In the worst case, a user can recreate their cluster if they need the field updated.

func (*UpdateClusterRequest) Descriptor

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

func (*UpdateClusterRequest) GetAddress

func (m *UpdateClusterRequest) GetAddress() string

func (*UpdateClusterRequest) GetClusterDeploymentId

func (m *UpdateClusterRequest) GetClusterDeploymentId() string

func (*UpdateClusterRequest) GetId

func (m *UpdateClusterRequest) GetId() string

func (*UpdateClusterRequest) GetSecret

func (m *UpdateClusterRequest) GetSecret() string

func (*UpdateClusterRequest) GetUserAddress

func (m *UpdateClusterRequest) GetUserAddress() string

func (*UpdateClusterRequest) Marshal

func (m *UpdateClusterRequest) Marshal() (dAtA []byte, err error)

func (*UpdateClusterRequest) MarshalLogObject

func (x *UpdateClusterRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*UpdateClusterRequest) MarshalTo

func (m *UpdateClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateClusterRequest) MarshalToSizedBuffer

func (m *UpdateClusterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) Reset

func (m *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) Size

func (m *UpdateClusterRequest) Size() (n int)

func (*UpdateClusterRequest) String

func (m *UpdateClusterRequest) String() string

func (*UpdateClusterRequest) Unmarshal

func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error

func (*UpdateClusterRequest) XXX_DiscardUnknown

func (m *UpdateClusterRequest) XXX_DiscardUnknown()

func (*UpdateClusterRequest) XXX_Marshal

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

func (*UpdateClusterRequest) XXX_Merge

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

func (*UpdateClusterRequest) XXX_Size

func (m *UpdateClusterRequest) XXX_Size() int

func (*UpdateClusterRequest) XXX_Unmarshal

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

type UpdateClusterResponse

type UpdateClusterResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateClusterResponse) Descriptor

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

func (*UpdateClusterResponse) Marshal

func (m *UpdateClusterResponse) Marshal() (dAtA []byte, err error)

func (*UpdateClusterResponse) MarshalLogObject

func (x *UpdateClusterResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*UpdateClusterResponse) MarshalTo

func (m *UpdateClusterResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateClusterResponse) MarshalToSizedBuffer

func (m *UpdateClusterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateClusterResponse) ProtoMessage

func (*UpdateClusterResponse) ProtoMessage()

func (*UpdateClusterResponse) Reset

func (m *UpdateClusterResponse) Reset()

func (*UpdateClusterResponse) Size

func (m *UpdateClusterResponse) Size() (n int)

func (*UpdateClusterResponse) String

func (m *UpdateClusterResponse) String() string

func (*UpdateClusterResponse) Unmarshal

func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error

func (*UpdateClusterResponse) XXX_DiscardUnknown

func (m *UpdateClusterResponse) XXX_DiscardUnknown()

func (*UpdateClusterResponse) XXX_Marshal

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

func (*UpdateClusterResponse) XXX_Merge

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

func (*UpdateClusterResponse) XXX_Size

func (m *UpdateClusterResponse) XXX_Size() int

func (*UpdateClusterResponse) XXX_Unmarshal

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

type UserClusterInfo

type UserClusterInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	ClusterDeploymentId  string   `` /* 147-byte string literal not displayed */
	Address              string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty" db:"user_address"`
	EnterpriseServer     bool     `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserClusterInfo) Descriptor

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

func (*UserClusterInfo) GetAddress

func (m *UserClusterInfo) GetAddress() string

func (*UserClusterInfo) GetClusterDeploymentId

func (m *UserClusterInfo) GetClusterDeploymentId() string

func (*UserClusterInfo) GetEnterpriseServer

func (m *UserClusterInfo) GetEnterpriseServer() bool

func (*UserClusterInfo) GetId

func (m *UserClusterInfo) GetId() string

func (*UserClusterInfo) Marshal

func (m *UserClusterInfo) Marshal() (dAtA []byte, err error)

func (*UserClusterInfo) MarshalLogObject

func (x *UserClusterInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*UserClusterInfo) MarshalTo

func (m *UserClusterInfo) MarshalTo(dAtA []byte) (int, error)

func (*UserClusterInfo) MarshalToSizedBuffer

func (m *UserClusterInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserClusterInfo) ProtoMessage

func (*UserClusterInfo) ProtoMessage()

func (*UserClusterInfo) Reset

func (m *UserClusterInfo) Reset()

func (*UserClusterInfo) Size

func (m *UserClusterInfo) Size() (n int)

func (*UserClusterInfo) String

func (m *UserClusterInfo) String() string

func (*UserClusterInfo) Unmarshal

func (m *UserClusterInfo) Unmarshal(dAtA []byte) error

func (*UserClusterInfo) XXX_DiscardUnknown

func (m *UserClusterInfo) XXX_DiscardUnknown()

func (*UserClusterInfo) XXX_Marshal

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

func (*UserClusterInfo) XXX_Merge

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

func (*UserClusterInfo) XXX_Size

func (m *UserClusterInfo) XXX_Size() int

func (*UserClusterInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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