agent

package
v1.1.84 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

README

protoc -I=./ -I=../ -I=../../vendor --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative  --grpc-gateway_out=. --grpc-gateway_opt=paths=source_relative ./agent.proto

Documentation

Index

Constants

View Source
const (
	Agent_CreatePod_FullMethodName            = "/agent.Agent/CreatePod"
	Agent_UpdatePod_FullMethodName            = "/agent.Agent/UpdatePod"
	Agent_DeletePod_FullMethodName            = "/agent.Agent/DeletePod"
	Agent_RebootPod_FullMethodName            = "/agent.Agent/RebootPod"
	Agent_GetPod_FullMethodName               = "/agent.Agent/GetPod"
	Agent_GetPods_FullMethodName              = "/agent.Agent/GetPods"
	Agent_GetPodStatus_FullMethodName         = "/agent.Agent/GetPodStatus"
	Agent_GetPodEvent_FullMethodName          = "/agent.Agent/GetPodEvent"
	Agent_CheckResourceQuota_FullMethodName   = "/agent.Agent/CheckResourceQuota"
	Agent_GetResourceQuota_FullMethodName     = "/agent.Agent/GetResourceQuota"
	Agent_SetResourceQuota_FullMethodName     = "/agent.Agent/SetResourceQuota"
	Agent_CreateNode_FullMethodName           = "/agent.Agent/CreateNode"
	Agent_UpdateNode_FullMethodName           = "/agent.Agent/UpdateNode"
	Agent_DeleteNode_FullMethodName           = "/agent.Agent/DeleteNode"
	Agent_GetNodeGpuUsage_FullMethodName      = "/agent.Agent/GetNodeGpuUsage"
	Agent_GetNodeUsage_FullMethodName         = "/agent.Agent/GetNodeUsage"
	Agent_CreateWsToken_FullMethodName        = "/agent.Agent/CreateWsToken"
	Agent_GetECIInstances_FullMethodName      = "/agent.Agent/GetECIInstances"
	Agent_UpdateFamilySpecInfo_FullMethodName = "/agent.Agent/UpdateFamilySpecInfo"
	Agent_CreateDataCache_FullMethodName      = "/agent.Agent/CreateDataCache"
	Agent_DeleteDataCache_FullMethodName      = "/agent.Agent/DeleteDataCache"
)

Variables

View Source
var (
	ActionCode_name = map[int32]string{
		0:  "SuccessCode",
		-1: "FailCode",
	}
	ActionCode_value = map[string]int32{
		"SuccessCode": 0,
		"FailCode":    -1,
	}
)

Enum value maps for ActionCode.

View Source
var (
	SpotStrategy_name = map[int32]string{
		0: "NoSpot",
		1: "SpotWithPriceLimit",
		2: "SpotAsPriceGo",
	}
	SpotStrategy_value = map[string]int32{
		"NoSpot":             0,
		"SpotWithPriceLimit": 1,
		"SpotAsPriceGo":      2,
	}
)

Enum value maps for SpotStrategy.

View Source
var (
	DeleteCode_name = map[int32]string{
		0: "Default",
		1: "SpotFailed",
		2: "SpotDelayed",
		3: "SpotCanceled",
	}
	DeleteCode_value = map[string]int32{
		"Default":      0,
		"SpotFailed":   1,
		"SpotDelayed":  2,
		"SpotCanceled": 3,
	}
)

Enum value maps for DeleteCode.

View Source
var Agent_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "agent.Agent",
	HandlerType: (*AgentServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreatePod",
			Handler:    _Agent_CreatePod_Handler,
		},
		{
			MethodName: "UpdatePod",
			Handler:    _Agent_UpdatePod_Handler,
		},
		{
			MethodName: "DeletePod",
			Handler:    _Agent_DeletePod_Handler,
		},
		{
			MethodName: "RebootPod",
			Handler:    _Agent_RebootPod_Handler,
		},
		{
			MethodName: "GetPod",
			Handler:    _Agent_GetPod_Handler,
		},
		{
			MethodName: "GetPods",
			Handler:    _Agent_GetPods_Handler,
		},
		{
			MethodName: "GetPodStatus",
			Handler:    _Agent_GetPodStatus_Handler,
		},
		{
			MethodName: "GetPodEvent",
			Handler:    _Agent_GetPodEvent_Handler,
		},
		{
			MethodName: "CheckResourceQuota",
			Handler:    _Agent_CheckResourceQuota_Handler,
		},
		{
			MethodName: "GetResourceQuota",
			Handler:    _Agent_GetResourceQuota_Handler,
		},
		{
			MethodName: "SetResourceQuota",
			Handler:    _Agent_SetResourceQuota_Handler,
		},
		{
			MethodName: "CreateNode",
			Handler:    _Agent_CreateNode_Handler,
		},
		{
			MethodName: "UpdateNode",
			Handler:    _Agent_UpdateNode_Handler,
		},
		{
			MethodName: "DeleteNode",
			Handler:    _Agent_DeleteNode_Handler,
		},
		{
			MethodName: "GetNodeGpuUsage",
			Handler:    _Agent_GetNodeGpuUsage_Handler,
		},
		{
			MethodName: "GetNodeUsage",
			Handler:    _Agent_GetNodeUsage_Handler,
		},
		{
			MethodName: "CreateWsToken",
			Handler:    _Agent_CreateWsToken_Handler,
		},
		{
			MethodName: "GetECIInstances",
			Handler:    _Agent_GetECIInstances_Handler,
		},
		{
			MethodName: "UpdateFamilySpecInfo",
			Handler:    _Agent_UpdateFamilySpecInfo_Handler,
		},
		{
			MethodName: "CreateDataCache",
			Handler:    _Agent_CreateDataCache_Handler,
		},
		{
			MethodName: "DeleteDataCache",
			Handler:    _Agent_DeleteDataCache_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "agent.proto",
}

Agent_ServiceDesc is the grpc.ServiceDesc for Agent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_agent_proto protoreflect.FileDescriptor

Functions

func RegisterAgentServer

func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)

Types

type ActionCode

type ActionCode int32
const (
	ActionCode_SuccessCode ActionCode = 0
	ActionCode_FailCode    ActionCode = -1
)

func (ActionCode) Descriptor

func (ActionCode) Descriptor() protoreflect.EnumDescriptor

func (ActionCode) Enum

func (x ActionCode) Enum() *ActionCode

func (ActionCode) EnumDescriptor deprecated

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

Deprecated: Use ActionCode.Descriptor instead.

func (ActionCode) Number

func (x ActionCode) Number() protoreflect.EnumNumber

func (ActionCode) String

func (x ActionCode) String() string

func (ActionCode) Type

type AgentClient

type AgentClient interface {
	CreatePod(ctx context.Context, in *PodRequest, opts ...grpc.CallOption) (*PodResponse, error)
	UpdatePod(ctx context.Context, in *PodRequest, opts ...grpc.CallOption) (*PodResponse, error)
	DeletePod(ctx context.Context, in *PodDeleteRequest, opts ...grpc.CallOption) (*PodResponse, error)
	RebootPod(ctx context.Context, in *PodRebootRequest, opts ...grpc.CallOption) (*PodResponse, error)
	GetPod(ctx context.Context, in *PodInfoRequest, opts ...grpc.CallOption) (*PodInfoResponse, error)
	GetPods(ctx context.Context, in *PodInfoRequest, opts ...grpc.CallOption) (*PodInfoResponse, error)
	GetPodStatus(ctx context.Context, in *PodInfoRequest, opts ...grpc.CallOption) (*PodInfoResponse, error)
	GetPodEvent(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (*EventResponse, error)
	CheckResourceQuota(ctx context.Context, in *PodRequest, opts ...grpc.CallOption) (*QuotaResponse, error)
	GetResourceQuota(ctx context.Context, in *QuotaRequest, opts ...grpc.CallOption) (*QuotaStatusResponse, error)
	SetResourceQuota(ctx context.Context, in *QuotaRequest, opts ...grpc.CallOption) (*QuotaResponse, error)
	CreateNode(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*NodeResponse, error)
	UpdateNode(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*NodeResponse, error)
	DeleteNode(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*NodeResponse, error)
	GetNodeGpuUsage(ctx context.Context, in *NodeGpuUsageRequest, opts ...grpc.CallOption) (*NodeGpuUsageResponse, error)
	GetNodeUsage(ctx context.Context, in *NodeUsageRequest, opts ...grpc.CallOption) (*NodeUsageResponse, error)
	CreateWsToken(ctx context.Context, in *CreateWsTokenRequest, opts ...grpc.CallOption) (*CreateWsTokenResponse, error)
	GetECIInstances(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*GetInstanceResponse, error)
	UpdateFamilySpecInfo(ctx context.Context, in *FamilySpecRequest, opts ...grpc.CallOption) (*FamilySpecResponse, error)
	CreateDataCache(ctx context.Context, in *DataCacheRequest, opts ...grpc.CallOption) (*DataCacheResponse, error)
	DeleteDataCache(ctx context.Context, in *DataCacheRequest, opts ...grpc.CallOption) (*DataCacheResponse, error)
}

AgentClient is the client API for Agent 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 NewAgentClient

func NewAgentClient(cc grpc.ClientConnInterface) AgentClient

type AgentServer

type AgentServer interface {
	CreatePod(context.Context, *PodRequest) (*PodResponse, error)
	UpdatePod(context.Context, *PodRequest) (*PodResponse, error)
	DeletePod(context.Context, *PodDeleteRequest) (*PodResponse, error)
	RebootPod(context.Context, *PodRebootRequest) (*PodResponse, error)
	GetPod(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
	GetPods(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
	GetPodStatus(context.Context, *PodInfoRequest) (*PodInfoResponse, error)
	GetPodEvent(context.Context, *EventRequest) (*EventResponse, error)
	CheckResourceQuota(context.Context, *PodRequest) (*QuotaResponse, error)
	GetResourceQuota(context.Context, *QuotaRequest) (*QuotaStatusResponse, error)
	SetResourceQuota(context.Context, *QuotaRequest) (*QuotaResponse, error)
	CreateNode(context.Context, *NodeRequest) (*NodeResponse, error)
	UpdateNode(context.Context, *NodeRequest) (*NodeResponse, error)
	DeleteNode(context.Context, *NodeRequest) (*NodeResponse, error)
	GetNodeGpuUsage(context.Context, *NodeGpuUsageRequest) (*NodeGpuUsageResponse, error)
	GetNodeUsage(context.Context, *NodeUsageRequest) (*NodeUsageResponse, error)
	CreateWsToken(context.Context, *CreateWsTokenRequest) (*CreateWsTokenResponse, error)
	GetECIInstances(context.Context, *GetInstanceRequest) (*GetInstanceResponse, error)
	UpdateFamilySpecInfo(context.Context, *FamilySpecRequest) (*FamilySpecResponse, error)
	CreateDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
	DeleteDataCache(context.Context, *DataCacheRequest) (*DataCacheResponse, error)
	// contains filtered or unexported methods
}

AgentServer is the server API for Agent service. All implementations must embed UnimplementedAgentServer for forward compatibility.

type ConfigMapVolume added in v1.1.12

type ConfigMapVolume struct {
	Source *v1.ConfigMap             `protobuf:"bytes,1,opt,name=source,proto3,oneof" json:"source,omitempty"`
	Volume *v1.ConfigMapVolumeSource `protobuf:"bytes,2,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMapVolume) Descriptor deprecated added in v1.1.12

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

Deprecated: Use ConfigMapVolume.ProtoReflect.Descriptor instead.

func (*ConfigMapVolume) GetSource added in v1.1.12

func (x *ConfigMapVolume) GetSource() *v1.ConfigMap

func (*ConfigMapVolume) GetVolume added in v1.1.12

func (x *ConfigMapVolume) GetVolume() *v1.ConfigMapVolumeSource

func (*ConfigMapVolume) ProtoMessage added in v1.1.12

func (*ConfigMapVolume) ProtoMessage()

func (*ConfigMapVolume) ProtoReflect added in v1.1.12

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

func (*ConfigMapVolume) Reset added in v1.1.12

func (x *ConfigMapVolume) Reset()

func (*ConfigMapVolume) String added in v1.1.12

func (x *ConfigMapVolume) String() string

type CreateWsTokenRequest added in v1.1.37

type CreateWsTokenRequest struct {
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	UserId     string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	PodName    string `protobuf:"bytes,3,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
	VnodeId    string `protobuf:"bytes,4,opt,name=vnode_id,json=vnodeId,proto3" json:"vnode_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWsTokenRequest) Descriptor deprecated added in v1.1.37

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

Deprecated: Use CreateWsTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateWsTokenRequest) GetCustomerId added in v1.1.37

func (x *CreateWsTokenRequest) GetCustomerId() string

func (*CreateWsTokenRequest) GetPodName added in v1.1.37

func (x *CreateWsTokenRequest) GetPodName() string

func (*CreateWsTokenRequest) GetUserId added in v1.1.37

func (x *CreateWsTokenRequest) GetUserId() string

func (*CreateWsTokenRequest) GetVnodeId added in v1.1.37

func (x *CreateWsTokenRequest) GetVnodeId() string

func (*CreateWsTokenRequest) ProtoMessage added in v1.1.37

func (*CreateWsTokenRequest) ProtoMessage()

func (*CreateWsTokenRequest) ProtoReflect added in v1.1.37

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

func (*CreateWsTokenRequest) Reset added in v1.1.37

func (x *CreateWsTokenRequest) Reset()

func (*CreateWsTokenRequest) String added in v1.1.37

func (x *CreateWsTokenRequest) String() string

type CreateWsTokenResponse added in v1.1.37

type CreateWsTokenResponse struct {
	Code    ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
	Message string     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Token   string     `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWsTokenResponse) Descriptor deprecated added in v1.1.37

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

Deprecated: Use CreateWsTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateWsTokenResponse) GetCode added in v1.1.37

func (x *CreateWsTokenResponse) GetCode() ActionCode

func (*CreateWsTokenResponse) GetMessage added in v1.1.37

func (x *CreateWsTokenResponse) GetMessage() string

func (*CreateWsTokenResponse) GetToken added in v1.1.37

func (x *CreateWsTokenResponse) GetToken() string

func (*CreateWsTokenResponse) ProtoMessage added in v1.1.37

func (*CreateWsTokenResponse) ProtoMessage()

func (*CreateWsTokenResponse) ProtoReflect added in v1.1.37

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

func (*CreateWsTokenResponse) Reset added in v1.1.37

func (x *CreateWsTokenResponse) Reset()

func (*CreateWsTokenResponse) String added in v1.1.37

func (x *CreateWsTokenResponse) String() string

type DataCacheNetworkInfo added in v1.1.72

type DataCacheNetworkInfo struct {
	Ip      string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Vlan    string `protobuf:"bytes,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Dns     string `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"`
	// contains filtered or unexported fields
}

func (*DataCacheNetworkInfo) Descriptor deprecated added in v1.1.72

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

Deprecated: Use DataCacheNetworkInfo.ProtoReflect.Descriptor instead.

func (*DataCacheNetworkInfo) GetDns added in v1.1.72

func (x *DataCacheNetworkInfo) GetDns() string

func (*DataCacheNetworkInfo) GetGateway added in v1.1.72

func (x *DataCacheNetworkInfo) GetGateway() string

func (*DataCacheNetworkInfo) GetIp added in v1.1.72

func (x *DataCacheNetworkInfo) GetIp() string

func (*DataCacheNetworkInfo) GetVlan added in v1.1.72

func (x *DataCacheNetworkInfo) GetVlan() string

func (*DataCacheNetworkInfo) ProtoMessage added in v1.1.72

func (*DataCacheNetworkInfo) ProtoMessage()

func (*DataCacheNetworkInfo) ProtoReflect added in v1.1.72

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

func (*DataCacheNetworkInfo) Reset added in v1.1.72

func (x *DataCacheNetworkInfo) Reset()

func (*DataCacheNetworkInfo) String added in v1.1.72

func (x *DataCacheNetworkInfo) String() string

type DataCacheOptions added in v1.1.59

type DataCacheOptions struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Path        string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Url         string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Server      string `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`
	OtherOpts   string `protobuf:"bytes,5,opt,name=otherOpts,proto3" json:"otherOpts,omitempty"`
	Bucket      string `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"`
	AkId        string `protobuf:"bytes,7,opt,name=akId,proto3" json:"akId,omitempty"`
	AkSecret    string `protobuf:"bytes,8,opt,name=akSecret,proto3" json:"akSecret,omitempty"`
	AccessToken string `protobuf:"bytes,9,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	RepoSource  string `protobuf:"bytes,10,opt,name=repoSource,proto3" json:"repoSource,omitempty"`
	RepoId      string `protobuf:"bytes,11,opt,name=repoId,proto3" json:"repoId,omitempty"`
	Revision    string `protobuf:"bytes,12,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*DataCacheOptions) Descriptor deprecated added in v1.1.59

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

Deprecated: Use DataCacheOptions.ProtoReflect.Descriptor instead.

func (*DataCacheOptions) GetAccessToken added in v1.1.59

func (x *DataCacheOptions) GetAccessToken() string

func (*DataCacheOptions) GetAkId added in v1.1.59

func (x *DataCacheOptions) GetAkId() string

func (*DataCacheOptions) GetAkSecret added in v1.1.59

func (x *DataCacheOptions) GetAkSecret() string

func (*DataCacheOptions) GetBucket added in v1.1.59

func (x *DataCacheOptions) GetBucket() string

func (*DataCacheOptions) GetOtherOpts added in v1.1.59

func (x *DataCacheOptions) GetOtherOpts() string

func (*DataCacheOptions) GetPath added in v1.1.59

func (x *DataCacheOptions) GetPath() string

func (*DataCacheOptions) GetRepoId added in v1.1.59

func (x *DataCacheOptions) GetRepoId() string

func (*DataCacheOptions) GetRepoSource added in v1.1.59

func (x *DataCacheOptions) GetRepoSource() string

func (*DataCacheOptions) GetRevision added in v1.1.59

func (x *DataCacheOptions) GetRevision() string

func (*DataCacheOptions) GetServer added in v1.1.59

func (x *DataCacheOptions) GetServer() string

func (*DataCacheOptions) GetType added in v1.1.59

func (x *DataCacheOptions) GetType() string

func (*DataCacheOptions) GetUrl added in v1.1.59

func (x *DataCacheOptions) GetUrl() string

func (*DataCacheOptions) ProtoMessage added in v1.1.59

func (*DataCacheOptions) ProtoMessage()

func (*DataCacheOptions) ProtoReflect added in v1.1.59

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

func (*DataCacheOptions) Reset added in v1.1.59

func (x *DataCacheOptions) Reset()

func (*DataCacheOptions) String added in v1.1.59

func (x *DataCacheOptions) String() string

type DataCacheRequest added in v1.1.59

type DataCacheRequest struct {
	Network    *DataCacheNetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Image      string                `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Dest       *DataCacheOptions     `protobuf:"bytes,3,opt,name=dest,proto3" json:"dest,omitempty"`
	Source     *DataCacheOptions     `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	Id         string                `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	CustomerId string                `protobuf:"bytes,6,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	UserId     string                `protobuf:"bytes,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DataCacheRequest) Descriptor deprecated added in v1.1.59

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

Deprecated: Use DataCacheRequest.ProtoReflect.Descriptor instead.

func (*DataCacheRequest) GetCustomerId added in v1.1.59

func (x *DataCacheRequest) GetCustomerId() string

func (*DataCacheRequest) GetDest added in v1.1.59

func (x *DataCacheRequest) GetDest() *DataCacheOptions

func (*DataCacheRequest) GetId added in v1.1.59

func (x *DataCacheRequest) GetId() string

func (*DataCacheRequest) GetImage added in v1.1.59

func (x *DataCacheRequest) GetImage() string

func (*DataCacheRequest) GetNetwork added in v1.1.59

func (x *DataCacheRequest) GetNetwork() *DataCacheNetworkInfo

func (*DataCacheRequest) GetSource added in v1.1.59

func (x *DataCacheRequest) GetSource() *DataCacheOptions

func (*DataCacheRequest) GetUserId added in v1.1.59

func (x *DataCacheRequest) GetUserId() string

func (*DataCacheRequest) ProtoMessage added in v1.1.59

func (*DataCacheRequest) ProtoMessage()

func (*DataCacheRequest) ProtoReflect added in v1.1.59

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

func (*DataCacheRequest) Reset added in v1.1.59

func (x *DataCacheRequest) Reset()

func (*DataCacheRequest) String added in v1.1.59

func (x *DataCacheRequest) String() string

type DataCacheResponse added in v1.1.59

type DataCacheResponse struct {
	Code    ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
	Message string     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DataCacheResponse) Descriptor deprecated added in v1.1.59

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

Deprecated: Use DataCacheResponse.ProtoReflect.Descriptor instead.

func (*DataCacheResponse) GetCode added in v1.1.59

func (x *DataCacheResponse) GetCode() ActionCode

func (*DataCacheResponse) GetMessage added in v1.1.59

func (x *DataCacheResponse) GetMessage() string

func (*DataCacheResponse) ProtoMessage added in v1.1.59

func (*DataCacheResponse) ProtoMessage()

func (*DataCacheResponse) ProtoReflect added in v1.1.59

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

func (*DataCacheResponse) Reset added in v1.1.59

func (x *DataCacheResponse) Reset()

func (*DataCacheResponse) String added in v1.1.59

func (x *DataCacheResponse) String() string

type DeleteCode added in v1.1.57

type DeleteCode int32
const (
	DeleteCode_Default      DeleteCode = 0
	DeleteCode_SpotFailed   DeleteCode = 1
	DeleteCode_SpotDelayed  DeleteCode = 2
	DeleteCode_SpotCanceled DeleteCode = 3
)

func (DeleteCode) Descriptor added in v1.1.57

func (DeleteCode) Descriptor() protoreflect.EnumDescriptor

func (DeleteCode) Enum added in v1.1.57

func (x DeleteCode) Enum() *DeleteCode

func (DeleteCode) EnumDescriptor deprecated added in v1.1.57

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

Deprecated: Use DeleteCode.Descriptor instead.

func (DeleteCode) Number added in v1.1.57

func (x DeleteCode) Number() protoreflect.EnumNumber

func (DeleteCode) String added in v1.1.57

func (x DeleteCode) String() string

func (DeleteCode) Type added in v1.1.57

type Env added in v1.0.2

type Env struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Env) Descriptor deprecated added in v1.0.2

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

Deprecated: Use Env.ProtoReflect.Descriptor instead.

func (*Env) GetKey added in v1.0.2

func (x *Env) GetKey() string

func (*Env) GetValue added in v1.0.2

func (x *Env) GetValue() string

func (*Env) ProtoMessage added in v1.0.2

func (*Env) ProtoMessage()

func (*Env) ProtoReflect added in v1.0.2

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

func (*Env) Reset added in v1.0.2

func (x *Env) Reset()

func (*Env) String added in v1.0.2

func (x *Env) String() string

type EventRequest added in v1.1.80

type EventRequest 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"`
	// contains filtered or unexported fields
}

func (*EventRequest) Descriptor deprecated added in v1.1.80

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

Deprecated: Use EventRequest.ProtoReflect.Descriptor instead.

func (*EventRequest) GetName added in v1.1.80

func (x *EventRequest) GetName() string

func (*EventRequest) GetNamespace added in v1.1.80

func (x *EventRequest) GetNamespace() string

func (*EventRequest) ProtoMessage added in v1.1.80

func (*EventRequest) ProtoMessage()

func (*EventRequest) ProtoReflect added in v1.1.80

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

func (*EventRequest) Reset added in v1.1.80

func (x *EventRequest) Reset()

func (*EventRequest) String added in v1.1.80

func (x *EventRequest) String() string

type EventResponse added in v1.1.80

type EventResponse struct {
	Events []*PodEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*EventResponse) Descriptor deprecated added in v1.1.80

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

Deprecated: Use EventResponse.ProtoReflect.Descriptor instead.

func (*EventResponse) GetEvents added in v1.1.80

func (x *EventResponse) GetEvents() []*PodEvent

func (*EventResponse) ProtoMessage added in v1.1.80

func (*EventResponse) ProtoMessage()

func (*EventResponse) ProtoReflect added in v1.1.80

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

func (*EventResponse) Reset added in v1.1.80

func (x *EventResponse) Reset()

func (*EventResponse) String added in v1.1.80

func (x *EventResponse) String() string

type FamilySpecRequest added in v1.1.78

type FamilySpecRequest struct {
	ProductQuantity map[string]*ProductQuantity `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FamilySpecRequest) Descriptor deprecated added in v1.1.78

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

Deprecated: Use FamilySpecRequest.ProtoReflect.Descriptor instead.

func (*FamilySpecRequest) GetProductQuantity added in v1.1.78

func (x *FamilySpecRequest) GetProductQuantity() map[string]*ProductQuantity

func (*FamilySpecRequest) ProtoMessage added in v1.1.78

func (*FamilySpecRequest) ProtoMessage()

func (*FamilySpecRequest) ProtoReflect added in v1.1.78

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

func (*FamilySpecRequest) Reset added in v1.1.78

func (x *FamilySpecRequest) Reset()

func (*FamilySpecRequest) String added in v1.1.78

func (x *FamilySpecRequest) String() string

type FamilySpecResponse added in v1.1.78

type FamilySpecResponse struct {
	Result  bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*FamilySpecResponse) Descriptor deprecated added in v1.1.78

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

Deprecated: Use FamilySpecResponse.ProtoReflect.Descriptor instead.

func (*FamilySpecResponse) GetMessage added in v1.1.78

func (x *FamilySpecResponse) GetMessage() string

func (*FamilySpecResponse) GetResult added in v1.1.78

func (x *FamilySpecResponse) GetResult() bool

func (*FamilySpecResponse) ProtoMessage added in v1.1.78

func (*FamilySpecResponse) ProtoMessage()

func (*FamilySpecResponse) ProtoReflect added in v1.1.78

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

func (*FamilySpecResponse) Reset added in v1.1.78

func (x *FamilySpecResponse) Reset()

func (*FamilySpecResponse) String added in v1.1.78

func (x *FamilySpecResponse) String() string

type GetInstanceRequest added in v1.1.44

type GetInstanceRequest struct {
	CustomerId  string   `protobuf:"bytes,1,opt,name=customerId,proto3" json:"customerId,omitempty"`
	UserId      string   `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	InstanceIds []string `protobuf:"bytes,3,rep,name=InstanceIds,proto3" json:"InstanceIds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInstanceRequest) Descriptor deprecated added in v1.1.44

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetCustomerId added in v1.1.44

func (x *GetInstanceRequest) GetCustomerId() string

func (*GetInstanceRequest) GetInstanceIds added in v1.1.44

func (x *GetInstanceRequest) GetInstanceIds() []string

func (*GetInstanceRequest) GetUserId added in v1.1.44

func (x *GetInstanceRequest) GetUserId() string

func (*GetInstanceRequest) ProtoMessage added in v1.1.44

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect added in v1.1.44

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

func (*GetInstanceRequest) Reset added in v1.1.44

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String added in v1.1.44

func (x *GetInstanceRequest) String() string

type GetInstanceResponse added in v1.1.44

type GetInstanceResponse struct {
	InstanceIds []string `protobuf:"bytes,1,rep,name=InstanceIds,proto3" json:"InstanceIds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInstanceResponse) Descriptor deprecated added in v1.1.44

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

Deprecated: Use GetInstanceResponse.ProtoReflect.Descriptor instead.

func (*GetInstanceResponse) GetInstanceIds added in v1.1.44

func (x *GetInstanceResponse) GetInstanceIds() []string

func (*GetInstanceResponse) ProtoMessage added in v1.1.44

func (*GetInstanceResponse) ProtoMessage()

func (*GetInstanceResponse) ProtoReflect added in v1.1.44

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

func (*GetInstanceResponse) Reset added in v1.1.44

func (x *GetInstanceResponse) Reset()

func (*GetInstanceResponse) String added in v1.1.44

func (x *GetInstanceResponse) String() string

type IpPoolSegments

type IpPoolSegments struct {
	Vlan            string   `protobuf:"bytes,1,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Subnet          string   `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
	Gateway         string   `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	AvailableZoneId string   `protobuf:"bytes,4,opt,name=available_zone_id,json=availableZoneId,proto3" json:"available_zone_id,omitempty"`
	StartEnd        []string `protobuf:"bytes,5,rep,name=start_end,json=startEnd,proto3" json:"start_end,omitempty"`
	// contains filtered or unexported fields
}

func (*IpPoolSegments) Descriptor deprecated

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

Deprecated: Use IpPoolSegments.ProtoReflect.Descriptor instead.

func (*IpPoolSegments) GetAvailableZoneId

func (x *IpPoolSegments) GetAvailableZoneId() string

func (*IpPoolSegments) GetGateway

func (x *IpPoolSegments) GetGateway() string

func (*IpPoolSegments) GetStartEnd

func (x *IpPoolSegments) GetStartEnd() []string

func (*IpPoolSegments) GetSubnet

func (x *IpPoolSegments) GetSubnet() string

func (*IpPoolSegments) GetVlan

func (x *IpPoolSegments) GetVlan() string

func (*IpPoolSegments) ProtoMessage

func (*IpPoolSegments) ProtoMessage()

func (*IpPoolSegments) ProtoReflect

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

func (*IpPoolSegments) Reset

func (x *IpPoolSegments) Reset()

func (*IpPoolSegments) String

func (x *IpPoolSegments) String() string

type NASVolumeInfo added in v1.1.83

type NASVolumeInfo struct {
	VolumeName   string   `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	Server       string   `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	Path         string   `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	MountOptions []string `protobuf:"bytes,4,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	ReadOnly     bool     `protobuf:"varint,5,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// contains filtered or unexported fields
}

func (*NASVolumeInfo) Descriptor deprecated added in v1.1.83

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

Deprecated: Use NASVolumeInfo.ProtoReflect.Descriptor instead.

func (*NASVolumeInfo) GetMountOptions added in v1.1.83

func (x *NASVolumeInfo) GetMountOptions() []string

func (*NASVolumeInfo) GetPath added in v1.1.83

func (x *NASVolumeInfo) GetPath() string

func (*NASVolumeInfo) GetReadOnly added in v1.1.84

func (x *NASVolumeInfo) GetReadOnly() bool

func (*NASVolumeInfo) GetServer added in v1.1.83

func (x *NASVolumeInfo) GetServer() string

func (*NASVolumeInfo) GetVolumeName added in v1.1.83

func (x *NASVolumeInfo) GetVolumeName() string

func (*NASVolumeInfo) ProtoMessage added in v1.1.83

func (*NASVolumeInfo) ProtoMessage()

func (*NASVolumeInfo) ProtoReflect added in v1.1.83

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

func (*NASVolumeInfo) Reset added in v1.1.83

func (x *NASVolumeInfo) Reset()

func (*NASVolumeInfo) String added in v1.1.83

func (x *NASVolumeInfo) String() string

type NetworkInfo

type NetworkInfo struct {
	Ip      string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Vlan    string `protobuf:"bytes,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInfo) Descriptor deprecated

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

Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.

func (*NetworkInfo) GetGateway

func (x *NetworkInfo) GetGateway() string

func (*NetworkInfo) GetIp

func (x *NetworkInfo) GetIp() string

func (*NetworkInfo) GetVlan

func (x *NetworkInfo) GetVlan() string

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoReflect

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

func (*NetworkInfo) Reset

func (x *NetworkInfo) Reset()

func (*NetworkInfo) String

func (x *NetworkInfo) String() string

type NodeGpuUsage added in v1.1.34

type NodeGpuUsage struct {
	NodeId    string   `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	GpuType   string   `protobuf:"bytes,2,opt,name=gpuType,proto3" json:"gpuType,omitempty"`
	TotalGpus int64    `protobuf:"varint,3,opt,name=totalGpus,proto3" json:"totalGpus,omitempty"`
	UsedGpus  int64    `protobuf:"varint,4,opt,name=usedGpus,proto3" json:"usedGpus,omitempty"`
	PodIds    []string `protobuf:"bytes,5,rep,name=podIds,proto3" json:"podIds,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGpuUsage) Descriptor deprecated added in v1.1.34

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

Deprecated: Use NodeGpuUsage.ProtoReflect.Descriptor instead.

func (*NodeGpuUsage) GetGpuType added in v1.1.34

func (x *NodeGpuUsage) GetGpuType() string

func (*NodeGpuUsage) GetNodeId added in v1.1.38

func (x *NodeGpuUsage) GetNodeId() string

func (*NodeGpuUsage) GetPodIds added in v1.1.38

func (x *NodeGpuUsage) GetPodIds() []string

func (*NodeGpuUsage) GetTotalGpus added in v1.1.38

func (x *NodeGpuUsage) GetTotalGpus() int64

func (*NodeGpuUsage) GetUsedGpus added in v1.1.38

func (x *NodeGpuUsage) GetUsedGpus() int64

func (*NodeGpuUsage) ProtoMessage added in v1.1.34

func (*NodeGpuUsage) ProtoMessage()

func (*NodeGpuUsage) ProtoReflect added in v1.1.34

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

func (*NodeGpuUsage) Reset added in v1.1.34

func (x *NodeGpuUsage) Reset()

func (*NodeGpuUsage) String added in v1.1.34

func (x *NodeGpuUsage) String() string

type NodeGpuUsageRequest added in v1.1.34

type NodeGpuUsageRequest struct {
	NodeIds []string `protobuf:"bytes,1,rep,name=nodeIds,proto3" json:"nodeIds,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGpuUsageRequest) Descriptor deprecated added in v1.1.34

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

Deprecated: Use NodeGpuUsageRequest.ProtoReflect.Descriptor instead.

func (*NodeGpuUsageRequest) GetNodeIds added in v1.1.38

func (x *NodeGpuUsageRequest) GetNodeIds() []string

func (*NodeGpuUsageRequest) ProtoMessage added in v1.1.34

func (*NodeGpuUsageRequest) ProtoMessage()

func (*NodeGpuUsageRequest) ProtoReflect added in v1.1.34

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

func (*NodeGpuUsageRequest) Reset added in v1.1.34

func (x *NodeGpuUsageRequest) Reset()

func (*NodeGpuUsageRequest) String added in v1.1.34

func (x *NodeGpuUsageRequest) String() string

type NodeGpuUsageResponse added in v1.1.34

type NodeGpuUsageResponse struct {
	Code         ActionCode      `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
	Message      string          `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	NodeGpuUsage []*NodeGpuUsage `protobuf:"bytes,3,rep,name=node_gpu_usage,json=nodeGpuUsage,proto3" json:"node_gpu_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGpuUsageResponse) Descriptor deprecated added in v1.1.34

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

Deprecated: Use NodeGpuUsageResponse.ProtoReflect.Descriptor instead.

func (*NodeGpuUsageResponse) GetCode added in v1.1.34

func (x *NodeGpuUsageResponse) GetCode() ActionCode

func (*NodeGpuUsageResponse) GetMessage added in v1.1.34

func (x *NodeGpuUsageResponse) GetMessage() string

func (*NodeGpuUsageResponse) GetNodeGpuUsage added in v1.1.34

func (x *NodeGpuUsageResponse) GetNodeGpuUsage() []*NodeGpuUsage

func (*NodeGpuUsageResponse) ProtoMessage added in v1.1.34

func (*NodeGpuUsageResponse) ProtoMessage()

func (*NodeGpuUsageResponse) ProtoReflect added in v1.1.34

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

func (*NodeGpuUsageResponse) Reset added in v1.1.34

func (x *NodeGpuUsageResponse) Reset()

func (*NodeGpuUsageResponse) String added in v1.1.34

func (x *NodeGpuUsageResponse) String() string

type NodeQuantity added in v1.1.22

type NodeQuantity struct {
	Cpu int64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Ram int64 `protobuf:"varint,2,opt,name=ram,proto3" json:"ram,omitempty"`
	Gpu int64 `protobuf:"varint,3,opt,name=gpu,proto3" json:"gpu,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeQuantity) Descriptor deprecated added in v1.1.22

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

Deprecated: Use NodeQuantity.ProtoReflect.Descriptor instead.

func (*NodeQuantity) GetCpu added in v1.1.22

func (x *NodeQuantity) GetCpu() int64

func (*NodeQuantity) GetGpu added in v1.1.22

func (x *NodeQuantity) GetGpu() int64

func (*NodeQuantity) GetRam added in v1.1.22

func (x *NodeQuantity) GetRam() int64

func (*NodeQuantity) ProtoMessage added in v1.1.22

func (*NodeQuantity) ProtoMessage()

func (*NodeQuantity) ProtoReflect added in v1.1.22

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

func (*NodeQuantity) Reset added in v1.1.22

func (x *NodeQuantity) Reset()

func (*NodeQuantity) String added in v1.1.22

func (x *NodeQuantity) String() string

type NodeRequest

type NodeRequest struct {
	KubeConfig     string                     `protobuf:"bytes,1,opt,name=kube_config,json=kubeConfig,proto3" json:"kube_config,omitempty"`
	IpPoolSegments map[string]*IpPoolSegments `` /* 179-byte string literal not displayed */
	CustomerId     string                     `protobuf:"bytes,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	UserId         string                     `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Id             string                     `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	PrivateNet     *PrivateNet                `protobuf:"bytes,6,opt,name=private_net,json=privateNet,proto3" json:"private_net,omitempty"`
	Taints         []*v1.Taint                `protobuf:"bytes,7,rep,name=Taints,proto3" json:"Taints,omitempty"`
	Labels         map[string]string          `` /* 139-byte string literal not displayed */
	NodeQuantity   *NodeQuantity              `protobuf:"bytes,9,opt,name=nodeQuantity,proto3" json:"nodeQuantity,omitempty"`
	Image          string                     `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeRequest) Descriptor deprecated

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

Deprecated: Use NodeRequest.ProtoReflect.Descriptor instead.

func (*NodeRequest) GetCustomerId

func (x *NodeRequest) GetCustomerId() string

func (*NodeRequest) GetId added in v1.1.7

func (x *NodeRequest) GetId() string

func (*NodeRequest) GetImage added in v1.1.33

func (x *NodeRequest) GetImage() string

func (*NodeRequest) GetIpPoolSegments

func (x *NodeRequest) GetIpPoolSegments() map[string]*IpPoolSegments

func (*NodeRequest) GetKubeConfig

func (x *NodeRequest) GetKubeConfig() string

func (*NodeRequest) GetLabels added in v1.1.14

func (x *NodeRequest) GetLabels() map[string]string

func (*NodeRequest) GetNodeQuantity added in v1.1.22

func (x *NodeRequest) GetNodeQuantity() *NodeQuantity

func (*NodeRequest) GetPrivateNet added in v1.1.7

func (x *NodeRequest) GetPrivateNet() *PrivateNet

func (*NodeRequest) GetTaints added in v1.1.14

func (x *NodeRequest) GetTaints() []*v1.Taint

func (*NodeRequest) GetUserId

func (x *NodeRequest) GetUserId() string

func (*NodeRequest) ProtoMessage

func (*NodeRequest) ProtoMessage()

func (*NodeRequest) ProtoReflect

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

func (*NodeRequest) Reset

func (x *NodeRequest) Reset()

func (*NodeRequest) String

func (x *NodeRequest) String() string

type NodeResponse

type NodeResponse struct {
	Code    ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
	Message string     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeResponse) Descriptor deprecated

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

Deprecated: Use NodeResponse.ProtoReflect.Descriptor instead.

func (*NodeResponse) GetCode

func (x *NodeResponse) GetCode() ActionCode

func (*NodeResponse) GetMessage

func (x *NodeResponse) GetMessage() string

func (*NodeResponse) ProtoMessage

func (*NodeResponse) ProtoMessage()

func (*NodeResponse) ProtoReflect

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

func (*NodeResponse) Reset

func (x *NodeResponse) Reset()

func (*NodeResponse) String

func (x *NodeResponse) String() string

type NodeUsage added in v1.1.46

type NodeUsage struct {
	Id                      string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                    string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	GpuType                 string     `protobuf:"bytes,3,opt,name=gpuType,proto3" json:"gpuType,omitempty"`
	CpuType                 string     `protobuf:"bytes,4,opt,name=cpuType,proto3" json:"cpuType,omitempty"`
	TotalUsage              *UsageInfo `protobuf:"bytes,5,opt,name=totalUsage,proto3" json:"totalUsage,omitempty"`
	UsedUsage               *UsageInfo `protobuf:"bytes,6,opt,name=usedUsage,proto3" json:"usedUsage,omitempty"`
	UsedSpotPriceLimitUsage *UsageInfo `protobuf:"bytes,7,opt,name=usedSpotPriceLimitUsage,proto3" json:"usedSpotPriceLimitUsage,omitempty"`
	UsedSpotAsPriceGoUsage  *UsageInfo `protobuf:"bytes,8,opt,name=usedSpotAsPriceGoUsage,proto3" json:"usedSpotAsPriceGoUsage,omitempty"`
	FamilyId                string     `protobuf:"bytes,9,opt,name=familyId,proto3" json:"familyId,omitempty"`
	LowestPricePerUnit      float32    `protobuf:"fixed32,10,opt,name=lowestPricePerUnit,proto3" json:"lowestPricePerUnit,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeUsage) Descriptor deprecated added in v1.1.46

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

Deprecated: Use NodeUsage.ProtoReflect.Descriptor instead.

func (*NodeUsage) GetCpuType added in v1.1.46

func (x *NodeUsage) GetCpuType() string

func (*NodeUsage) GetFamilyId added in v1.1.48

func (x *NodeUsage) GetFamilyId() string

func (*NodeUsage) GetGpuType added in v1.1.46

func (x *NodeUsage) GetGpuType() string

func (*NodeUsage) GetId added in v1.1.46

func (x *NodeUsage) GetId() string

func (*NodeUsage) GetLowestPricePerUnit added in v1.1.81

func (x *NodeUsage) GetLowestPricePerUnit() float32

func (*NodeUsage) GetName added in v1.1.76

func (x *NodeUsage) GetName() string

func (*NodeUsage) GetTotalUsage added in v1.1.62

func (x *NodeUsage) GetTotalUsage() *UsageInfo

func (*NodeUsage) GetUsedSpotAsPriceGoUsage added in v1.1.64

func (x *NodeUsage) GetUsedSpotAsPriceGoUsage() *UsageInfo

func (*NodeUsage) GetUsedSpotPriceLimitUsage added in v1.1.62

func (x *NodeUsage) GetUsedSpotPriceLimitUsage() *UsageInfo

func (*NodeUsage) GetUsedUsage added in v1.1.62

func (x *NodeUsage) GetUsedUsage() *UsageInfo

func (*NodeUsage) ProtoMessage added in v1.1.46

func (*NodeUsage) ProtoMessage()

func (*NodeUsage) ProtoReflect added in v1.1.46

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

func (*NodeUsage) Reset added in v1.1.46

func (x *NodeUsage) Reset()

func (*NodeUsage) String added in v1.1.46

func (x *NodeUsage) String() string

type NodeUsageRequest added in v1.1.46

type NodeUsageRequest struct {
	// contains filtered or unexported fields
}

func (*NodeUsageRequest) Descriptor deprecated added in v1.1.46

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

Deprecated: Use NodeUsageRequest.ProtoReflect.Descriptor instead.

func (*NodeUsageRequest) ProtoMessage added in v1.1.46

func (*NodeUsageRequest) ProtoMessage()

func (*NodeUsageRequest) ProtoReflect added in v1.1.46

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

func (*NodeUsageRequest) Reset added in v1.1.46

func (x *NodeUsageRequest) Reset()

func (*NodeUsageRequest) String added in v1.1.46

func (x *NodeUsageRequest) String() string

type NodeUsageResponse added in v1.1.46

type NodeUsageResponse struct {
	Usage []*NodeUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeUsageResponse) Descriptor deprecated added in v1.1.46

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

Deprecated: Use NodeUsageResponse.ProtoReflect.Descriptor instead.

func (*NodeUsageResponse) GetUsage added in v1.1.46

func (x *NodeUsageResponse) GetUsage() []*NodeUsage

func (*NodeUsageResponse) ProtoMessage added in v1.1.46

func (*NodeUsageResponse) ProtoMessage()

func (*NodeUsageResponse) ProtoReflect added in v1.1.46

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

func (*NodeUsageResponse) Reset added in v1.1.46

func (x *NodeUsageResponse) Reset()

func (*NodeUsageResponse) String added in v1.1.46

func (x *NodeUsageResponse) String() string

type Pod

type Pod struct {
	Id                 string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContainerGroupName string       `protobuf:"bytes,2,opt,name=containerGroupName,proto3" json:"containerGroupName,omitempty"`
	Network            *NetworkInfo `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	RawPod             *v1.Pod      `protobuf:"bytes,4,opt,name=rawPod,proto3,oneof" json:"rawPod,omitempty"`
	// contains filtered or unexported fields
}

func (*Pod) Descriptor deprecated

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

Deprecated: Use Pod.ProtoReflect.Descriptor instead.

func (*Pod) GetContainerGroupName added in v1.1.23

func (x *Pod) GetContainerGroupName() string

func (*Pod) GetId

func (x *Pod) GetId() string

func (*Pod) GetNetwork

func (x *Pod) GetNetwork() *NetworkInfo

func (*Pod) GetRawPod added in v1.1.15

func (x *Pod) GetRawPod() *v1.Pod

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) ProtoReflect

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

func (*Pod) Reset

func (x *Pod) Reset()

func (*Pod) String

func (x *Pod) String() string

type PodDeleteRequest

type PodDeleteRequest struct {
	VNodeID                 string     `protobuf:"bytes,1,opt,name=vNodeID,proto3" json:"vNodeID,omitempty"`
	Name                    string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Namespace               string     `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Code                    DeleteCode `protobuf:"varint,4,opt,name=code,proto3,enum=agent.DeleteCode" json:"code,omitempty"`
	RecycleProtectionPeriod int64      `protobuf:"varint,5,opt,name=recycleProtectionPeriod,proto3" json:"recycleProtectionPeriod,omitempty"`
	// contains filtered or unexported fields
}

func (*PodDeleteRequest) Descriptor deprecated

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

Deprecated: Use PodDeleteRequest.ProtoReflect.Descriptor instead.

func (*PodDeleteRequest) GetCode added in v1.1.57

func (x *PodDeleteRequest) GetCode() DeleteCode

func (*PodDeleteRequest) GetName

func (x *PodDeleteRequest) GetName() string

func (*PodDeleteRequest) GetNamespace added in v1.1.6

func (x *PodDeleteRequest) GetNamespace() string

func (*PodDeleteRequest) GetRecycleProtectionPeriod added in v1.1.77

func (x *PodDeleteRequest) GetRecycleProtectionPeriod() int64

func (*PodDeleteRequest) GetVNodeID added in v1.1.32

func (x *PodDeleteRequest) GetVNodeID() string

func (*PodDeleteRequest) ProtoMessage

func (*PodDeleteRequest) ProtoMessage()

func (*PodDeleteRequest) ProtoReflect

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

func (*PodDeleteRequest) Reset

func (x *PodDeleteRequest) Reset()

func (*PodDeleteRequest) String

func (x *PodDeleteRequest) String() string

type PodEvent added in v1.1.80

type PodEvent 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"`
	Message        string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	FirstTimestamp string `protobuf:"bytes,4,opt,name=firstTimestamp,proto3" json:"firstTimestamp,omitempty"`
	LastTimestamp  string `protobuf:"bytes,5,opt,name=lastTimestamp,proto3" json:"lastTimestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PodEvent) Descriptor deprecated added in v1.1.80

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

Deprecated: Use PodEvent.ProtoReflect.Descriptor instead.

func (*PodEvent) GetFirstTimestamp added in v1.1.80

func (x *PodEvent) GetFirstTimestamp() string

func (*PodEvent) GetLastTimestamp added in v1.1.80

func (x *PodEvent) GetLastTimestamp() string

func (*PodEvent) GetMessage added in v1.1.80

func (x *PodEvent) GetMessage() string

func (*PodEvent) GetName added in v1.1.80

func (x *PodEvent) GetName() string

func (*PodEvent) GetType added in v1.1.80

func (x *PodEvent) GetType() string

func (*PodEvent) ProtoMessage added in v1.1.80

func (*PodEvent) ProtoMessage()

func (*PodEvent) ProtoReflect added in v1.1.80

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

func (*PodEvent) Reset added in v1.1.80

func (x *PodEvent) Reset()

func (*PodEvent) String added in v1.1.80

func (x *PodEvent) String() string

type PodInfoRequest added in v1.1.9

type PodInfoRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	VnodeId   string `protobuf:"bytes,3,opt,name=vnode_id,json=vnodeId,proto3" json:"vnode_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PodInfoRequest) Descriptor deprecated added in v1.1.9

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

Deprecated: Use PodInfoRequest.ProtoReflect.Descriptor instead.

func (*PodInfoRequest) GetName added in v1.1.9

func (x *PodInfoRequest) GetName() string

func (*PodInfoRequest) GetNamespace added in v1.1.9

func (x *PodInfoRequest) GetNamespace() string

func (*PodInfoRequest) GetVnodeId added in v1.1.9

func (x *PodInfoRequest) GetVnodeId() string

func (*PodInfoRequest) ProtoMessage added in v1.1.9

func (*PodInfoRequest) ProtoMessage()

func (*PodInfoRequest) ProtoReflect added in v1.1.9

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

func (*PodInfoRequest) Reset added in v1.1.9

func (x *PodInfoRequest) Reset()

func (*PodInfoRequest) String added in v1.1.9

func (x *PodInfoRequest) String() string

type PodInfoResponse added in v1.1.9

type PodInfoResponse struct {
	Code    ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
	Message string     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Pods    []*Pods    `protobuf:"bytes,3,rep,name=pods,proto3" json:"pods,omitempty"`
	// contains filtered or unexported fields
}

func (*PodInfoResponse) Descriptor deprecated added in v1.1.9

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

Deprecated: Use PodInfoResponse.ProtoReflect.Descriptor instead.

func (*PodInfoResponse) GetCode added in v1.1.9

func (x *PodInfoResponse) GetCode() ActionCode

func (*PodInfoResponse) GetMessage added in v1.1.9

func (x *PodInfoResponse) GetMessage() string

func (*PodInfoResponse) GetPods added in v1.1.19

func (x *PodInfoResponse) GetPods() []*Pods

func (*PodInfoResponse) ProtoMessage added in v1.1.9

func (*PodInfoResponse) ProtoMessage()

func (*PodInfoResponse) ProtoReflect added in v1.1.9

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

func (*PodInfoResponse) Reset added in v1.1.9

func (x *PodInfoResponse) Reset()

func (*PodInfoResponse) String added in v1.1.9

func (x *PodInfoResponse) String() string

type PodRebootRequest added in v1.1.36

type PodRebootRequest struct {
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*PodRebootRequest) Descriptor deprecated added in v1.1.36

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

Deprecated: Use PodRebootRequest.ProtoReflect.Descriptor instead.

func (*PodRebootRequest) GetName added in v1.1.36

func (x *PodRebootRequest) GetName() string

func (*PodRebootRequest) GetNamespace added in v1.1.36

func (x *PodRebootRequest) GetNamespace() string

func (*PodRebootRequest) ProtoMessage added in v1.1.36

func (*PodRebootRequest) ProtoMessage()

func (*PodRebootRequest) ProtoReflect added in v1.1.36

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

func (*PodRebootRequest) Reset added in v1.1.36

func (x *PodRebootRequest) Reset()

func (*PodRebootRequest) String added in v1.1.36

func (x *PodRebootRequest) String() string

type PodRequest

type PodRequest struct {
	GpuType       string           `protobuf:"bytes,1,opt,name=gpu_type,json=gpuType,proto3" json:"gpu_type,omitempty"`
	CpuType       string           `protobuf:"bytes,2,opt,name=cpu_type,json=cpuType,proto3" json:"cpu_type,omitempty"`
	CustomerId    string           `protobuf:"bytes,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	UserId        string           `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	RestartPolicy string           `protobuf:"bytes,5,opt,name=restart_policy,json=restartPolicy,proto3" json:"restart_policy,omitempty"`
	Cpu           int64            `protobuf:"varint,6,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Ram           int64            `protobuf:"varint,7,opt,name=ram,proto3" json:"ram,omitempty"`
	Gpu           int64            `protobuf:"varint,8,opt,name=gpu,proto3" json:"gpu,omitempty"`
	Pods          []*Pod           `protobuf:"bytes,9,rep,name=pods,proto3" json:"pods,omitempty"`
	TempStoreSize int64            `protobuf:"varint,10,opt,name=temp_store_size,json=tempStoreSize,proto3" json:"temp_store_size,omitempty"`
	VnodeId       string           `protobuf:"bytes,12,opt,name=vnode_id,json=vnodeId,proto3" json:"vnode_id,omitempty"`
	Secrets       []*v1.Secret     `protobuf:"bytes,13,rep,name=secrets,proto3" json:"secrets,omitempty"`
	ConfigMaps    []*v1.ConfigMap  `protobuf:"bytes,14,rep,name=configMaps,proto3" json:"configMaps,omitempty"`
	SpotStrategy  string           `protobuf:"bytes,15,opt,name=spotStrategy,proto3" json:"spotStrategy,omitempty"`
	SpotPrice     string           `protobuf:"bytes,16,opt,name=spotPrice,proto3" json:"spotPrice,omitempty"`
	Zone          string           `protobuf:"bytes,17,opt,name=zone,proto3" json:"zone,omitempty"`
	CloudEdge     bool             `protobuf:"varint,18,opt,name=cloudEdge,proto3" json:"cloudEdge,omitempty"`
	NasVolumes    []*NASVolumeInfo `protobuf:"bytes,19,rep,name=nas_volumes,json=nasVolumes,proto3" json:"nas_volumes,omitempty"`
	// contains filtered or unexported fields
}

func (*PodRequest) Descriptor deprecated

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

Deprecated: Use PodRequest.ProtoReflect.Descriptor instead.

func (*PodRequest) GetCloudEdge added in v1.1.74

func (x *PodRequest) GetCloudEdge() bool

func (*PodRequest) GetConfigMaps added in v1.1.23

func (x *PodRequest) GetConfigMaps() []*v1.ConfigMap

func (*PodRequest) GetCpu added in v1.1.15

func (x *PodRequest) GetCpu() int64

func (*PodRequest) GetCpuType

func (x *PodRequest) GetCpuType() string

func (*PodRequest) GetCustomerId

func (x *PodRequest) GetCustomerId() string

func (*PodRequest) GetGpu added in v1.1.15

func (x *PodRequest) GetGpu() int64

func (*PodRequest) GetGpuType

func (x *PodRequest) GetGpuType() string

func (*PodRequest) GetNasVolumes added in v1.1.83

func (x *PodRequest) GetNasVolumes() []*NASVolumeInfo

func (*PodRequest) GetPods

func (x *PodRequest) GetPods() []*Pod

func (*PodRequest) GetRam added in v1.1.15

func (x *PodRequest) GetRam() int64

func (*PodRequest) GetRestartPolicy

func (x *PodRequest) GetRestartPolicy() string

func (*PodRequest) GetSecrets added in v1.1.23

func (x *PodRequest) GetSecrets() []*v1.Secret

func (*PodRequest) GetSpotPrice added in v1.1.49

func (x *PodRequest) GetSpotPrice() string

func (*PodRequest) GetSpotStrategy added in v1.1.49

func (x *PodRequest) GetSpotStrategy() string

func (*PodRequest) GetTempStoreSize added in v1.0.2

func (x *PodRequest) GetTempStoreSize() int64

func (*PodRequest) GetUserId

func (x *PodRequest) GetUserId() string

func (*PodRequest) GetVnodeId added in v1.0.6

func (x *PodRequest) GetVnodeId() string

func (*PodRequest) GetZone added in v1.1.74

func (x *PodRequest) GetZone() string

func (*PodRequest) ProtoMessage

func (*PodRequest) ProtoMessage()

func (*PodRequest) ProtoReflect

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

func (*PodRequest) Reset

func (x *PodRequest) Reset()

func (*PodRequest) String

func (x *PodRequest) String() string

type PodResponse

type PodResponse struct {
	Code    ActionCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.ActionCode" json:"code,omitempty"`
	Message string     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PodResponse) Descriptor deprecated

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

Deprecated: Use PodResponse.ProtoReflect.Descriptor instead.

func (*PodResponse) GetCode

func (x *PodResponse) GetCode() ActionCode

func (*PodResponse) GetMessage

func (x *PodResponse) GetMessage() string

func (*PodResponse) ProtoMessage

func (*PodResponse) ProtoMessage()

func (*PodResponse) ProtoReflect

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

func (*PodResponse) Reset

func (x *PodResponse) Reset()

func (*PodResponse) String

func (x *PodResponse) String() string

type Pods added in v1.1.19

type Pods struct {
	Network *NetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Pod     *v1.Pod      `protobuf:"bytes,2,opt,name=pod,proto3,oneof" json:"pod,omitempty"`
	// contains filtered or unexported fields
}

func (*Pods) Descriptor deprecated added in v1.1.19

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

Deprecated: Use Pods.ProtoReflect.Descriptor instead.

func (*Pods) GetNetwork added in v1.1.19

func (x *Pods) GetNetwork() *NetworkInfo

func (*Pods) GetPod added in v1.1.19

func (x *Pods) GetPod() *v1.Pod

func (*Pods) ProtoMessage added in v1.1.19

func (*Pods) ProtoMessage()

func (*Pods) ProtoReflect added in v1.1.19

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

func (*Pods) Reset added in v1.1.19

func (x *Pods) Reset()

func (*Pods) String added in v1.1.19

func (x *Pods) String() string

type PrivateNet added in v1.1.7

type PrivateNet struct {
	Vlan    string `protobuf:"bytes,1,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Subnet  string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
	Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Ip      string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	Eip     string `protobuf:"bytes,5,opt,name=eip,proto3" json:"eip,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateNet) Descriptor deprecated added in v1.1.7

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

Deprecated: Use PrivateNet.ProtoReflect.Descriptor instead.

func (*PrivateNet) GetEip added in v1.1.7

func (x *PrivateNet) GetEip() string

func (*PrivateNet) GetGateway added in v1.1.7

func (x *PrivateNet) GetGateway() string

func (*PrivateNet) GetIp added in v1.1.7

func (x *PrivateNet) GetIp() string

func (*PrivateNet) GetSubnet added in v1.1.7

func (x *PrivateNet) GetSubnet() string

func (*PrivateNet) GetVlan added in v1.1.7

func (x *PrivateNet) GetVlan() string

func (*PrivateNet) ProtoMessage added in v1.1.7

func (*PrivateNet) ProtoMessage()

func (*PrivateNet) ProtoReflect added in v1.1.7

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

func (*PrivateNet) Reset added in v1.1.7

func (x *PrivateNet) Reset()

func (*PrivateNet) String added in v1.1.7

func (x *PrivateNet) String() string

type ProductQuantity added in v1.1.22

type ProductQuantity struct {
	Quantity []*QuantityInfo `protobuf:"bytes,1,rep,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductQuantity) Descriptor deprecated added in v1.1.22

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

Deprecated: Use ProductQuantity.ProtoReflect.Descriptor instead.

func (*ProductQuantity) GetQuantity added in v1.1.26

func (x *ProductQuantity) GetQuantity() []*QuantityInfo

func (*ProductQuantity) ProtoMessage added in v1.1.22

func (*ProductQuantity) ProtoMessage()

func (*ProductQuantity) ProtoReflect added in v1.1.22

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

func (*ProductQuantity) Reset added in v1.1.22

func (x *ProductQuantity) Reset()

func (*ProductQuantity) String added in v1.1.22

func (x *ProductQuantity) String() string

type QuantityInfo added in v1.1.26

type QuantityInfo struct {
	Cpu          int64  `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Ram          int64  `protobuf:"varint,2,opt,name=ram,proto3" json:"ram,omitempty"`
	Gpu          int64  `protobuf:"varint,3,opt,name=gpu,proto3" json:"gpu,omitempty"`
	CpuType      string `protobuf:"bytes,4,opt,name=cpu_type,json=cpuType,proto3" json:"cpu_type,omitempty"`
	GpuType      string `protobuf:"bytes,5,opt,name=gpu_type,json=gpuType,proto3" json:"gpu_type,omitempty"`
	MinSpotPrice string `protobuf:"bytes,6,opt,name=min_spot_price,json=minSpotPrice,proto3" json:"min_spot_price,omitempty"`
	MaxSpotPrice string `protobuf:"bytes,7,opt,name=max_spot_price,json=maxSpotPrice,proto3" json:"max_spot_price,omitempty"`
	// contains filtered or unexported fields
}

func (*QuantityInfo) Descriptor deprecated added in v1.1.26

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

Deprecated: Use QuantityInfo.ProtoReflect.Descriptor instead.

func (*QuantityInfo) GetCpu added in v1.1.26

func (x *QuantityInfo) GetCpu() int64

func (*QuantityInfo) GetCpuType added in v1.1.26

func (x *QuantityInfo) GetCpuType() string

func (*QuantityInfo) GetGpu added in v1.1.26

func (x *QuantityInfo) GetGpu() int64

func (*QuantityInfo) GetGpuType added in v1.1.26

func (x *QuantityInfo) GetGpuType() string

func (*QuantityInfo) GetMaxSpotPrice added in v1.1.50

func (x *QuantityInfo) GetMaxSpotPrice() string

func (*QuantityInfo) GetMinSpotPrice added in v1.1.50

func (x *QuantityInfo) GetMinSpotPrice() string

func (*QuantityInfo) GetRam added in v1.1.26

func (x *QuantityInfo) GetRam() int64

func (*QuantityInfo) ProtoMessage added in v1.1.26

func (*QuantityInfo) ProtoMessage()

func (*QuantityInfo) ProtoReflect added in v1.1.26

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

func (*QuantityInfo) Reset added in v1.1.26

func (x *QuantityInfo) Reset()

func (*QuantityInfo) String added in v1.1.26

func (x *QuantityInfo) String() string

type QuotaRequest added in v1.1.39

type QuotaRequest struct {
	CustomerId string                `protobuf:"bytes,1,opt,name=customerId,proto3" json:"customerId,omitempty"`
	UserId     string                `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Quota      *v1.ResourceQuotaSpec `protobuf:"bytes,3,opt,name=quota,proto3,oneof" json:"quota,omitempty"`
	// contains filtered or unexported fields
}

func (*QuotaRequest) Descriptor deprecated added in v1.1.39

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

Deprecated: Use QuotaRequest.ProtoReflect.Descriptor instead.

func (*QuotaRequest) GetCustomerId added in v1.1.39

func (x *QuotaRequest) GetCustomerId() string

func (*QuotaRequest) GetQuota added in v1.1.51

func (x *QuotaRequest) GetQuota() *v1.ResourceQuotaSpec

func (*QuotaRequest) GetUserId added in v1.1.39

func (x *QuotaRequest) GetUserId() string

func (*QuotaRequest) ProtoMessage added in v1.1.39

func (*QuotaRequest) ProtoMessage()

func (*QuotaRequest) ProtoReflect added in v1.1.39

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

func (*QuotaRequest) Reset added in v1.1.39

func (x *QuotaRequest) Reset()

func (*QuotaRequest) String added in v1.1.39

func (x *QuotaRequest) String() string

type QuotaResponse added in v1.1.39

type QuotaResponse struct {
	Result  bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*QuotaResponse) Descriptor deprecated added in v1.1.39

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

Deprecated: Use QuotaResponse.ProtoReflect.Descriptor instead.

func (*QuotaResponse) GetMessage added in v1.1.43

func (x *QuotaResponse) GetMessage() string

func (*QuotaResponse) GetResult added in v1.1.43

func (x *QuotaResponse) GetResult() bool

func (*QuotaResponse) ProtoMessage added in v1.1.39

func (*QuotaResponse) ProtoMessage()

func (*QuotaResponse) ProtoReflect added in v1.1.39

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

func (*QuotaResponse) Reset added in v1.1.39

func (x *QuotaResponse) Reset()

func (*QuotaResponse) String added in v1.1.39

func (x *QuotaResponse) String() string

type QuotaStatusResponse added in v1.1.43

type QuotaStatusResponse struct {
	Quota *v1.ResourceQuotaStatus `protobuf:"bytes,1,opt,name=quota,proto3,oneof" json:"quota,omitempty"`
	// contains filtered or unexported fields
}

func (*QuotaStatusResponse) Descriptor deprecated added in v1.1.43

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

Deprecated: Use QuotaStatusResponse.ProtoReflect.Descriptor instead.

func (*QuotaStatusResponse) GetQuota added in v1.1.43

func (*QuotaStatusResponse) ProtoMessage added in v1.1.43

func (*QuotaStatusResponse) ProtoMessage()

func (*QuotaStatusResponse) ProtoReflect added in v1.1.43

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

func (*QuotaStatusResponse) Reset added in v1.1.43

func (x *QuotaStatusResponse) Reset()

func (*QuotaStatusResponse) String added in v1.1.43

func (x *QuotaStatusResponse) String() string

type SecretVolume added in v1.1.12

type SecretVolume struct {
	Source *v1.Secret             `protobuf:"bytes,1,opt,name=source,proto3,oneof" json:"source,omitempty"`
	Volume *v1.SecretVolumeSource `protobuf:"bytes,2,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretVolume) Descriptor deprecated added in v1.1.12

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

Deprecated: Use SecretVolume.ProtoReflect.Descriptor instead.

func (*SecretVolume) GetSource added in v1.1.12

func (x *SecretVolume) GetSource() *v1.Secret

func (*SecretVolume) GetVolume added in v1.1.12

func (x *SecretVolume) GetVolume() *v1.SecretVolumeSource

func (*SecretVolume) ProtoMessage added in v1.1.12

func (*SecretVolume) ProtoMessage()

func (*SecretVolume) ProtoReflect added in v1.1.12

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

func (*SecretVolume) Reset added in v1.1.12

func (x *SecretVolume) Reset()

func (*SecretVolume) String added in v1.1.12

func (x *SecretVolume) String() string

type SpotStrategy added in v1.1.50

type SpotStrategy int32
const (
	SpotStrategy_NoSpot             SpotStrategy = 0
	SpotStrategy_SpotWithPriceLimit SpotStrategy = 1
	SpotStrategy_SpotAsPriceGo      SpotStrategy = 2
)

func (SpotStrategy) Descriptor added in v1.1.50

func (SpotStrategy) Enum added in v1.1.50

func (x SpotStrategy) Enum() *SpotStrategy

func (SpotStrategy) EnumDescriptor deprecated added in v1.1.50

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

Deprecated: Use SpotStrategy.Descriptor instead.

func (SpotStrategy) Number added in v1.1.50

func (SpotStrategy) String added in v1.1.50

func (x SpotStrategy) String() string

func (SpotStrategy) Type added in v1.1.50

type UnimplementedAgentServer

type UnimplementedAgentServer struct{}

UnimplementedAgentServer 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 (UnimplementedAgentServer) CheckResourceQuota added in v1.1.41

func (UnimplementedAgentServer) CreateDataCache added in v1.1.59

func (UnimplementedAgentServer) CreateNode

func (UnimplementedAgentServer) CreatePod

func (UnimplementedAgentServer) CreateWsToken added in v1.1.37

func (UnimplementedAgentServer) DeleteDataCache added in v1.1.59

func (UnimplementedAgentServer) DeleteNode

func (UnimplementedAgentServer) DeletePod

func (UnimplementedAgentServer) GetECIInstances added in v1.1.44

func (UnimplementedAgentServer) GetNodeGpuUsage added in v1.1.34

func (UnimplementedAgentServer) GetNodeUsage added in v1.1.46

func (UnimplementedAgentServer) GetPod added in v1.1.9

func (UnimplementedAgentServer) GetPodEvent added in v1.1.80

func (UnimplementedAgentServer) GetPodStatus added in v1.1.9

func (UnimplementedAgentServer) GetPods added in v1.1.9

func (UnimplementedAgentServer) GetResourceQuota added in v1.1.39

func (UnimplementedAgentServer) RebootPod added in v1.1.36

func (UnimplementedAgentServer) SetResourceQuota added in v1.1.43

func (UnimplementedAgentServer) UpdateFamilySpecInfo added in v1.1.65

func (UnimplementedAgentServer) UpdateNode

func (UnimplementedAgentServer) UpdatePod

type UnsafeAgentServer

type UnsafeAgentServer interface {
	// contains filtered or unexported methods
}

UnsafeAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServer will result in compilation errors.

type UsageInfo added in v1.1.62

type UsageInfo struct {
	Gpus int64 `protobuf:"varint,1,opt,name=gpus,proto3" json:"gpus,omitempty"`
	Cpus int64 `protobuf:"varint,2,opt,name=cpus,proto3" json:"cpus,omitempty"`
	// contains filtered or unexported fields
}

func (*UsageInfo) Descriptor deprecated added in v1.1.62

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

Deprecated: Use UsageInfo.ProtoReflect.Descriptor instead.

func (*UsageInfo) GetCpus added in v1.1.62

func (x *UsageInfo) GetCpus() int64

func (*UsageInfo) GetGpus added in v1.1.62

func (x *UsageInfo) GetGpus() int64

func (*UsageInfo) ProtoMessage added in v1.1.62

func (*UsageInfo) ProtoMessage()

func (*UsageInfo) ProtoReflect added in v1.1.62

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

func (*UsageInfo) Reset added in v1.1.62

func (x *UsageInfo) Reset()

func (*UsageInfo) String added in v1.1.62

func (x *UsageInfo) String() string

Jump to

Keyboard shortcuts

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