Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterClustersServer(s grpc.ServiceRegistrar, srv ClustersServer)
- func RegisterComputeCapabilitiesServer(s grpc.ServiceRegistrar, srv ComputeCapabilitiesServer)
- func RegisterDeploymentPlansServer(s grpc.ServiceRegistrar, srv DeploymentPlansServer)
- func RegisterMetaInstancesServer(s grpc.ServiceRegistrar, srv MetaInstancesServer)
- func RegisterNodesServer(s grpc.ServiceRegistrar, srv NodesServer)
- type AddCapabilityRequest
- func (*AddCapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCapabilityRequest) GetCapabilityId() string
- func (x *AddCapabilityRequest) GetMetadata() *Metadata
- func (*AddCapabilityRequest) ProtoMessage()
- func (x *AddCapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *AddCapabilityRequest) Reset()
- func (x *AddCapabilityRequest) String() string
- type AddDeploymentRequest
- func (*AddDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDeploymentRequest) GetDeploymentId() string
- func (x *AddDeploymentRequest) GetInstanceCount() uint32
- func (x *AddDeploymentRequest) GetMetadata() *Metadata
- func (x *AddDeploymentRequest) GetPayloadCoordinates() []*PayloadCoordinates
- func (*AddDeploymentRequest) ProtoMessage()
- func (x *AddDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *AddDeploymentRequest) Reset()
- func (x *AddDeploymentRequest) String() string
- type AddDisruptionRequest
- func (*AddDisruptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDisruptionRequest) GetDisruption() *NodeDisruption
- func (x *AddDisruptionRequest) GetMetadata() *Metadata
- func (*AddDisruptionRequest) ProtoMessage()
- func (x *AddDisruptionRequest) ProtoReflect() protoreflect.Message
- func (x *AddDisruptionRequest) Reset()
- func (x *AddDisruptionRequest) String() string
- type AddOperationRequest
- func (*AddOperationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddOperationRequest) GetMetadata() *Metadata
- func (x *AddOperationRequest) GetOperation() *Operation
- func (*AddOperationRequest) ProtoMessage()
- func (x *AddOperationRequest) ProtoReflect() protoreflect.Message
- func (x *AddOperationRequest) Reset()
- func (x *AddOperationRequest) String() string
- type AddRuntimeInstanceRequest
- func (*AddRuntimeInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRuntimeInstanceRequest) GetMetadata() *Metadata
- func (x *AddRuntimeInstanceRequest) GetRuntimeInstance() *RuntimeInstance
- func (*AddRuntimeInstanceRequest) ProtoMessage()
- func (x *AddRuntimeInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *AddRuntimeInstanceRequest) Reset()
- func (x *AddRuntimeInstanceRequest) String() string
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetPayloadName() string
- func (x *Application) GetPersistentVolumes() []*ApplicationPersistentVolume
- func (x *Application) GetPorts() []*ApplicationPort
- func (x *Application) GetResources() *ApplicationResources
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type ApplicationPersistentVolume
- func (*ApplicationPersistentVolume) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationPersistentVolume) GetCapacity() uint32
- func (x *ApplicationPersistentVolume) GetMountPath() string
- func (x *ApplicationPersistentVolume) GetStorageClass() string
- func (*ApplicationPersistentVolume) ProtoMessage()
- func (x *ApplicationPersistentVolume) ProtoReflect() protoreflect.Message
- func (x *ApplicationPersistentVolume) Reset()
- func (x *ApplicationPersistentVolume) String() string
- type ApplicationPort
- func (*ApplicationPort) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationPort) GetPort() uint32
- func (x *ApplicationPort) GetProtocol() string
- func (*ApplicationPort) ProtoMessage()
- func (x *ApplicationPort) ProtoReflect() protoreflect.Message
- func (x *ApplicationPort) Reset()
- func (x *ApplicationPort) String() string
- type ApplicationResources
- func (*ApplicationResources) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationResources) GetCores() uint32
- func (x *ApplicationResources) GetMemory() uint32
- func (*ApplicationResources) ProtoMessage()
- func (x *ApplicationResources) ProtoReflect() protoreflect.Message
- func (x *ApplicationResources) Reset()
- func (x *ApplicationResources) String() string
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetMetadata() *Metadata
- func (x *Cluster) GetName() string
- func (x *Cluster) GetStatus() *ClusterStatus
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type ClusterState
- func (ClusterState) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterState) Enum() *ClusterState
- func (ClusterState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterState) Number() protoreflect.EnumNumber
- func (x ClusterState) String() string
- func (ClusterState) Type() protoreflect.EnumType
- type ClusterStatus
- func (*ClusterStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterStatus) GetMessage() string
- func (x *ClusterStatus) GetState() ClusterState
- func (*ClusterStatus) ProtoMessage()
- func (x *ClusterStatus) ProtoReflect() protoreflect.Message
- func (x *ClusterStatus) Reset()
- func (x *ClusterStatus) String() string
- type ClustersClient
- type ClustersServer
- type Comparator
- type ComputeCapabilitiesClient
- type ComputeCapabilitiesServer
- type ComputeCapability
- func (*ComputeCapability) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeCapability) GetMetadata() *Metadata
- func (x *ComputeCapability) GetName() string
- func (x *ComputeCapability) GetScore() uint32
- func (x *ComputeCapability) GetStatus() *ComputeCapabilityStatus
- func (x *ComputeCapability) GetType() string
- func (*ComputeCapability) ProtoMessage()
- func (x *ComputeCapability) ProtoReflect() protoreflect.Message
- func (x *ComputeCapability) Reset()
- func (x *ComputeCapability) String() string
- type ComputeCapabilityState
- func (ComputeCapabilityState) Descriptor() protoreflect.EnumDescriptor
- func (x ComputeCapabilityState) Enum() *ComputeCapabilityState
- func (ComputeCapabilityState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComputeCapabilityState) Number() protoreflect.EnumNumber
- func (x ComputeCapabilityState) String() string
- func (ComputeCapabilityState) Type() protoreflect.EnumType
- type ComputeCapabilityStatus
- func (*ComputeCapabilityStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeCapabilityStatus) GetMessage() string
- func (x *ComputeCapabilityStatus) GetState() ComputeCapabilityState
- func (*ComputeCapabilityStatus) ProtoMessage()
- func (x *ComputeCapabilityStatus) ProtoReflect() protoreflect.Message
- func (x *ComputeCapabilityStatus) Reset()
- func (x *ComputeCapabilityStatus) String() string
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterRequest) GetName() string
- func (*CreateClusterRequest) ProtoMessage()
- func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClusterRequest) Reset()
- func (x *CreateClusterRequest) String() string
- type CreateClusterResponse
- func (*CreateClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterResponse) GetRecord() *Cluster
- func (*CreateClusterResponse) ProtoMessage()
- func (x *CreateClusterResponse) ProtoReflect() protoreflect.Message
- func (x *CreateClusterResponse) Reset()
- func (x *CreateClusterResponse) String() string
- type CreateComputeCapabilityRequest
- func (*CreateComputeCapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateComputeCapabilityRequest) GetName() string
- func (x *CreateComputeCapabilityRequest) GetScore() uint32
- func (x *CreateComputeCapabilityRequest) GetType() string
- func (*CreateComputeCapabilityRequest) ProtoMessage()
- func (x *CreateComputeCapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *CreateComputeCapabilityRequest) Reset()
- func (x *CreateComputeCapabilityRequest) String() string
- type CreateComputeCapabilityResponse
- func (*CreateComputeCapabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateComputeCapabilityResponse) GetRecord() *ComputeCapability
- func (*CreateComputeCapabilityResponse) ProtoMessage()
- func (x *CreateComputeCapabilityResponse) ProtoReflect() protoreflect.Message
- func (x *CreateComputeCapabilityResponse) Reset()
- func (x *CreateComputeCapabilityResponse) String() string
- type CreateDeploymentPlanRequest
- func (*CreateDeploymentPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentPlanRequest) GetApplications() []*Application
- func (x *CreateDeploymentPlanRequest) GetMatchingComputeCapabilities() []*MatchingComputeCapability
- func (x *CreateDeploymentPlanRequest) GetName() string
- func (x *CreateDeploymentPlanRequest) GetNamespace() string
- func (x *CreateDeploymentPlanRequest) GetServiceName() string
- func (*CreateDeploymentPlanRequest) ProtoMessage()
- func (x *CreateDeploymentPlanRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentPlanRequest) Reset()
- func (x *CreateDeploymentPlanRequest) String() string
- type CreateDeploymentPlanResponse
- func (*CreateDeploymentPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentPlanResponse) GetRecord() *DeploymentPlanRecord
- func (*CreateDeploymentPlanResponse) ProtoMessage()
- func (x *CreateDeploymentPlanResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentPlanResponse) Reset()
- func (x *CreateDeploymentPlanResponse) String() string
- type CreateMetaInstanceRequest
- func (*CreateMetaInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMetaInstanceRequest) GetDeploymentId() string
- func (x *CreateMetaInstanceRequest) GetDeploymentPlanId() string
- func (x *CreateMetaInstanceRequest) GetName() string
- func (*CreateMetaInstanceRequest) ProtoMessage()
- func (x *CreateMetaInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMetaInstanceRequest) Reset()
- func (x *CreateMetaInstanceRequest) String() string
- type CreateMetaInstanceResponse
- func (*CreateMetaInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMetaInstanceResponse) GetRecord() *MetaInstance
- func (*CreateMetaInstanceResponse) ProtoMessage()
- func (x *CreateMetaInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateMetaInstanceResponse) Reset()
- func (x *CreateMetaInstanceResponse) String() string
- type CreateNodeRequest
- func (*CreateNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNodeRequest) GetCapabilityIds() []string
- func (x *CreateNodeRequest) GetLocalVolumes() []*NodeLocalVolume
- func (x *CreateNodeRequest) GetName() string
- func (x *CreateNodeRequest) GetSystemReservedResources() *Resources
- func (x *CreateNodeRequest) GetTotalResources() *Resources
- func (x *CreateNodeRequest) GetUpdateDomain() string
- func (*CreateNodeRequest) ProtoMessage()
- func (x *CreateNodeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNodeRequest) Reset()
- func (x *CreateNodeRequest) String() string
- type CreateNodeResponse
- func (*CreateNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNodeResponse) GetRecord() *Node
- func (*CreateNodeResponse) ProtoMessage()
- func (x *CreateNodeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNodeResponse) Reset()
- func (x *CreateNodeResponse) String() string
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterRequest) GetMetadata() *Metadata
- func (*DeleteClusterRequest) ProtoMessage()
- func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterRequest) Reset()
- func (x *DeleteClusterRequest) String() string
- type DeleteClusterResponse
- type DeleteComputeCapabilityRequest
- func (*DeleteComputeCapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteComputeCapabilityRequest) GetMetadata() *Metadata
- func (*DeleteComputeCapabilityRequest) ProtoMessage()
- func (x *DeleteComputeCapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteComputeCapabilityRequest) Reset()
- func (x *DeleteComputeCapabilityRequest) String() string
- type DeleteComputeCapabilityResponse
- func (*DeleteComputeCapabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteComputeCapabilityResponse) ProtoMessage()
- func (x *DeleteComputeCapabilityResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteComputeCapabilityResponse) Reset()
- func (x *DeleteComputeCapabilityResponse) String() string
- type DeleteDeploymentPlanRequest
- func (*DeleteDeploymentPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeploymentPlanRequest) GetMetadata() *Metadata
- func (*DeleteDeploymentPlanRequest) ProtoMessage()
- func (x *DeleteDeploymentPlanRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeploymentPlanRequest) Reset()
- func (x *DeleteDeploymentPlanRequest) String() string
- type DeleteDeploymentPlanResponse
- func (*DeleteDeploymentPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeploymentPlanResponse) GetSuccess() bool
- func (*DeleteDeploymentPlanResponse) ProtoMessage()
- func (x *DeleteDeploymentPlanResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDeploymentPlanResponse) Reset()
- func (x *DeleteDeploymentPlanResponse) String() string
- type DeleteMetaInstanceRequest
- func (*DeleteMetaInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMetaInstanceRequest) GetMetadata() *Metadata
- func (*DeleteMetaInstanceRequest) ProtoMessage()
- func (x *DeleteMetaInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMetaInstanceRequest) Reset()
- func (x *DeleteMetaInstanceRequest) String() string
- type DeleteMetaInstanceResponse
- type DeleteNodeRequest
- func (*DeleteNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeRequest) GetMetadata() *Metadata
- func (*DeleteNodeRequest) ProtoMessage()
- func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeRequest) Reset()
- func (x *DeleteNodeRequest) String() string
- type DeleteNodeResponse
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetId() string
- func (x *Deployment) GetInstanceCount() uint32
- func (x *Deployment) GetPayloadCoordinates() []*PayloadCoordinates
- func (x *Deployment) GetStatus() *DeploymentStatus
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type DeploymentPlanListFilters
- func (*DeploymentPlanListFilters) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentPlanListFilters) GetDeploymentPlanIdIn() []string
- func (x *DeploymentPlanListFilters) GetDeploymentPlanStatusIn() []DeploymentPlanState
- func (x *DeploymentPlanListFilters) GetIdIn() []string
- func (x *DeploymentPlanListFilters) GetIncludeDeleted() bool
- func (x *DeploymentPlanListFilters) GetLimit() uint32
- func (x *DeploymentPlanListFilters) GetNameIn() []string
- func (x *DeploymentPlanListFilters) GetPayloadNameIn() []string
- func (x *DeploymentPlanListFilters) GetServiceNameIn() []string
- func (x *DeploymentPlanListFilters) GetStateIn() []DeploymentPlanState
- func (x *DeploymentPlanListFilters) GetStateNotIn() []DeploymentPlanState
- func (x *DeploymentPlanListFilters) GetVersionEq() uint64
- func (x *DeploymentPlanListFilters) GetVersionGte() uint64
- func (x *DeploymentPlanListFilters) GetVersionLte() uint64
- func (*DeploymentPlanListFilters) ProtoMessage()
- func (x *DeploymentPlanListFilters) ProtoReflect() protoreflect.Message
- func (x *DeploymentPlanListFilters) Reset()
- func (x *DeploymentPlanListFilters) String() string
- type DeploymentPlanRecord
- func (*DeploymentPlanRecord) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentPlanRecord) GetApplications() []*Application
- func (x *DeploymentPlanRecord) GetDeployments() []*Deployment
- func (x *DeploymentPlanRecord) GetMatchingComputeCapabilities() []*MatchingComputeCapability
- func (x *DeploymentPlanRecord) GetMetadata() *Metadata
- func (x *DeploymentPlanRecord) GetName() string
- func (x *DeploymentPlanRecord) GetNamespace() string
- func (x *DeploymentPlanRecord) GetServiceName() string
- func (x *DeploymentPlanRecord) GetStatus() *DeploymentPlanStatus
- func (*DeploymentPlanRecord) ProtoMessage()
- func (x *DeploymentPlanRecord) ProtoReflect() protoreflect.Message
- func (x *DeploymentPlanRecord) Reset()
- func (x *DeploymentPlanRecord) String() string
- type DeploymentPlanState
- func (DeploymentPlanState) Descriptor() protoreflect.EnumDescriptor
- func (x DeploymentPlanState) Enum() *DeploymentPlanState
- func (DeploymentPlanState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeploymentPlanState) Number() protoreflect.EnumNumber
- func (x DeploymentPlanState) String() string
- func (DeploymentPlanState) Type() protoreflect.EnumType
- type DeploymentPlanStatus
- func (*DeploymentPlanStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentPlanStatus) GetMessage() string
- func (x *DeploymentPlanStatus) GetState() DeploymentPlanState
- func (*DeploymentPlanStatus) ProtoMessage()
- func (x *DeploymentPlanStatus) ProtoReflect() protoreflect.Message
- func (x *DeploymentPlanStatus) Reset()
- func (x *DeploymentPlanStatus) String() string
- type DeploymentPlansClient
- type DeploymentPlansServer
- type DeploymentState
- func (DeploymentState) Descriptor() protoreflect.EnumDescriptor
- func (x DeploymentState) Enum() *DeploymentState
- func (DeploymentState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeploymentState) Number() protoreflect.EnumNumber
- func (x DeploymentState) String() string
- func (DeploymentState) Type() protoreflect.EnumType
- type DeploymentStatus
- func (*DeploymentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentStatus) GetMessage() string
- func (x *DeploymentStatus) GetState() DeploymentState
- func (*DeploymentStatus) ProtoMessage()
- func (x *DeploymentStatus) ProtoReflect() protoreflect.Message
- func (x *DeploymentStatus) Reset()
- func (x *DeploymentStatus) String() string
- type DisruptionState
- func (DisruptionState) Descriptor() protoreflect.EnumDescriptor
- func (x DisruptionState) Enum() *DisruptionState
- func (DisruptionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DisruptionState) Number() protoreflect.EnumNumber
- func (x DisruptionState) String() string
- func (DisruptionState) Type() protoreflect.EnumType
- type DisruptionStatus
- func (*DisruptionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DisruptionStatus) GetMessage() string
- func (x *DisruptionStatus) GetState() DisruptionState
- func (*DisruptionStatus) ProtoMessage()
- func (x *DisruptionStatus) ProtoReflect() protoreflect.Message
- func (x *DisruptionStatus) Reset()
- func (x *DisruptionStatus) String() string
- type GetClusterByIDRequest
- func (*GetClusterByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterByIDRequest) GetId() string
- func (*GetClusterByIDRequest) ProtoMessage()
- func (x *GetClusterByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterByIDRequest) Reset()
- func (x *GetClusterByIDRequest) String() string
- type GetClusterByNameRequest
- func (*GetClusterByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterByNameRequest) GetName() string
- func (*GetClusterByNameRequest) ProtoMessage()
- func (x *GetClusterByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterByNameRequest) Reset()
- func (x *GetClusterByNameRequest) String() string
- type GetClusterResponse
- func (*GetClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterResponse) GetRecord() *Cluster
- func (*GetClusterResponse) ProtoMessage()
- func (x *GetClusterResponse) ProtoReflect() protoreflect.Message
- func (x *GetClusterResponse) Reset()
- func (x *GetClusterResponse) String() string
- type GetComputeCapabilityByIDRequest
- func (*GetComputeCapabilityByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetComputeCapabilityByIDRequest) GetId() string
- func (*GetComputeCapabilityByIDRequest) ProtoMessage()
- func (x *GetComputeCapabilityByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetComputeCapabilityByIDRequest) Reset()
- func (x *GetComputeCapabilityByIDRequest) String() string
- type GetComputeCapabilityByNameRequest
- func (*GetComputeCapabilityByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetComputeCapabilityByNameRequest) GetName() string
- func (*GetComputeCapabilityByNameRequest) ProtoMessage()
- func (x *GetComputeCapabilityByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetComputeCapabilityByNameRequest) Reset()
- func (x *GetComputeCapabilityByNameRequest) String() string
- type GetComputeCapabilityResponse
- func (*GetComputeCapabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetComputeCapabilityResponse) GetRecord() *ComputeCapability
- func (*GetComputeCapabilityResponse) ProtoMessage()
- func (x *GetComputeCapabilityResponse) ProtoReflect() protoreflect.Message
- func (x *GetComputeCapabilityResponse) Reset()
- func (x *GetComputeCapabilityResponse) String() string
- type GetDeploymentPlanByIDRequest
- func (*GetDeploymentPlanByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentPlanByIDRequest) GetId() string
- func (*GetDeploymentPlanByIDRequest) ProtoMessage()
- func (x *GetDeploymentPlanByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentPlanByIDRequest) Reset()
- func (x *GetDeploymentPlanByIDRequest) String() string
- type GetDeploymentPlanByNameRequest
- func (*GetDeploymentPlanByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentPlanByNameRequest) GetName() string
- func (*GetDeploymentPlanByNameRequest) ProtoMessage()
- func (x *GetDeploymentPlanByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentPlanByNameRequest) Reset()
- func (x *GetDeploymentPlanByNameRequest) String() string
- type GetDeploymentPlanResponse
- func (*GetDeploymentPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentPlanResponse) GetRecord() *DeploymentPlanRecord
- func (*GetDeploymentPlanResponse) ProtoMessage()
- func (x *GetDeploymentPlanResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentPlanResponse) Reset()
- func (x *GetDeploymentPlanResponse) String() string
- type GetMetaInstanceByIDRequest
- func (*GetMetaInstanceByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetaInstanceByIDRequest) GetId() string
- func (*GetMetaInstanceByIDRequest) ProtoMessage()
- func (x *GetMetaInstanceByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetaInstanceByIDRequest) Reset()
- func (x *GetMetaInstanceByIDRequest) String() string
- type GetMetaInstanceByNameRequest
- func (*GetMetaInstanceByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetaInstanceByNameRequest) GetName() string
- func (*GetMetaInstanceByNameRequest) ProtoMessage()
- func (x *GetMetaInstanceByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetaInstanceByNameRequest) Reset()
- func (x *GetMetaInstanceByNameRequest) String() string
- type GetMetaInstanceResponse
- func (*GetMetaInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetaInstanceResponse) GetRecord() *MetaInstance
- func (*GetMetaInstanceResponse) ProtoMessage()
- func (x *GetMetaInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetaInstanceResponse) Reset()
- func (x *GetMetaInstanceResponse) String() string
- type GetNodeByIDRequest
- type GetNodeByNameRequest
- func (*GetNodeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByNameRequest) GetName() string
- func (*GetNodeByNameRequest) ProtoMessage()
- func (x *GetNodeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeByNameRequest) Reset()
- func (x *GetNodeByNameRequest) String() string
- type GetNodeResponse
- type ListClusterRequest
- func (*ListClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterRequest) GetIdIn() []string
- func (x *ListClusterRequest) GetIncludeDeleted() bool
- func (x *ListClusterRequest) GetLimit() uint32
- func (x *ListClusterRequest) GetNameIn() []string
- func (x *ListClusterRequest) GetStateIn() []ClusterState
- func (x *ListClusterRequest) GetStateNotIn() []ClusterState
- func (x *ListClusterRequest) GetVersionEq() uint64
- func (x *ListClusterRequest) GetVersionGte() uint64
- func (x *ListClusterRequest) GetVersionLte() uint64
- func (*ListClusterRequest) ProtoMessage()
- func (x *ListClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterRequest) Reset()
- func (x *ListClusterRequest) String() string
- type ListClusterResponse
- func (*ListClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterResponse) GetRecords() []*Cluster
- func (*ListClusterResponse) ProtoMessage()
- func (x *ListClusterResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterResponse) Reset()
- func (x *ListClusterResponse) String() string
- type ListComputeCapabilityRequest
- func (*ListComputeCapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListComputeCapabilityRequest) GetIdIn() []string
- func (x *ListComputeCapabilityRequest) GetIncludeDeleted() bool
- func (x *ListComputeCapabilityRequest) GetLimit() uint32
- func (x *ListComputeCapabilityRequest) GetNameIn() []string
- func (x *ListComputeCapabilityRequest) GetStateIn() []ComputeCapabilityState
- func (x *ListComputeCapabilityRequest) GetStateNotIn() []ComputeCapabilityState
- func (x *ListComputeCapabilityRequest) GetTypeIn() []string
- func (x *ListComputeCapabilityRequest) GetVersionEq() uint64
- func (x *ListComputeCapabilityRequest) GetVersionGte() uint64
- func (x *ListComputeCapabilityRequest) GetVersionLte() uint64
- func (*ListComputeCapabilityRequest) ProtoMessage()
- func (x *ListComputeCapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *ListComputeCapabilityRequest) Reset()
- func (x *ListComputeCapabilityRequest) String() string
- type ListComputeCapabilityResponse
- func (*ListComputeCapabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListComputeCapabilityResponse) GetRecords() []*ComputeCapability
- func (*ListComputeCapabilityResponse) ProtoMessage()
- func (x *ListComputeCapabilityResponse) ProtoReflect() protoreflect.Message
- func (x *ListComputeCapabilityResponse) Reset()
- func (x *ListComputeCapabilityResponse) String() string
- type ListDeploymentPlanRequest
- func (*ListDeploymentPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentPlanRequest) GetFilters() *DeploymentPlanListFilters
- func (*ListDeploymentPlanRequest) ProtoMessage()
- func (x *ListDeploymentPlanRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentPlanRequest) Reset()
- func (x *ListDeploymentPlanRequest) String() string
- type ListDeploymentPlanResponse
- func (*ListDeploymentPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentPlanResponse) GetRecords() []*DeploymentPlanRecord
- func (*ListDeploymentPlanResponse) ProtoMessage()
- func (x *ListDeploymentPlanResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentPlanResponse) Reset()
- func (x *ListDeploymentPlanResponse) String() string
- type ListMetaInstanceRequest
- func (*ListMetaInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetaInstanceRequest) GetDeploymentIdIn() []string
- func (x *ListMetaInstanceRequest) GetDeploymentPlanIdIn() []string
- func (x *ListMetaInstanceRequest) GetIdIn() []string
- func (x *ListMetaInstanceRequest) GetIncludeDeleted() bool
- func (x *ListMetaInstanceRequest) GetLimit() uint32
- func (x *ListMetaInstanceRequest) GetNameIn() []string
- func (x *ListMetaInstanceRequest) GetStateIn() []MetaInstanceState
- func (x *ListMetaInstanceRequest) GetStateNotIn() []MetaInstanceState
- func (x *ListMetaInstanceRequest) GetVersionEq() uint64
- func (x *ListMetaInstanceRequest) GetVersionGte() uint64
- func (x *ListMetaInstanceRequest) GetVersionLte() uint64
- func (*ListMetaInstanceRequest) ProtoMessage()
- func (x *ListMetaInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *ListMetaInstanceRequest) Reset()
- func (x *ListMetaInstanceRequest) String() string
- type ListMetaInstanceResponse
- func (*ListMetaInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetaInstanceResponse) GetRecords() []*MetaInstance
- func (*ListMetaInstanceResponse) ProtoMessage()
- func (x *ListMetaInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *ListMetaInstanceResponse) Reset()
- func (x *ListMetaInstanceResponse) String() string
- type ListNodeRequest
- func (*ListNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNodeRequest) GetClusterIdIn() []string
- func (x *ListNodeRequest) GetIdIn() []string
- func (x *ListNodeRequest) GetIncludeDeleted() bool
- func (x *ListNodeRequest) GetLimit() uint32
- func (x *ListNodeRequest) GetNameIn() []string
- func (x *ListNodeRequest) GetPayloadNameIn() []string
- func (x *ListNodeRequest) GetPayloadNameNotIn() []string
- func (x *ListNodeRequest) GetRemainingCoresGte() uint32
- func (x *ListNodeRequest) GetRemainingCoresLte() uint32
- func (x *ListNodeRequest) GetRemainingMemoryGte() uint32
- func (x *ListNodeRequest) GetRemainingMemoryLte() uint32
- func (x *ListNodeRequest) GetStateIn() []NodeState
- func (x *ListNodeRequest) GetStateNotIn() []NodeState
- func (x *ListNodeRequest) GetUpdateDomainIn() []string
- func (x *ListNodeRequest) GetVersionEq() uint64
- func (x *ListNodeRequest) GetVersionGte() uint64
- func (x *ListNodeRequest) GetVersionLte() uint64
- func (*ListNodeRequest) ProtoMessage()
- func (x *ListNodeRequest) ProtoReflect() protoreflect.Message
- func (x *ListNodeRequest) Reset()
- func (x *ListNodeRequest) String() string
- type ListNodeResponse
- type MatchingComputeCapability
- func (*MatchingComputeCapability) Descriptor() ([]byte, []int)deprecated
- func (x *MatchingComputeCapability) GetCapabilityNames() []string
- func (x *MatchingComputeCapability) GetCapabilityType() string
- func (x *MatchingComputeCapability) GetComparator() Comparator
- func (*MatchingComputeCapability) ProtoMessage()
- func (x *MatchingComputeCapability) ProtoReflect() protoreflect.Message
- func (x *MatchingComputeCapability) Reset()
- func (x *MatchingComputeCapability) String() string
- type MetaInstance
- func (*MetaInstance) Descriptor() ([]byte, []int)deprecated
- func (x *MetaInstance) GetDeploymentId() string
- func (x *MetaInstance) GetDeploymentPlanId() string
- func (x *MetaInstance) GetMetadata() *Metadata
- func (x *MetaInstance) GetName() string
- func (x *MetaInstance) GetOperations() []*Operation
- func (x *MetaInstance) GetRuntimeInstances() []*RuntimeInstance
- func (x *MetaInstance) GetStatus() *MetaInstanceStatus
- func (*MetaInstance) ProtoMessage()
- func (x *MetaInstance) ProtoReflect() protoreflect.Message
- func (x *MetaInstance) Reset()
- func (x *MetaInstance) String() string
- type MetaInstanceState
- func (MetaInstanceState) Descriptor() protoreflect.EnumDescriptor
- func (x MetaInstanceState) Enum() *MetaInstanceState
- func (MetaInstanceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetaInstanceState) Number() protoreflect.EnumNumber
- func (x MetaInstanceState) String() string
- func (MetaInstanceState) Type() protoreflect.EnumType
- type MetaInstanceStatus
- func (*MetaInstanceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *MetaInstanceStatus) GetMessage() string
- func (x *MetaInstanceStatus) GetState() MetaInstanceState
- func (*MetaInstanceStatus) ProtoMessage()
- func (x *MetaInstanceStatus) ProtoReflect() protoreflect.Message
- func (x *MetaInstanceStatus) Reset()
- func (x *MetaInstanceStatus) String() string
- type MetaInstancesClient
- type MetaInstancesServer
- type Metadata
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetCapabilityIds() []string
- func (x *Node) GetClusterId() string
- func (x *Node) GetDisruptions() []*NodeDisruption
- func (x *Node) GetLocalVolumes() []*NodeLocalVolume
- func (x *Node) GetMetadata() *Metadata
- func (x *Node) GetName() string
- func (x *Node) GetRemainingResources() *Resources
- func (x *Node) GetStatus() *NodeStatus
- func (x *Node) GetSystemReservedResources() *Resources
- func (x *Node) GetTotalResources() *Resources
- func (x *Node) GetUpdateDomain() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeDisruption
- func (*NodeDisruption) Descriptor() ([]byte, []int)deprecated
- func (x *NodeDisruption) GetId() string
- func (x *NodeDisruption) GetShouldEvict() bool
- func (x *NodeDisruption) GetStatus() *DisruptionStatus
- func (*NodeDisruption) ProtoMessage()
- func (x *NodeDisruption) ProtoReflect() protoreflect.Message
- func (x *NodeDisruption) Reset()
- func (x *NodeDisruption) String() string
- type NodeLocalVolume
- func (*NodeLocalVolume) Descriptor() ([]byte, []int)deprecated
- func (x *NodeLocalVolume) GetMountPath() string
- func (x *NodeLocalVolume) GetStorageCapacity() uint32
- func (x *NodeLocalVolume) GetStorageClass() string
- func (*NodeLocalVolume) ProtoMessage()
- func (x *NodeLocalVolume) ProtoReflect() protoreflect.Message
- func (x *NodeLocalVolume) Reset()
- func (x *NodeLocalVolume) String() string
- type NodeState
- type NodeStatus
- type NodesClient
- type NodesServer
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetId() string
- func (x *Operation) GetIntentId() string
- func (x *Operation) GetStatus() *OperationStatus
- func (x *Operation) GetType() OperationType
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type OperationState
- func (OperationState) Descriptor() protoreflect.EnumDescriptor
- func (x OperationState) Enum() *OperationState
- func (OperationState) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationState) Number() protoreflect.EnumNumber
- func (x OperationState) String() string
- func (OperationState) Type() protoreflect.EnumType
- type OperationStatus
- func (*OperationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *OperationStatus) GetMessage() string
- func (x *OperationStatus) GetState() OperationState
- func (*OperationStatus) ProtoMessage()
- func (x *OperationStatus) ProtoReflect() protoreflect.Message
- func (x *OperationStatus) Reset()
- func (x *OperationStatus) String() string
- type OperationType
- func (OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x OperationType) Enum() *OperationType
- func (OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationType) Number() protoreflect.EnumNumber
- func (x OperationType) String() string
- func (OperationType) Type() protoreflect.EnumType
- type PayloadCoordinates
- func (*PayloadCoordinates) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadCoordinates) GetCoordinates() map[string]string
- func (x *PayloadCoordinates) GetPayloadName() string
- func (*PayloadCoordinates) ProtoMessage()
- func (x *PayloadCoordinates) ProtoReflect() protoreflect.Message
- func (x *PayloadCoordinates) Reset()
- func (x *PayloadCoordinates) String() string
- type RemoveCapabilityRequest
- func (*RemoveCapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCapabilityRequest) GetCapabilityId() string
- func (x *RemoveCapabilityRequest) GetMetadata() *Metadata
- func (*RemoveCapabilityRequest) ProtoMessage()
- func (x *RemoveCapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveCapabilityRequest) Reset()
- func (x *RemoveCapabilityRequest) String() string
- type RemoveDisruptionRequest
- func (*RemoveDisruptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDisruptionRequest) GetDisruptionId() string
- func (x *RemoveDisruptionRequest) GetMetadata() *Metadata
- func (*RemoveDisruptionRequest) ProtoMessage()
- func (x *RemoveDisruptionRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDisruptionRequest) Reset()
- func (x *RemoveDisruptionRequest) String() string
- type RemoveOperationRequest
- func (*RemoveOperationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveOperationRequest) GetMetadata() *Metadata
- func (x *RemoveOperationRequest) GetOperationId() string
- func (*RemoveOperationRequest) ProtoMessage()
- func (x *RemoveOperationRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveOperationRequest) Reset()
- func (x *RemoveOperationRequest) String() string
- type RemoveRuntimeInstanceRequest
- func (*RemoveRuntimeInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRuntimeInstanceRequest) GetMetadata() *Metadata
- func (x *RemoveRuntimeInstanceRequest) GetRuntimeInstanceId() string
- func (*RemoveRuntimeInstanceRequest) ProtoMessage()
- func (x *RemoveRuntimeInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRuntimeInstanceRequest) Reset()
- func (x *RemoveRuntimeInstanceRequest) String() string
- type Resources
- type RuntimeInstance
- func (*RuntimeInstance) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeInstance) GetId() string
- func (x *RuntimeInstance) GetIsActive() bool
- func (x *RuntimeInstance) GetNodeId() string
- func (x *RuntimeInstance) GetStatus() *RuntimeInstanceStatus
- func (*RuntimeInstance) ProtoMessage()
- func (x *RuntimeInstance) ProtoReflect() protoreflect.Message
- func (x *RuntimeInstance) Reset()
- func (x *RuntimeInstance) String() string
- type RuntimeInstanceState
- func (RuntimeInstanceState) Descriptor() protoreflect.EnumDescriptor
- func (x RuntimeInstanceState) Enum() *RuntimeInstanceState
- func (RuntimeInstanceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuntimeInstanceState) Number() protoreflect.EnumNumber
- func (x RuntimeInstanceState) String() string
- func (RuntimeInstanceState) Type() protoreflect.EnumType
- type RuntimeInstanceStatus
- func (*RuntimeInstanceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeInstanceStatus) GetMessage() string
- func (x *RuntimeInstanceStatus) GetState() RuntimeInstanceState
- func (*RuntimeInstanceStatus) ProtoMessage()
- func (x *RuntimeInstanceStatus) ProtoReflect() protoreflect.Message
- func (x *RuntimeInstanceStatus) Reset()
- func (x *RuntimeInstanceStatus) String() string
- type UnimplementedClustersServer
- func (UnimplementedClustersServer) Create(context.Context, *CreateClusterRequest) (*CreateClusterResponse, error)
- func (UnimplementedClustersServer) Delete(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
- func (UnimplementedClustersServer) GetByID(context.Context, *GetClusterByIDRequest) (*GetClusterResponse, error)
- func (UnimplementedClustersServer) GetByName(context.Context, *GetClusterByNameRequest) (*GetClusterResponse, error)
- func (UnimplementedClustersServer) List(context.Context, *ListClusterRequest) (*ListClusterResponse, error)
- func (UnimplementedClustersServer) UpdateStatus(context.Context, *UpdateClusterStatusRequest) (*UpdateClusterResponse, error)
- type UnimplementedComputeCapabilitiesServer
- func (UnimplementedComputeCapabilitiesServer) Create(context.Context, *CreateComputeCapabilityRequest) (*CreateComputeCapabilityResponse, error)
- func (UnimplementedComputeCapabilitiesServer) Delete(context.Context, *DeleteComputeCapabilityRequest) (*DeleteComputeCapabilityResponse, error)
- func (UnimplementedComputeCapabilitiesServer) GetByID(context.Context, *GetComputeCapabilityByIDRequest) (*GetComputeCapabilityResponse, error)
- func (UnimplementedComputeCapabilitiesServer) GetByName(context.Context, *GetComputeCapabilityByNameRequest) (*GetComputeCapabilityResponse, error)
- func (UnimplementedComputeCapabilitiesServer) List(context.Context, *ListComputeCapabilityRequest) (*ListComputeCapabilityResponse, error)
- func (UnimplementedComputeCapabilitiesServer) UpdateStatus(context.Context, *UpdateComputeCapabilityStatusRequest) (*UpdateComputeCapabilityResponse, error)
- type UnimplementedDeploymentPlansServer
- func (UnimplementedDeploymentPlansServer) AddDeployment(context.Context, *AddDeploymentRequest) (*UpdateDeploymentPlanResponse, error)
- func (UnimplementedDeploymentPlansServer) Create(context.Context, *CreateDeploymentPlanRequest) (*CreateDeploymentPlanResponse, error)
- func (UnimplementedDeploymentPlansServer) Delete(context.Context, *DeleteDeploymentPlanRequest) (*DeleteDeploymentPlanResponse, error)
- func (UnimplementedDeploymentPlansServer) GetByID(context.Context, *GetDeploymentPlanByIDRequest) (*GetDeploymentPlanResponse, error)
- func (UnimplementedDeploymentPlansServer) GetByName(context.Context, *GetDeploymentPlanByNameRequest) (*GetDeploymentPlanResponse, error)
- func (UnimplementedDeploymentPlansServer) List(context.Context, *ListDeploymentPlanRequest) (*ListDeploymentPlanResponse, error)
- func (UnimplementedDeploymentPlansServer) UpdateDeploymentStatus(context.Context, *UpdateDeploymentStatusRequest) (*UpdateDeploymentPlanResponse, error)
- func (UnimplementedDeploymentPlansServer) UpdateStatus(context.Context, *UpdateDeploymentPlanStatusRequest) (*UpdateDeploymentPlanResponse, error)
- type UnimplementedMetaInstancesServer
- func (UnimplementedMetaInstancesServer) AddOperation(context.Context, *AddOperationRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) AddRuntimeInstance(context.Context, *AddRuntimeInstanceRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) Create(context.Context, *CreateMetaInstanceRequest) (*CreateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) Delete(context.Context, *DeleteMetaInstanceRequest) (*DeleteMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) GetByID(context.Context, *GetMetaInstanceByIDRequest) (*GetMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) GetByName(context.Context, *GetMetaInstanceByNameRequest) (*GetMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) List(context.Context, *ListMetaInstanceRequest) (*ListMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) RemoveOperation(context.Context, *RemoveOperationRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) RemoveRuntimeInstance(context.Context, *RemoveRuntimeInstanceRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) UpdateDeploymentID(context.Context, *UpdateDeploymentIDRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) UpdateOperationStatus(context.Context, *UpdateOperationStatusRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) UpdateRuntimeActiveState(context.Context, *UpdateRuntimeActiveStateRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) UpdateRuntimeStatus(context.Context, *UpdateRuntimeStatusRequest) (*UpdateMetaInstanceResponse, error)
- func (UnimplementedMetaInstancesServer) UpdateStatus(context.Context, *UpdateMetaInstanceStatusRequest) (*UpdateMetaInstanceResponse, error)
- type UnimplementedNodesServer
- func (UnimplementedNodesServer) AddCapability(context.Context, *AddCapabilityRequest) (*UpdateNodeResponse, error)
- func (UnimplementedNodesServer) AddDisruption(context.Context, *AddDisruptionRequest) (*UpdateNodeResponse, error)
- func (UnimplementedNodesServer) Create(context.Context, *CreateNodeRequest) (*CreateNodeResponse, error)
- func (UnimplementedNodesServer) Delete(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
- func (UnimplementedNodesServer) GetByID(context.Context, *GetNodeByIDRequest) (*GetNodeResponse, error)
- func (UnimplementedNodesServer) GetByName(context.Context, *GetNodeByNameRequest) (*GetNodeResponse, error)
- func (UnimplementedNodesServer) List(context.Context, *ListNodeRequest) (*ListNodeResponse, error)
- func (UnimplementedNodesServer) RemoveCapability(context.Context, *RemoveCapabilityRequest) (*UpdateNodeResponse, error)
- func (UnimplementedNodesServer) RemoveDisruption(context.Context, *RemoveDisruptionRequest) (*UpdateNodeResponse, error)
- func (UnimplementedNodesServer) UpdateDisruptionStatus(context.Context, *UpdateDisruptionStatusRequest) (*UpdateNodeResponse, error)
- func (UnimplementedNodesServer) UpdateStatus(context.Context, *UpdateNodeStatusRequest) (*UpdateNodeResponse, error)
- type UnsafeClustersServer
- type UnsafeComputeCapabilitiesServer
- type UnsafeDeploymentPlansServer
- type UnsafeMetaInstancesServer
- type UnsafeNodesServer
- type UpdateClusterResponse
- func (*UpdateClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterResponse) GetRecord() *Cluster
- func (*UpdateClusterResponse) ProtoMessage()
- func (x *UpdateClusterResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterResponse) Reset()
- func (x *UpdateClusterResponse) String() string
- type UpdateClusterStatusRequest
- func (*UpdateClusterStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterStatusRequest) GetMetadata() *Metadata
- func (x *UpdateClusterStatusRequest) GetStatus() *ClusterStatus
- func (*UpdateClusterStatusRequest) ProtoMessage()
- func (x *UpdateClusterStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterStatusRequest) Reset()
- func (x *UpdateClusterStatusRequest) String() string
- type UpdateComputeCapabilityResponse
- func (*UpdateComputeCapabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateComputeCapabilityResponse) GetRecord() *ComputeCapability
- func (*UpdateComputeCapabilityResponse) ProtoMessage()
- func (x *UpdateComputeCapabilityResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateComputeCapabilityResponse) Reset()
- func (x *UpdateComputeCapabilityResponse) String() string
- type UpdateComputeCapabilityStatusRequest
- func (*UpdateComputeCapabilityStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateComputeCapabilityStatusRequest) GetMetadata() *Metadata
- func (x *UpdateComputeCapabilityStatusRequest) GetStatus() *ComputeCapabilityStatus
- func (*UpdateComputeCapabilityStatusRequest) ProtoMessage()
- func (x *UpdateComputeCapabilityStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateComputeCapabilityStatusRequest) Reset()
- func (x *UpdateComputeCapabilityStatusRequest) String() string
- type UpdateDeploymentIDRequest
- func (*UpdateDeploymentIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentIDRequest) GetDeploymentId() string
- func (x *UpdateDeploymentIDRequest) GetMetadata() *Metadata
- func (*UpdateDeploymentIDRequest) ProtoMessage()
- func (x *UpdateDeploymentIDRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentIDRequest) Reset()
- func (x *UpdateDeploymentIDRequest) String() string
- type UpdateDeploymentPlanResponse
- func (*UpdateDeploymentPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentPlanResponse) GetRecord() *DeploymentPlanRecord
- func (*UpdateDeploymentPlanResponse) ProtoMessage()
- func (x *UpdateDeploymentPlanResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentPlanResponse) Reset()
- func (x *UpdateDeploymentPlanResponse) String() string
- type UpdateDeploymentPlanStatusRequest
- func (*UpdateDeploymentPlanStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentPlanStatusRequest) GetMetadata() *Metadata
- func (x *UpdateDeploymentPlanStatusRequest) GetStatus() *DeploymentPlanStatus
- func (*UpdateDeploymentPlanStatusRequest) ProtoMessage()
- func (x *UpdateDeploymentPlanStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentPlanStatusRequest) Reset()
- func (x *UpdateDeploymentPlanStatusRequest) String() string
- type UpdateDeploymentStatusRequest
- func (*UpdateDeploymentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentStatusRequest) GetDeploymentId() string
- func (x *UpdateDeploymentStatusRequest) GetMetadata() *Metadata
- func (x *UpdateDeploymentStatusRequest) GetStatus() *DeploymentStatus
- func (*UpdateDeploymentStatusRequest) ProtoMessage()
- func (x *UpdateDeploymentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentStatusRequest) Reset()
- func (x *UpdateDeploymentStatusRequest) String() string
- type UpdateDisruptionStatusRequest
- func (*UpdateDisruptionStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDisruptionStatusRequest) GetDisruptionId() string
- func (x *UpdateDisruptionStatusRequest) GetMetadata() *Metadata
- func (x *UpdateDisruptionStatusRequest) GetStatus() *DisruptionStatus
- func (*UpdateDisruptionStatusRequest) ProtoMessage()
- func (x *UpdateDisruptionStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDisruptionStatusRequest) Reset()
- func (x *UpdateDisruptionStatusRequest) String() string
- type UpdateMetaInstanceResponse
- func (*UpdateMetaInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetaInstanceResponse) GetRecord() *MetaInstance
- func (*UpdateMetaInstanceResponse) ProtoMessage()
- func (x *UpdateMetaInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateMetaInstanceResponse) Reset()
- func (x *UpdateMetaInstanceResponse) String() string
- type UpdateMetaInstanceStatusRequest
- func (*UpdateMetaInstanceStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetaInstanceStatusRequest) GetMetadata() *Metadata
- func (x *UpdateMetaInstanceStatusRequest) GetStatus() *MetaInstanceStatus
- func (*UpdateMetaInstanceStatusRequest) ProtoMessage()
- func (x *UpdateMetaInstanceStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMetaInstanceStatusRequest) Reset()
- func (x *UpdateMetaInstanceStatusRequest) String() string
- type UpdateNodeResponse
- func (*UpdateNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeResponse) GetRecord() *Node
- func (*UpdateNodeResponse) ProtoMessage()
- func (x *UpdateNodeResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeResponse) Reset()
- func (x *UpdateNodeResponse) String() string
- type UpdateNodeStatusRequest
- func (*UpdateNodeStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeStatusRequest) GetClusterId() string
- func (x *UpdateNodeStatusRequest) GetMetadata() *Metadata
- func (x *UpdateNodeStatusRequest) GetStatus() *NodeStatus
- func (*UpdateNodeStatusRequest) ProtoMessage()
- func (x *UpdateNodeStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeStatusRequest) Reset()
- func (x *UpdateNodeStatusRequest) String() string
- type UpdateOperationStatusRequest
- func (*UpdateOperationStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOperationStatusRequest) GetMetadata() *Metadata
- func (x *UpdateOperationStatusRequest) GetOperationId() string
- func (x *UpdateOperationStatusRequest) GetStatus() *OperationStatus
- func (*UpdateOperationStatusRequest) ProtoMessage()
- func (x *UpdateOperationStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOperationStatusRequest) Reset()
- func (x *UpdateOperationStatusRequest) String() string
- type UpdateRuntimeActiveStateRequest
- func (*UpdateRuntimeActiveStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuntimeActiveStateRequest) GetIsActive() bool
- func (x *UpdateRuntimeActiveStateRequest) GetMetadata() *Metadata
- func (x *UpdateRuntimeActiveStateRequest) GetRuntimeInstanceId() string
- func (*UpdateRuntimeActiveStateRequest) ProtoMessage()
- func (x *UpdateRuntimeActiveStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRuntimeActiveStateRequest) Reset()
- func (x *UpdateRuntimeActiveStateRequest) String() string
- type UpdateRuntimeStatusRequest
- func (*UpdateRuntimeStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuntimeStatusRequest) GetMetadata() *Metadata
- func (x *UpdateRuntimeStatusRequest) GetRuntimeInstanceId() string
- func (x *UpdateRuntimeStatusRequest) GetStatus() *RuntimeInstanceStatus
- func (*UpdateRuntimeStatusRequest) ProtoMessage()
- func (x *UpdateRuntimeStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRuntimeStatusRequest) Reset()
- func (x *UpdateRuntimeStatusRequest) String() string
Constants ¶
const ( Clusters_Create_FullMethodName = "/proto.mrds.ledger.cluster.Clusters/Create" Clusters_GetByID_FullMethodName = "/proto.mrds.ledger.cluster.Clusters/GetByID" Clusters_GetByName_FullMethodName = "/proto.mrds.ledger.cluster.Clusters/GetByName" Clusters_UpdateStatus_FullMethodName = "/proto.mrds.ledger.cluster.Clusters/UpdateStatus" Clusters_List_FullMethodName = "/proto.mrds.ledger.cluster.Clusters/List" Clusters_Delete_FullMethodName = "/proto.mrds.ledger.cluster.Clusters/Delete" )
const ( ComputeCapabilities_Create_FullMethodName = "/proto.mrds.ledger.computecapability.ComputeCapabilities/Create" ComputeCapabilities_GetByID_FullMethodName = "/proto.mrds.ledger.computecapability.ComputeCapabilities/GetByID" ComputeCapabilities_GetByName_FullMethodName = "/proto.mrds.ledger.computecapability.ComputeCapabilities/GetByName" ComputeCapabilities_UpdateStatus_FullMethodName = "/proto.mrds.ledger.computecapability.ComputeCapabilities/UpdateStatus" ComputeCapabilities_List_FullMethodName = "/proto.mrds.ledger.computecapability.ComputeCapabilities/List" ComputeCapabilities_Delete_FullMethodName = "/proto.mrds.ledger.computecapability.ComputeCapabilities/Delete" )
const ( DeploymentPlans_Create_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/Create" DeploymentPlans_GetByID_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/GetByID" DeploymentPlans_GetByName_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/GetByName" DeploymentPlans_UpdateStatus_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/UpdateStatus" DeploymentPlans_List_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/List" DeploymentPlans_Delete_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/Delete" DeploymentPlans_AddDeployment_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/AddDeployment" DeploymentPlans_UpdateDeploymentStatus_FullMethodName = "/proto.mrds.ledger.deploymentplan.DeploymentPlans/UpdateDeploymentStatus" )
const ( MetaInstances_Create_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/Create" MetaInstances_GetByID_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/GetByID" MetaInstances_GetByName_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/GetByName" MetaInstances_UpdateStatus_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/UpdateStatus" MetaInstances_UpdateDeploymentID_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/UpdateDeploymentID" MetaInstances_List_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/List" MetaInstances_Delete_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/Delete" MetaInstances_AddRuntimeInstance_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/AddRuntimeInstance" MetaInstances_UpdateRuntimeStatus_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/UpdateRuntimeStatus" MetaInstances_UpdateRuntimeActiveState_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/UpdateRuntimeActiveState" MetaInstances_RemoveRuntimeInstance_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/RemoveRuntimeInstance" MetaInstances_AddOperation_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/AddOperation" MetaInstances_UpdateOperationStatus_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/UpdateOperationStatus" MetaInstances_RemoveOperation_FullMethodName = "/proto.mrds.ledger.metainstance.MetaInstances/RemoveOperation" )
const ( Nodes_Create_FullMethodName = "/proto.mrds.ledger.node.Nodes/Create" Nodes_GetByID_FullMethodName = "/proto.mrds.ledger.node.Nodes/GetByID" Nodes_GetByName_FullMethodName = "/proto.mrds.ledger.node.Nodes/GetByName" Nodes_UpdateStatus_FullMethodName = "/proto.mrds.ledger.node.Nodes/UpdateStatus" Nodes_List_FullMethodName = "/proto.mrds.ledger.node.Nodes/List" Nodes_Delete_FullMethodName = "/proto.mrds.ledger.node.Nodes/Delete" Nodes_AddDisruption_FullMethodName = "/proto.mrds.ledger.node.Nodes/AddDisruption" Nodes_UpdateDisruptionStatus_FullMethodName = "/proto.mrds.ledger.node.Nodes/UpdateDisruptionStatus" Nodes_RemoveDisruption_FullMethodName = "/proto.mrds.ledger.node.Nodes/RemoveDisruption" Nodes_AddCapability_FullMethodName = "/proto.mrds.ledger.node.Nodes/AddCapability" Nodes_RemoveCapability_FullMethodName = "/proto.mrds.ledger.node.Nodes/RemoveCapability" )
Variables ¶
var ( ClusterState_name = map[int32]string{ 0: "ClusterState_UNKNOWN", 1: "ClusterState_PENDING", 2: "ClusterState_ACTIVE", 3: "ClusterState_INACTIVE", } ClusterState_value = map[string]int32{ "ClusterState_UNKNOWN": 0, "ClusterState_PENDING": 1, "ClusterState_ACTIVE": 2, "ClusterState_INACTIVE": 3, } )
Enum value maps for ClusterState.
var ( ComputeCapabilityState_name = map[int32]string{ 0: "ComputeCapabilityState_UNKNOWN", 1: "ComputeCapabilityState_PENDING", 2: "ComputeCapabilityState_ACTIVE", 3: "ComputeCapabilityState_INACTIVE", } ComputeCapabilityState_value = map[string]int32{ "ComputeCapabilityState_UNKNOWN": 0, "ComputeCapabilityState_PENDING": 1, "ComputeCapabilityState_ACTIVE": 2, "ComputeCapabilityState_INACTIVE": 3, } )
Enum value maps for ComputeCapabilityState.
var ( DeploymentPlanState_name = map[int32]string{ 0: "DeploymentPlanState_UNKNOWN", 1: "DeploymentPlanState_ACTIVE", 2: "DeploymentPlanState_INACTIVE", } DeploymentPlanState_value = map[string]int32{ "DeploymentPlanState_UNKNOWN": 0, "DeploymentPlanState_ACTIVE": 1, "DeploymentPlanState_INACTIVE": 2, } )
Enum value maps for DeploymentPlanState.
var ( Comparator_name = map[int32]string{ 0: "Comparator_IN", 1: "Comparator_NOT_IN", 2: "Comparator_GTE", 3: "ComparatorE_LTE", } Comparator_value = map[string]int32{ "Comparator_IN": 0, "Comparator_NOT_IN": 1, "Comparator_GTE": 2, "ComparatorE_LTE": 3, } )
Enum value maps for Comparator.
var ( DeploymentState_name = map[int32]string{ 0: "DeploymentState_UNKNOWN", 1: "DeploymentState_PENDING", 2: "DeploymentState_IN_PROGRESS", 3: "DeploymentState_FAILED", 4: "DeploymentState_PAUSED", 5: "DeploymentState_COMPLETED", 6: "DeploymentState_CANCELLED", } DeploymentState_value = map[string]int32{ "DeploymentState_UNKNOWN": 0, "DeploymentState_PENDING": 1, "DeploymentState_IN_PROGRESS": 2, "DeploymentState_FAILED": 3, "DeploymentState_PAUSED": 4, "DeploymentState_COMPLETED": 5, "DeploymentState_CANCELLED": 6, } )
Enum value maps for DeploymentState.
var ( MetaInstanceState_name = map[int32]string{ 0: "MetaInstanceState_UNKNOWN", 1: "MetaInstanceState_ACTIVE", 2: "MetaInstanceState_MARKED_FOR_DELETION", } MetaInstanceState_value = map[string]int32{ "MetaInstanceState_UNKNOWN": 0, "MetaInstanceState_ACTIVE": 1, "MetaInstanceState_MARKED_FOR_DELETION": 2, } )
Enum value maps for MetaInstanceState.
var ( RuntimeInstanceState_name = map[int32]string{ 0: "RuntimeState_UNKNOWN", 1: "RuntimeState_PENDING", 2: "RuntimeState_STARTING", 3: "RuntimeState_RUNNING", 4: "RuuntimeState_UPDATING", 5: "RuntimeState_TERMINATING", 6: "RuntimeState_TERMINATED", 7: "RuntimeState_FAILED", } RuntimeInstanceState_value = map[string]int32{ "RuntimeState_UNKNOWN": 0, "RuntimeState_PENDING": 1, "RuntimeState_STARTING": 2, "RuntimeState_RUNNING": 3, "RuuntimeState_UPDATING": 4, "RuntimeState_TERMINATING": 5, "RuntimeState_TERMINATED": 6, "RuntimeState_FAILED": 7, } )
Enum value maps for RuntimeInstanceState.
var ( OperationType_name = map[int32]string{ 0: "OperationType_UNKNOWN", 1: "OperationType_CREATE", 2: "OperationType_UPDATE", 3: "OperationType_DELETE", 4: "OperationType_STOP", 5: "OperationType_RESTART", 6: "OperationType_RELOCATE", } OperationType_value = map[string]int32{ "OperationType_UNKNOWN": 0, "OperationType_CREATE": 1, "OperationType_UPDATE": 2, "OperationType_DELETE": 3, "OperationType_STOP": 4, "OperationType_RESTART": 5, "OperationType_RELOCATE": 6, } )
Enum value maps for OperationType.
var ( OperationState_name = map[int32]string{ 0: "OperationState_UNKNOWN", 1: "OperationState_PENDING", 2: "OperationState_PREPARING", 3: "OperationState_PENDING_APPROVAL", 4: "OperationState_APPROVED", 5: "OperationState_SUCCEEDED", 6: "OperationState_FAILED", } OperationState_value = map[string]int32{ "OperationState_UNKNOWN": 0, "OperationState_PENDING": 1, "OperationState_PREPARING": 2, "OperationState_PENDING_APPROVAL": 3, "OperationState_APPROVED": 4, "OperationState_SUCCEEDED": 5, "OperationState_FAILED": 6, } )
Enum value maps for OperationState.
var ( NodeState_name = map[int32]string{ 0: "NodeState_UNKNOWN", 1: "NodeState_UNALLOCATED", 2: "NodeState_ALLOCATING", 3: "NodeState_ALLOCATED", 4: "NodeState_EVICTED", 5: "NodeState_SANITIZING", } NodeState_value = map[string]int32{ "NodeState_UNKNOWN": 0, "NodeState_UNALLOCATED": 1, "NodeState_ALLOCATING": 2, "NodeState_ALLOCATED": 3, "NodeState_EVICTED": 4, "NodeState_SANITIZING": 5, } )
Enum value maps for NodeState.
var ( DisruptionState_name = map[int32]string{ 0: "DisruptionState_UNKNOWN", 1: "DisruptionState_SCHEDULED", 2: "DisruptionState_APPROVED", 3: "DisruptionState_COMPLETED", } DisruptionState_value = map[string]int32{ "DisruptionState_UNKNOWN": 0, "DisruptionState_SCHEDULED": 1, "DisruptionState_APPROVED": 2, "DisruptionState_COMPLETED": 3, } )
Enum value maps for DisruptionState.
var Clusters_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.mrds.ledger.cluster.Clusters", HandlerType: (*ClustersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Clusters_Create_Handler, }, { MethodName: "GetByID", Handler: _Clusters_GetByID_Handler, }, { MethodName: "GetByName", Handler: _Clusters_GetByName_Handler, }, { MethodName: "UpdateStatus", Handler: _Clusters_UpdateStatus_Handler, }, { MethodName: "List", Handler: _Clusters_List_Handler, }, { MethodName: "Delete", Handler: _Clusters_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cluster_service.proto", }
Clusters_ServiceDesc is the grpc.ServiceDesc for Clusters service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ComputeCapabilities_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.mrds.ledger.computecapability.ComputeCapabilities", HandlerType: (*ComputeCapabilitiesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ComputeCapabilities_Create_Handler, }, { MethodName: "GetByID", Handler: _ComputeCapabilities_GetByID_Handler, }, { MethodName: "GetByName", Handler: _ComputeCapabilities_GetByName_Handler, }, { MethodName: "UpdateStatus", Handler: _ComputeCapabilities_UpdateStatus_Handler, }, { MethodName: "List", Handler: _ComputeCapabilities_List_Handler, }, { MethodName: "Delete", Handler: _ComputeCapabilities_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "computecapability_service.proto", }
ComputeCapabilities_ServiceDesc is the grpc.ServiceDesc for ComputeCapabilities service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeploymentPlans_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.mrds.ledger.deploymentplan.DeploymentPlans", HandlerType: (*DeploymentPlansServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _DeploymentPlans_Create_Handler, }, { MethodName: "GetByID", Handler: _DeploymentPlans_GetByID_Handler, }, { MethodName: "GetByName", Handler: _DeploymentPlans_GetByName_Handler, }, { MethodName: "UpdateStatus", Handler: _DeploymentPlans_UpdateStatus_Handler, }, { MethodName: "List", Handler: _DeploymentPlans_List_Handler, }, { MethodName: "Delete", Handler: _DeploymentPlans_Delete_Handler, }, { MethodName: "AddDeployment", Handler: _DeploymentPlans_AddDeployment_Handler, }, { MethodName: "UpdateDeploymentStatus", Handler: _DeploymentPlans_UpdateDeploymentStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "deploymentplan_service.proto", }
DeploymentPlans_ServiceDesc is the grpc.ServiceDesc for DeploymentPlans service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cluster_proto protoreflect.FileDescriptor
var File_cluster_service_proto protoreflect.FileDescriptor
var File_computecapability_proto protoreflect.FileDescriptor
var File_computecapability_service_proto protoreflect.FileDescriptor
var File_deploymentplan_proto protoreflect.FileDescriptor
var File_deploymentplan_service_proto protoreflect.FileDescriptor
var File_metadata_proto protoreflect.FileDescriptor
var File_metainstance_proto protoreflect.FileDescriptor
var File_metainstance_service_proto protoreflect.FileDescriptor
var File_node_proto protoreflect.FileDescriptor
var File_node_service_proto protoreflect.FileDescriptor
var MetaInstances_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.mrds.ledger.metainstance.MetaInstances", HandlerType: (*MetaInstancesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _MetaInstances_Create_Handler, }, { MethodName: "GetByID", Handler: _MetaInstances_GetByID_Handler, }, { MethodName: "GetByName", Handler: _MetaInstances_GetByName_Handler, }, { MethodName: "UpdateStatus", Handler: _MetaInstances_UpdateStatus_Handler, }, { MethodName: "UpdateDeploymentID", Handler: _MetaInstances_UpdateDeploymentID_Handler, }, { MethodName: "List", Handler: _MetaInstances_List_Handler, }, { MethodName: "Delete", Handler: _MetaInstances_Delete_Handler, }, { MethodName: "AddRuntimeInstance", Handler: _MetaInstances_AddRuntimeInstance_Handler, }, { MethodName: "UpdateRuntimeStatus", Handler: _MetaInstances_UpdateRuntimeStatus_Handler, }, { MethodName: "UpdateRuntimeActiveState", Handler: _MetaInstances_UpdateRuntimeActiveState_Handler, }, { MethodName: "RemoveRuntimeInstance", Handler: _MetaInstances_RemoveRuntimeInstance_Handler, }, { MethodName: "AddOperation", Handler: _MetaInstances_AddOperation_Handler, }, { MethodName: "UpdateOperationStatus", Handler: _MetaInstances_UpdateOperationStatus_Handler, }, { MethodName: "RemoveOperation", Handler: _MetaInstances_RemoveOperation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "metainstance_service.proto", }
MetaInstances_ServiceDesc is the grpc.ServiceDesc for MetaInstances service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Nodes_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.mrds.ledger.node.Nodes", HandlerType: (*NodesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Nodes_Create_Handler, }, { MethodName: "GetByID", Handler: _Nodes_GetByID_Handler, }, { MethodName: "GetByName", Handler: _Nodes_GetByName_Handler, }, { MethodName: "UpdateStatus", Handler: _Nodes_UpdateStatus_Handler, }, { MethodName: "List", Handler: _Nodes_List_Handler, }, { MethodName: "Delete", Handler: _Nodes_Delete_Handler, }, { MethodName: "AddDisruption", Handler: _Nodes_AddDisruption_Handler, }, { MethodName: "UpdateDisruptionStatus", Handler: _Nodes_UpdateDisruptionStatus_Handler, }, { MethodName: "RemoveDisruption", Handler: _Nodes_RemoveDisruption_Handler, }, { MethodName: "AddCapability", Handler: _Nodes_AddCapability_Handler, }, { MethodName: "RemoveCapability", Handler: _Nodes_RemoveCapability_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "node_service.proto", }
Nodes_ServiceDesc is the grpc.ServiceDesc for Nodes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterClustersServer ¶
func RegisterClustersServer(s grpc.ServiceRegistrar, srv ClustersServer)
func RegisterComputeCapabilitiesServer ¶
func RegisterComputeCapabilitiesServer(s grpc.ServiceRegistrar, srv ComputeCapabilitiesServer)
func RegisterDeploymentPlansServer ¶
func RegisterDeploymentPlansServer(s grpc.ServiceRegistrar, srv DeploymentPlansServer)
func RegisterMetaInstancesServer ¶
func RegisterMetaInstancesServer(s grpc.ServiceRegistrar, srv MetaInstancesServer)
func RegisterNodesServer ¶
func RegisterNodesServer(s grpc.ServiceRegistrar, srv NodesServer)
Types ¶
type AddCapabilityRequest ¶
type AddCapabilityRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
CapabilityId string `protobuf:"bytes,2,opt,name=capability_id,json=capabilityId,proto3" json:"capability_id,omitempty"`
// contains filtered or unexported fields
}
func (*AddCapabilityRequest) Descriptor
deprecated
func (*AddCapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCapabilityRequest.ProtoReflect.Descriptor instead.
func (*AddCapabilityRequest) GetCapabilityId ¶
func (x *AddCapabilityRequest) GetCapabilityId() string
func (*AddCapabilityRequest) GetMetadata ¶
func (x *AddCapabilityRequest) GetMetadata() *Metadata
func (*AddCapabilityRequest) ProtoMessage ¶
func (*AddCapabilityRequest) ProtoMessage()
func (*AddCapabilityRequest) ProtoReflect ¶
func (x *AddCapabilityRequest) ProtoReflect() protoreflect.Message
func (*AddCapabilityRequest) Reset ¶
func (x *AddCapabilityRequest) Reset()
func (*AddCapabilityRequest) String ¶
func (x *AddCapabilityRequest) String() string
type AddDeploymentRequest ¶
type AddDeploymentRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
PayloadCoordinates []*PayloadCoordinates `protobuf:"bytes,3,rep,name=payload_coordinates,json=payloadCoordinates,proto3" json:"payload_coordinates,omitempty"`
InstanceCount uint32 `protobuf:"varint,4,opt,name=instance_count,json=instanceCount,proto3" json:"instance_count,omitempty"`
// contains filtered or unexported fields
}
AddDeploymentRequest represents the request to add a deployment to a DeploymentPlan.
func (*AddDeploymentRequest) Descriptor
deprecated
func (*AddDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDeploymentRequest.ProtoReflect.Descriptor instead.
func (*AddDeploymentRequest) GetDeploymentId ¶
func (x *AddDeploymentRequest) GetDeploymentId() string
func (*AddDeploymentRequest) GetInstanceCount ¶
func (x *AddDeploymentRequest) GetInstanceCount() uint32
func (*AddDeploymentRequest) GetMetadata ¶
func (x *AddDeploymentRequest) GetMetadata() *Metadata
func (*AddDeploymentRequest) GetPayloadCoordinates ¶
func (x *AddDeploymentRequest) GetPayloadCoordinates() []*PayloadCoordinates
func (*AddDeploymentRequest) ProtoMessage ¶
func (*AddDeploymentRequest) ProtoMessage()
func (*AddDeploymentRequest) ProtoReflect ¶
func (x *AddDeploymentRequest) ProtoReflect() protoreflect.Message
func (*AddDeploymentRequest) Reset ¶
func (x *AddDeploymentRequest) Reset()
func (*AddDeploymentRequest) String ¶
func (x *AddDeploymentRequest) String() string
type AddDisruptionRequest ¶
type AddDisruptionRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Disruption *NodeDisruption `protobuf:"bytes,2,opt,name=disruption,proto3" json:"disruption,omitempty"`
// contains filtered or unexported fields
}
func (*AddDisruptionRequest) Descriptor
deprecated
func (*AddDisruptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDisruptionRequest.ProtoReflect.Descriptor instead.
func (*AddDisruptionRequest) GetDisruption ¶
func (x *AddDisruptionRequest) GetDisruption() *NodeDisruption
func (*AddDisruptionRequest) GetMetadata ¶
func (x *AddDisruptionRequest) GetMetadata() *Metadata
func (*AddDisruptionRequest) ProtoMessage ¶
func (*AddDisruptionRequest) ProtoMessage()
func (*AddDisruptionRequest) ProtoReflect ¶
func (x *AddDisruptionRequest) ProtoReflect() protoreflect.Message
func (*AddDisruptionRequest) Reset ¶
func (x *AddDisruptionRequest) Reset()
func (*AddDisruptionRequest) String ¶
func (x *AddDisruptionRequest) String() string
type AddOperationRequest ¶
type AddOperationRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Operation *Operation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
// contains filtered or unexported fields
}
Request to add an Operation to a MetaInstance.
func (*AddOperationRequest) Descriptor
deprecated
func (*AddOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddOperationRequest.ProtoReflect.Descriptor instead.
func (*AddOperationRequest) GetMetadata ¶
func (x *AddOperationRequest) GetMetadata() *Metadata
func (*AddOperationRequest) GetOperation ¶
func (x *AddOperationRequest) GetOperation() *Operation
func (*AddOperationRequest) ProtoMessage ¶
func (*AddOperationRequest) ProtoMessage()
func (*AddOperationRequest) ProtoReflect ¶
func (x *AddOperationRequest) ProtoReflect() protoreflect.Message
func (*AddOperationRequest) Reset ¶
func (x *AddOperationRequest) Reset()
func (*AddOperationRequest) String ¶
func (x *AddOperationRequest) String() string
type AddRuntimeInstanceRequest ¶
type AddRuntimeInstanceRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
RuntimeInstance *RuntimeInstance `protobuf:"bytes,2,opt,name=runtime_instance,json=runtimeInstance,proto3" json:"runtime_instance,omitempty"`
// contains filtered or unexported fields
}
Request to add a RuntimeInstance to a MetaInstance.
func (*AddRuntimeInstanceRequest) Descriptor
deprecated
func (*AddRuntimeInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRuntimeInstanceRequest.ProtoReflect.Descriptor instead.
func (*AddRuntimeInstanceRequest) GetMetadata ¶
func (x *AddRuntimeInstanceRequest) GetMetadata() *Metadata
func (*AddRuntimeInstanceRequest) GetRuntimeInstance ¶
func (x *AddRuntimeInstanceRequest) GetRuntimeInstance() *RuntimeInstance
func (*AddRuntimeInstanceRequest) ProtoMessage ¶
func (*AddRuntimeInstanceRequest) ProtoMessage()
func (*AddRuntimeInstanceRequest) ProtoReflect ¶
func (x *AddRuntimeInstanceRequest) ProtoReflect() protoreflect.Message
func (*AddRuntimeInstanceRequest) Reset ¶
func (x *AddRuntimeInstanceRequest) Reset()
func (*AddRuntimeInstanceRequest) String ¶
func (x *AddRuntimeInstanceRequest) String() string
type Application ¶
type Application struct {
PayloadName string `protobuf:"bytes,1,opt,name=payload_name,json=payloadName,proto3" json:"payload_name,omitempty"`
Resources *ApplicationResources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
Ports []*ApplicationPort `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"`
PersistentVolumes []*ApplicationPersistentVolume `protobuf:"bytes,4,rep,name=persistent_volumes,json=persistentVolumes,proto3" json:"persistent_volumes,omitempty"`
// contains filtered or unexported fields
}
Application represents an application required by the Deployment.
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetPayloadName ¶
func (x *Application) GetPayloadName() string
func (*Application) GetPersistentVolumes ¶
func (x *Application) GetPersistentVolumes() []*ApplicationPersistentVolume
func (*Application) GetPorts ¶
func (x *Application) GetPorts() []*ApplicationPort
func (*Application) GetResources ¶
func (x *Application) GetResources() *ApplicationResources
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type ApplicationPersistentVolume ¶
type ApplicationPersistentVolume struct {
StorageClass string `protobuf:"bytes,1,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
Capacity uint32 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
MountPath string `protobuf:"bytes,3,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// contains filtered or unexported fields
}
ApplicationPersistentVolume defines a persistent volume for an application.
func (*ApplicationPersistentVolume) Descriptor
deprecated
func (*ApplicationPersistentVolume) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationPersistentVolume.ProtoReflect.Descriptor instead.
func (*ApplicationPersistentVolume) GetCapacity ¶
func (x *ApplicationPersistentVolume) GetCapacity() uint32
func (*ApplicationPersistentVolume) GetMountPath ¶
func (x *ApplicationPersistentVolume) GetMountPath() string
func (*ApplicationPersistentVolume) GetStorageClass ¶
func (x *ApplicationPersistentVolume) GetStorageClass() string
func (*ApplicationPersistentVolume) ProtoMessage ¶
func (*ApplicationPersistentVolume) ProtoMessage()
func (*ApplicationPersistentVolume) ProtoReflect ¶
func (x *ApplicationPersistentVolume) ProtoReflect() protoreflect.Message
func (*ApplicationPersistentVolume) Reset ¶
func (x *ApplicationPersistentVolume) Reset()
func (*ApplicationPersistentVolume) String ¶
func (x *ApplicationPersistentVolume) String() string
type ApplicationPort ¶
type ApplicationPort struct {
Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
ApplicationPort defines the port settings for an application.
func (*ApplicationPort) Descriptor
deprecated
func (*ApplicationPort) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationPort.ProtoReflect.Descriptor instead.
func (*ApplicationPort) GetPort ¶
func (x *ApplicationPort) GetPort() uint32
func (*ApplicationPort) GetProtocol ¶
func (x *ApplicationPort) GetProtocol() string
func (*ApplicationPort) ProtoMessage ¶
func (*ApplicationPort) ProtoMessage()
func (*ApplicationPort) ProtoReflect ¶
func (x *ApplicationPort) ProtoReflect() protoreflect.Message
func (*ApplicationPort) Reset ¶
func (x *ApplicationPort) Reset()
func (*ApplicationPort) String ¶
func (x *ApplicationPort) String() string
type ApplicationResources ¶
type ApplicationResources struct {
Cores uint32 `protobuf:"varint,1,opt,name=cores,proto3" json:"cores,omitempty"`
Memory uint32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
// contains filtered or unexported fields
}
ApplicationResources defines the resource requirements for an application.
func (*ApplicationResources) Descriptor
deprecated
func (*ApplicationResources) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationResources.ProtoReflect.Descriptor instead.
func (*ApplicationResources) GetCores ¶
func (x *ApplicationResources) GetCores() uint32
func (*ApplicationResources) GetMemory ¶
func (x *ApplicationResources) GetMemory() uint32
func (*ApplicationResources) ProtoMessage ¶
func (*ApplicationResources) ProtoMessage()
func (*ApplicationResources) ProtoReflect ¶
func (x *ApplicationResources) ProtoReflect() protoreflect.Message
func (*ApplicationResources) Reset ¶
func (x *ApplicationResources) Reset()
func (*ApplicationResources) String ¶
func (x *ApplicationResources) String() string
type Cluster ¶
type Cluster struct {
// Metadata is the metadata that identifies the Cluster.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Name is the name of the Cluster.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Status represents the current status of the Cluster.
Status *ClusterStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Message representing the Cluster
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetMetadata ¶
func (*Cluster) GetStatus ¶
func (x *Cluster) GetStatus() *ClusterStatus
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type ClusterState ¶
type ClusterState int32
Enum to represent the ClusterState
const ( ClusterState_ClusterState_UNKNOWN ClusterState = 0 ClusterState_ClusterState_PENDING ClusterState = 1 ClusterState_ClusterState_ACTIVE ClusterState = 2 ClusterState_ClusterState_INACTIVE ClusterState = 3 )
func (ClusterState) Descriptor ¶
func (ClusterState) Descriptor() protoreflect.EnumDescriptor
func (ClusterState) Enum ¶
func (x ClusterState) Enum() *ClusterState
func (ClusterState) EnumDescriptor
deprecated
func (ClusterState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterState.Descriptor instead.
func (ClusterState) Number ¶
func (x ClusterState) Number() protoreflect.EnumNumber
func (ClusterState) String ¶
func (x ClusterState) String() string
func (ClusterState) Type ¶
func (ClusterState) Type() protoreflect.EnumType
type ClusterStatus ¶
type ClusterStatus struct {
// State is the discrete condition of the resource.
State ClusterState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.cluster.ClusterState" json:"state,omitempty"`
// Message is a human-readable description of the resource's state.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Message representing the Status of a resource.
func (*ClusterStatus) Descriptor
deprecated
func (*ClusterStatus) Descriptor() ([]byte, []int)
Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.
func (*ClusterStatus) GetMessage ¶
func (x *ClusterStatus) GetMessage() string
func (*ClusterStatus) GetState ¶
func (x *ClusterStatus) GetState() ClusterState
func (*ClusterStatus) ProtoMessage ¶
func (*ClusterStatus) ProtoMessage()
func (*ClusterStatus) ProtoReflect ¶
func (x *ClusterStatus) ProtoReflect() protoreflect.Message
func (*ClusterStatus) Reset ¶
func (x *ClusterStatus) Reset()
func (*ClusterStatus) String ¶
func (x *ClusterStatus) String() string
type ClustersClient ¶
type ClustersClient interface {
// Create a new Cluster.
Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*CreateClusterResponse, error)
// Get a Cluster by its ID.
GetByID(ctx context.Context, in *GetClusterByIDRequest, opts ...grpc.CallOption) (*GetClusterResponse, error)
// Get a Cluster by its name.
GetByName(ctx context.Context, in *GetClusterByNameRequest, opts ...grpc.CallOption) (*GetClusterResponse, error)
// Update the state of an existing Cluster.
UpdateStatus(ctx context.Context, in *UpdateClusterStatusRequest, opts ...grpc.CallOption) (*UpdateClusterResponse, error)
// List Clusters that match the provided filters.
List(ctx context.Context, in *ListClusterRequest, opts ...grpc.CallOption) (*ListClusterResponse, error)
// Delete a Cluster by its metadata.
Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*DeleteClusterResponse, error)
}
ClustersClient is the client API for Clusters service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Service definition for managing Cluster records.
func NewClustersClient ¶
func NewClustersClient(cc grpc.ClientConnInterface) ClustersClient
type ClustersServer ¶
type ClustersServer interface {
// Create a new Cluster.
Create(context.Context, *CreateClusterRequest) (*CreateClusterResponse, error)
// Get a Cluster by its ID.
GetByID(context.Context, *GetClusterByIDRequest) (*GetClusterResponse, error)
// Get a Cluster by its name.
GetByName(context.Context, *GetClusterByNameRequest) (*GetClusterResponse, error)
// Update the state of an existing Cluster.
UpdateStatus(context.Context, *UpdateClusterStatusRequest) (*UpdateClusterResponse, error)
// List Clusters that match the provided filters.
List(context.Context, *ListClusterRequest) (*ListClusterResponse, error)
// Delete a Cluster by its metadata.
Delete(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
// contains filtered or unexported methods
}
ClustersServer is the server API for Clusters service. All implementations must embed UnimplementedClustersServer for forward compatibility.
Service definition for managing Cluster records.
type Comparator ¶
type Comparator int32
Enum for the type of comparator used for capability matching.
const ( Comparator_Comparator_IN Comparator = 0 Comparator_Comparator_NOT_IN Comparator = 1 Comparator_Comparator_GTE Comparator = 2 Comparator_ComparatorE_LTE Comparator = 3 )
func (Comparator) Descriptor ¶
func (Comparator) Descriptor() protoreflect.EnumDescriptor
func (Comparator) Enum ¶
func (x Comparator) Enum() *Comparator
func (Comparator) EnumDescriptor
deprecated
func (Comparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use Comparator.Descriptor instead.
func (Comparator) Number ¶
func (x Comparator) Number() protoreflect.EnumNumber
func (Comparator) String ¶
func (x Comparator) String() string
func (Comparator) Type ¶
func (Comparator) Type() protoreflect.EnumType
type ComputeCapabilitiesClient ¶
type ComputeCapabilitiesClient interface {
// Create a new ComputeCapability.
Create(ctx context.Context, in *CreateComputeCapabilityRequest, opts ...grpc.CallOption) (*CreateComputeCapabilityResponse, error)
// Get a ComputeCapability by its id.
GetByID(ctx context.Context, in *GetComputeCapabilityByIDRequest, opts ...grpc.CallOption) (*GetComputeCapabilityResponse, error)
// Get a ComputeCapability by its name.
GetByName(ctx context.Context, in *GetComputeCapabilityByNameRequest, opts ...grpc.CallOption) (*GetComputeCapabilityResponse, error)
// Update the state of an existing ComputeCapability.
UpdateStatus(ctx context.Context, in *UpdateComputeCapabilityStatusRequest, opts ...grpc.CallOption) (*UpdateComputeCapabilityResponse, error)
// List ComputeCapabilitys that match the provided filters.
List(ctx context.Context, in *ListComputeCapabilityRequest, opts ...grpc.CallOption) (*ListComputeCapabilityResponse, error)
// Delete a ComputeCapability by its metadata.
Delete(ctx context.Context, in *DeleteComputeCapabilityRequest, opts ...grpc.CallOption) (*DeleteComputeCapabilityResponse, error)
}
ComputeCapabilitiesClient is the client API for ComputeCapabilities service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Service definition for managing ComputeCapability records.
func NewComputeCapabilitiesClient ¶
func NewComputeCapabilitiesClient(cc grpc.ClientConnInterface) ComputeCapabilitiesClient
type ComputeCapabilitiesServer ¶
type ComputeCapabilitiesServer interface {
// Create a new ComputeCapability.
Create(context.Context, *CreateComputeCapabilityRequest) (*CreateComputeCapabilityResponse, error)
// Get a ComputeCapability by its id.
GetByID(context.Context, *GetComputeCapabilityByIDRequest) (*GetComputeCapabilityResponse, error)
// Get a ComputeCapability by its name.
GetByName(context.Context, *GetComputeCapabilityByNameRequest) (*GetComputeCapabilityResponse, error)
// Update the state of an existing ComputeCapability.
UpdateStatus(context.Context, *UpdateComputeCapabilityStatusRequest) (*UpdateComputeCapabilityResponse, error)
// List ComputeCapabilitys that match the provided filters.
List(context.Context, *ListComputeCapabilityRequest) (*ListComputeCapabilityResponse, error)
// Delete a ComputeCapability by its metadata.
Delete(context.Context, *DeleteComputeCapabilityRequest) (*DeleteComputeCapabilityResponse, error)
// contains filtered or unexported methods
}
ComputeCapabilitiesServer is the server API for ComputeCapabilities service. All implementations must embed UnimplementedComputeCapabilitiesServer for forward compatibility.
Service definition for managing ComputeCapability records.
type ComputeCapability ¶
type ComputeCapability struct {
// Metadata is the metadata that identifies the ComputeCapability.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Name is the name of the ComputeCapability.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Status represents the current status of the ComputeCapability.
Status *ComputeCapabilityStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// ComputeCapabilityType is the type of the ComputeCapability.
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
// Score is the score of the ComputeCapability. It is a score relative to other ComputeCapabilities
// of the same type. The higher the score, the better the ComputeCapability.
Score uint32 `protobuf:"varint,5,opt,name=score,proto3" json:"score,omitempty"`
// contains filtered or unexported fields
}
Message representing the ComputeCapability
func (*ComputeCapability) Descriptor
deprecated
func (*ComputeCapability) Descriptor() ([]byte, []int)
Deprecated: Use ComputeCapability.ProtoReflect.Descriptor instead.
func (*ComputeCapability) GetMetadata ¶
func (x *ComputeCapability) GetMetadata() *Metadata
func (*ComputeCapability) GetName ¶
func (x *ComputeCapability) GetName() string
func (*ComputeCapability) GetScore ¶
func (x *ComputeCapability) GetScore() uint32
func (*ComputeCapability) GetStatus ¶
func (x *ComputeCapability) GetStatus() *ComputeCapabilityStatus
func (*ComputeCapability) GetType ¶
func (x *ComputeCapability) GetType() string
func (*ComputeCapability) ProtoMessage ¶
func (*ComputeCapability) ProtoMessage()
func (*ComputeCapability) ProtoReflect ¶
func (x *ComputeCapability) ProtoReflect() protoreflect.Message
func (*ComputeCapability) Reset ¶
func (x *ComputeCapability) Reset()
func (*ComputeCapability) String ¶
func (x *ComputeCapability) String() string
type ComputeCapabilityState ¶
type ComputeCapabilityState int32
Enum to represent the ComputeCapabilityState
const ( ComputeCapabilityState_ComputeCapabilityState_UNKNOWN ComputeCapabilityState = 0 ComputeCapabilityState_ComputeCapabilityState_PENDING ComputeCapabilityState = 1 ComputeCapabilityState_ComputeCapabilityState_ACTIVE ComputeCapabilityState = 2 ComputeCapabilityState_ComputeCapabilityState_INACTIVE ComputeCapabilityState = 3 )
func (ComputeCapabilityState) Descriptor ¶
func (ComputeCapabilityState) Descriptor() protoreflect.EnumDescriptor
func (ComputeCapabilityState) Enum ¶
func (x ComputeCapabilityState) Enum() *ComputeCapabilityState
func (ComputeCapabilityState) EnumDescriptor
deprecated
func (ComputeCapabilityState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComputeCapabilityState.Descriptor instead.
func (ComputeCapabilityState) Number ¶
func (x ComputeCapabilityState) Number() protoreflect.EnumNumber
func (ComputeCapabilityState) String ¶
func (x ComputeCapabilityState) String() string
func (ComputeCapabilityState) Type ¶
func (ComputeCapabilityState) Type() protoreflect.EnumType
type ComputeCapabilityStatus ¶
type ComputeCapabilityStatus struct {
// State is the discrete condition of the resource.
State ComputeCapabilityState `` /* 128-byte string literal not displayed */
// Message is a human-readable description of the resource's state.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Message representing the Status of a resource.
func (*ComputeCapabilityStatus) Descriptor
deprecated
func (*ComputeCapabilityStatus) Descriptor() ([]byte, []int)
Deprecated: Use ComputeCapabilityStatus.ProtoReflect.Descriptor instead.
func (*ComputeCapabilityStatus) GetMessage ¶
func (x *ComputeCapabilityStatus) GetMessage() string
func (*ComputeCapabilityStatus) GetState ¶
func (x *ComputeCapabilityStatus) GetState() ComputeCapabilityState
func (*ComputeCapabilityStatus) ProtoMessage ¶
func (*ComputeCapabilityStatus) ProtoMessage()
func (*ComputeCapabilityStatus) ProtoReflect ¶
func (x *ComputeCapabilityStatus) ProtoReflect() protoreflect.Message
func (*ComputeCapabilityStatus) Reset ¶
func (x *ComputeCapabilityStatus) Reset()
func (*ComputeCapabilityStatus) String ¶
func (x *ComputeCapabilityStatus) String() string
type CreateClusterRequest ¶
type CreateClusterRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to create a new Cluster.
func (*CreateClusterRequest) Descriptor
deprecated
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetName ¶
func (x *CreateClusterRequest) GetName() string
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect ¶
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset ¶
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (x *CreateClusterRequest) String() string
type CreateClusterResponse ¶
type CreateClusterResponse struct {
// The newly created Cluster record.
Record *Cluster `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after creating a new Cluster.
func (*CreateClusterResponse) Descriptor
deprecated
func (*CreateClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterResponse.ProtoReflect.Descriptor instead.
func (*CreateClusterResponse) GetRecord ¶
func (x *CreateClusterResponse) GetRecord() *Cluster
func (*CreateClusterResponse) ProtoMessage ¶
func (*CreateClusterResponse) ProtoMessage()
func (*CreateClusterResponse) ProtoReflect ¶
func (x *CreateClusterResponse) ProtoReflect() protoreflect.Message
func (*CreateClusterResponse) Reset ¶
func (x *CreateClusterResponse) Reset()
func (*CreateClusterResponse) String ¶
func (x *CreateClusterResponse) String() string
type CreateComputeCapabilityRequest ¶
type CreateComputeCapabilityRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Score uint32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
// contains filtered or unexported fields
}
Request to create a new ComputeCapability.
func (*CreateComputeCapabilityRequest) Descriptor
deprecated
func (*CreateComputeCapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateComputeCapabilityRequest.ProtoReflect.Descriptor instead.
func (*CreateComputeCapabilityRequest) GetName ¶
func (x *CreateComputeCapabilityRequest) GetName() string
func (*CreateComputeCapabilityRequest) GetScore ¶
func (x *CreateComputeCapabilityRequest) GetScore() uint32
func (*CreateComputeCapabilityRequest) GetType ¶
func (x *CreateComputeCapabilityRequest) GetType() string
func (*CreateComputeCapabilityRequest) ProtoMessage ¶
func (*CreateComputeCapabilityRequest) ProtoMessage()
func (*CreateComputeCapabilityRequest) ProtoReflect ¶
func (x *CreateComputeCapabilityRequest) ProtoReflect() protoreflect.Message
func (*CreateComputeCapabilityRequest) Reset ¶
func (x *CreateComputeCapabilityRequest) Reset()
func (*CreateComputeCapabilityRequest) String ¶
func (x *CreateComputeCapabilityRequest) String() string
type CreateComputeCapabilityResponse ¶
type CreateComputeCapabilityResponse struct {
// The newly created ComputeCapability record.
Record *ComputeCapability `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after creating a new ComputeCapability.
func (*CreateComputeCapabilityResponse) Descriptor
deprecated
func (*CreateComputeCapabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateComputeCapabilityResponse.ProtoReflect.Descriptor instead.
func (*CreateComputeCapabilityResponse) GetRecord ¶
func (x *CreateComputeCapabilityResponse) GetRecord() *ComputeCapability
func (*CreateComputeCapabilityResponse) ProtoMessage ¶
func (*CreateComputeCapabilityResponse) ProtoMessage()
func (*CreateComputeCapabilityResponse) ProtoReflect ¶
func (x *CreateComputeCapabilityResponse) ProtoReflect() protoreflect.Message
func (*CreateComputeCapabilityResponse) Reset ¶
func (x *CreateComputeCapabilityResponse) Reset()
func (*CreateComputeCapabilityResponse) String ¶
func (x *CreateComputeCapabilityResponse) String() string
type CreateDeploymentPlanRequest ¶
type CreateDeploymentPlanRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
MatchingComputeCapabilities []*MatchingComputeCapability `` /* 144-byte string literal not displayed */
Applications []*Application `protobuf:"bytes,5,rep,name=applications,proto3" json:"applications,omitempty"`
// contains filtered or unexported fields
}
CreateDeploymentPlanRequest represents the request to create a DeploymentPlan.
func (*CreateDeploymentPlanRequest) Descriptor
deprecated
func (*CreateDeploymentPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeploymentPlanRequest.ProtoReflect.Descriptor instead.
func (*CreateDeploymentPlanRequest) GetApplications ¶
func (x *CreateDeploymentPlanRequest) GetApplications() []*Application
func (*CreateDeploymentPlanRequest) GetMatchingComputeCapabilities ¶
func (x *CreateDeploymentPlanRequest) GetMatchingComputeCapabilities() []*MatchingComputeCapability
func (*CreateDeploymentPlanRequest) GetName ¶
func (x *CreateDeploymentPlanRequest) GetName() string
func (*CreateDeploymentPlanRequest) GetNamespace ¶
func (x *CreateDeploymentPlanRequest) GetNamespace() string
func (*CreateDeploymentPlanRequest) GetServiceName ¶
func (x *CreateDeploymentPlanRequest) GetServiceName() string
func (*CreateDeploymentPlanRequest) ProtoMessage ¶
func (*CreateDeploymentPlanRequest) ProtoMessage()
func (*CreateDeploymentPlanRequest) ProtoReflect ¶
func (x *CreateDeploymentPlanRequest) ProtoReflect() protoreflect.Message
func (*CreateDeploymentPlanRequest) Reset ¶
func (x *CreateDeploymentPlanRequest) Reset()
func (*CreateDeploymentPlanRequest) String ¶
func (x *CreateDeploymentPlanRequest) String() string
type CreateDeploymentPlanResponse ¶
type CreateDeploymentPlanResponse struct {
Record *DeploymentPlanRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
CreateDeploymentPlanResponse represents the response after creating a DeploymentPlan.
func (*CreateDeploymentPlanResponse) Descriptor
deprecated
func (*CreateDeploymentPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeploymentPlanResponse.ProtoReflect.Descriptor instead.
func (*CreateDeploymentPlanResponse) GetRecord ¶
func (x *CreateDeploymentPlanResponse) GetRecord() *DeploymentPlanRecord
func (*CreateDeploymentPlanResponse) ProtoMessage ¶
func (*CreateDeploymentPlanResponse) ProtoMessage()
func (*CreateDeploymentPlanResponse) ProtoReflect ¶
func (x *CreateDeploymentPlanResponse) ProtoReflect() protoreflect.Message
func (*CreateDeploymentPlanResponse) Reset ¶
func (x *CreateDeploymentPlanResponse) Reset()
func (*CreateDeploymentPlanResponse) String ¶
func (x *CreateDeploymentPlanResponse) String() string
type CreateMetaInstanceRequest ¶
type CreateMetaInstanceRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DeploymentPlanId string `protobuf:"bytes,2,opt,name=deployment_plan_id,json=deploymentPlanId,proto3" json:"deployment_plan_id,omitempty"`
DeploymentId string `protobuf:"bytes,3,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
// contains filtered or unexported fields
}
Request to create a new MetaInstance.
func (*CreateMetaInstanceRequest) Descriptor
deprecated
func (*CreateMetaInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMetaInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateMetaInstanceRequest) GetDeploymentId ¶
func (x *CreateMetaInstanceRequest) GetDeploymentId() string
func (*CreateMetaInstanceRequest) GetDeploymentPlanId ¶
func (x *CreateMetaInstanceRequest) GetDeploymentPlanId() string
func (*CreateMetaInstanceRequest) GetName ¶
func (x *CreateMetaInstanceRequest) GetName() string
func (*CreateMetaInstanceRequest) ProtoMessage ¶
func (*CreateMetaInstanceRequest) ProtoMessage()
func (*CreateMetaInstanceRequest) ProtoReflect ¶
func (x *CreateMetaInstanceRequest) ProtoReflect() protoreflect.Message
func (*CreateMetaInstanceRequest) Reset ¶
func (x *CreateMetaInstanceRequest) Reset()
func (*CreateMetaInstanceRequest) String ¶
func (x *CreateMetaInstanceRequest) String() string
type CreateMetaInstanceResponse ¶
type CreateMetaInstanceResponse struct {
Record *MetaInstance `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after creating a new MetaInstance.
func (*CreateMetaInstanceResponse) Descriptor
deprecated
func (*CreateMetaInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMetaInstanceResponse.ProtoReflect.Descriptor instead.
func (*CreateMetaInstanceResponse) GetRecord ¶
func (x *CreateMetaInstanceResponse) GetRecord() *MetaInstance
func (*CreateMetaInstanceResponse) ProtoMessage ¶
func (*CreateMetaInstanceResponse) ProtoMessage()
func (*CreateMetaInstanceResponse) ProtoReflect ¶
func (x *CreateMetaInstanceResponse) ProtoReflect() protoreflect.Message
func (*CreateMetaInstanceResponse) Reset ¶
func (x *CreateMetaInstanceResponse) Reset()
func (*CreateMetaInstanceResponse) String ¶
func (x *CreateMetaInstanceResponse) String() string
type CreateNodeRequest ¶
type CreateNodeRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
UpdateDomain string `protobuf:"bytes,2,opt,name=update_domain,json=updateDomain,proto3" json:"update_domain,omitempty"`
TotalResources *Resources `protobuf:"bytes,3,opt,name=total_resources,json=totalResources,proto3" json:"total_resources,omitempty"`
SystemReservedResources *Resources `` /* 132-byte string literal not displayed */
LocalVolumes []*NodeLocalVolume `protobuf:"bytes,5,rep,name=local_volumes,json=localVolumes,proto3" json:"local_volumes,omitempty"`
CapabilityIds []string `protobuf:"bytes,6,rep,name=capability_ids,json=capabilityIds,proto3" json:"capability_ids,omitempty"`
// contains filtered or unexported fields
}
Request to create a new Node.
func (*CreateNodeRequest) Descriptor
deprecated
func (*CreateNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodeRequest.ProtoReflect.Descriptor instead.
func (*CreateNodeRequest) GetCapabilityIds ¶
func (x *CreateNodeRequest) GetCapabilityIds() []string
func (*CreateNodeRequest) GetLocalVolumes ¶
func (x *CreateNodeRequest) GetLocalVolumes() []*NodeLocalVolume
func (*CreateNodeRequest) GetName ¶
func (x *CreateNodeRequest) GetName() string
func (*CreateNodeRequest) GetSystemReservedResources ¶
func (x *CreateNodeRequest) GetSystemReservedResources() *Resources
func (*CreateNodeRequest) GetTotalResources ¶
func (x *CreateNodeRequest) GetTotalResources() *Resources
func (*CreateNodeRequest) GetUpdateDomain ¶
func (x *CreateNodeRequest) GetUpdateDomain() string
func (*CreateNodeRequest) ProtoMessage ¶
func (*CreateNodeRequest) ProtoMessage()
func (*CreateNodeRequest) ProtoReflect ¶
func (x *CreateNodeRequest) ProtoReflect() protoreflect.Message
func (*CreateNodeRequest) Reset ¶
func (x *CreateNodeRequest) Reset()
func (*CreateNodeRequest) String ¶
func (x *CreateNodeRequest) String() string
type CreateNodeResponse ¶
type CreateNodeResponse struct {
// The newly created Node record.
Record *Node `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after creating a new Node.
func (*CreateNodeResponse) Descriptor
deprecated
func (*CreateNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodeResponse.ProtoReflect.Descriptor instead.
func (*CreateNodeResponse) GetRecord ¶
func (x *CreateNodeResponse) GetRecord() *Node
func (*CreateNodeResponse) ProtoMessage ¶
func (*CreateNodeResponse) ProtoMessage()
func (*CreateNodeResponse) ProtoReflect ¶
func (x *CreateNodeResponse) ProtoReflect() protoreflect.Message
func (*CreateNodeResponse) Reset ¶
func (x *CreateNodeResponse) Reset()
func (*CreateNodeResponse) String ¶
func (x *CreateNodeResponse) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct {
// The metadata of the Cluster to delete.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Request to delete a Cluster by its metadata.
func (*DeleteClusterRequest) Descriptor
deprecated
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetMetadata ¶
func (x *DeleteClusterRequest) GetMetadata() *Metadata
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) ProtoReflect ¶
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterRequest) Reset ¶
func (x *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (x *DeleteClusterRequest) String() string
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
// contains filtered or unexported fields
}
Response after deleting a Cluster.
func (*DeleteClusterResponse) Descriptor
deprecated
func (*DeleteClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterResponse.ProtoReflect.Descriptor instead.
func (*DeleteClusterResponse) ProtoMessage ¶
func (*DeleteClusterResponse) ProtoMessage()
func (*DeleteClusterResponse) ProtoReflect ¶
func (x *DeleteClusterResponse) ProtoReflect() protoreflect.Message
func (*DeleteClusterResponse) Reset ¶
func (x *DeleteClusterResponse) Reset()
func (*DeleteClusterResponse) String ¶
func (x *DeleteClusterResponse) String() string
type DeleteComputeCapabilityRequest ¶
type DeleteComputeCapabilityRequest struct {
// The metadata of the ComputeCapability to delete.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Request to delete a ComputeCapability by its metadata.
func (*DeleteComputeCapabilityRequest) Descriptor
deprecated
func (*DeleteComputeCapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteComputeCapabilityRequest.ProtoReflect.Descriptor instead.
func (*DeleteComputeCapabilityRequest) GetMetadata ¶
func (x *DeleteComputeCapabilityRequest) GetMetadata() *Metadata
func (*DeleteComputeCapabilityRequest) ProtoMessage ¶
func (*DeleteComputeCapabilityRequest) ProtoMessage()
func (*DeleteComputeCapabilityRequest) ProtoReflect ¶
func (x *DeleteComputeCapabilityRequest) ProtoReflect() protoreflect.Message
func (*DeleteComputeCapabilityRequest) Reset ¶
func (x *DeleteComputeCapabilityRequest) Reset()
func (*DeleteComputeCapabilityRequest) String ¶
func (x *DeleteComputeCapabilityRequest) String() string
type DeleteComputeCapabilityResponse ¶
type DeleteComputeCapabilityResponse struct {
// contains filtered or unexported fields
}
Response after deleting a ComputeCapability.
func (*DeleteComputeCapabilityResponse) Descriptor
deprecated
func (*DeleteComputeCapabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteComputeCapabilityResponse.ProtoReflect.Descriptor instead.
func (*DeleteComputeCapabilityResponse) ProtoMessage ¶
func (*DeleteComputeCapabilityResponse) ProtoMessage()
func (*DeleteComputeCapabilityResponse) ProtoReflect ¶
func (x *DeleteComputeCapabilityResponse) ProtoReflect() protoreflect.Message
func (*DeleteComputeCapabilityResponse) Reset ¶
func (x *DeleteComputeCapabilityResponse) Reset()
func (*DeleteComputeCapabilityResponse) String ¶
func (x *DeleteComputeCapabilityResponse) String() string
type DeleteDeploymentPlanRequest ¶
type DeleteDeploymentPlanRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
DeleteDeploymentPlanRequest represents the request to delete a DeploymentPlan by metadata.
func (*DeleteDeploymentPlanRequest) Descriptor
deprecated
func (*DeleteDeploymentPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeploymentPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeploymentPlanRequest) GetMetadata ¶
func (x *DeleteDeploymentPlanRequest) GetMetadata() *Metadata
func (*DeleteDeploymentPlanRequest) ProtoMessage ¶
func (*DeleteDeploymentPlanRequest) ProtoMessage()
func (*DeleteDeploymentPlanRequest) ProtoReflect ¶
func (x *DeleteDeploymentPlanRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeploymentPlanRequest) Reset ¶
func (x *DeleteDeploymentPlanRequest) Reset()
func (*DeleteDeploymentPlanRequest) String ¶
func (x *DeleteDeploymentPlanRequest) String() string
type DeleteDeploymentPlanResponse ¶
type DeleteDeploymentPlanResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
DeleteDeploymentPlanResponse represents the response after deleting a DeploymentPlan.
func (*DeleteDeploymentPlanResponse) Descriptor
deprecated
func (*DeleteDeploymentPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeploymentPlanResponse.ProtoReflect.Descriptor instead.
func (*DeleteDeploymentPlanResponse) GetSuccess ¶
func (x *DeleteDeploymentPlanResponse) GetSuccess() bool
func (*DeleteDeploymentPlanResponse) ProtoMessage ¶
func (*DeleteDeploymentPlanResponse) ProtoMessage()
func (*DeleteDeploymentPlanResponse) ProtoReflect ¶
func (x *DeleteDeploymentPlanResponse) ProtoReflect() protoreflect.Message
func (*DeleteDeploymentPlanResponse) Reset ¶
func (x *DeleteDeploymentPlanResponse) Reset()
func (*DeleteDeploymentPlanResponse) String ¶
func (x *DeleteDeploymentPlanResponse) String() string
type DeleteMetaInstanceRequest ¶
type DeleteMetaInstanceRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Request to delete a MetaInstance by its metadata.
func (*DeleteMetaInstanceRequest) Descriptor
deprecated
func (*DeleteMetaInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMetaInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteMetaInstanceRequest) GetMetadata ¶
func (x *DeleteMetaInstanceRequest) GetMetadata() *Metadata
func (*DeleteMetaInstanceRequest) ProtoMessage ¶
func (*DeleteMetaInstanceRequest) ProtoMessage()
func (*DeleteMetaInstanceRequest) ProtoReflect ¶
func (x *DeleteMetaInstanceRequest) ProtoReflect() protoreflect.Message
func (*DeleteMetaInstanceRequest) Reset ¶
func (x *DeleteMetaInstanceRequest) Reset()
func (*DeleteMetaInstanceRequest) String ¶
func (x *DeleteMetaInstanceRequest) String() string
type DeleteMetaInstanceResponse ¶
type DeleteMetaInstanceResponse struct {
// contains filtered or unexported fields
}
Response after deleting a MetaInstance.
func (*DeleteMetaInstanceResponse) Descriptor
deprecated
func (*DeleteMetaInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMetaInstanceResponse.ProtoReflect.Descriptor instead.
func (*DeleteMetaInstanceResponse) ProtoMessage ¶
func (*DeleteMetaInstanceResponse) ProtoMessage()
func (*DeleteMetaInstanceResponse) ProtoReflect ¶
func (x *DeleteMetaInstanceResponse) ProtoReflect() protoreflect.Message
func (*DeleteMetaInstanceResponse) Reset ¶
func (x *DeleteMetaInstanceResponse) Reset()
func (*DeleteMetaInstanceResponse) String ¶
func (x *DeleteMetaInstanceResponse) String() string
type DeleteNodeRequest ¶
type DeleteNodeRequest struct {
// The metadata of the Node to delete.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Request to delete a Node by its metadata.
func (*DeleteNodeRequest) Descriptor
deprecated
func (*DeleteNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeRequest) GetMetadata ¶
func (x *DeleteNodeRequest) GetMetadata() *Metadata
func (*DeleteNodeRequest) ProtoMessage ¶
func (*DeleteNodeRequest) ProtoMessage()
func (*DeleteNodeRequest) ProtoReflect ¶
func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeRequest) Reset ¶
func (x *DeleteNodeRequest) Reset()
func (*DeleteNodeRequest) String ¶
func (x *DeleteNodeRequest) String() string
type DeleteNodeResponse ¶
type DeleteNodeResponse struct {
// contains filtered or unexported fields
}
Response after deleting a Node.
func (*DeleteNodeResponse) Descriptor
deprecated
func (*DeleteNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodeResponse) ProtoMessage ¶
func (*DeleteNodeResponse) ProtoMessage()
func (*DeleteNodeResponse) ProtoReflect ¶
func (x *DeleteNodeResponse) ProtoReflect() protoreflect.Message
func (*DeleteNodeResponse) Reset ¶
func (x *DeleteNodeResponse) Reset()
func (*DeleteNodeResponse) String ¶
func (x *DeleteNodeResponse) String() string
type Deployment ¶
type Deployment struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the DeploymentPlan.
Status *DeploymentStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Status of the Deployment.
PayloadCoordinates []*PayloadCoordinates `protobuf:"bytes,3,rep,name=payload_coordinates,json=payloadCoordinates,proto3" json:"payload_coordinates,omitempty"` // Coordinates for the required payloads.
InstanceCount uint32 `protobuf:"varint,4,opt,name=instance_count,json=instanceCount,proto3" json:"instance_count,omitempty"` // Number of instances of the Deployment.
// contains filtered or unexported fields
}
Deployment represents an instance of the DeploymentPlan.
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetId ¶
func (x *Deployment) GetId() string
func (*Deployment) GetInstanceCount ¶
func (x *Deployment) GetInstanceCount() uint32
func (*Deployment) GetPayloadCoordinates ¶
func (x *Deployment) GetPayloadCoordinates() []*PayloadCoordinates
func (*Deployment) GetStatus ¶
func (x *Deployment) GetStatus() *DeploymentStatus
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type DeploymentPlanListFilters ¶
type DeploymentPlanListFilters struct {
IdIn []string `protobuf:"bytes,1,rep,name=id_in,json=idIn,proto3" json:"id_in,omitempty"`
NameIn []string `protobuf:"bytes,2,rep,name=name_in,json=nameIn,proto3" json:"name_in,omitempty"`
VersionGte *uint64 `protobuf:"varint,3,opt,name=version_gte,json=versionGte,proto3,oneof" json:"version_gte,omitempty"`
VersionLte *uint64 `protobuf:"varint,4,opt,name=version_lte,json=versionLte,proto3,oneof" json:"version_lte,omitempty"`
VersionEq *uint64 `protobuf:"varint,5,opt,name=version_eq,json=versionEq,proto3,oneof" json:"version_eq,omitempty"`
PayloadNameIn []string `protobuf:"bytes,6,rep,name=payload_name_in,json=payloadNameIn,proto3" json:"payload_name_in,omitempty"`
ServiceNameIn []string `protobuf:"bytes,7,rep,name=service_name_in,json=serviceNameIn,proto3" json:"service_name_in,omitempty"`
DeploymentPlanIdIn []string `protobuf:"bytes,8,rep,name=deployment_plan_id_in,json=deploymentPlanIdIn,proto3" json:"deployment_plan_id_in,omitempty"`
DeploymentPlanStatusIn []DeploymentPlanState `` /* 197-byte string literal not displayed */
IncludeDeleted bool `protobuf:"varint,10,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
Limit uint32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"`
StateIn []DeploymentPlanState `` /* 149-byte string literal not displayed */
StateNotIn []DeploymentPlanState `` /* 160-byte string literal not displayed */
// contains filtered or unexported fields
}
DeploymentPlanListFilters defines the filters for listing DeploymentPlans.
func (*DeploymentPlanListFilters) Descriptor
deprecated
func (*DeploymentPlanListFilters) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentPlanListFilters.ProtoReflect.Descriptor instead.
func (*DeploymentPlanListFilters) GetDeploymentPlanIdIn ¶
func (x *DeploymentPlanListFilters) GetDeploymentPlanIdIn() []string
func (*DeploymentPlanListFilters) GetDeploymentPlanStatusIn ¶
func (x *DeploymentPlanListFilters) GetDeploymentPlanStatusIn() []DeploymentPlanState
func (*DeploymentPlanListFilters) GetIdIn ¶
func (x *DeploymentPlanListFilters) GetIdIn() []string
func (*DeploymentPlanListFilters) GetIncludeDeleted ¶
func (x *DeploymentPlanListFilters) GetIncludeDeleted() bool
func (*DeploymentPlanListFilters) GetLimit ¶
func (x *DeploymentPlanListFilters) GetLimit() uint32
func (*DeploymentPlanListFilters) GetNameIn ¶
func (x *DeploymentPlanListFilters) GetNameIn() []string
func (*DeploymentPlanListFilters) GetPayloadNameIn ¶
func (x *DeploymentPlanListFilters) GetPayloadNameIn() []string
func (*DeploymentPlanListFilters) GetServiceNameIn ¶
func (x *DeploymentPlanListFilters) GetServiceNameIn() []string
func (*DeploymentPlanListFilters) GetStateIn ¶
func (x *DeploymentPlanListFilters) GetStateIn() []DeploymentPlanState
func (*DeploymentPlanListFilters) GetStateNotIn ¶
func (x *DeploymentPlanListFilters) GetStateNotIn() []DeploymentPlanState
func (*DeploymentPlanListFilters) GetVersionEq ¶
func (x *DeploymentPlanListFilters) GetVersionEq() uint64
func (*DeploymentPlanListFilters) GetVersionGte ¶
func (x *DeploymentPlanListFilters) GetVersionGte() uint64
func (*DeploymentPlanListFilters) GetVersionLte ¶
func (x *DeploymentPlanListFilters) GetVersionLte() uint64
func (*DeploymentPlanListFilters) ProtoMessage ¶
func (*DeploymentPlanListFilters) ProtoMessage()
func (*DeploymentPlanListFilters) ProtoReflect ¶
func (x *DeploymentPlanListFilters) ProtoReflect() protoreflect.Message
func (*DeploymentPlanListFilters) Reset ¶
func (x *DeploymentPlanListFilters) Reset()
func (*DeploymentPlanListFilters) String ¶
func (x *DeploymentPlanListFilters) String() string
type DeploymentPlanRecord ¶
type DeploymentPlanRecord struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Metadata identifies the Deployment.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name of this Deployment.
Status *DeploymentPlanStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // Status of the Deployment.
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` // Namespace of the Deployment.
ServiceName string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Name of the service associated with the Deployment.
MatchingComputeCapabilities []*MatchingComputeCapability `` // List of capabilities required by the Deployment.
/* 144-byte string literal not displayed */
Applications []*Application `protobuf:"bytes,7,rep,name=applications,proto3" json:"applications,omitempty"` // List of applications required by the Deployment.
Deployments []*Deployment `protobuf:"bytes,8,rep,name=deployments,proto3" json:"deployments,omitempty"` // Instantiations of the DeploymentPlan.
// contains filtered or unexported fields
}
DeploymentPlanRecord represents a workload expected to be deployed.
func (*DeploymentPlanRecord) Descriptor
deprecated
func (*DeploymentPlanRecord) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentPlanRecord.ProtoReflect.Descriptor instead.
func (*DeploymentPlanRecord) GetApplications ¶
func (x *DeploymentPlanRecord) GetApplications() []*Application
func (*DeploymentPlanRecord) GetDeployments ¶
func (x *DeploymentPlanRecord) GetDeployments() []*Deployment
func (*DeploymentPlanRecord) GetMatchingComputeCapabilities ¶
func (x *DeploymentPlanRecord) GetMatchingComputeCapabilities() []*MatchingComputeCapability
func (*DeploymentPlanRecord) GetMetadata ¶
func (x *DeploymentPlanRecord) GetMetadata() *Metadata
func (*DeploymentPlanRecord) GetName ¶
func (x *DeploymentPlanRecord) GetName() string
func (*DeploymentPlanRecord) GetNamespace ¶
func (x *DeploymentPlanRecord) GetNamespace() string
func (*DeploymentPlanRecord) GetServiceName ¶
func (x *DeploymentPlanRecord) GetServiceName() string
func (*DeploymentPlanRecord) GetStatus ¶
func (x *DeploymentPlanRecord) GetStatus() *DeploymentPlanStatus
func (*DeploymentPlanRecord) ProtoMessage ¶
func (*DeploymentPlanRecord) ProtoMessage()
func (*DeploymentPlanRecord) ProtoReflect ¶
func (x *DeploymentPlanRecord) ProtoReflect() protoreflect.Message
func (*DeploymentPlanRecord) Reset ¶
func (x *DeploymentPlanRecord) Reset()
func (*DeploymentPlanRecord) String ¶
func (x *DeploymentPlanRecord) String() string
type DeploymentPlanState ¶
type DeploymentPlanState int32
Enum for the state of a Deployment.
const ( DeploymentPlanState_DeploymentPlanState_UNKNOWN DeploymentPlanState = 0 DeploymentPlanState_DeploymentPlanState_ACTIVE DeploymentPlanState = 1 DeploymentPlanState_DeploymentPlanState_INACTIVE DeploymentPlanState = 2 )
func (DeploymentPlanState) Descriptor ¶
func (DeploymentPlanState) Descriptor() protoreflect.EnumDescriptor
func (DeploymentPlanState) Enum ¶
func (x DeploymentPlanState) Enum() *DeploymentPlanState
func (DeploymentPlanState) EnumDescriptor
deprecated
func (DeploymentPlanState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeploymentPlanState.Descriptor instead.
func (DeploymentPlanState) Number ¶
func (x DeploymentPlanState) Number() protoreflect.EnumNumber
func (DeploymentPlanState) String ¶
func (x DeploymentPlanState) String() string
func (DeploymentPlanState) Type ¶
func (DeploymentPlanState) Type() protoreflect.EnumType
type DeploymentPlanStatus ¶
type DeploymentPlanStatus struct {
State DeploymentPlanState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.deploymentplan.DeploymentPlanState" json:"state,omitempty"` // State of the resource.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Human-readable description of the resource's state.
// contains filtered or unexported fields
}
DeploymentPlanStatus contains the state and message of a Deployment.
func (*DeploymentPlanStatus) Descriptor
deprecated
func (*DeploymentPlanStatus) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentPlanStatus.ProtoReflect.Descriptor instead.
func (*DeploymentPlanStatus) GetMessage ¶
func (x *DeploymentPlanStatus) GetMessage() string
func (*DeploymentPlanStatus) GetState ¶
func (x *DeploymentPlanStatus) GetState() DeploymentPlanState
func (*DeploymentPlanStatus) ProtoMessage ¶
func (*DeploymentPlanStatus) ProtoMessage()
func (*DeploymentPlanStatus) ProtoReflect ¶
func (x *DeploymentPlanStatus) ProtoReflect() protoreflect.Message
func (*DeploymentPlanStatus) Reset ¶
func (x *DeploymentPlanStatus) Reset()
func (*DeploymentPlanStatus) String ¶
func (x *DeploymentPlanStatus) String() string
type DeploymentPlansClient ¶
type DeploymentPlansClient interface {
// Create a new DeploymentPlan.
Create(ctx context.Context, in *CreateDeploymentPlanRequest, opts ...grpc.CallOption) (*CreateDeploymentPlanResponse, error)
// Get a DeploymentPlan by its ID.
GetByID(ctx context.Context, in *GetDeploymentPlanByIDRequest, opts ...grpc.CallOption) (*GetDeploymentPlanResponse, error)
// Get a DeploymentPlan by its name.
GetByName(ctx context.Context, in *GetDeploymentPlanByNameRequest, opts ...grpc.CallOption) (*GetDeploymentPlanResponse, error)
// Update the state of an existing DeploymentPlan.
UpdateStatus(ctx context.Context, in *UpdateDeploymentPlanStatusRequest, opts ...grpc.CallOption) (*UpdateDeploymentPlanResponse, error)
// List DeploymentPlans that match the provided filters.
List(ctx context.Context, in *ListDeploymentPlanRequest, opts ...grpc.CallOption) (*ListDeploymentPlanResponse, error)
// Delete a DeploymentPlan by its metadata.
Delete(ctx context.Context, in *DeleteDeploymentPlanRequest, opts ...grpc.CallOption) (*DeleteDeploymentPlanResponse, error)
// Add a Deployment to an existing DeploymentPlan.
AddDeployment(ctx context.Context, in *AddDeploymentRequest, opts ...grpc.CallOption) (*UpdateDeploymentPlanResponse, error)
// Update the status of an existing Deployment.
UpdateDeploymentStatus(ctx context.Context, in *UpdateDeploymentStatusRequest, opts ...grpc.CallOption) (*UpdateDeploymentPlanResponse, error)
}
DeploymentPlansClient is the client API for DeploymentPlans service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeploymentPlansClient ¶
func NewDeploymentPlansClient(cc grpc.ClientConnInterface) DeploymentPlansClient
type DeploymentPlansServer ¶
type DeploymentPlansServer interface {
// Create a new DeploymentPlan.
Create(context.Context, *CreateDeploymentPlanRequest) (*CreateDeploymentPlanResponse, error)
// Get a DeploymentPlan by its ID.
GetByID(context.Context, *GetDeploymentPlanByIDRequest) (*GetDeploymentPlanResponse, error)
// Get a DeploymentPlan by its name.
GetByName(context.Context, *GetDeploymentPlanByNameRequest) (*GetDeploymentPlanResponse, error)
// Update the state of an existing DeploymentPlan.
UpdateStatus(context.Context, *UpdateDeploymentPlanStatusRequest) (*UpdateDeploymentPlanResponse, error)
// List DeploymentPlans that match the provided filters.
List(context.Context, *ListDeploymentPlanRequest) (*ListDeploymentPlanResponse, error)
// Delete a DeploymentPlan by its metadata.
Delete(context.Context, *DeleteDeploymentPlanRequest) (*DeleteDeploymentPlanResponse, error)
// Add a Deployment to an existing DeploymentPlan.
AddDeployment(context.Context, *AddDeploymentRequest) (*UpdateDeploymentPlanResponse, error)
// Update the status of an existing Deployment.
UpdateDeploymentStatus(context.Context, *UpdateDeploymentStatusRequest) (*UpdateDeploymentPlanResponse, error)
// contains filtered or unexported methods
}
DeploymentPlansServer is the server API for DeploymentPlans service. All implementations must embed UnimplementedDeploymentPlansServer for forward compatibility.
type DeploymentState ¶
type DeploymentState int32
Enum for the state of a Deployment.
const ( DeploymentState_DeploymentState_UNKNOWN DeploymentState = 0 DeploymentState_DeploymentState_PENDING DeploymentState = 1 DeploymentState_DeploymentState_IN_PROGRESS DeploymentState = 2 DeploymentState_DeploymentState_FAILED DeploymentState = 3 DeploymentState_DeploymentState_PAUSED DeploymentState = 4 DeploymentState_DeploymentState_COMPLETED DeploymentState = 5 DeploymentState_DeploymentState_CANCELLED DeploymentState = 6 )
func (DeploymentState) Descriptor ¶
func (DeploymentState) Descriptor() protoreflect.EnumDescriptor
func (DeploymentState) Enum ¶
func (x DeploymentState) Enum() *DeploymentState
func (DeploymentState) EnumDescriptor
deprecated
func (DeploymentState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeploymentState.Descriptor instead.
func (DeploymentState) Number ¶
func (x DeploymentState) Number() protoreflect.EnumNumber
func (DeploymentState) String ¶
func (x DeploymentState) String() string
func (DeploymentState) Type ¶
func (DeploymentState) Type() protoreflect.EnumType
type DeploymentStatus ¶
type DeploymentStatus struct {
State DeploymentState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.deploymentplan.DeploymentState" json:"state,omitempty"` // State of the resource.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Human-readable description of the resource's state.
// contains filtered or unexported fields
}
DeploymentStatus defines the state and message of a Deployment.
func (*DeploymentStatus) Descriptor
deprecated
func (*DeploymentStatus) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentStatus.ProtoReflect.Descriptor instead.
func (*DeploymentStatus) GetMessage ¶
func (x *DeploymentStatus) GetMessage() string
func (*DeploymentStatus) GetState ¶
func (x *DeploymentStatus) GetState() DeploymentState
func (*DeploymentStatus) ProtoMessage ¶
func (*DeploymentStatus) ProtoMessage()
func (*DeploymentStatus) ProtoReflect ¶
func (x *DeploymentStatus) ProtoReflect() protoreflect.Message
func (*DeploymentStatus) Reset ¶
func (x *DeploymentStatus) Reset()
func (*DeploymentStatus) String ¶
func (x *DeploymentStatus) String() string
type DisruptionState ¶
type DisruptionState int32
Enum to represent the NodeState
const ( DisruptionState_DisruptionState_UNKNOWN DisruptionState = 0 DisruptionState_DisruptionState_SCHEDULED DisruptionState = 1 DisruptionState_DisruptionState_APPROVED DisruptionState = 2 DisruptionState_DisruptionState_COMPLETED DisruptionState = 3 )
func (DisruptionState) Descriptor ¶
func (DisruptionState) Descriptor() protoreflect.EnumDescriptor
func (DisruptionState) Enum ¶
func (x DisruptionState) Enum() *DisruptionState
func (DisruptionState) EnumDescriptor
deprecated
func (DisruptionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DisruptionState.Descriptor instead.
func (DisruptionState) Number ¶
func (x DisruptionState) Number() protoreflect.EnumNumber
func (DisruptionState) String ¶
func (x DisruptionState) String() string
func (DisruptionState) Type ¶
func (DisruptionState) Type() protoreflect.EnumType
type DisruptionStatus ¶
type DisruptionStatus struct {
// State is the state of the disruption.
State DisruptionState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.node.DisruptionState" json:"state,omitempty"`
// Message is a human-readable description of the disruption's state.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*DisruptionStatus) Descriptor
deprecated
func (*DisruptionStatus) Descriptor() ([]byte, []int)
Deprecated: Use DisruptionStatus.ProtoReflect.Descriptor instead.
func (*DisruptionStatus) GetMessage ¶
func (x *DisruptionStatus) GetMessage() string
func (*DisruptionStatus) GetState ¶
func (x *DisruptionStatus) GetState() DisruptionState
func (*DisruptionStatus) ProtoMessage ¶
func (*DisruptionStatus) ProtoMessage()
func (*DisruptionStatus) ProtoReflect ¶
func (x *DisruptionStatus) ProtoReflect() protoreflect.Message
func (*DisruptionStatus) Reset ¶
func (x *DisruptionStatus) Reset()
func (*DisruptionStatus) String ¶
func (x *DisruptionStatus) String() string
type GetClusterByIDRequest ¶
type GetClusterByIDRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetClusterByIDRequest) Descriptor
deprecated
func (*GetClusterByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterByIDRequest.ProtoReflect.Descriptor instead.
func (*GetClusterByIDRequest) GetId ¶
func (x *GetClusterByIDRequest) GetId() string
func (*GetClusterByIDRequest) ProtoMessage ¶
func (*GetClusterByIDRequest) ProtoMessage()
func (*GetClusterByIDRequest) ProtoReflect ¶
func (x *GetClusterByIDRequest) ProtoReflect() protoreflect.Message
func (*GetClusterByIDRequest) Reset ¶
func (x *GetClusterByIDRequest) Reset()
func (*GetClusterByIDRequest) String ¶
func (x *GetClusterByIDRequest) String() string
type GetClusterByNameRequest ¶
type GetClusterByNameRequest struct {
// The name of the Cluster to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for getting a Cluster by its name.
func (*GetClusterByNameRequest) Descriptor
deprecated
func (*GetClusterByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterByNameRequest.ProtoReflect.Descriptor instead.
func (*GetClusterByNameRequest) GetName ¶
func (x *GetClusterByNameRequest) GetName() string
func (*GetClusterByNameRequest) ProtoMessage ¶
func (*GetClusterByNameRequest) ProtoMessage()
func (*GetClusterByNameRequest) ProtoReflect ¶
func (x *GetClusterByNameRequest) ProtoReflect() protoreflect.Message
func (*GetClusterByNameRequest) Reset ¶
func (x *GetClusterByNameRequest) Reset()
func (*GetClusterByNameRequest) String ¶
func (x *GetClusterByNameRequest) String() string
type GetClusterResponse ¶
type GetClusterResponse struct {
// The Cluster record that was fetched.
Record *Cluster `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after fetching a Cluster.
func (*GetClusterResponse) Descriptor
deprecated
func (*GetClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterResponse.ProtoReflect.Descriptor instead.
func (*GetClusterResponse) GetRecord ¶
func (x *GetClusterResponse) GetRecord() *Cluster
func (*GetClusterResponse) ProtoMessage ¶
func (*GetClusterResponse) ProtoMessage()
func (*GetClusterResponse) ProtoReflect ¶
func (x *GetClusterResponse) ProtoReflect() protoreflect.Message
func (*GetClusterResponse) Reset ¶
func (x *GetClusterResponse) Reset()
func (*GetClusterResponse) String ¶
func (x *GetClusterResponse) String() string
type GetComputeCapabilityByIDRequest ¶
type GetComputeCapabilityByIDRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetComputeCapabilityByIDRequest) Descriptor
deprecated
func (*GetComputeCapabilityByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetComputeCapabilityByIDRequest.ProtoReflect.Descriptor instead.
func (*GetComputeCapabilityByIDRequest) GetId ¶
func (x *GetComputeCapabilityByIDRequest) GetId() string
func (*GetComputeCapabilityByIDRequest) ProtoMessage ¶
func (*GetComputeCapabilityByIDRequest) ProtoMessage()
func (*GetComputeCapabilityByIDRequest) ProtoReflect ¶
func (x *GetComputeCapabilityByIDRequest) ProtoReflect() protoreflect.Message
func (*GetComputeCapabilityByIDRequest) Reset ¶
func (x *GetComputeCapabilityByIDRequest) Reset()
func (*GetComputeCapabilityByIDRequest) String ¶
func (x *GetComputeCapabilityByIDRequest) String() string
type GetComputeCapabilityByNameRequest ¶
type GetComputeCapabilityByNameRequest struct {
// The name of the ComputeCapability to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for getting a ComputeCapability by its name.
func (*GetComputeCapabilityByNameRequest) Descriptor
deprecated
func (*GetComputeCapabilityByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetComputeCapabilityByNameRequest.ProtoReflect.Descriptor instead.
func (*GetComputeCapabilityByNameRequest) GetName ¶
func (x *GetComputeCapabilityByNameRequest) GetName() string
func (*GetComputeCapabilityByNameRequest) ProtoMessage ¶
func (*GetComputeCapabilityByNameRequest) ProtoMessage()
func (*GetComputeCapabilityByNameRequest) ProtoReflect ¶
func (x *GetComputeCapabilityByNameRequest) ProtoReflect() protoreflect.Message
func (*GetComputeCapabilityByNameRequest) Reset ¶
func (x *GetComputeCapabilityByNameRequest) Reset()
func (*GetComputeCapabilityByNameRequest) String ¶
func (x *GetComputeCapabilityByNameRequest) String() string
type GetComputeCapabilityResponse ¶
type GetComputeCapabilityResponse struct {
// The ComputeCapability record that was fetched.
Record *ComputeCapability `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after fetching a ComputeCapability.
func (*GetComputeCapabilityResponse) Descriptor
deprecated
func (*GetComputeCapabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetComputeCapabilityResponse.ProtoReflect.Descriptor instead.
func (*GetComputeCapabilityResponse) GetRecord ¶
func (x *GetComputeCapabilityResponse) GetRecord() *ComputeCapability
func (*GetComputeCapabilityResponse) ProtoMessage ¶
func (*GetComputeCapabilityResponse) ProtoMessage()
func (*GetComputeCapabilityResponse) ProtoReflect ¶
func (x *GetComputeCapabilityResponse) ProtoReflect() protoreflect.Message
func (*GetComputeCapabilityResponse) Reset ¶
func (x *GetComputeCapabilityResponse) Reset()
func (*GetComputeCapabilityResponse) String ¶
func (x *GetComputeCapabilityResponse) String() string
type GetDeploymentPlanByIDRequest ¶
type GetDeploymentPlanByIDRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
GetDeploymentPlanByIDRequest represents the request to get a DeploymentPlan by metadata.
func (*GetDeploymentPlanByIDRequest) Descriptor
deprecated
func (*GetDeploymentPlanByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentPlanByIDRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentPlanByIDRequest) GetId ¶
func (x *GetDeploymentPlanByIDRequest) GetId() string
func (*GetDeploymentPlanByIDRequest) ProtoMessage ¶
func (*GetDeploymentPlanByIDRequest) ProtoMessage()
func (*GetDeploymentPlanByIDRequest) ProtoReflect ¶
func (x *GetDeploymentPlanByIDRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentPlanByIDRequest) Reset ¶
func (x *GetDeploymentPlanByIDRequest) Reset()
func (*GetDeploymentPlanByIDRequest) String ¶
func (x *GetDeploymentPlanByIDRequest) String() string
type GetDeploymentPlanByNameRequest ¶
type GetDeploymentPlanByNameRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetDeploymentPlanByNameRequest represents the request to get a DeploymentPlan by name.
func (*GetDeploymentPlanByNameRequest) Descriptor
deprecated
func (*GetDeploymentPlanByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentPlanByNameRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentPlanByNameRequest) GetName ¶
func (x *GetDeploymentPlanByNameRequest) GetName() string
func (*GetDeploymentPlanByNameRequest) ProtoMessage ¶
func (*GetDeploymentPlanByNameRequest) ProtoMessage()
func (*GetDeploymentPlanByNameRequest) ProtoReflect ¶
func (x *GetDeploymentPlanByNameRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentPlanByNameRequest) Reset ¶
func (x *GetDeploymentPlanByNameRequest) Reset()
func (*GetDeploymentPlanByNameRequest) String ¶
func (x *GetDeploymentPlanByNameRequest) String() string
type GetDeploymentPlanResponse ¶
type GetDeploymentPlanResponse struct {
Record *DeploymentPlanRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
GetDeploymentPlanResponse represents the response for fetching a DeploymentPlan.
func (*GetDeploymentPlanResponse) Descriptor
deprecated
func (*GetDeploymentPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentPlanResponse.ProtoReflect.Descriptor instead.
func (*GetDeploymentPlanResponse) GetRecord ¶
func (x *GetDeploymentPlanResponse) GetRecord() *DeploymentPlanRecord
func (*GetDeploymentPlanResponse) ProtoMessage ¶
func (*GetDeploymentPlanResponse) ProtoMessage()
func (*GetDeploymentPlanResponse) ProtoReflect ¶
func (x *GetDeploymentPlanResponse) ProtoReflect() protoreflect.Message
func (*GetDeploymentPlanResponse) Reset ¶
func (x *GetDeploymentPlanResponse) Reset()
func (*GetDeploymentPlanResponse) String ¶
func (x *GetDeploymentPlanResponse) String() string
type GetMetaInstanceByIDRequest ¶
type GetMetaInstanceByIDRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Get a MetaInstance by its ID.
func (*GetMetaInstanceByIDRequest) Descriptor
deprecated
func (*GetMetaInstanceByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetaInstanceByIDRequest.ProtoReflect.Descriptor instead.
func (*GetMetaInstanceByIDRequest) GetId ¶
func (x *GetMetaInstanceByIDRequest) GetId() string
func (*GetMetaInstanceByIDRequest) ProtoMessage ¶
func (*GetMetaInstanceByIDRequest) ProtoMessage()
func (*GetMetaInstanceByIDRequest) ProtoReflect ¶
func (x *GetMetaInstanceByIDRequest) ProtoReflect() protoreflect.Message
func (*GetMetaInstanceByIDRequest) Reset ¶
func (x *GetMetaInstanceByIDRequest) Reset()
func (*GetMetaInstanceByIDRequest) String ¶
func (x *GetMetaInstanceByIDRequest) String() string
type GetMetaInstanceByNameRequest ¶
type GetMetaInstanceByNameRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to get a MetaInstance by its name.
func (*GetMetaInstanceByNameRequest) Descriptor
deprecated
func (*GetMetaInstanceByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetaInstanceByNameRequest.ProtoReflect.Descriptor instead.
func (*GetMetaInstanceByNameRequest) GetName ¶
func (x *GetMetaInstanceByNameRequest) GetName() string
func (*GetMetaInstanceByNameRequest) ProtoMessage ¶
func (*GetMetaInstanceByNameRequest) ProtoMessage()
func (*GetMetaInstanceByNameRequest) ProtoReflect ¶
func (x *GetMetaInstanceByNameRequest) ProtoReflect() protoreflect.Message
func (*GetMetaInstanceByNameRequest) Reset ¶
func (x *GetMetaInstanceByNameRequest) Reset()
func (*GetMetaInstanceByNameRequest) String ¶
func (x *GetMetaInstanceByNameRequest) String() string
type GetMetaInstanceResponse ¶
type GetMetaInstanceResponse struct {
Record *MetaInstance `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after fetching a MetaInstance.
func (*GetMetaInstanceResponse) Descriptor
deprecated
func (*GetMetaInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetaInstanceResponse.ProtoReflect.Descriptor instead.
func (*GetMetaInstanceResponse) GetRecord ¶
func (x *GetMetaInstanceResponse) GetRecord() *MetaInstance
func (*GetMetaInstanceResponse) ProtoMessage ¶
func (*GetMetaInstanceResponse) ProtoMessage()
func (*GetMetaInstanceResponse) ProtoReflect ¶
func (x *GetMetaInstanceResponse) ProtoReflect() protoreflect.Message
func (*GetMetaInstanceResponse) Reset ¶
func (x *GetMetaInstanceResponse) Reset()
func (*GetMetaInstanceResponse) String ¶
func (x *GetMetaInstanceResponse) String() string
type GetNodeByIDRequest ¶
type GetNodeByIDRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetNodeByIDRequest) Descriptor
deprecated
func (*GetNodeByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByIDRequest.ProtoReflect.Descriptor instead.
func (*GetNodeByIDRequest) GetId ¶
func (x *GetNodeByIDRequest) GetId() string
func (*GetNodeByIDRequest) ProtoMessage ¶
func (*GetNodeByIDRequest) ProtoMessage()
func (*GetNodeByIDRequest) ProtoReflect ¶
func (x *GetNodeByIDRequest) ProtoReflect() protoreflect.Message
func (*GetNodeByIDRequest) Reset ¶
func (x *GetNodeByIDRequest) Reset()
func (*GetNodeByIDRequest) String ¶
func (x *GetNodeByIDRequest) String() string
type GetNodeByNameRequest ¶
type GetNodeByNameRequest struct {
// The name of the Node to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for getting a Node by its name.
func (*GetNodeByNameRequest) Descriptor
deprecated
func (*GetNodeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByNameRequest.ProtoReflect.Descriptor instead.
func (*GetNodeByNameRequest) GetName ¶
func (x *GetNodeByNameRequest) GetName() string
func (*GetNodeByNameRequest) ProtoMessage ¶
func (*GetNodeByNameRequest) ProtoMessage()
func (*GetNodeByNameRequest) ProtoReflect ¶
func (x *GetNodeByNameRequest) ProtoReflect() protoreflect.Message
func (*GetNodeByNameRequest) Reset ¶
func (x *GetNodeByNameRequest) Reset()
func (*GetNodeByNameRequest) String ¶
func (x *GetNodeByNameRequest) String() string
type GetNodeResponse ¶
type GetNodeResponse struct {
// The Node record that was fetched.
Record *Node `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after fetching a Node.
func (*GetNodeResponse) Descriptor
deprecated
func (*GetNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.
func (*GetNodeResponse) GetRecord ¶
func (x *GetNodeResponse) GetRecord() *Node
func (*GetNodeResponse) ProtoMessage ¶
func (*GetNodeResponse) ProtoMessage()
func (*GetNodeResponse) ProtoReflect ¶
func (x *GetNodeResponse) ProtoReflect() protoreflect.Message
func (*GetNodeResponse) Reset ¶
func (x *GetNodeResponse) Reset()
func (*GetNodeResponse) String ¶
func (x *GetNodeResponse) String() string
type ListClusterRequest ¶
type ListClusterRequest struct {
// IN condition for filtering by IDs.
IdIn []string `protobuf:"bytes,1,rep,name=id_in,json=idIn,proto3" json:"id_in,omitempty"`
// IN condition for filtering by Names.
NameIn []string `protobuf:"bytes,2,rep,name=name_in,json=nameIn,proto3" json:"name_in,omitempty"`
// Greater than or equal condition for filtering by version.
VersionGte uint64 `protobuf:"varint,3,opt,name=version_gte,json=versionGte,proto3" json:"version_gte,omitempty"`
// Less than or equal condition for filtering by version.
VersionLte uint64 `protobuf:"varint,4,opt,name=version_lte,json=versionLte,proto3" json:"version_lte,omitempty"`
// Equal condition for filtering by version.
VersionEq uint64 `protobuf:"varint,5,opt,name=version_eq,json=versionEq,proto3" json:"version_eq,omitempty"`
// IN condition for filtering by state.
StateIn []ClusterState `` /* 134-byte string literal not displayed */
// NOT IN condition for filtering by state.
StateNotIn []ClusterState `` /* 145-byte string literal not displayed */
// Whether to include soft-deleted resources in the query.
IncludeDeleted bool `protobuf:"varint,8,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
// Limit the number of results returned.
Limit uint32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
Request to list Clusters with specific filters.
func (*ListClusterRequest) Descriptor
deprecated
func (*ListClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClusterRequest.ProtoReflect.Descriptor instead.
func (*ListClusterRequest) GetIdIn ¶
func (x *ListClusterRequest) GetIdIn() []string
func (*ListClusterRequest) GetIncludeDeleted ¶
func (x *ListClusterRequest) GetIncludeDeleted() bool
func (*ListClusterRequest) GetLimit ¶
func (x *ListClusterRequest) GetLimit() uint32
func (*ListClusterRequest) GetNameIn ¶
func (x *ListClusterRequest) GetNameIn() []string
func (*ListClusterRequest) GetStateIn ¶
func (x *ListClusterRequest) GetStateIn() []ClusterState
func (*ListClusterRequest) GetStateNotIn ¶
func (x *ListClusterRequest) GetStateNotIn() []ClusterState
func (*ListClusterRequest) GetVersionEq ¶
func (x *ListClusterRequest) GetVersionEq() uint64
func (*ListClusterRequest) GetVersionGte ¶
func (x *ListClusterRequest) GetVersionGte() uint64
func (*ListClusterRequest) GetVersionLte ¶
func (x *ListClusterRequest) GetVersionLte() uint64
func (*ListClusterRequest) ProtoMessage ¶
func (*ListClusterRequest) ProtoMessage()
func (*ListClusterRequest) ProtoReflect ¶
func (x *ListClusterRequest) ProtoReflect() protoreflect.Message
func (*ListClusterRequest) Reset ¶
func (x *ListClusterRequest) Reset()
func (*ListClusterRequest) String ¶
func (x *ListClusterRequest) String() string
type ListClusterResponse ¶
type ListClusterResponse struct {
// The list of Cluster records that match the query.
Records []*Cluster `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
// contains filtered or unexported fields
}
Response for listing Clusters.
func (*ListClusterResponse) Descriptor
deprecated
func (*ListClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClusterResponse.ProtoReflect.Descriptor instead.
func (*ListClusterResponse) GetRecords ¶
func (x *ListClusterResponse) GetRecords() []*Cluster
func (*ListClusterResponse) ProtoMessage ¶
func (*ListClusterResponse) ProtoMessage()
func (*ListClusterResponse) ProtoReflect ¶
func (x *ListClusterResponse) ProtoReflect() protoreflect.Message
func (*ListClusterResponse) Reset ¶
func (x *ListClusterResponse) Reset()
func (*ListClusterResponse) String ¶
func (x *ListClusterResponse) String() string
type ListComputeCapabilityRequest ¶
type ListComputeCapabilityRequest struct {
// IN condition for filtering by IDs.
IdIn []string `protobuf:"bytes,1,rep,name=id_in,json=idIn,proto3" json:"id_in,omitempty"`
// IN condition for filtering by Names.
NameIn []string `protobuf:"bytes,2,rep,name=name_in,json=nameIn,proto3" json:"name_in,omitempty"`
// Greater than or equal condition for filtering by version.
VersionGte uint64 `protobuf:"varint,3,opt,name=version_gte,json=versionGte,proto3" json:"version_gte,omitempty"`
// Less than or equal condition for filtering by version.
VersionLte uint64 `protobuf:"varint,4,opt,name=version_lte,json=versionLte,proto3" json:"version_lte,omitempty"`
// Equal condition for filtering by version.
VersionEq uint64 `protobuf:"varint,5,opt,name=version_eq,json=versionEq,proto3" json:"version_eq,omitempty"`
// IN condition for filtering by state.
StateIn []ComputeCapabilityState `` /* 154-byte string literal not displayed */
// NOT IN condition for filtering by state.
StateNotIn []ComputeCapabilityState `` /* 165-byte string literal not displayed */
// Whether to include soft-deleted resources in the query.
IncludeDeleted bool `protobuf:"varint,8,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
// Limit the number of results returned.
Limit uint32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
TypeIn []string `protobuf:"bytes,10,rep,name=type_in,json=typeIn,proto3" json:"type_in,omitempty"`
// contains filtered or unexported fields
}
Request to list ComputeCapabilitys with specific filters.
func (*ListComputeCapabilityRequest) Descriptor
deprecated
func (*ListComputeCapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeCapabilityRequest.ProtoReflect.Descriptor instead.
func (*ListComputeCapabilityRequest) GetIdIn ¶
func (x *ListComputeCapabilityRequest) GetIdIn() []string
func (*ListComputeCapabilityRequest) GetIncludeDeleted ¶
func (x *ListComputeCapabilityRequest) GetIncludeDeleted() bool
func (*ListComputeCapabilityRequest) GetLimit ¶
func (x *ListComputeCapabilityRequest) GetLimit() uint32
func (*ListComputeCapabilityRequest) GetNameIn ¶
func (x *ListComputeCapabilityRequest) GetNameIn() []string
func (*ListComputeCapabilityRequest) GetStateIn ¶
func (x *ListComputeCapabilityRequest) GetStateIn() []ComputeCapabilityState
func (*ListComputeCapabilityRequest) GetStateNotIn ¶
func (x *ListComputeCapabilityRequest) GetStateNotIn() []ComputeCapabilityState
func (*ListComputeCapabilityRequest) GetTypeIn ¶
func (x *ListComputeCapabilityRequest) GetTypeIn() []string
func (*ListComputeCapabilityRequest) GetVersionEq ¶
func (x *ListComputeCapabilityRequest) GetVersionEq() uint64
func (*ListComputeCapabilityRequest) GetVersionGte ¶
func (x *ListComputeCapabilityRequest) GetVersionGte() uint64
func (*ListComputeCapabilityRequest) GetVersionLte ¶
func (x *ListComputeCapabilityRequest) GetVersionLte() uint64
func (*ListComputeCapabilityRequest) ProtoMessage ¶
func (*ListComputeCapabilityRequest) ProtoMessage()
func (*ListComputeCapabilityRequest) ProtoReflect ¶
func (x *ListComputeCapabilityRequest) ProtoReflect() protoreflect.Message
func (*ListComputeCapabilityRequest) Reset ¶
func (x *ListComputeCapabilityRequest) Reset()
func (*ListComputeCapabilityRequest) String ¶
func (x *ListComputeCapabilityRequest) String() string
type ListComputeCapabilityResponse ¶
type ListComputeCapabilityResponse struct {
// The list of ComputeCapability records that match the query.
Records []*ComputeCapability `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
// contains filtered or unexported fields
}
Response for listing ComputeCapabilitys.
func (*ListComputeCapabilityResponse) Descriptor
deprecated
func (*ListComputeCapabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeCapabilityResponse.ProtoReflect.Descriptor instead.
func (*ListComputeCapabilityResponse) GetRecords ¶
func (x *ListComputeCapabilityResponse) GetRecords() []*ComputeCapability
func (*ListComputeCapabilityResponse) ProtoMessage ¶
func (*ListComputeCapabilityResponse) ProtoMessage()
func (*ListComputeCapabilityResponse) ProtoReflect ¶
func (x *ListComputeCapabilityResponse) ProtoReflect() protoreflect.Message
func (*ListComputeCapabilityResponse) Reset ¶
func (x *ListComputeCapabilityResponse) Reset()
func (*ListComputeCapabilityResponse) String ¶
func (x *ListComputeCapabilityResponse) String() string
type ListDeploymentPlanRequest ¶
type ListDeploymentPlanRequest struct {
Filters *DeploymentPlanListFilters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
// contains filtered or unexported fields
}
ListDeploymentPlanRequest represents the request to list DeploymentPlans with filters.
func (*ListDeploymentPlanRequest) Descriptor
deprecated
func (*ListDeploymentPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentPlanRequest.ProtoReflect.Descriptor instead.
func (*ListDeploymentPlanRequest) GetFilters ¶
func (x *ListDeploymentPlanRequest) GetFilters() *DeploymentPlanListFilters
func (*ListDeploymentPlanRequest) ProtoMessage ¶
func (*ListDeploymentPlanRequest) ProtoMessage()
func (*ListDeploymentPlanRequest) ProtoReflect ¶
func (x *ListDeploymentPlanRequest) ProtoReflect() protoreflect.Message
func (*ListDeploymentPlanRequest) Reset ¶
func (x *ListDeploymentPlanRequest) Reset()
func (*ListDeploymentPlanRequest) String ¶
func (x *ListDeploymentPlanRequest) String() string
type ListDeploymentPlanResponse ¶
type ListDeploymentPlanResponse struct {
Records []*DeploymentPlanRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
// contains filtered or unexported fields
}
ListDeploymentPlanResponse represents the response to a list request.
func (*ListDeploymentPlanResponse) Descriptor
deprecated
func (*ListDeploymentPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentPlanResponse.ProtoReflect.Descriptor instead.
func (*ListDeploymentPlanResponse) GetRecords ¶
func (x *ListDeploymentPlanResponse) GetRecords() []*DeploymentPlanRecord
func (*ListDeploymentPlanResponse) ProtoMessage ¶
func (*ListDeploymentPlanResponse) ProtoMessage()
func (*ListDeploymentPlanResponse) ProtoReflect ¶
func (x *ListDeploymentPlanResponse) ProtoReflect() protoreflect.Message
func (*ListDeploymentPlanResponse) Reset ¶
func (x *ListDeploymentPlanResponse) Reset()
func (*ListDeploymentPlanResponse) String ¶
func (x *ListDeploymentPlanResponse) String() string
type ListMetaInstanceRequest ¶
type ListMetaInstanceRequest struct {
IdIn []string `protobuf:"bytes,1,rep,name=id_in,json=idIn,proto3" json:"id_in,omitempty"`
NameIn []string `protobuf:"bytes,2,rep,name=name_in,json=nameIn,proto3" json:"name_in,omitempty"`
VersionGte uint64 `protobuf:"varint,3,opt,name=version_gte,json=versionGte,proto3" json:"version_gte,omitempty"`
VersionLte uint64 `protobuf:"varint,4,opt,name=version_lte,json=versionLte,proto3" json:"version_lte,omitempty"`
VersionEq uint64 `protobuf:"varint,5,opt,name=version_eq,json=versionEq,proto3" json:"version_eq,omitempty"`
StateIn []MetaInstanceState `` /* 144-byte string literal not displayed */
StateNotIn []MetaInstanceState `` /* 155-byte string literal not displayed */
IncludeDeleted bool `protobuf:"varint,8,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
Limit uint32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
DeploymentPlanIdIn []string `protobuf:"bytes,10,rep,name=deployment_plan_id_in,json=deploymentPlanIdIn,proto3" json:"deployment_plan_id_in,omitempty"`
DeploymentIdIn []string `protobuf:"bytes,11,rep,name=deployment_id_in,json=deploymentIdIn,proto3" json:"deployment_id_in,omitempty"`
// contains filtered or unexported fields
}
Request to list MetaInstances with specific filters.
func (*ListMetaInstanceRequest) Descriptor
deprecated
func (*ListMetaInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMetaInstanceRequest.ProtoReflect.Descriptor instead.
func (*ListMetaInstanceRequest) GetDeploymentIdIn ¶
func (x *ListMetaInstanceRequest) GetDeploymentIdIn() []string
func (*ListMetaInstanceRequest) GetDeploymentPlanIdIn ¶
func (x *ListMetaInstanceRequest) GetDeploymentPlanIdIn() []string
func (*ListMetaInstanceRequest) GetIdIn ¶
func (x *ListMetaInstanceRequest) GetIdIn() []string
func (*ListMetaInstanceRequest) GetIncludeDeleted ¶
func (x *ListMetaInstanceRequest) GetIncludeDeleted() bool
func (*ListMetaInstanceRequest) GetLimit ¶
func (x *ListMetaInstanceRequest) GetLimit() uint32
func (*ListMetaInstanceRequest) GetNameIn ¶
func (x *ListMetaInstanceRequest) GetNameIn() []string
func (*ListMetaInstanceRequest) GetStateIn ¶
func (x *ListMetaInstanceRequest) GetStateIn() []MetaInstanceState
func (*ListMetaInstanceRequest) GetStateNotIn ¶
func (x *ListMetaInstanceRequest) GetStateNotIn() []MetaInstanceState
func (*ListMetaInstanceRequest) GetVersionEq ¶
func (x *ListMetaInstanceRequest) GetVersionEq() uint64
func (*ListMetaInstanceRequest) GetVersionGte ¶
func (x *ListMetaInstanceRequest) GetVersionGte() uint64
func (*ListMetaInstanceRequest) GetVersionLte ¶
func (x *ListMetaInstanceRequest) GetVersionLte() uint64
func (*ListMetaInstanceRequest) ProtoMessage ¶
func (*ListMetaInstanceRequest) ProtoMessage()
func (*ListMetaInstanceRequest) ProtoReflect ¶
func (x *ListMetaInstanceRequest) ProtoReflect() protoreflect.Message
func (*ListMetaInstanceRequest) Reset ¶
func (x *ListMetaInstanceRequest) Reset()
func (*ListMetaInstanceRequest) String ¶
func (x *ListMetaInstanceRequest) String() string
type ListMetaInstanceResponse ¶
type ListMetaInstanceResponse struct {
Records []*MetaInstance `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
// contains filtered or unexported fields
}
Response for listing MetaInstances.
func (*ListMetaInstanceResponse) Descriptor
deprecated
func (*ListMetaInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMetaInstanceResponse.ProtoReflect.Descriptor instead.
func (*ListMetaInstanceResponse) GetRecords ¶
func (x *ListMetaInstanceResponse) GetRecords() []*MetaInstance
func (*ListMetaInstanceResponse) ProtoMessage ¶
func (*ListMetaInstanceResponse) ProtoMessage()
func (*ListMetaInstanceResponse) ProtoReflect ¶
func (x *ListMetaInstanceResponse) ProtoReflect() protoreflect.Message
func (*ListMetaInstanceResponse) Reset ¶
func (x *ListMetaInstanceResponse) Reset()
func (*ListMetaInstanceResponse) String ¶
func (x *ListMetaInstanceResponse) String() string
type ListNodeRequest ¶
type ListNodeRequest struct {
// IN condition for filtering by IDs.
IdIn []string `protobuf:"bytes,1,rep,name=id_in,json=idIn,proto3" json:"id_in,omitempty"`
// IN condition for filtering by Names.
NameIn []string `protobuf:"bytes,2,rep,name=name_in,json=nameIn,proto3" json:"name_in,omitempty"`
// Greater than or equal condition for filtering by version.
VersionGte uint64 `protobuf:"varint,3,opt,name=version_gte,json=versionGte,proto3" json:"version_gte,omitempty"`
// Less than or equal condition for filtering by version.
VersionLte uint64 `protobuf:"varint,4,opt,name=version_lte,json=versionLte,proto3" json:"version_lte,omitempty"`
// Equal condition for filtering by version.
VersionEq uint64 `protobuf:"varint,5,opt,name=version_eq,json=versionEq,proto3" json:"version_eq,omitempty"`
// IN condition for filtering by state.
StateIn []NodeState `` /* 128-byte string literal not displayed */
// NOT IN condition for filtering by state.
StateNotIn []NodeState `` /* 139-byte string literal not displayed */
// Whether to include soft-deleted resources in the query.
IncludeDeleted bool `protobuf:"varint,8,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
// Limit the number of results returned.
Limit uint32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
// Filter by the ID of the Cluster that the Node belongs to.
ClusterIdIn []string `protobuf:"bytes,10,rep,name=cluster_id_in,json=clusterIdIn,proto3" json:"cluster_id_in,omitempty"`
// Filter by the update domain of the Node.
UpdateDomainIn []string `protobuf:"bytes,11,rep,name=update_domain_in,json=updateDomainIn,proto3" json:"update_domain_in,omitempty"`
// Filter by Remaining Resources.
RemainingCoresGte uint32 `protobuf:"varint,12,opt,name=remaining_cores_gte,json=remainingCoresGte,proto3" json:"remaining_cores_gte,omitempty"`
RemainingCoresLte uint32 `protobuf:"varint,13,opt,name=remaining_cores_lte,json=remainingCoresLte,proto3" json:"remaining_cores_lte,omitempty"`
RemainingMemoryGte uint32 `protobuf:"varint,14,opt,name=remaining_memory_gte,json=remainingMemoryGte,proto3" json:"remaining_memory_gte,omitempty"`
RemainingMemoryLte uint32 `protobuf:"varint,15,opt,name=remaining_memory_lte,json=remainingMemoryLte,proto3" json:"remaining_memory_lte,omitempty"`
PayloadNameIn []string `protobuf:"bytes,16,rep,name=payload_name_in,json=payloadNameIn,proto3" json:"payload_name_in,omitempty"`
PayloadNameNotIn []string `protobuf:"bytes,17,rep,name=payload_name_not_in,json=payloadNameNotIn,proto3" json:"payload_name_not_in,omitempty"`
// contains filtered or unexported fields
}
Request to list Nodes with specific filters.
func (*ListNodeRequest) Descriptor
deprecated
func (*ListNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNodeRequest.ProtoReflect.Descriptor instead.
func (*ListNodeRequest) GetClusterIdIn ¶
func (x *ListNodeRequest) GetClusterIdIn() []string
func (*ListNodeRequest) GetIdIn ¶
func (x *ListNodeRequest) GetIdIn() []string
func (*ListNodeRequest) GetIncludeDeleted ¶
func (x *ListNodeRequest) GetIncludeDeleted() bool
func (*ListNodeRequest) GetLimit ¶
func (x *ListNodeRequest) GetLimit() uint32
func (*ListNodeRequest) GetNameIn ¶
func (x *ListNodeRequest) GetNameIn() []string
func (*ListNodeRequest) GetPayloadNameIn ¶
func (x *ListNodeRequest) GetPayloadNameIn() []string
func (*ListNodeRequest) GetPayloadNameNotIn ¶
func (x *ListNodeRequest) GetPayloadNameNotIn() []string
func (*ListNodeRequest) GetRemainingCoresGte ¶
func (x *ListNodeRequest) GetRemainingCoresGte() uint32
func (*ListNodeRequest) GetRemainingCoresLte ¶
func (x *ListNodeRequest) GetRemainingCoresLte() uint32
func (*ListNodeRequest) GetRemainingMemoryGte ¶
func (x *ListNodeRequest) GetRemainingMemoryGte() uint32
func (*ListNodeRequest) GetRemainingMemoryLte ¶
func (x *ListNodeRequest) GetRemainingMemoryLte() uint32
func (*ListNodeRequest) GetStateIn ¶
func (x *ListNodeRequest) GetStateIn() []NodeState
func (*ListNodeRequest) GetStateNotIn ¶
func (x *ListNodeRequest) GetStateNotIn() []NodeState
func (*ListNodeRequest) GetUpdateDomainIn ¶
func (x *ListNodeRequest) GetUpdateDomainIn() []string
func (*ListNodeRequest) GetVersionEq ¶
func (x *ListNodeRequest) GetVersionEq() uint64
func (*ListNodeRequest) GetVersionGte ¶
func (x *ListNodeRequest) GetVersionGte() uint64
func (*ListNodeRequest) GetVersionLte ¶
func (x *ListNodeRequest) GetVersionLte() uint64
func (*ListNodeRequest) ProtoMessage ¶
func (*ListNodeRequest) ProtoMessage()
func (*ListNodeRequest) ProtoReflect ¶
func (x *ListNodeRequest) ProtoReflect() protoreflect.Message
func (*ListNodeRequest) Reset ¶
func (x *ListNodeRequest) Reset()
func (*ListNodeRequest) String ¶
func (x *ListNodeRequest) String() string
type ListNodeResponse ¶
type ListNodeResponse struct {
// The list of Node records that match the query.
Records []*Node `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
// contains filtered or unexported fields
}
Response for listing Nodes.
func (*ListNodeResponse) Descriptor
deprecated
func (*ListNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNodeResponse.ProtoReflect.Descriptor instead.
func (*ListNodeResponse) GetRecords ¶
func (x *ListNodeResponse) GetRecords() []*Node
func (*ListNodeResponse) ProtoMessage ¶
func (*ListNodeResponse) ProtoMessage()
func (*ListNodeResponse) ProtoReflect ¶
func (x *ListNodeResponse) ProtoReflect() protoreflect.Message
func (*ListNodeResponse) Reset ¶
func (x *ListNodeResponse) Reset()
func (*ListNodeResponse) String ¶
func (x *ListNodeResponse) String() string
type MatchingComputeCapability ¶
type MatchingComputeCapability struct {
CapabilityType string `protobuf:"bytes,1,opt,name=capability_type,json=capabilityType,proto3" json:"capability_type,omitempty"`
Comparator Comparator `protobuf:"varint,2,opt,name=comparator,proto3,enum=proto.mrds.ledger.deploymentplan.Comparator" json:"comparator,omitempty"`
CapabilityNames []string `protobuf:"bytes,3,rep,name=capability_names,json=capabilityNames,proto3" json:"capability_names,omitempty"`
// contains filtered or unexported fields
}
MatchingComputeCapability represents the capabilities required by the Deployment.
func (*MatchingComputeCapability) Descriptor
deprecated
func (*MatchingComputeCapability) Descriptor() ([]byte, []int)
Deprecated: Use MatchingComputeCapability.ProtoReflect.Descriptor instead.
func (*MatchingComputeCapability) GetCapabilityNames ¶
func (x *MatchingComputeCapability) GetCapabilityNames() []string
func (*MatchingComputeCapability) GetCapabilityType ¶
func (x *MatchingComputeCapability) GetCapabilityType() string
func (*MatchingComputeCapability) GetComparator ¶
func (x *MatchingComputeCapability) GetComparator() Comparator
func (*MatchingComputeCapability) ProtoMessage ¶
func (*MatchingComputeCapability) ProtoMessage()
func (*MatchingComputeCapability) ProtoReflect ¶
func (x *MatchingComputeCapability) ProtoReflect() protoreflect.Message
func (*MatchingComputeCapability) Reset ¶
func (x *MatchingComputeCapability) Reset()
func (*MatchingComputeCapability) String ¶
func (x *MatchingComputeCapability) String() string
type MetaInstance ¶
type MetaInstance struct {
// Metadata is the metadata that identifies the MetaInstance.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Name is the name of the MetaInstance.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Status represents the current status of the MetaInstance.
Status *MetaInstanceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// DeploymentPlanID is the ID of the Deployment Plan to which the MetaInstance belongs.
DeploymentPlanId string `protobuf:"bytes,4,opt,name=deployment_plan_id,json=deploymentPlanId,proto3" json:"deployment_plan_id,omitempty"`
// DeploymentID is the ID of the Deployment which this MetaInstance is responsible for.
DeploymentId string `protobuf:"bytes,5,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
// RuntimeInstances is a list of runtime instances currently running on the MetaInstance.
RuntimeInstances []*RuntimeInstance `protobuf:"bytes,6,rep,name=runtime_instances,json=runtimeInstances,proto3" json:"runtime_instances,omitempty"`
// Operations is a list of operations that are currently pending on the MetaInstance.
Operations []*Operation `protobuf:"bytes,7,rep,name=operations,proto3" json:"operations,omitempty"`
// contains filtered or unexported fields
}
Message representing the MetaInstance
func (*MetaInstance) Descriptor
deprecated
func (*MetaInstance) Descriptor() ([]byte, []int)
Deprecated: Use MetaInstance.ProtoReflect.Descriptor instead.
func (*MetaInstance) GetDeploymentId ¶
func (x *MetaInstance) GetDeploymentId() string
func (*MetaInstance) GetDeploymentPlanId ¶
func (x *MetaInstance) GetDeploymentPlanId() string
func (*MetaInstance) GetMetadata ¶
func (x *MetaInstance) GetMetadata() *Metadata
func (*MetaInstance) GetName ¶
func (x *MetaInstance) GetName() string
func (*MetaInstance) GetOperations ¶
func (x *MetaInstance) GetOperations() []*Operation
func (*MetaInstance) GetRuntimeInstances ¶
func (x *MetaInstance) GetRuntimeInstances() []*RuntimeInstance
func (*MetaInstance) GetStatus ¶
func (x *MetaInstance) GetStatus() *MetaInstanceStatus
func (*MetaInstance) ProtoMessage ¶
func (*MetaInstance) ProtoMessage()
func (*MetaInstance) ProtoReflect ¶
func (x *MetaInstance) ProtoReflect() protoreflect.Message
func (*MetaInstance) Reset ¶
func (x *MetaInstance) Reset()
func (*MetaInstance) String ¶
func (x *MetaInstance) String() string
type MetaInstanceState ¶
type MetaInstanceState int32
Enum to represent the MetaInstanceState
const ( MetaInstanceState_MetaInstanceState_UNKNOWN MetaInstanceState = 0 MetaInstanceState_MetaInstanceState_ACTIVE MetaInstanceState = 1 MetaInstanceState_MetaInstanceState_MARKED_FOR_DELETION MetaInstanceState = 2 )
func (MetaInstanceState) Descriptor ¶
func (MetaInstanceState) Descriptor() protoreflect.EnumDescriptor
func (MetaInstanceState) Enum ¶
func (x MetaInstanceState) Enum() *MetaInstanceState
func (MetaInstanceState) EnumDescriptor
deprecated
func (MetaInstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetaInstanceState.Descriptor instead.
func (MetaInstanceState) Number ¶
func (x MetaInstanceState) Number() protoreflect.EnumNumber
func (MetaInstanceState) String ¶
func (x MetaInstanceState) String() string
func (MetaInstanceState) Type ¶
func (MetaInstanceState) Type() protoreflect.EnumType
type MetaInstanceStatus ¶
type MetaInstanceStatus struct {
// State is the discrete condition of the resource.
State MetaInstanceState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.metainstance.MetaInstanceState" json:"state,omitempty"`
// Message is a human-readable description of the resource's state.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Message representing the Status of a MetaInstance.
func (*MetaInstanceStatus) Descriptor
deprecated
func (*MetaInstanceStatus) Descriptor() ([]byte, []int)
Deprecated: Use MetaInstanceStatus.ProtoReflect.Descriptor instead.
func (*MetaInstanceStatus) GetMessage ¶
func (x *MetaInstanceStatus) GetMessage() string
func (*MetaInstanceStatus) GetState ¶
func (x *MetaInstanceStatus) GetState() MetaInstanceState
func (*MetaInstanceStatus) ProtoMessage ¶
func (*MetaInstanceStatus) ProtoMessage()
func (*MetaInstanceStatus) ProtoReflect ¶
func (x *MetaInstanceStatus) ProtoReflect() protoreflect.Message
func (*MetaInstanceStatus) Reset ¶
func (x *MetaInstanceStatus) Reset()
func (*MetaInstanceStatus) String ¶
func (x *MetaInstanceStatus) String() string
type MetaInstancesClient ¶
type MetaInstancesClient interface {
// Create a new MetaInstance.
Create(ctx context.Context, in *CreateMetaInstanceRequest, opts ...grpc.CallOption) (*CreateMetaInstanceResponse, error)
// Get a MetaInstance by its ID.
GetByID(ctx context.Context, in *GetMetaInstanceByIDRequest, opts ...grpc.CallOption) (*GetMetaInstanceResponse, error)
// Get a MetaInstance by its name.
GetByName(ctx context.Context, in *GetMetaInstanceByNameRequest, opts ...grpc.CallOption) (*GetMetaInstanceResponse, error)
// Update the status of an existing MetaInstance.
UpdateStatus(ctx context.Context, in *UpdateMetaInstanceStatusRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
// Update the DeploymentID of an existing MetaInstance.
UpdateDeploymentID(ctx context.Context, in *UpdateDeploymentIDRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
// List MetaInstances that match the provided filters.
List(ctx context.Context, in *ListMetaInstanceRequest, opts ...grpc.CallOption) (*ListMetaInstanceResponse, error)
// Delete a MetaInstance by its metadata.
Delete(ctx context.Context, in *DeleteMetaInstanceRequest, opts ...grpc.CallOption) (*DeleteMetaInstanceResponse, error)
AddRuntimeInstance(ctx context.Context, in *AddRuntimeInstanceRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
UpdateRuntimeStatus(ctx context.Context, in *UpdateRuntimeStatusRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
UpdateRuntimeActiveState(ctx context.Context, in *UpdateRuntimeActiveStateRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
RemoveRuntimeInstance(ctx context.Context, in *RemoveRuntimeInstanceRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
AddOperation(ctx context.Context, in *AddOperationRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
UpdateOperationStatus(ctx context.Context, in *UpdateOperationStatusRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
RemoveOperation(ctx context.Context, in *RemoveOperationRequest, opts ...grpc.CallOption) (*UpdateMetaInstanceResponse, error)
}
MetaInstancesClient is the client API for MetaInstances service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Service definition for managing MetaInstance records.
func NewMetaInstancesClient ¶
func NewMetaInstancesClient(cc grpc.ClientConnInterface) MetaInstancesClient
type MetaInstancesServer ¶
type MetaInstancesServer interface {
// Create a new MetaInstance.
Create(context.Context, *CreateMetaInstanceRequest) (*CreateMetaInstanceResponse, error)
// Get a MetaInstance by its ID.
GetByID(context.Context, *GetMetaInstanceByIDRequest) (*GetMetaInstanceResponse, error)
// Get a MetaInstance by its name.
GetByName(context.Context, *GetMetaInstanceByNameRequest) (*GetMetaInstanceResponse, error)
// Update the status of an existing MetaInstance.
UpdateStatus(context.Context, *UpdateMetaInstanceStatusRequest) (*UpdateMetaInstanceResponse, error)
// Update the DeploymentID of an existing MetaInstance.
UpdateDeploymentID(context.Context, *UpdateDeploymentIDRequest) (*UpdateMetaInstanceResponse, error)
// List MetaInstances that match the provided filters.
List(context.Context, *ListMetaInstanceRequest) (*ListMetaInstanceResponse, error)
// Delete a MetaInstance by its metadata.
Delete(context.Context, *DeleteMetaInstanceRequest) (*DeleteMetaInstanceResponse, error)
AddRuntimeInstance(context.Context, *AddRuntimeInstanceRequest) (*UpdateMetaInstanceResponse, error)
UpdateRuntimeStatus(context.Context, *UpdateRuntimeStatusRequest) (*UpdateMetaInstanceResponse, error)
UpdateRuntimeActiveState(context.Context, *UpdateRuntimeActiveStateRequest) (*UpdateMetaInstanceResponse, error)
RemoveRuntimeInstance(context.Context, *RemoveRuntimeInstanceRequest) (*UpdateMetaInstanceResponse, error)
AddOperation(context.Context, *AddOperationRequest) (*UpdateMetaInstanceResponse, error)
UpdateOperationStatus(context.Context, *UpdateOperationStatusRequest) (*UpdateMetaInstanceResponse, error)
RemoveOperation(context.Context, *RemoveOperationRequest) (*UpdateMetaInstanceResponse, error)
// contains filtered or unexported methods
}
MetaInstancesServer is the server API for MetaInstances service. All implementations must embed UnimplementedMetaInstancesServer for forward compatibility.
Service definition for managing MetaInstance records.
type Metadata ¶
type Metadata struct {
// ID is the unique identifier of the resource.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Version is the version of the resource as it is known to the Ledger.
Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
Message representing the Metadata of a resource.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetVersion ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Node ¶
type Node struct {
// Metadata is the metadata that identifies the Node.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Name is the name of the Node.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Status represents the current status of the Node.
Status *NodeStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// ClusterID is the ID of the Cluster that the Node belongs to.
ClusterId string `protobuf:"bytes,4,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// TotalResources is the total resources available on the Node.
TotalResources *Resources `protobuf:"bytes,5,opt,name=total_resources,json=totalResources,proto3" json:"total_resources,omitempty"`
// SystemReservedResources is the resources reserved by the system on the Node.
SystemReservedResources *Resources `` /* 132-byte string literal not displayed */
// RemainingResources is the remaining resources available on the Node.
RemainingResources *Resources `protobuf:"bytes,7,opt,name=remaining_resources,json=remainingResources,proto3" json:"remaining_resources,omitempty"`
// UpdateDomain is the update domain of the Node.
UpdateDomain string `protobuf:"bytes,8,opt,name=update_domain,json=updateDomain,proto3" json:"update_domain,omitempty"`
// LocalVolumes is the local volumes available on the Node.
LocalVolumes []*NodeLocalVolume `protobuf:"bytes,9,rep,name=local_volumes,json=localVolumes,proto3" json:"local_volumes,omitempty"`
// Disruptions is the list of disruptions scheduled for the Node.
Disruptions []*NodeDisruption `protobuf:"bytes,10,rep,name=disruptions,proto3" json:"disruptions,omitempty"`
// Capabilities is the list of capabilities available on the Node.
CapabilityIds []string `protobuf:"bytes,11,rep,name=capability_ids,json=capabilityIds,proto3" json:"capability_ids,omitempty"`
// contains filtered or unexported fields
}
Message representing the Node
func (*Node) Descriptor
deprecated
func (*Node) GetCapabilityIds ¶
func (*Node) GetClusterId ¶
func (*Node) GetDisruptions ¶
func (x *Node) GetDisruptions() []*NodeDisruption
func (*Node) GetLocalVolumes ¶
func (x *Node) GetLocalVolumes() []*NodeLocalVolume
func (*Node) GetMetadata ¶
func (*Node) GetRemainingResources ¶
func (*Node) GetStatus ¶
func (x *Node) GetStatus() *NodeStatus
func (*Node) GetSystemReservedResources ¶
func (*Node) GetTotalResources ¶
func (*Node) GetUpdateDomain ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeDisruption ¶
type NodeDisruption struct {
// ID is the ID of the disruption.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// ShouldEvict is a flag to indicate if the Node should be evicted.
ShouldEvict bool `protobuf:"varint,2,opt,name=should_evict,json=shouldEvict,proto3" json:"should_evict,omitempty"`
Status *DisruptionStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*NodeDisruption) Descriptor
deprecated
func (*NodeDisruption) Descriptor() ([]byte, []int)
Deprecated: Use NodeDisruption.ProtoReflect.Descriptor instead.
func (*NodeDisruption) GetId ¶
func (x *NodeDisruption) GetId() string
func (*NodeDisruption) GetShouldEvict ¶
func (x *NodeDisruption) GetShouldEvict() bool
func (*NodeDisruption) GetStatus ¶
func (x *NodeDisruption) GetStatus() *DisruptionStatus
func (*NodeDisruption) ProtoMessage ¶
func (*NodeDisruption) ProtoMessage()
func (*NodeDisruption) ProtoReflect ¶
func (x *NodeDisruption) ProtoReflect() protoreflect.Message
func (*NodeDisruption) Reset ¶
func (x *NodeDisruption) Reset()
func (*NodeDisruption) String ¶
func (x *NodeDisruption) String() string
type NodeLocalVolume ¶
type NodeLocalVolume struct {
// MountPath is the path where the volume is mounted on the Node.
MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// StorageClass is the storage class of the volume.
StorageClass string `protobuf:"bytes,2,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
// Capacity is the capacity of the volume in GB.
StorageCapacity uint32 `protobuf:"varint,3,opt,name=storage_capacity,json=storageCapacity,proto3" json:"storage_capacity,omitempty"`
// contains filtered or unexported fields
}
func (*NodeLocalVolume) Descriptor
deprecated
func (*NodeLocalVolume) Descriptor() ([]byte, []int)
Deprecated: Use NodeLocalVolume.ProtoReflect.Descriptor instead.
func (*NodeLocalVolume) GetMountPath ¶
func (x *NodeLocalVolume) GetMountPath() string
func (*NodeLocalVolume) GetStorageCapacity ¶
func (x *NodeLocalVolume) GetStorageCapacity() uint32
func (*NodeLocalVolume) GetStorageClass ¶
func (x *NodeLocalVolume) GetStorageClass() string
func (*NodeLocalVolume) ProtoMessage ¶
func (*NodeLocalVolume) ProtoMessage()
func (*NodeLocalVolume) ProtoReflect ¶
func (x *NodeLocalVolume) ProtoReflect() protoreflect.Message
func (*NodeLocalVolume) Reset ¶
func (x *NodeLocalVolume) Reset()
func (*NodeLocalVolume) String ¶
func (x *NodeLocalVolume) String() string
type NodeState ¶
type NodeState int32
Enum to represent the NodeState
func (NodeState) Descriptor ¶
func (NodeState) Descriptor() protoreflect.EnumDescriptor
func (NodeState) EnumDescriptor
deprecated
func (NodeState) Number ¶
func (x NodeState) Number() protoreflect.EnumNumber
func (NodeState) Type ¶
func (NodeState) Type() protoreflect.EnumType
type NodeStatus ¶
type NodeStatus struct {
// State is the discrete condition of the resource.
State NodeState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.node.NodeState" json:"state,omitempty"`
// Message is a human-readable description of the resource's state.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Message representing the Status of a resource.
func (*NodeStatus) Descriptor
deprecated
func (*NodeStatus) Descriptor() ([]byte, []int)
Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead.
func (*NodeStatus) GetMessage ¶
func (x *NodeStatus) GetMessage() string
func (*NodeStatus) GetState ¶
func (x *NodeStatus) GetState() NodeState
func (*NodeStatus) ProtoMessage ¶
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) ProtoReflect ¶
func (x *NodeStatus) ProtoReflect() protoreflect.Message
func (*NodeStatus) Reset ¶
func (x *NodeStatus) Reset()
func (*NodeStatus) String ¶
func (x *NodeStatus) String() string
type NodesClient ¶
type NodesClient interface {
// Create a new Node.
Create(ctx context.Context, in *CreateNodeRequest, opts ...grpc.CallOption) (*CreateNodeResponse, error)
// Get a Node by its ID.
GetByID(ctx context.Context, in *GetNodeByIDRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)
// Get a Node by its name.
GetByName(ctx context.Context, in *GetNodeByNameRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)
// Update the state of an existing Node.
UpdateStatus(ctx context.Context, in *UpdateNodeStatusRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
// List Nodes that match the provided filters.
List(ctx context.Context, in *ListNodeRequest, opts ...grpc.CallOption) (*ListNodeResponse, error)
// Delete a Node by its metadata.
Delete(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*DeleteNodeResponse, error)
AddDisruption(ctx context.Context, in *AddDisruptionRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
UpdateDisruptionStatus(ctx context.Context, in *UpdateDisruptionStatusRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
RemoveDisruption(ctx context.Context, in *RemoveDisruptionRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
AddCapability(ctx context.Context, in *AddCapabilityRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
RemoveCapability(ctx context.Context, in *RemoveCapabilityRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
}
NodesClient is the client API for Nodes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Service definition for managing Node records.
func NewNodesClient ¶
func NewNodesClient(cc grpc.ClientConnInterface) NodesClient
type NodesServer ¶
type NodesServer interface {
// Create a new Node.
Create(context.Context, *CreateNodeRequest) (*CreateNodeResponse, error)
// Get a Node by its ID.
GetByID(context.Context, *GetNodeByIDRequest) (*GetNodeResponse, error)
// Get a Node by its name.
GetByName(context.Context, *GetNodeByNameRequest) (*GetNodeResponse, error)
// Update the state of an existing Node.
UpdateStatus(context.Context, *UpdateNodeStatusRequest) (*UpdateNodeResponse, error)
// List Nodes that match the provided filters.
List(context.Context, *ListNodeRequest) (*ListNodeResponse, error)
// Delete a Node by its metadata.
Delete(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
AddDisruption(context.Context, *AddDisruptionRequest) (*UpdateNodeResponse, error)
UpdateDisruptionStatus(context.Context, *UpdateDisruptionStatusRequest) (*UpdateNodeResponse, error)
RemoveDisruption(context.Context, *RemoveDisruptionRequest) (*UpdateNodeResponse, error)
AddCapability(context.Context, *AddCapabilityRequest) (*UpdateNodeResponse, error)
RemoveCapability(context.Context, *RemoveCapabilityRequest) (*UpdateNodeResponse, error)
// contains filtered or unexported methods
}
NodesServer is the server API for Nodes service. All implementations must embed UnimplementedNodesServer for forward compatibility.
Service definition for managing Node records.
type Operation ¶
type Operation struct {
// ID is the unique identifier of the Operation.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Type is the type of the Operation.
Type OperationType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.mrds.ledger.metainstance.OperationType" json:"type,omitempty"`
// IntentID is the ID of the intent that triggered this Operation.
IntentId string `protobuf:"bytes,3,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
// Status represents the current status of the Operation.
Status *OperationStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Message representing an Operation
func (*Operation) Descriptor
deprecated
func (*Operation) GetIntentId ¶
func (*Operation) GetStatus ¶
func (x *Operation) GetStatus() *OperationStatus
func (*Operation) GetType ¶
func (x *Operation) GetType() OperationType
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type OperationState ¶
type OperationState int32
Enum to represent the OperationState
const ( OperationState_OperationState_UNKNOWN OperationState = 0 OperationState_OperationState_PENDING OperationState = 1 OperationState_OperationState_PREPARING OperationState = 2 OperationState_OperationState_PENDING_APPROVAL OperationState = 3 OperationState_OperationState_APPROVED OperationState = 4 OperationState_OperationState_SUCCEEDED OperationState = 5 OperationState_OperationState_FAILED OperationState = 6 )
func (OperationState) Descriptor ¶
func (OperationState) Descriptor() protoreflect.EnumDescriptor
func (OperationState) Enum ¶
func (x OperationState) Enum() *OperationState
func (OperationState) EnumDescriptor
deprecated
func (OperationState) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationState.Descriptor instead.
func (OperationState) Number ¶
func (x OperationState) Number() protoreflect.EnumNumber
func (OperationState) String ¶
func (x OperationState) String() string
func (OperationState) Type ¶
func (OperationState) Type() protoreflect.EnumType
type OperationStatus ¶
type OperationStatus struct {
// State is the state of the Operation.
State OperationState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.metainstance.OperationState" json:"state,omitempty"`
// Message is a human-readable description of the Operation's state.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Message representing the Status of an Operation
func (*OperationStatus) Descriptor
deprecated
func (*OperationStatus) Descriptor() ([]byte, []int)
Deprecated: Use OperationStatus.ProtoReflect.Descriptor instead.
func (*OperationStatus) GetMessage ¶
func (x *OperationStatus) GetMessage() string
func (*OperationStatus) GetState ¶
func (x *OperationStatus) GetState() OperationState
func (*OperationStatus) ProtoMessage ¶
func (*OperationStatus) ProtoMessage()
func (*OperationStatus) ProtoReflect ¶
func (x *OperationStatus) ProtoReflect() protoreflect.Message
func (*OperationStatus) Reset ¶
func (x *OperationStatus) Reset()
func (*OperationStatus) String ¶
func (x *OperationStatus) String() string
type OperationType ¶
type OperationType int32
const ( OperationType_OperationType_UNKNOWN OperationType = 0 OperationType_OperationType_CREATE OperationType = 1 OperationType_OperationType_UPDATE OperationType = 2 OperationType_OperationType_DELETE OperationType = 3 OperationType_OperationType_STOP OperationType = 4 OperationType_OperationType_RESTART OperationType = 5 OperationType_OperationType_RELOCATE OperationType = 6 )
func (OperationType) Descriptor ¶
func (OperationType) Descriptor() protoreflect.EnumDescriptor
func (OperationType) Enum ¶
func (x OperationType) Enum() *OperationType
func (OperationType) EnumDescriptor
deprecated
func (OperationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationType.Descriptor instead.
func (OperationType) Number ¶
func (x OperationType) Number() protoreflect.EnumNumber
func (OperationType) String ¶
func (x OperationType) String() string
func (OperationType) Type ¶
func (OperationType) Type() protoreflect.EnumType
type PayloadCoordinates ¶
type PayloadCoordinates struct {
PayloadName string `protobuf:"bytes,1,opt,name=payload_name,json=payloadName,proto3" json:"payload_name,omitempty"`
Coordinates map[string]string `` /* 163-byte string literal not displayed */
// contains filtered or unexported fields
}
PayloadCoordinates define the coordinates of a payload.
func (*PayloadCoordinates) Descriptor
deprecated
func (*PayloadCoordinates) Descriptor() ([]byte, []int)
Deprecated: Use PayloadCoordinates.ProtoReflect.Descriptor instead.
func (*PayloadCoordinates) GetCoordinates ¶
func (x *PayloadCoordinates) GetCoordinates() map[string]string
func (*PayloadCoordinates) GetPayloadName ¶
func (x *PayloadCoordinates) GetPayloadName() string
func (*PayloadCoordinates) ProtoMessage ¶
func (*PayloadCoordinates) ProtoMessage()
func (*PayloadCoordinates) ProtoReflect ¶
func (x *PayloadCoordinates) ProtoReflect() protoreflect.Message
func (*PayloadCoordinates) Reset ¶
func (x *PayloadCoordinates) Reset()
func (*PayloadCoordinates) String ¶
func (x *PayloadCoordinates) String() string
type RemoveCapabilityRequest ¶
type RemoveCapabilityRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
CapabilityId string `protobuf:"bytes,2,opt,name=capability_id,json=capabilityId,proto3" json:"capability_id,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveCapabilityRequest) Descriptor
deprecated
func (*RemoveCapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCapabilityRequest.ProtoReflect.Descriptor instead.
func (*RemoveCapabilityRequest) GetCapabilityId ¶
func (x *RemoveCapabilityRequest) GetCapabilityId() string
func (*RemoveCapabilityRequest) GetMetadata ¶
func (x *RemoveCapabilityRequest) GetMetadata() *Metadata
func (*RemoveCapabilityRequest) ProtoMessage ¶
func (*RemoveCapabilityRequest) ProtoMessage()
func (*RemoveCapabilityRequest) ProtoReflect ¶
func (x *RemoveCapabilityRequest) ProtoReflect() protoreflect.Message
func (*RemoveCapabilityRequest) Reset ¶
func (x *RemoveCapabilityRequest) Reset()
func (*RemoveCapabilityRequest) String ¶
func (x *RemoveCapabilityRequest) String() string
type RemoveDisruptionRequest ¶
type RemoveDisruptionRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
DisruptionId string `protobuf:"bytes,2,opt,name=disruption_id,json=disruptionId,proto3" json:"disruption_id,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveDisruptionRequest) Descriptor
deprecated
func (*RemoveDisruptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDisruptionRequest.ProtoReflect.Descriptor instead.
func (*RemoveDisruptionRequest) GetDisruptionId ¶
func (x *RemoveDisruptionRequest) GetDisruptionId() string
func (*RemoveDisruptionRequest) GetMetadata ¶
func (x *RemoveDisruptionRequest) GetMetadata() *Metadata
func (*RemoveDisruptionRequest) ProtoMessage ¶
func (*RemoveDisruptionRequest) ProtoMessage()
func (*RemoveDisruptionRequest) ProtoReflect ¶
func (x *RemoveDisruptionRequest) ProtoReflect() protoreflect.Message
func (*RemoveDisruptionRequest) Reset ¶
func (x *RemoveDisruptionRequest) Reset()
func (*RemoveDisruptionRequest) String ¶
func (x *RemoveDisruptionRequest) String() string
type RemoveOperationRequest ¶
type RemoveOperationRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// contains filtered or unexported fields
}
Request to remove an Operation from a MetaInstance.
func (*RemoveOperationRequest) Descriptor
deprecated
func (*RemoveOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveOperationRequest.ProtoReflect.Descriptor instead.
func (*RemoveOperationRequest) GetMetadata ¶
func (x *RemoveOperationRequest) GetMetadata() *Metadata
func (*RemoveOperationRequest) GetOperationId ¶
func (x *RemoveOperationRequest) GetOperationId() string
func (*RemoveOperationRequest) ProtoMessage ¶
func (*RemoveOperationRequest) ProtoMessage()
func (*RemoveOperationRequest) ProtoReflect ¶
func (x *RemoveOperationRequest) ProtoReflect() protoreflect.Message
func (*RemoveOperationRequest) Reset ¶
func (x *RemoveOperationRequest) Reset()
func (*RemoveOperationRequest) String ¶
func (x *RemoveOperationRequest) String() string
type RemoveRuntimeInstanceRequest ¶
type RemoveRuntimeInstanceRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
RuntimeInstanceId string `protobuf:"bytes,2,opt,name=runtime_instance_id,json=runtimeInstanceId,proto3" json:"runtime_instance_id,omitempty"`
// contains filtered or unexported fields
}
Request to remove a RuntimeInstance from a MetaInstance.
func (*RemoveRuntimeInstanceRequest) Descriptor
deprecated
func (*RemoveRuntimeInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRuntimeInstanceRequest.ProtoReflect.Descriptor instead.
func (*RemoveRuntimeInstanceRequest) GetMetadata ¶
func (x *RemoveRuntimeInstanceRequest) GetMetadata() *Metadata
func (*RemoveRuntimeInstanceRequest) GetRuntimeInstanceId ¶
func (x *RemoveRuntimeInstanceRequest) GetRuntimeInstanceId() string
func (*RemoveRuntimeInstanceRequest) ProtoMessage ¶
func (*RemoveRuntimeInstanceRequest) ProtoMessage()
func (*RemoveRuntimeInstanceRequest) ProtoReflect ¶
func (x *RemoveRuntimeInstanceRequest) ProtoReflect() protoreflect.Message
func (*RemoveRuntimeInstanceRequest) Reset ¶
func (x *RemoveRuntimeInstanceRequest) Reset()
func (*RemoveRuntimeInstanceRequest) String ¶
func (x *RemoveRuntimeInstanceRequest) String() string
type Resources ¶
type Resources struct {
// Cores is the number of CPU cores available on the Node.
Cores uint32 `protobuf:"varint,1,opt,name=cores,proto3" json:"cores,omitempty"`
// Memory is the amount of memory available on the Node in bytes.
Memory uint32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
// contains filtered or unexported fields
}
func (*Resources) Descriptor
deprecated
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
type RuntimeInstance ¶
type RuntimeInstance struct {
// ID is the unique identifier of the RuntimeInstance.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// NodeID is the ID of the Node where the RuntimeInstance is running.
NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// IsActive indicates if the RuntimeInstance is currently active.
IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
// Status represents the current status of the RuntimeInstance.
Status *RuntimeInstanceStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Message representing a RuntimeInstance
func (*RuntimeInstance) Descriptor
deprecated
func (*RuntimeInstance) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInstance.ProtoReflect.Descriptor instead.
func (*RuntimeInstance) GetId ¶
func (x *RuntimeInstance) GetId() string
func (*RuntimeInstance) GetIsActive ¶
func (x *RuntimeInstance) GetIsActive() bool
func (*RuntimeInstance) GetNodeId ¶
func (x *RuntimeInstance) GetNodeId() string
func (*RuntimeInstance) GetStatus ¶
func (x *RuntimeInstance) GetStatus() *RuntimeInstanceStatus
func (*RuntimeInstance) ProtoMessage ¶
func (*RuntimeInstance) ProtoMessage()
func (*RuntimeInstance) ProtoReflect ¶
func (x *RuntimeInstance) ProtoReflect() protoreflect.Message
func (*RuntimeInstance) Reset ¶
func (x *RuntimeInstance) Reset()
func (*RuntimeInstance) String ¶
func (x *RuntimeInstance) String() string
type RuntimeInstanceState ¶
type RuntimeInstanceState int32
Enum to represent the RuntimeInstanceState
const ( RuntimeInstanceState_RuntimeState_UNKNOWN RuntimeInstanceState = 0 RuntimeInstanceState_RuntimeState_PENDING RuntimeInstanceState = 1 RuntimeInstanceState_RuntimeState_STARTING RuntimeInstanceState = 2 RuntimeInstanceState_RuntimeState_RUNNING RuntimeInstanceState = 3 RuntimeInstanceState_RuuntimeState_UPDATING RuntimeInstanceState = 4 RuntimeInstanceState_RuntimeState_TERMINATING RuntimeInstanceState = 5 RuntimeInstanceState_RuntimeState_TERMINATED RuntimeInstanceState = 6 RuntimeInstanceState_RuntimeState_FAILED RuntimeInstanceState = 7 )
func (RuntimeInstanceState) Descriptor ¶
func (RuntimeInstanceState) Descriptor() protoreflect.EnumDescriptor
func (RuntimeInstanceState) Enum ¶
func (x RuntimeInstanceState) Enum() *RuntimeInstanceState
func (RuntimeInstanceState) EnumDescriptor
deprecated
func (RuntimeInstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuntimeInstanceState.Descriptor instead.
func (RuntimeInstanceState) Number ¶
func (x RuntimeInstanceState) Number() protoreflect.EnumNumber
func (RuntimeInstanceState) String ¶
func (x RuntimeInstanceState) String() string
func (RuntimeInstanceState) Type ¶
func (RuntimeInstanceState) Type() protoreflect.EnumType
type RuntimeInstanceStatus ¶
type RuntimeInstanceStatus struct {
// State is the state of the RuntimeInstance.
State RuntimeInstanceState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.mrds.ledger.metainstance.RuntimeInstanceState" json:"state,omitempty"`
// Message is a human-readable description of the RuntimeInstance's state.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Message representing the Status of a RuntimeInstance
func (*RuntimeInstanceStatus) Descriptor
deprecated
func (*RuntimeInstanceStatus) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInstanceStatus.ProtoReflect.Descriptor instead.
func (*RuntimeInstanceStatus) GetMessage ¶
func (x *RuntimeInstanceStatus) GetMessage() string
func (*RuntimeInstanceStatus) GetState ¶
func (x *RuntimeInstanceStatus) GetState() RuntimeInstanceState
func (*RuntimeInstanceStatus) ProtoMessage ¶
func (*RuntimeInstanceStatus) ProtoMessage()
func (*RuntimeInstanceStatus) ProtoReflect ¶
func (x *RuntimeInstanceStatus) ProtoReflect() protoreflect.Message
func (*RuntimeInstanceStatus) Reset ¶
func (x *RuntimeInstanceStatus) Reset()
func (*RuntimeInstanceStatus) String ¶
func (x *RuntimeInstanceStatus) String() string
type UnimplementedClustersServer ¶
type UnimplementedClustersServer struct{}
UnimplementedClustersServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedClustersServer) Create ¶
func (UnimplementedClustersServer) Create(context.Context, *CreateClusterRequest) (*CreateClusterResponse, error)
func (UnimplementedClustersServer) Delete ¶
func (UnimplementedClustersServer) Delete(context.Context, *DeleteClusterRequest) (*DeleteClusterResponse, error)
func (UnimplementedClustersServer) GetByID ¶
func (UnimplementedClustersServer) GetByID(context.Context, *GetClusterByIDRequest) (*GetClusterResponse, error)
func (UnimplementedClustersServer) GetByName ¶
func (UnimplementedClustersServer) GetByName(context.Context, *GetClusterByNameRequest) (*GetClusterResponse, error)
func (UnimplementedClustersServer) List ¶
func (UnimplementedClustersServer) List(context.Context, *ListClusterRequest) (*ListClusterResponse, error)
func (UnimplementedClustersServer) UpdateStatus ¶
func (UnimplementedClustersServer) UpdateStatus(context.Context, *UpdateClusterStatusRequest) (*UpdateClusterResponse, error)
type UnimplementedComputeCapabilitiesServer ¶
type UnimplementedComputeCapabilitiesServer struct{}
UnimplementedComputeCapabilitiesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedComputeCapabilitiesServer) UpdateStatus ¶
func (UnimplementedComputeCapabilitiesServer) UpdateStatus(context.Context, *UpdateComputeCapabilityStatusRequest) (*UpdateComputeCapabilityResponse, error)
type UnimplementedDeploymentPlansServer ¶
type UnimplementedDeploymentPlansServer struct{}
UnimplementedDeploymentPlansServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDeploymentPlansServer) AddDeployment ¶
func (UnimplementedDeploymentPlansServer) AddDeployment(context.Context, *AddDeploymentRequest) (*UpdateDeploymentPlanResponse, error)
func (UnimplementedDeploymentPlansServer) GetByID ¶
func (UnimplementedDeploymentPlansServer) GetByID(context.Context, *GetDeploymentPlanByIDRequest) (*GetDeploymentPlanResponse, error)
func (UnimplementedDeploymentPlansServer) GetByName ¶
func (UnimplementedDeploymentPlansServer) GetByName(context.Context, *GetDeploymentPlanByNameRequest) (*GetDeploymentPlanResponse, error)
func (UnimplementedDeploymentPlansServer) UpdateDeploymentStatus ¶
func (UnimplementedDeploymentPlansServer) UpdateDeploymentStatus(context.Context, *UpdateDeploymentStatusRequest) (*UpdateDeploymentPlanResponse, error)
func (UnimplementedDeploymentPlansServer) UpdateStatus ¶
func (UnimplementedDeploymentPlansServer) UpdateStatus(context.Context, *UpdateDeploymentPlanStatusRequest) (*UpdateDeploymentPlanResponse, error)
type UnimplementedMetaInstancesServer ¶
type UnimplementedMetaInstancesServer struct{}
UnimplementedMetaInstancesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMetaInstancesServer) AddOperation ¶
func (UnimplementedMetaInstancesServer) AddOperation(context.Context, *AddOperationRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) AddRuntimeInstance ¶
func (UnimplementedMetaInstancesServer) AddRuntimeInstance(context.Context, *AddRuntimeInstanceRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) Create ¶
func (UnimplementedMetaInstancesServer) Create(context.Context, *CreateMetaInstanceRequest) (*CreateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) Delete ¶
func (UnimplementedMetaInstancesServer) Delete(context.Context, *DeleteMetaInstanceRequest) (*DeleteMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) GetByID ¶
func (UnimplementedMetaInstancesServer) GetByID(context.Context, *GetMetaInstanceByIDRequest) (*GetMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) GetByName ¶
func (UnimplementedMetaInstancesServer) GetByName(context.Context, *GetMetaInstanceByNameRequest) (*GetMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) RemoveOperation ¶
func (UnimplementedMetaInstancesServer) RemoveOperation(context.Context, *RemoveOperationRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) RemoveRuntimeInstance ¶
func (UnimplementedMetaInstancesServer) RemoveRuntimeInstance(context.Context, *RemoveRuntimeInstanceRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) UpdateDeploymentID ¶
func (UnimplementedMetaInstancesServer) UpdateDeploymentID(context.Context, *UpdateDeploymentIDRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) UpdateOperationStatus ¶
func (UnimplementedMetaInstancesServer) UpdateOperationStatus(context.Context, *UpdateOperationStatusRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) UpdateRuntimeActiveState ¶
func (UnimplementedMetaInstancesServer) UpdateRuntimeActiveState(context.Context, *UpdateRuntimeActiveStateRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) UpdateRuntimeStatus ¶
func (UnimplementedMetaInstancesServer) UpdateRuntimeStatus(context.Context, *UpdateRuntimeStatusRequest) (*UpdateMetaInstanceResponse, error)
func (UnimplementedMetaInstancesServer) UpdateStatus ¶
func (UnimplementedMetaInstancesServer) UpdateStatus(context.Context, *UpdateMetaInstanceStatusRequest) (*UpdateMetaInstanceResponse, error)
type UnimplementedNodesServer ¶
type UnimplementedNodesServer struct{}
UnimplementedNodesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNodesServer) AddCapability ¶
func (UnimplementedNodesServer) AddCapability(context.Context, *AddCapabilityRequest) (*UpdateNodeResponse, error)
func (UnimplementedNodesServer) AddDisruption ¶
func (UnimplementedNodesServer) AddDisruption(context.Context, *AddDisruptionRequest) (*UpdateNodeResponse, error)
func (UnimplementedNodesServer) Create ¶
func (UnimplementedNodesServer) Create(context.Context, *CreateNodeRequest) (*CreateNodeResponse, error)
func (UnimplementedNodesServer) Delete ¶
func (UnimplementedNodesServer) Delete(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
func (UnimplementedNodesServer) GetByID ¶
func (UnimplementedNodesServer) GetByID(context.Context, *GetNodeByIDRequest) (*GetNodeResponse, error)
func (UnimplementedNodesServer) GetByName ¶
func (UnimplementedNodesServer) GetByName(context.Context, *GetNodeByNameRequest) (*GetNodeResponse, error)
func (UnimplementedNodesServer) List ¶
func (UnimplementedNodesServer) List(context.Context, *ListNodeRequest) (*ListNodeResponse, error)
func (UnimplementedNodesServer) RemoveCapability ¶
func (UnimplementedNodesServer) RemoveCapability(context.Context, *RemoveCapabilityRequest) (*UpdateNodeResponse, error)
func (UnimplementedNodesServer) RemoveDisruption ¶
func (UnimplementedNodesServer) RemoveDisruption(context.Context, *RemoveDisruptionRequest) (*UpdateNodeResponse, error)
func (UnimplementedNodesServer) UpdateDisruptionStatus ¶
func (UnimplementedNodesServer) UpdateDisruptionStatus(context.Context, *UpdateDisruptionStatusRequest) (*UpdateNodeResponse, error)
func (UnimplementedNodesServer) UpdateStatus ¶
func (UnimplementedNodesServer) UpdateStatus(context.Context, *UpdateNodeStatusRequest) (*UpdateNodeResponse, error)
type UnsafeClustersServer ¶
type UnsafeClustersServer interface {
// contains filtered or unexported methods
}
UnsafeClustersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClustersServer will result in compilation errors.
type UnsafeComputeCapabilitiesServer ¶
type UnsafeComputeCapabilitiesServer interface {
// contains filtered or unexported methods
}
UnsafeComputeCapabilitiesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ComputeCapabilitiesServer will result in compilation errors.
type UnsafeDeploymentPlansServer ¶
type UnsafeDeploymentPlansServer interface {
// contains filtered or unexported methods
}
UnsafeDeploymentPlansServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploymentPlansServer will result in compilation errors.
type UnsafeMetaInstancesServer ¶
type UnsafeMetaInstancesServer interface {
// contains filtered or unexported methods
}
UnsafeMetaInstancesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetaInstancesServer will result in compilation errors.
type UnsafeNodesServer ¶
type UnsafeNodesServer interface {
// contains filtered or unexported methods
}
UnsafeNodesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodesServer will result in compilation errors.
type UpdateClusterResponse ¶
type UpdateClusterResponse struct {
// The updated Cluster record.
Record *Cluster `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after updating the state of a Cluster.
func (*UpdateClusterResponse) Descriptor
deprecated
func (*UpdateClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterResponse.ProtoReflect.Descriptor instead.
func (*UpdateClusterResponse) GetRecord ¶
func (x *UpdateClusterResponse) GetRecord() *Cluster
func (*UpdateClusterResponse) ProtoMessage ¶
func (*UpdateClusterResponse) ProtoMessage()
func (*UpdateClusterResponse) ProtoReflect ¶
func (x *UpdateClusterResponse) ProtoReflect() protoreflect.Message
func (*UpdateClusterResponse) Reset ¶
func (x *UpdateClusterResponse) Reset()
func (*UpdateClusterResponse) String ¶
func (x *UpdateClusterResponse) String() string
type UpdateClusterStatusRequest ¶
type UpdateClusterStatusRequest struct {
// The metadata of the Cluster to update.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The new state of the Cluster.
Status *ClusterStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Request to update the state and message of a Cluster.
func (*UpdateClusterStatusRequest) Descriptor
deprecated
func (*UpdateClusterStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterStatusRequest) GetMetadata ¶
func (x *UpdateClusterStatusRequest) GetMetadata() *Metadata
func (*UpdateClusterStatusRequest) GetStatus ¶
func (x *UpdateClusterStatusRequest) GetStatus() *ClusterStatus
func (*UpdateClusterStatusRequest) ProtoMessage ¶
func (*UpdateClusterStatusRequest) ProtoMessage()
func (*UpdateClusterStatusRequest) ProtoReflect ¶
func (x *UpdateClusterStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterStatusRequest) Reset ¶
func (x *UpdateClusterStatusRequest) Reset()
func (*UpdateClusterStatusRequest) String ¶
func (x *UpdateClusterStatusRequest) String() string
type UpdateComputeCapabilityResponse ¶
type UpdateComputeCapabilityResponse struct {
// The updated ComputeCapability record.
Record *ComputeCapability `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after updating the state of a ComputeCapability.
func (*UpdateComputeCapabilityResponse) Descriptor
deprecated
func (*UpdateComputeCapabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateComputeCapabilityResponse.ProtoReflect.Descriptor instead.
func (*UpdateComputeCapabilityResponse) GetRecord ¶
func (x *UpdateComputeCapabilityResponse) GetRecord() *ComputeCapability
func (*UpdateComputeCapabilityResponse) ProtoMessage ¶
func (*UpdateComputeCapabilityResponse) ProtoMessage()
func (*UpdateComputeCapabilityResponse) ProtoReflect ¶
func (x *UpdateComputeCapabilityResponse) ProtoReflect() protoreflect.Message
func (*UpdateComputeCapabilityResponse) Reset ¶
func (x *UpdateComputeCapabilityResponse) Reset()
func (*UpdateComputeCapabilityResponse) String ¶
func (x *UpdateComputeCapabilityResponse) String() string
type UpdateComputeCapabilityStatusRequest ¶
type UpdateComputeCapabilityStatusRequest struct {
// The metadata of the ComputeCapability to update.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The new state of the ComputeCapability.
Status *ComputeCapabilityStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Request to update the state and message of a ComputeCapability.
func (*UpdateComputeCapabilityStatusRequest) Descriptor
deprecated
func (*UpdateComputeCapabilityStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateComputeCapabilityStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateComputeCapabilityStatusRequest) GetMetadata ¶
func (x *UpdateComputeCapabilityStatusRequest) GetMetadata() *Metadata
func (*UpdateComputeCapabilityStatusRequest) GetStatus ¶
func (x *UpdateComputeCapabilityStatusRequest) GetStatus() *ComputeCapabilityStatus
func (*UpdateComputeCapabilityStatusRequest) ProtoMessage ¶
func (*UpdateComputeCapabilityStatusRequest) ProtoMessage()
func (*UpdateComputeCapabilityStatusRequest) ProtoReflect ¶
func (x *UpdateComputeCapabilityStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateComputeCapabilityStatusRequest) Reset ¶
func (x *UpdateComputeCapabilityStatusRequest) Reset()
func (*UpdateComputeCapabilityStatusRequest) String ¶
func (x *UpdateComputeCapabilityStatusRequest) String() string
type UpdateDeploymentIDRequest ¶
type UpdateDeploymentIDRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
// contains filtered or unexported fields
}
Request to update the DeploymentID of a MetaInstance.
func (*UpdateDeploymentIDRequest) Descriptor
deprecated
func (*UpdateDeploymentIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeploymentIDRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeploymentIDRequest) GetDeploymentId ¶
func (x *UpdateDeploymentIDRequest) GetDeploymentId() string
func (*UpdateDeploymentIDRequest) GetMetadata ¶
func (x *UpdateDeploymentIDRequest) GetMetadata() *Metadata
func (*UpdateDeploymentIDRequest) ProtoMessage ¶
func (*UpdateDeploymentIDRequest) ProtoMessage()
func (*UpdateDeploymentIDRequest) ProtoReflect ¶
func (x *UpdateDeploymentIDRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeploymentIDRequest) Reset ¶
func (x *UpdateDeploymentIDRequest) Reset()
func (*UpdateDeploymentIDRequest) String ¶
func (x *UpdateDeploymentIDRequest) String() string
type UpdateDeploymentPlanResponse ¶
type UpdateDeploymentPlanResponse struct {
Record *DeploymentPlanRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
UpdateDeploymentPlanResponse represents the response after updating the state of a DeploymentPlan.
func (*UpdateDeploymentPlanResponse) Descriptor
deprecated
func (*UpdateDeploymentPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeploymentPlanResponse.ProtoReflect.Descriptor instead.
func (*UpdateDeploymentPlanResponse) GetRecord ¶
func (x *UpdateDeploymentPlanResponse) GetRecord() *DeploymentPlanRecord
func (*UpdateDeploymentPlanResponse) ProtoMessage ¶
func (*UpdateDeploymentPlanResponse) ProtoMessage()
func (*UpdateDeploymentPlanResponse) ProtoReflect ¶
func (x *UpdateDeploymentPlanResponse) ProtoReflect() protoreflect.Message
func (*UpdateDeploymentPlanResponse) Reset ¶
func (x *UpdateDeploymentPlanResponse) Reset()
func (*UpdateDeploymentPlanResponse) String ¶
func (x *UpdateDeploymentPlanResponse) String() string
type UpdateDeploymentPlanStatusRequest ¶
type UpdateDeploymentPlanStatusRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Status *DeploymentPlanStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
UpdateDeploymentPlanStatusRequest represents the request to update the state of a DeploymentPlan.
func (*UpdateDeploymentPlanStatusRequest) Descriptor
deprecated
func (*UpdateDeploymentPlanStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeploymentPlanStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeploymentPlanStatusRequest) GetMetadata ¶
func (x *UpdateDeploymentPlanStatusRequest) GetMetadata() *Metadata
func (*UpdateDeploymentPlanStatusRequest) GetStatus ¶
func (x *UpdateDeploymentPlanStatusRequest) GetStatus() *DeploymentPlanStatus
func (*UpdateDeploymentPlanStatusRequest) ProtoMessage ¶
func (*UpdateDeploymentPlanStatusRequest) ProtoMessage()
func (*UpdateDeploymentPlanStatusRequest) ProtoReflect ¶
func (x *UpdateDeploymentPlanStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeploymentPlanStatusRequest) Reset ¶
func (x *UpdateDeploymentPlanStatusRequest) Reset()
func (*UpdateDeploymentPlanStatusRequest) String ¶
func (x *UpdateDeploymentPlanStatusRequest) String() string
type UpdateDeploymentStatusRequest ¶
type UpdateDeploymentStatusRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
Status *DeploymentStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
UpdateDeploymentStatusRequest represents the request to update the status of a deployment.
func (*UpdateDeploymentStatusRequest) Descriptor
deprecated
func (*UpdateDeploymentStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeploymentStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeploymentStatusRequest) GetDeploymentId ¶
func (x *UpdateDeploymentStatusRequest) GetDeploymentId() string
func (*UpdateDeploymentStatusRequest) GetMetadata ¶
func (x *UpdateDeploymentStatusRequest) GetMetadata() *Metadata
func (*UpdateDeploymentStatusRequest) GetStatus ¶
func (x *UpdateDeploymentStatusRequest) GetStatus() *DeploymentStatus
func (*UpdateDeploymentStatusRequest) ProtoMessage ¶
func (*UpdateDeploymentStatusRequest) ProtoMessage()
func (*UpdateDeploymentStatusRequest) ProtoReflect ¶
func (x *UpdateDeploymentStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeploymentStatusRequest) Reset ¶
func (x *UpdateDeploymentStatusRequest) Reset()
func (*UpdateDeploymentStatusRequest) String ¶
func (x *UpdateDeploymentStatusRequest) String() string
type UpdateDisruptionStatusRequest ¶
type UpdateDisruptionStatusRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
DisruptionId string `protobuf:"bytes,2,opt,name=disruption_id,json=disruptionId,proto3" json:"disruption_id,omitempty"`
Status *DisruptionStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDisruptionStatusRequest) Descriptor
deprecated
func (*UpdateDisruptionStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDisruptionStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateDisruptionStatusRequest) GetDisruptionId ¶
func (x *UpdateDisruptionStatusRequest) GetDisruptionId() string
func (*UpdateDisruptionStatusRequest) GetMetadata ¶
func (x *UpdateDisruptionStatusRequest) GetMetadata() *Metadata
func (*UpdateDisruptionStatusRequest) GetStatus ¶
func (x *UpdateDisruptionStatusRequest) GetStatus() *DisruptionStatus
func (*UpdateDisruptionStatusRequest) ProtoMessage ¶
func (*UpdateDisruptionStatusRequest) ProtoMessage()
func (*UpdateDisruptionStatusRequest) ProtoReflect ¶
func (x *UpdateDisruptionStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateDisruptionStatusRequest) Reset ¶
func (x *UpdateDisruptionStatusRequest) Reset()
func (*UpdateDisruptionStatusRequest) String ¶
func (x *UpdateDisruptionStatusRequest) String() string
type UpdateMetaInstanceResponse ¶
type UpdateMetaInstanceResponse struct {
Record *MetaInstance `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after updating the status of a MetaInstance.
func (*UpdateMetaInstanceResponse) Descriptor
deprecated
func (*UpdateMetaInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetaInstanceResponse.ProtoReflect.Descriptor instead.
func (*UpdateMetaInstanceResponse) GetRecord ¶
func (x *UpdateMetaInstanceResponse) GetRecord() *MetaInstance
func (*UpdateMetaInstanceResponse) ProtoMessage ¶
func (*UpdateMetaInstanceResponse) ProtoMessage()
func (*UpdateMetaInstanceResponse) ProtoReflect ¶
func (x *UpdateMetaInstanceResponse) ProtoReflect() protoreflect.Message
func (*UpdateMetaInstanceResponse) Reset ¶
func (x *UpdateMetaInstanceResponse) Reset()
func (*UpdateMetaInstanceResponse) String ¶
func (x *UpdateMetaInstanceResponse) String() string
type UpdateMetaInstanceStatusRequest ¶
type UpdateMetaInstanceStatusRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Status *MetaInstanceStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Request to update the status of a MetaInstance.
func (*UpdateMetaInstanceStatusRequest) Descriptor
deprecated
func (*UpdateMetaInstanceStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetaInstanceStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateMetaInstanceStatusRequest) GetMetadata ¶
func (x *UpdateMetaInstanceStatusRequest) GetMetadata() *Metadata
func (*UpdateMetaInstanceStatusRequest) GetStatus ¶
func (x *UpdateMetaInstanceStatusRequest) GetStatus() *MetaInstanceStatus
func (*UpdateMetaInstanceStatusRequest) ProtoMessage ¶
func (*UpdateMetaInstanceStatusRequest) ProtoMessage()
func (*UpdateMetaInstanceStatusRequest) ProtoReflect ¶
func (x *UpdateMetaInstanceStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateMetaInstanceStatusRequest) Reset ¶
func (x *UpdateMetaInstanceStatusRequest) Reset()
func (*UpdateMetaInstanceStatusRequest) String ¶
func (x *UpdateMetaInstanceStatusRequest) String() string
type UpdateNodeResponse ¶
type UpdateNodeResponse struct {
// The updated Node record.
Record *Node `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
Response after updating the state of a Node.
func (*UpdateNodeResponse) Descriptor
deprecated
func (*UpdateNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeResponse.ProtoReflect.Descriptor instead.
func (*UpdateNodeResponse) GetRecord ¶
func (x *UpdateNodeResponse) GetRecord() *Node
func (*UpdateNodeResponse) ProtoMessage ¶
func (*UpdateNodeResponse) ProtoMessage()
func (*UpdateNodeResponse) ProtoReflect ¶
func (x *UpdateNodeResponse) ProtoReflect() protoreflect.Message
func (*UpdateNodeResponse) Reset ¶
func (x *UpdateNodeResponse) Reset()
func (*UpdateNodeResponse) String ¶
func (x *UpdateNodeResponse) String() string
type UpdateNodeStatusRequest ¶
type UpdateNodeStatusRequest struct {
// The metadata of the Node to update.
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The new state of the Node.
Status *NodeStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// The ID of the Cluster that the Node belongs to.
// This field is required when transitioning to the ALLOCATED state.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// contains filtered or unexported fields
}
Request to update the state and message of a Node.
func (*UpdateNodeStatusRequest) Descriptor
deprecated
func (*UpdateNodeStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodeStatusRequest) GetClusterId ¶
func (x *UpdateNodeStatusRequest) GetClusterId() string
func (*UpdateNodeStatusRequest) GetMetadata ¶
func (x *UpdateNodeStatusRequest) GetMetadata() *Metadata
func (*UpdateNodeStatusRequest) GetStatus ¶
func (x *UpdateNodeStatusRequest) GetStatus() *NodeStatus
func (*UpdateNodeStatusRequest) ProtoMessage ¶
func (*UpdateNodeStatusRequest) ProtoMessage()
func (*UpdateNodeStatusRequest) ProtoReflect ¶
func (x *UpdateNodeStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodeStatusRequest) Reset ¶
func (x *UpdateNodeStatusRequest) Reset()
func (*UpdateNodeStatusRequest) String ¶
func (x *UpdateNodeStatusRequest) String() string
type UpdateOperationStatusRequest ¶
type UpdateOperationStatusRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
Status *OperationStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Request to update the status of an Operation.
func (*UpdateOperationStatusRequest) Descriptor
deprecated
func (*UpdateOperationStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOperationStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateOperationStatusRequest) GetMetadata ¶
func (x *UpdateOperationStatusRequest) GetMetadata() *Metadata
func (*UpdateOperationStatusRequest) GetOperationId ¶
func (x *UpdateOperationStatusRequest) GetOperationId() string
func (*UpdateOperationStatusRequest) GetStatus ¶
func (x *UpdateOperationStatusRequest) GetStatus() *OperationStatus
func (*UpdateOperationStatusRequest) ProtoMessage ¶
func (*UpdateOperationStatusRequest) ProtoMessage()
func (*UpdateOperationStatusRequest) ProtoReflect ¶
func (x *UpdateOperationStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateOperationStatusRequest) Reset ¶
func (x *UpdateOperationStatusRequest) Reset()
func (*UpdateOperationStatusRequest) String ¶
func (x *UpdateOperationStatusRequest) String() string
type UpdateRuntimeActiveStateRequest ¶
type UpdateRuntimeActiveStateRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
RuntimeInstanceId string `protobuf:"bytes,2,opt,name=runtime_instance_id,json=runtimeInstanceId,proto3" json:"runtime_instance_id,omitempty"`
IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
// contains filtered or unexported fields
}
Request to update the active state of a RuntimeInstance.
func (*UpdateRuntimeActiveStateRequest) Descriptor
deprecated
func (*UpdateRuntimeActiveStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuntimeActiveStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuntimeActiveStateRequest) GetIsActive ¶
func (x *UpdateRuntimeActiveStateRequest) GetIsActive() bool
func (*UpdateRuntimeActiveStateRequest) GetMetadata ¶
func (x *UpdateRuntimeActiveStateRequest) GetMetadata() *Metadata
func (*UpdateRuntimeActiveStateRequest) GetRuntimeInstanceId ¶
func (x *UpdateRuntimeActiveStateRequest) GetRuntimeInstanceId() string
func (*UpdateRuntimeActiveStateRequest) ProtoMessage ¶
func (*UpdateRuntimeActiveStateRequest) ProtoMessage()
func (*UpdateRuntimeActiveStateRequest) ProtoReflect ¶
func (x *UpdateRuntimeActiveStateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRuntimeActiveStateRequest) Reset ¶
func (x *UpdateRuntimeActiveStateRequest) Reset()
func (*UpdateRuntimeActiveStateRequest) String ¶
func (x *UpdateRuntimeActiveStateRequest) String() string
type UpdateRuntimeStatusRequest ¶
type UpdateRuntimeStatusRequest struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
RuntimeInstanceId string `protobuf:"bytes,2,opt,name=runtime_instance_id,json=runtimeInstanceId,proto3" json:"runtime_instance_id,omitempty"`
Status *RuntimeInstanceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Request to update the status of a RuntimeInstance.
func (*UpdateRuntimeStatusRequest) Descriptor
deprecated
func (*UpdateRuntimeStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuntimeStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuntimeStatusRequest) GetMetadata ¶
func (x *UpdateRuntimeStatusRequest) GetMetadata() *Metadata
func (*UpdateRuntimeStatusRequest) GetRuntimeInstanceId ¶
func (x *UpdateRuntimeStatusRequest) GetRuntimeInstanceId() string
func (*UpdateRuntimeStatusRequest) GetStatus ¶
func (x *UpdateRuntimeStatusRequest) GetStatus() *RuntimeInstanceStatus
func (*UpdateRuntimeStatusRequest) ProtoMessage ¶
func (*UpdateRuntimeStatusRequest) ProtoMessage()
func (*UpdateRuntimeStatusRequest) ProtoReflect ¶
func (x *UpdateRuntimeStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateRuntimeStatusRequest) Reset ¶
func (x *UpdateRuntimeStatusRequest) Reset()
func (*UpdateRuntimeStatusRequest) String ¶
func (x *UpdateRuntimeStatusRequest) String() string
Source Files
¶
- cluster.pb.go
- cluster_service.pb.go
- cluster_service_grpc.pb.go
- computecapability.pb.go
- computecapability_service.pb.go
- computecapability_service_grpc.pb.go
- deploymentplan.pb.go
- deploymentplan_service.pb.go
- deploymentplan_service_grpc.pb.go
- metadata.pb.go
- metainstance.pb.go
- metainstance_service.pb.go
- metainstance_service_grpc.pb.go
- node.pb.go
- node_service.pb.go
- node_service_grpc.pb.go