plannings

package
v4.2.789+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ControllerPlanningType_name = map[int32]string{
	0: "CPT_UNDEFINED",
	1: "CPT_PRIMITIVE",
	2: "CPT_K8S",
}
View Source
var ControllerPlanningType_value = map[string]int32{
	"CPT_UNDEFINED": 0,
	"CPT_PRIMITIVE": 1,
	"CPT_K8S":       2,
}
View Source
var PlanningType_name = map[int32]string{
	0: "PT_UNDEFINED",
	1: "PT_RECOMMENDATION",
	2: "PT_PLANNING",
}
View Source
var PlanningType_value = map[string]int32{
	"PT_UNDEFINED":      0,
	"PT_RECOMMENDATION": 1,
	"PT_PLANNING":       2,
}

Functions

This section is empty.

Types

type ApplicationPlanning

type ApplicationPlanning struct {
	ObjectMeta           *resources.ObjectMeta `protobuf:"bytes,1,opt,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	PlanningType         PlanningType          `` /* 164-byte string literal not displayed */
	PlanningId           string                `protobuf:"bytes,3,opt,name=planning_id,json=planningId,proto3" json:"planning_id,omitempty"`
	TotalCost            float64               `protobuf:"fixed64,4,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	ApplyPlanningNow     bool                  `protobuf:"varint,5,opt,name=apply_planning_now,json=applyPlanningNow,proto3" json:"apply_planning_now,omitempty"`
	StartTime            *timestamp.Timestamp  `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamp.Timestamp  `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Plannings            []*Planning           `protobuf:"bytes,8,rep,name=plannings,proto3" json:"plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ApplicationPlanning) Descriptor

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

func (*ApplicationPlanning) GetApplyPlanningNow

func (m *ApplicationPlanning) GetApplyPlanningNow() bool

func (*ApplicationPlanning) GetEndTime

func (m *ApplicationPlanning) GetEndTime() *timestamp.Timestamp

func (*ApplicationPlanning) GetObjectMeta

func (m *ApplicationPlanning) GetObjectMeta() *resources.ObjectMeta

func (*ApplicationPlanning) GetPlanningId

func (m *ApplicationPlanning) GetPlanningId() string

func (*ApplicationPlanning) GetPlanningType

func (m *ApplicationPlanning) GetPlanningType() PlanningType

func (*ApplicationPlanning) GetPlannings

func (m *ApplicationPlanning) GetPlannings() []*Planning

func (*ApplicationPlanning) GetStartTime

func (m *ApplicationPlanning) GetStartTime() *timestamp.Timestamp

func (*ApplicationPlanning) GetTotalCost

func (m *ApplicationPlanning) GetTotalCost() float64

func (*ApplicationPlanning) ProtoMessage

func (*ApplicationPlanning) ProtoMessage()

func (*ApplicationPlanning) Reset

func (m *ApplicationPlanning) Reset()

func (*ApplicationPlanning) String

func (m *ApplicationPlanning) String() string

func (*ApplicationPlanning) XXX_DiscardUnknown

func (m *ApplicationPlanning) XXX_DiscardUnknown()

func (*ApplicationPlanning) XXX_Marshal

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

func (*ApplicationPlanning) XXX_Merge

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

func (*ApplicationPlanning) XXX_Size

func (m *ApplicationPlanning) XXX_Size() int

func (*ApplicationPlanning) XXX_Unmarshal

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

type ClusterPlanning

type ClusterPlanning struct {
	ObjectMeta           *resources.ObjectMeta `protobuf:"bytes,1,opt,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	PlanningType         PlanningType          `` /* 164-byte string literal not displayed */
	PlanningId           string                `protobuf:"bytes,3,opt,name=planning_id,json=planningId,proto3" json:"planning_id,omitempty"`
	TotalCost            float64               `protobuf:"fixed64,4,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	ApplyPlanningNow     bool                  `protobuf:"varint,5,opt,name=apply_planning_now,json=applyPlanningNow,proto3" json:"apply_planning_now,omitempty"`
	StartTime            *timestamp.Timestamp  `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamp.Timestamp  `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Plannings            []*Planning           `protobuf:"bytes,8,rep,name=plannings,proto3" json:"plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ClusterPlanning) Descriptor

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

func (*ClusterPlanning) GetApplyPlanningNow

func (m *ClusterPlanning) GetApplyPlanningNow() bool

func (*ClusterPlanning) GetEndTime

func (m *ClusterPlanning) GetEndTime() *timestamp.Timestamp

func (*ClusterPlanning) GetObjectMeta

func (m *ClusterPlanning) GetObjectMeta() *resources.ObjectMeta

func (*ClusterPlanning) GetPlanningId

func (m *ClusterPlanning) GetPlanningId() string

func (*ClusterPlanning) GetPlanningType

func (m *ClusterPlanning) GetPlanningType() PlanningType

func (*ClusterPlanning) GetPlannings

func (m *ClusterPlanning) GetPlannings() []*Planning

func (*ClusterPlanning) GetStartTime

func (m *ClusterPlanning) GetStartTime() *timestamp.Timestamp

func (*ClusterPlanning) GetTotalCost

func (m *ClusterPlanning) GetTotalCost() float64

func (*ClusterPlanning) ProtoMessage

func (*ClusterPlanning) ProtoMessage()

func (*ClusterPlanning) Reset

func (m *ClusterPlanning) Reset()

func (*ClusterPlanning) String

func (m *ClusterPlanning) String() string

func (*ClusterPlanning) XXX_DiscardUnknown

func (m *ClusterPlanning) XXX_DiscardUnknown()

func (*ClusterPlanning) XXX_Marshal

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

func (*ClusterPlanning) XXX_Merge

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

func (*ClusterPlanning) XXX_Size

func (m *ClusterPlanning) XXX_Size() int

func (*ClusterPlanning) XXX_Unmarshal

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

type ContainerPlanning

type ContainerPlanning struct {
	Name                    string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	LimitPlannings          []*common.MetricData `protobuf:"bytes,2,rep,name=limit_plannings,json=limitPlannings,proto3" json:"limit_plannings,omitempty"`
	RequestPlannings        []*common.MetricData `protobuf:"bytes,3,rep,name=request_plannings,json=requestPlannings,proto3" json:"request_plannings,omitempty"`
	InitialLimitPlannings   []*common.MetricData `` /* 126-byte string literal not displayed */
	InitialRequestPlannings []*common.MetricData `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}             `json:"-"`
	XXX_unrecognized        []byte               `json:"-"`
	XXX_sizecache           int32                `json:"-"`
}

func (*ContainerPlanning) Descriptor

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

func (*ContainerPlanning) GetInitialLimitPlannings

func (m *ContainerPlanning) GetInitialLimitPlannings() []*common.MetricData

func (*ContainerPlanning) GetInitialRequestPlannings

func (m *ContainerPlanning) GetInitialRequestPlannings() []*common.MetricData

func (*ContainerPlanning) GetLimitPlannings

func (m *ContainerPlanning) GetLimitPlannings() []*common.MetricData

func (*ContainerPlanning) GetName

func (m *ContainerPlanning) GetName() string

func (*ContainerPlanning) GetRequestPlannings

func (m *ContainerPlanning) GetRequestPlannings() []*common.MetricData

func (*ContainerPlanning) ProtoMessage

func (*ContainerPlanning) ProtoMessage()

func (*ContainerPlanning) Reset

func (m *ContainerPlanning) Reset()

func (*ContainerPlanning) String

func (m *ContainerPlanning) String() string

func (*ContainerPlanning) XXX_DiscardUnknown

func (m *ContainerPlanning) XXX_DiscardUnknown()

func (*ContainerPlanning) XXX_Marshal

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

func (*ContainerPlanning) XXX_Merge

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

func (*ContainerPlanning) XXX_Size

func (m *ContainerPlanning) XXX_Size() int

func (*ContainerPlanning) XXX_Unmarshal

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

type ControllerPlanning

type ControllerPlanning struct {
	ObjectMeta           *resources.ObjectMeta `protobuf:"bytes,1,opt,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	Kind                 resources.Kind        `protobuf:"varint,2,opt,name=kind,proto3,enum=containersai.alameda.v1alpha1.datahub.resources.Kind" json:"kind,omitempty"`
	PlanningType         PlanningType          `` /* 164-byte string literal not displayed */
	PlanningId           string                `protobuf:"bytes,4,opt,name=planning_id,json=planningId,proto3" json:"planning_id,omitempty"`
	TotalCost            float64               `protobuf:"fixed64,5,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	ApplyPlanningNow     bool                  `protobuf:"varint,6,opt,name=apply_planning_now,json=applyPlanningNow,proto3" json:"apply_planning_now,omitempty"`
	StartTime            *timestamp.Timestamp  `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamp.Timestamp  `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Plannings            []*Planning           `protobuf:"bytes,9,rep,name=plannings,proto3" json:"plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ControllerPlanning) Descriptor

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

func (*ControllerPlanning) GetApplyPlanningNow

func (m *ControllerPlanning) GetApplyPlanningNow() bool

func (*ControllerPlanning) GetEndTime

func (m *ControllerPlanning) GetEndTime() *timestamp.Timestamp

func (*ControllerPlanning) GetKind

func (m *ControllerPlanning) GetKind() resources.Kind

func (*ControllerPlanning) GetObjectMeta

func (m *ControllerPlanning) GetObjectMeta() *resources.ObjectMeta

func (*ControllerPlanning) GetPlanningId

func (m *ControllerPlanning) GetPlanningId() string

func (*ControllerPlanning) GetPlanningType

func (m *ControllerPlanning) GetPlanningType() PlanningType

func (*ControllerPlanning) GetPlannings

func (m *ControllerPlanning) GetPlannings() []*Planning

func (*ControllerPlanning) GetStartTime

func (m *ControllerPlanning) GetStartTime() *timestamp.Timestamp

func (*ControllerPlanning) GetTotalCost

func (m *ControllerPlanning) GetTotalCost() float64

func (*ControllerPlanning) ProtoMessage

func (*ControllerPlanning) ProtoMessage()

func (*ControllerPlanning) Reset

func (m *ControllerPlanning) Reset()

func (*ControllerPlanning) String

func (m *ControllerPlanning) String() string

func (*ControllerPlanning) XXX_DiscardUnknown

func (m *ControllerPlanning) XXX_DiscardUnknown()

func (*ControllerPlanning) XXX_Marshal

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

func (*ControllerPlanning) XXX_Merge

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

func (*ControllerPlanning) XXX_Size

func (m *ControllerPlanning) XXX_Size() int

func (*ControllerPlanning) XXX_Unmarshal

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

type ControllerPlanningSpec

type ControllerPlanningSpec struct {
	CurrentReplicas      int32                `protobuf:"varint,1,opt,name=current_replicas,json=currentReplicas,proto3" json:"current_replicas,omitempty"`
	DesiredReplicas      int32                `protobuf:"varint,2,opt,name=desired_replicas,json=desiredReplicas,proto3" json:"desired_replicas,omitempty"`
	Time                 *timestamp.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	CurrentCpuRequests   float64              `protobuf:"fixed64,5,opt,name=current_cpu_requests,json=currentCpuRequests,proto3" json:"current_cpu_requests,omitempty"`
	CurrentMemRequests   float64              `protobuf:"fixed64,6,opt,name=current_mem_requests,json=currentMemRequests,proto3" json:"current_mem_requests,omitempty"`
	CurrentCpuLimits     float64              `protobuf:"fixed64,7,opt,name=current_cpu_limits,json=currentCpuLimits,proto3" json:"current_cpu_limits,omitempty"`
	CurrentMemLimits     float64              `protobuf:"fixed64,8,opt,name=current_mem_limits,json=currentMemLimits,proto3" json:"current_mem_limits,omitempty"`
	DesiredCpuLimits     float64              `protobuf:"fixed64,9,opt,name=desired_cpu_limits,json=desiredCpuLimits,proto3" json:"desired_cpu_limits,omitempty"`
	DesiredMemLimits     float64              `protobuf:"fixed64,10,opt,name=desired_mem_limits,json=desiredMemLimits,proto3" json:"desired_mem_limits,omitempty"`
	TotalCost            float64              `protobuf:"fixed64,11,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ControllerPlanningSpec) Descriptor

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

func (*ControllerPlanningSpec) GetCreateTime

func (m *ControllerPlanningSpec) GetCreateTime() *timestamp.Timestamp

func (*ControllerPlanningSpec) GetCurrentCpuLimits

func (m *ControllerPlanningSpec) GetCurrentCpuLimits() float64

func (*ControllerPlanningSpec) GetCurrentCpuRequests

func (m *ControllerPlanningSpec) GetCurrentCpuRequests() float64

func (*ControllerPlanningSpec) GetCurrentMemLimits

func (m *ControllerPlanningSpec) GetCurrentMemLimits() float64

func (*ControllerPlanningSpec) GetCurrentMemRequests

func (m *ControllerPlanningSpec) GetCurrentMemRequests() float64

func (*ControllerPlanningSpec) GetCurrentReplicas

func (m *ControllerPlanningSpec) GetCurrentReplicas() int32

func (*ControllerPlanningSpec) GetDesiredCpuLimits

func (m *ControllerPlanningSpec) GetDesiredCpuLimits() float64

func (*ControllerPlanningSpec) GetDesiredMemLimits

func (m *ControllerPlanningSpec) GetDesiredMemLimits() float64

func (*ControllerPlanningSpec) GetDesiredReplicas

func (m *ControllerPlanningSpec) GetDesiredReplicas() int32

func (*ControllerPlanningSpec) GetTime

func (*ControllerPlanningSpec) GetTotalCost

func (m *ControllerPlanningSpec) GetTotalCost() float64

func (*ControllerPlanningSpec) ProtoMessage

func (*ControllerPlanningSpec) ProtoMessage()

func (*ControllerPlanningSpec) Reset

func (m *ControllerPlanningSpec) Reset()

func (*ControllerPlanningSpec) String

func (m *ControllerPlanningSpec) String() string

func (*ControllerPlanningSpec) XXX_DiscardUnknown

func (m *ControllerPlanningSpec) XXX_DiscardUnknown()

func (*ControllerPlanningSpec) XXX_Marshal

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

func (*ControllerPlanningSpec) XXX_Merge

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

func (*ControllerPlanningSpec) XXX_Size

func (m *ControllerPlanningSpec) XXX_Size() int

func (*ControllerPlanningSpec) XXX_Unmarshal

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

type ControllerPlanningSpecK8S

type ControllerPlanningSpecK8S struct {
	CurrentReplicas      int32                `protobuf:"varint,1,opt,name=current_replicas,json=currentReplicas,proto3" json:"current_replicas,omitempty"`
	DesiredReplicas      int32                `protobuf:"varint,2,opt,name=desired_replicas,json=desiredReplicas,proto3" json:"desired_replicas,omitempty"`
	Time                 *timestamp.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ControllerPlanningSpecK8S) Descriptor

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

func (*ControllerPlanningSpecK8S) GetCreateTime

func (m *ControllerPlanningSpecK8S) GetCreateTime() *timestamp.Timestamp

func (*ControllerPlanningSpecK8S) GetCurrentReplicas

func (m *ControllerPlanningSpecK8S) GetCurrentReplicas() int32

func (*ControllerPlanningSpecK8S) GetDesiredReplicas

func (m *ControllerPlanningSpecK8S) GetDesiredReplicas() int32

func (*ControllerPlanningSpecK8S) GetTime

func (*ControllerPlanningSpecK8S) ProtoMessage

func (*ControllerPlanningSpecK8S) ProtoMessage()

func (*ControllerPlanningSpecK8S) Reset

func (m *ControllerPlanningSpecK8S) Reset()

func (*ControllerPlanningSpecK8S) String

func (m *ControllerPlanningSpecK8S) String() string

func (*ControllerPlanningSpecK8S) XXX_DiscardUnknown

func (m *ControllerPlanningSpecK8S) XXX_DiscardUnknown()

func (*ControllerPlanningSpecK8S) XXX_Marshal

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

func (*ControllerPlanningSpecK8S) XXX_Merge

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

func (*ControllerPlanningSpecK8S) XXX_Size

func (m *ControllerPlanningSpecK8S) XXX_Size() int

func (*ControllerPlanningSpecK8S) XXX_Unmarshal

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

type ControllerPlanningType

type ControllerPlanningType int32
const (
	ControllerPlanningType_CPT_UNDEFINED ControllerPlanningType = 0
	ControllerPlanningType_CPT_PRIMITIVE ControllerPlanningType = 1
	ControllerPlanningType_CPT_K8S       ControllerPlanningType = 2
)

func (ControllerPlanningType) EnumDescriptor

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

func (ControllerPlanningType) String

func (x ControllerPlanningType) String() string

type CreateApplicationPlanningsRequest

type CreateApplicationPlanningsRequest struct {
	ApplicationPlannings []*ApplicationPlanning `protobuf:"bytes,1,rep,name=application_plannings,json=applicationPlannings,proto3" json:"application_plannings,omitempty"`
	Granularity          int64                  `protobuf:"varint,2,opt,name=granularity,proto3" json:"granularity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*CreateApplicationPlanningsRequest) Descriptor

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

func (*CreateApplicationPlanningsRequest) GetApplicationPlannings

func (m *CreateApplicationPlanningsRequest) GetApplicationPlannings() []*ApplicationPlanning

func (*CreateApplicationPlanningsRequest) GetGranularity

func (m *CreateApplicationPlanningsRequest) GetGranularity() int64

func (*CreateApplicationPlanningsRequest) ProtoMessage

func (*CreateApplicationPlanningsRequest) ProtoMessage()

func (*CreateApplicationPlanningsRequest) Reset

func (*CreateApplicationPlanningsRequest) String

func (*CreateApplicationPlanningsRequest) XXX_DiscardUnknown

func (m *CreateApplicationPlanningsRequest) XXX_DiscardUnknown()

func (*CreateApplicationPlanningsRequest) XXX_Marshal

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

func (*CreateApplicationPlanningsRequest) XXX_Merge

func (*CreateApplicationPlanningsRequest) XXX_Size

func (m *CreateApplicationPlanningsRequest) XXX_Size() int

func (*CreateApplicationPlanningsRequest) XXX_Unmarshal

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

type CreateClusterPlanningsRequest

type CreateClusterPlanningsRequest struct {
	ClusterPlannings     []*ClusterPlanning `protobuf:"bytes,1,rep,name=cluster_plannings,json=clusterPlannings,proto3" json:"cluster_plannings,omitempty"`
	Granularity          int64              `protobuf:"varint,2,opt,name=granularity,proto3" json:"granularity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*CreateClusterPlanningsRequest) Descriptor

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

func (*CreateClusterPlanningsRequest) GetClusterPlannings

func (m *CreateClusterPlanningsRequest) GetClusterPlannings() []*ClusterPlanning

func (*CreateClusterPlanningsRequest) GetGranularity

func (m *CreateClusterPlanningsRequest) GetGranularity() int64

func (*CreateClusterPlanningsRequest) ProtoMessage

func (*CreateClusterPlanningsRequest) ProtoMessage()

func (*CreateClusterPlanningsRequest) Reset

func (m *CreateClusterPlanningsRequest) Reset()

func (*CreateClusterPlanningsRequest) String

func (*CreateClusterPlanningsRequest) XXX_DiscardUnknown

func (m *CreateClusterPlanningsRequest) XXX_DiscardUnknown()

func (*CreateClusterPlanningsRequest) XXX_Marshal

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

func (*CreateClusterPlanningsRequest) XXX_Merge

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

func (*CreateClusterPlanningsRequest) XXX_Size

func (m *CreateClusterPlanningsRequest) XXX_Size() int

func (*CreateClusterPlanningsRequest) XXX_Unmarshal

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

type CreateControllerPlanningsRequest

type CreateControllerPlanningsRequest struct {
	ControllerPlannings  []*ControllerPlanning `protobuf:"bytes,1,rep,name=controller_plannings,json=controllerPlannings,proto3" json:"controller_plannings,omitempty"`
	Granularity          int64                 `protobuf:"varint,2,opt,name=granularity,proto3" json:"granularity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Represents a request for creating a controller's plannings

func (*CreateControllerPlanningsRequest) Descriptor

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

func (*CreateControllerPlanningsRequest) GetControllerPlannings

func (m *CreateControllerPlanningsRequest) GetControllerPlannings() []*ControllerPlanning

func (*CreateControllerPlanningsRequest) GetGranularity

func (m *CreateControllerPlanningsRequest) GetGranularity() int64

func (*CreateControllerPlanningsRequest) ProtoMessage

func (*CreateControllerPlanningsRequest) ProtoMessage()

func (*CreateControllerPlanningsRequest) Reset

func (*CreateControllerPlanningsRequest) String

func (*CreateControllerPlanningsRequest) XXX_DiscardUnknown

func (m *CreateControllerPlanningsRequest) XXX_DiscardUnknown()

func (*CreateControllerPlanningsRequest) XXX_Marshal

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

func (*CreateControllerPlanningsRequest) XXX_Merge

func (*CreateControllerPlanningsRequest) XXX_Size

func (m *CreateControllerPlanningsRequest) XXX_Size() int

func (*CreateControllerPlanningsRequest) XXX_Unmarshal

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

type CreateNamespacePlanningsRequest

type CreateNamespacePlanningsRequest struct {
	NamespacePlannings   []*NamespacePlanning `protobuf:"bytes,1,rep,name=namespace_plannings,json=namespacePlannings,proto3" json:"namespace_plannings,omitempty"`
	Granularity          int64                `protobuf:"varint,2,opt,name=granularity,proto3" json:"granularity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*CreateNamespacePlanningsRequest) Descriptor

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

func (*CreateNamespacePlanningsRequest) GetGranularity

func (m *CreateNamespacePlanningsRequest) GetGranularity() int64

func (*CreateNamespacePlanningsRequest) GetNamespacePlannings

func (m *CreateNamespacePlanningsRequest) GetNamespacePlannings() []*NamespacePlanning

func (*CreateNamespacePlanningsRequest) ProtoMessage

func (*CreateNamespacePlanningsRequest) ProtoMessage()

func (*CreateNamespacePlanningsRequest) Reset

func (*CreateNamespacePlanningsRequest) String

func (*CreateNamespacePlanningsRequest) XXX_DiscardUnknown

func (m *CreateNamespacePlanningsRequest) XXX_DiscardUnknown()

func (*CreateNamespacePlanningsRequest) XXX_Marshal

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

func (*CreateNamespacePlanningsRequest) XXX_Merge

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

func (*CreateNamespacePlanningsRequest) XXX_Size

func (m *CreateNamespacePlanningsRequest) XXX_Size() int

func (*CreateNamespacePlanningsRequest) XXX_Unmarshal

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

type CreateNodePlanningsRequest

type CreateNodePlanningsRequest struct {
	NodePlannings        []*NodePlanning `protobuf:"bytes,1,rep,name=node_plannings,json=nodePlannings,proto3" json:"node_plannings,omitempty"`
	Granularity          int64           `protobuf:"varint,2,opt,name=granularity,proto3" json:"granularity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*CreateNodePlanningsRequest) Descriptor

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

func (*CreateNodePlanningsRequest) GetGranularity

func (m *CreateNodePlanningsRequest) GetGranularity() int64

func (*CreateNodePlanningsRequest) GetNodePlannings

func (m *CreateNodePlanningsRequest) GetNodePlannings() []*NodePlanning

func (*CreateNodePlanningsRequest) ProtoMessage

func (*CreateNodePlanningsRequest) ProtoMessage()

func (*CreateNodePlanningsRequest) Reset

func (m *CreateNodePlanningsRequest) Reset()

func (*CreateNodePlanningsRequest) String

func (m *CreateNodePlanningsRequest) String() string

func (*CreateNodePlanningsRequest) XXX_DiscardUnknown

func (m *CreateNodePlanningsRequest) XXX_DiscardUnknown()

func (*CreateNodePlanningsRequest) XXX_Marshal

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

func (*CreateNodePlanningsRequest) XXX_Merge

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

func (*CreateNodePlanningsRequest) XXX_Size

func (m *CreateNodePlanningsRequest) XXX_Size() int

func (*CreateNodePlanningsRequest) XXX_Unmarshal

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

type CreatePlanningsRequest

type CreatePlanningsRequest struct {
	SchemaMeta           *schemas.SchemaMeta `protobuf:"bytes,1,opt,name=schema_meta,json=schemaMeta,proto3" json:"schema_meta,omitempty"`
	Plannings            []*WritePlanning    `protobuf:"bytes,2,rep,name=plannings,proto3" json:"plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*CreatePlanningsRequest) Descriptor

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

func (*CreatePlanningsRequest) GetPlannings

func (m *CreatePlanningsRequest) GetPlannings() []*WritePlanning

func (*CreatePlanningsRequest) GetSchemaMeta

func (m *CreatePlanningsRequest) GetSchemaMeta() *schemas.SchemaMeta

func (*CreatePlanningsRequest) ProtoMessage

func (*CreatePlanningsRequest) ProtoMessage()

func (*CreatePlanningsRequest) Reset

func (m *CreatePlanningsRequest) Reset()

func (*CreatePlanningsRequest) String

func (m *CreatePlanningsRequest) String() string

func (*CreatePlanningsRequest) XXX_DiscardUnknown

func (m *CreatePlanningsRequest) XXX_DiscardUnknown()

func (*CreatePlanningsRequest) XXX_Marshal

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

func (*CreatePlanningsRequest) XXX_Merge

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

func (*CreatePlanningsRequest) XXX_Size

func (m *CreatePlanningsRequest) XXX_Size() int

func (*CreatePlanningsRequest) XXX_Unmarshal

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

type CreatePodPlanningsRequest

type CreatePodPlanningsRequest struct {
	PodPlannings         []*PodPlanning `protobuf:"bytes,1,rep,name=pod_plannings,json=podPlannings,proto3" json:"pod_plannings,omitempty"`
	Granularity          int64          `protobuf:"varint,2,opt,name=granularity,proto3" json:"granularity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Represents a request for creating a pod's plannings

func (*CreatePodPlanningsRequest) Descriptor

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

func (*CreatePodPlanningsRequest) GetGranularity

func (m *CreatePodPlanningsRequest) GetGranularity() int64

func (*CreatePodPlanningsRequest) GetPodPlannings

func (m *CreatePodPlanningsRequest) GetPodPlannings() []*PodPlanning

func (*CreatePodPlanningsRequest) ProtoMessage

func (*CreatePodPlanningsRequest) ProtoMessage()

func (*CreatePodPlanningsRequest) Reset

func (m *CreatePodPlanningsRequest) Reset()

func (*CreatePodPlanningsRequest) String

func (m *CreatePodPlanningsRequest) String() string

func (*CreatePodPlanningsRequest) XXX_DiscardUnknown

func (m *CreatePodPlanningsRequest) XXX_DiscardUnknown()

func (*CreatePodPlanningsRequest) XXX_Marshal

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

func (*CreatePodPlanningsRequest) XXX_Merge

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

func (*CreatePodPlanningsRequest) XXX_Size

func (m *CreatePodPlanningsRequest) XXX_Size() int

func (*CreatePodPlanningsRequest) XXX_Unmarshal

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

type ListApplicationPlanningsRequest

type ListApplicationPlanningsRequest struct {
	QueryCondition       *common.QueryCondition  `protobuf:"bytes,1,opt,name=query_condition,json=queryCondition,proto3" json:"query_condition,omitempty"`
	ObjectMeta           []*resources.ObjectMeta `protobuf:"bytes,2,rep,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	Granularity          int64                   `protobuf:"varint,3,opt,name=granularity,proto3" json:"granularity,omitempty"`
	PlanningType         PlanningType            `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ListApplicationPlanningsRequest) Descriptor

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

func (*ListApplicationPlanningsRequest) GetGranularity

func (m *ListApplicationPlanningsRequest) GetGranularity() int64

func (*ListApplicationPlanningsRequest) GetObjectMeta

func (*ListApplicationPlanningsRequest) GetPlanningType

func (m *ListApplicationPlanningsRequest) GetPlanningType() PlanningType

func (*ListApplicationPlanningsRequest) GetQueryCondition

func (m *ListApplicationPlanningsRequest) GetQueryCondition() *common.QueryCondition

func (*ListApplicationPlanningsRequest) ProtoMessage

func (*ListApplicationPlanningsRequest) ProtoMessage()

func (*ListApplicationPlanningsRequest) Reset

func (*ListApplicationPlanningsRequest) String

func (*ListApplicationPlanningsRequest) XXX_DiscardUnknown

func (m *ListApplicationPlanningsRequest) XXX_DiscardUnknown()

func (*ListApplicationPlanningsRequest) XXX_Marshal

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

func (*ListApplicationPlanningsRequest) XXX_Merge

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

func (*ListApplicationPlanningsRequest) XXX_Size

func (m *ListApplicationPlanningsRequest) XXX_Size() int

func (*ListApplicationPlanningsRequest) XXX_Unmarshal

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

type ListApplicationPlanningsResponse

type ListApplicationPlanningsResponse struct {
	Status               *status.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	ApplicationPlannings []*ApplicationPlanning `protobuf:"bytes,2,rep,name=application_plannings,json=applicationPlannings,proto3" json:"application_plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ListApplicationPlanningsResponse) Descriptor

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

func (*ListApplicationPlanningsResponse) GetApplicationPlannings

func (m *ListApplicationPlanningsResponse) GetApplicationPlannings() []*ApplicationPlanning

func (*ListApplicationPlanningsResponse) GetStatus

func (*ListApplicationPlanningsResponse) ProtoMessage

func (*ListApplicationPlanningsResponse) ProtoMessage()

func (*ListApplicationPlanningsResponse) Reset

func (*ListApplicationPlanningsResponse) String

func (*ListApplicationPlanningsResponse) XXX_DiscardUnknown

func (m *ListApplicationPlanningsResponse) XXX_DiscardUnknown()

func (*ListApplicationPlanningsResponse) XXX_Marshal

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

func (*ListApplicationPlanningsResponse) XXX_Merge

func (*ListApplicationPlanningsResponse) XXX_Size

func (m *ListApplicationPlanningsResponse) XXX_Size() int

func (*ListApplicationPlanningsResponse) XXX_Unmarshal

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

type ListClusterPlanningsRequest

type ListClusterPlanningsRequest struct {
	QueryCondition       *common.QueryCondition  `protobuf:"bytes,1,opt,name=query_condition,json=queryCondition,proto3" json:"query_condition,omitempty"`
	ObjectMeta           []*resources.ObjectMeta `protobuf:"bytes,2,rep,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	Granularity          int64                   `protobuf:"varint,3,opt,name=granularity,proto3" json:"granularity,omitempty"`
	PlanningType         PlanningType            `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ListClusterPlanningsRequest) Descriptor

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

func (*ListClusterPlanningsRequest) GetGranularity

func (m *ListClusterPlanningsRequest) GetGranularity() int64

func (*ListClusterPlanningsRequest) GetObjectMeta

func (m *ListClusterPlanningsRequest) GetObjectMeta() []*resources.ObjectMeta

func (*ListClusterPlanningsRequest) GetPlanningType

func (m *ListClusterPlanningsRequest) GetPlanningType() PlanningType

func (*ListClusterPlanningsRequest) GetQueryCondition

func (m *ListClusterPlanningsRequest) GetQueryCondition() *common.QueryCondition

func (*ListClusterPlanningsRequest) ProtoMessage

func (*ListClusterPlanningsRequest) ProtoMessage()

func (*ListClusterPlanningsRequest) Reset

func (m *ListClusterPlanningsRequest) Reset()

func (*ListClusterPlanningsRequest) String

func (m *ListClusterPlanningsRequest) String() string

func (*ListClusterPlanningsRequest) XXX_DiscardUnknown

func (m *ListClusterPlanningsRequest) XXX_DiscardUnknown()

func (*ListClusterPlanningsRequest) XXX_Marshal

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

func (*ListClusterPlanningsRequest) XXX_Merge

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

func (*ListClusterPlanningsRequest) XXX_Size

func (m *ListClusterPlanningsRequest) XXX_Size() int

func (*ListClusterPlanningsRequest) XXX_Unmarshal

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

type ListClusterPlanningsResponse

type ListClusterPlanningsResponse struct {
	Status               *status.Status     `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	ClusterPlannings     []*ClusterPlanning `protobuf:"bytes,2,rep,name=cluster_plannings,json=clusterPlannings,proto3" json:"cluster_plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ListClusterPlanningsResponse) Descriptor

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

func (*ListClusterPlanningsResponse) GetClusterPlannings

func (m *ListClusterPlanningsResponse) GetClusterPlannings() []*ClusterPlanning

func (*ListClusterPlanningsResponse) GetStatus

func (m *ListClusterPlanningsResponse) GetStatus() *status.Status

func (*ListClusterPlanningsResponse) ProtoMessage

func (*ListClusterPlanningsResponse) ProtoMessage()

func (*ListClusterPlanningsResponse) Reset

func (m *ListClusterPlanningsResponse) Reset()

func (*ListClusterPlanningsResponse) String

func (*ListClusterPlanningsResponse) XXX_DiscardUnknown

func (m *ListClusterPlanningsResponse) XXX_DiscardUnknown()

func (*ListClusterPlanningsResponse) XXX_Marshal

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

func (*ListClusterPlanningsResponse) XXX_Merge

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

func (*ListClusterPlanningsResponse) XXX_Size

func (m *ListClusterPlanningsResponse) XXX_Size() int

func (*ListClusterPlanningsResponse) XXX_Unmarshal

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

type ListControllerPlanningsRequest

type ListControllerPlanningsRequest struct {
	QueryCondition       *common.QueryCondition  `protobuf:"bytes,1,opt,name=query_condition,json=queryCondition,proto3" json:"query_condition,omitempty"`
	ObjectMeta           []*resources.ObjectMeta `protobuf:"bytes,2,rep,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	Kind                 resources.Kind          `protobuf:"varint,3,opt,name=kind,proto3,enum=containersai.alameda.v1alpha1.datahub.resources.Kind" json:"kind,omitempty"`
	Granularity          int64                   `protobuf:"varint,4,opt,name=granularity,proto3" json:"granularity,omitempty"`
	PlanningType         PlanningType            `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Represents a request for listing plannings of controllers

func (*ListControllerPlanningsRequest) Descriptor

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

func (*ListControllerPlanningsRequest) GetGranularity

func (m *ListControllerPlanningsRequest) GetGranularity() int64

func (*ListControllerPlanningsRequest) GetKind

func (*ListControllerPlanningsRequest) GetObjectMeta

func (m *ListControllerPlanningsRequest) GetObjectMeta() []*resources.ObjectMeta

func (*ListControllerPlanningsRequest) GetPlanningType

func (m *ListControllerPlanningsRequest) GetPlanningType() PlanningType

func (*ListControllerPlanningsRequest) GetQueryCondition

func (m *ListControllerPlanningsRequest) GetQueryCondition() *common.QueryCondition

func (*ListControllerPlanningsRequest) ProtoMessage

func (*ListControllerPlanningsRequest) ProtoMessage()

func (*ListControllerPlanningsRequest) Reset

func (m *ListControllerPlanningsRequest) Reset()

func (*ListControllerPlanningsRequest) String

func (*ListControllerPlanningsRequest) XXX_DiscardUnknown

func (m *ListControllerPlanningsRequest) XXX_DiscardUnknown()

func (*ListControllerPlanningsRequest) XXX_Marshal

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

func (*ListControllerPlanningsRequest) XXX_Merge

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

func (*ListControllerPlanningsRequest) XXX_Size

func (m *ListControllerPlanningsRequest) XXX_Size() int

func (*ListControllerPlanningsRequest) XXX_Unmarshal

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

type ListControllerPlanningsResponse

type ListControllerPlanningsResponse struct {
	Status               *status.Status        `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	ControllerPlannings  []*ControllerPlanning `protobuf:"bytes,2,rep,name=controller_plannings,json=controllerPlannings,proto3" json:"controller_plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Represents a response for listing controller plannings request

func (*ListControllerPlanningsResponse) Descriptor

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

func (*ListControllerPlanningsResponse) GetControllerPlannings

func (m *ListControllerPlanningsResponse) GetControllerPlannings() []*ControllerPlanning

func (*ListControllerPlanningsResponse) GetStatus

func (*ListControllerPlanningsResponse) ProtoMessage

func (*ListControllerPlanningsResponse) ProtoMessage()

func (*ListControllerPlanningsResponse) Reset

func (*ListControllerPlanningsResponse) String

func (*ListControllerPlanningsResponse) XXX_DiscardUnknown

func (m *ListControllerPlanningsResponse) XXX_DiscardUnknown()

func (*ListControllerPlanningsResponse) XXX_Marshal

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

func (*ListControllerPlanningsResponse) XXX_Merge

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

func (*ListControllerPlanningsResponse) XXX_Size

func (m *ListControllerPlanningsResponse) XXX_Size() int

func (*ListControllerPlanningsResponse) XXX_Unmarshal

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

type ListNamespacePlanningsRequest

type ListNamespacePlanningsRequest struct {
	QueryCondition       *common.QueryCondition  `protobuf:"bytes,1,opt,name=query_condition,json=queryCondition,proto3" json:"query_condition,omitempty"`
	ObjectMeta           []*resources.ObjectMeta `protobuf:"bytes,2,rep,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	Granularity          int64                   `protobuf:"varint,3,opt,name=granularity,proto3" json:"granularity,omitempty"`
	PlanningType         PlanningType            `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ListNamespacePlanningsRequest) Descriptor

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

func (*ListNamespacePlanningsRequest) GetGranularity

func (m *ListNamespacePlanningsRequest) GetGranularity() int64

func (*ListNamespacePlanningsRequest) GetObjectMeta

func (m *ListNamespacePlanningsRequest) GetObjectMeta() []*resources.ObjectMeta

func (*ListNamespacePlanningsRequest) GetPlanningType

func (m *ListNamespacePlanningsRequest) GetPlanningType() PlanningType

func (*ListNamespacePlanningsRequest) GetQueryCondition

func (m *ListNamespacePlanningsRequest) GetQueryCondition() *common.QueryCondition

func (*ListNamespacePlanningsRequest) ProtoMessage

func (*ListNamespacePlanningsRequest) ProtoMessage()

func (*ListNamespacePlanningsRequest) Reset

func (m *ListNamespacePlanningsRequest) Reset()

func (*ListNamespacePlanningsRequest) String

func (*ListNamespacePlanningsRequest) XXX_DiscardUnknown

func (m *ListNamespacePlanningsRequest) XXX_DiscardUnknown()

func (*ListNamespacePlanningsRequest) XXX_Marshal

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

func (*ListNamespacePlanningsRequest) XXX_Merge

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

func (*ListNamespacePlanningsRequest) XXX_Size

func (m *ListNamespacePlanningsRequest) XXX_Size() int

func (*ListNamespacePlanningsRequest) XXX_Unmarshal

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

type ListNamespacePlanningsResponse

type ListNamespacePlanningsResponse struct {
	Status               *status.Status       `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	NamespacePlannings   []*NamespacePlanning `protobuf:"bytes,2,rep,name=namespace_plannings,json=namespacePlannings,proto3" json:"namespace_plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ListNamespacePlanningsResponse) Descriptor

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

func (*ListNamespacePlanningsResponse) GetNamespacePlannings

func (m *ListNamespacePlanningsResponse) GetNamespacePlannings() []*NamespacePlanning

func (*ListNamespacePlanningsResponse) GetStatus

func (*ListNamespacePlanningsResponse) ProtoMessage

func (*ListNamespacePlanningsResponse) ProtoMessage()

func (*ListNamespacePlanningsResponse) Reset

func (m *ListNamespacePlanningsResponse) Reset()

func (*ListNamespacePlanningsResponse) String

func (*ListNamespacePlanningsResponse) XXX_DiscardUnknown

func (m *ListNamespacePlanningsResponse) XXX_DiscardUnknown()

func (*ListNamespacePlanningsResponse) XXX_Marshal

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

func (*ListNamespacePlanningsResponse) XXX_Merge

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

func (*ListNamespacePlanningsResponse) XXX_Size

func (m *ListNamespacePlanningsResponse) XXX_Size() int

func (*ListNamespacePlanningsResponse) XXX_Unmarshal

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

type ListNodePlanningsRequest

type ListNodePlanningsRequest struct {
	QueryCondition       *common.QueryCondition  `protobuf:"bytes,1,opt,name=query_condition,json=queryCondition,proto3" json:"query_condition,omitempty"`
	ObjectMeta           []*resources.ObjectMeta `protobuf:"bytes,2,rep,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	Granularity          int64                   `protobuf:"varint,3,opt,name=granularity,proto3" json:"granularity,omitempty"`
	PlanningType         PlanningType            `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ListNodePlanningsRequest) Descriptor

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

func (*ListNodePlanningsRequest) GetGranularity

func (m *ListNodePlanningsRequest) GetGranularity() int64

func (*ListNodePlanningsRequest) GetObjectMeta

func (m *ListNodePlanningsRequest) GetObjectMeta() []*resources.ObjectMeta

func (*ListNodePlanningsRequest) GetPlanningType

func (m *ListNodePlanningsRequest) GetPlanningType() PlanningType

func (*ListNodePlanningsRequest) GetQueryCondition

func (m *ListNodePlanningsRequest) GetQueryCondition() *common.QueryCondition

func (*ListNodePlanningsRequest) ProtoMessage

func (*ListNodePlanningsRequest) ProtoMessage()

func (*ListNodePlanningsRequest) Reset

func (m *ListNodePlanningsRequest) Reset()

func (*ListNodePlanningsRequest) String

func (m *ListNodePlanningsRequest) String() string

func (*ListNodePlanningsRequest) XXX_DiscardUnknown

func (m *ListNodePlanningsRequest) XXX_DiscardUnknown()

func (*ListNodePlanningsRequest) XXX_Marshal

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

func (*ListNodePlanningsRequest) XXX_Merge

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

func (*ListNodePlanningsRequest) XXX_Size

func (m *ListNodePlanningsRequest) XXX_Size() int

func (*ListNodePlanningsRequest) XXX_Unmarshal

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

type ListNodePlanningsResponse

type ListNodePlanningsResponse struct {
	Status               *status.Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	NodePlannings        []*NodePlanning `protobuf:"bytes,2,rep,name=node_plannings,json=nodePlannings,proto3" json:"node_plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ListNodePlanningsResponse) Descriptor

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

func (*ListNodePlanningsResponse) GetNodePlannings

func (m *ListNodePlanningsResponse) GetNodePlannings() []*NodePlanning

func (*ListNodePlanningsResponse) GetStatus

func (m *ListNodePlanningsResponse) GetStatus() *status.Status

func (*ListNodePlanningsResponse) ProtoMessage

func (*ListNodePlanningsResponse) ProtoMessage()

func (*ListNodePlanningsResponse) Reset

func (m *ListNodePlanningsResponse) Reset()

func (*ListNodePlanningsResponse) String

func (m *ListNodePlanningsResponse) String() string

func (*ListNodePlanningsResponse) XXX_DiscardUnknown

func (m *ListNodePlanningsResponse) XXX_DiscardUnknown()

func (*ListNodePlanningsResponse) XXX_Marshal

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

func (*ListNodePlanningsResponse) XXX_Merge

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

func (*ListNodePlanningsResponse) XXX_Size

func (m *ListNodePlanningsResponse) XXX_Size() int

func (*ListNodePlanningsResponse) XXX_Unmarshal

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

type ListPlanningsRequest

type ListPlanningsRequest struct {
	QueryCondition       *common.QueryCondition `protobuf:"bytes,1,opt,name=query_condition,json=queryCondition,proto3" json:"query_condition,omitempty"`
	SchemaMeta           *schemas.SchemaMeta    `protobuf:"bytes,2,opt,name=schema_meta,json=schemaMeta,proto3" json:"schema_meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ListPlanningsRequest) Descriptor

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

func (*ListPlanningsRequest) GetQueryCondition

func (m *ListPlanningsRequest) GetQueryCondition() *common.QueryCondition

func (*ListPlanningsRequest) GetSchemaMeta

func (m *ListPlanningsRequest) GetSchemaMeta() *schemas.SchemaMeta

func (*ListPlanningsRequest) ProtoMessage

func (*ListPlanningsRequest) ProtoMessage()

func (*ListPlanningsRequest) Reset

func (m *ListPlanningsRequest) Reset()

func (*ListPlanningsRequest) String

func (m *ListPlanningsRequest) String() string

func (*ListPlanningsRequest) XXX_DiscardUnknown

func (m *ListPlanningsRequest) XXX_DiscardUnknown()

func (*ListPlanningsRequest) XXX_Marshal

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

func (*ListPlanningsRequest) XXX_Merge

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

func (*ListPlanningsRequest) XXX_Size

func (m *ListPlanningsRequest) XXX_Size() int

func (*ListPlanningsRequest) XXX_Unmarshal

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

type ListPlanningsResponse

type ListPlanningsResponse struct {
	Status               *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Plannings            *RawPlanning   `protobuf:"bytes,2,opt,name=plannings,proto3" json:"plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ListPlanningsResponse) Descriptor

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

func (*ListPlanningsResponse) GetPlannings

func (m *ListPlanningsResponse) GetPlannings() *RawPlanning

func (*ListPlanningsResponse) GetStatus

func (m *ListPlanningsResponse) GetStatus() *status.Status

func (*ListPlanningsResponse) ProtoMessage

func (*ListPlanningsResponse) ProtoMessage()

func (*ListPlanningsResponse) Reset

func (m *ListPlanningsResponse) Reset()

func (*ListPlanningsResponse) String

func (m *ListPlanningsResponse) String() string

func (*ListPlanningsResponse) XXX_DiscardUnknown

func (m *ListPlanningsResponse) XXX_DiscardUnknown()

func (*ListPlanningsResponse) XXX_Marshal

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

func (*ListPlanningsResponse) XXX_Merge

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

func (*ListPlanningsResponse) XXX_Size

func (m *ListPlanningsResponse) XXX_Size() int

func (*ListPlanningsResponse) XXX_Unmarshal

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

type ListPodPlanningsRequest

type ListPodPlanningsRequest struct {
	QueryCondition       *common.QueryCondition  `protobuf:"bytes,1,opt,name=query_condition,json=queryCondition,proto3" json:"query_condition,omitempty"`
	ObjectMeta           []*resources.ObjectMeta `protobuf:"bytes,2,rep,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	Granularity          int64                   `protobuf:"varint,3,opt,name=granularity,proto3" json:"granularity,omitempty"`
	PlanningType         PlanningType            `` /* 164-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

Represents a request for listing plannings of pods

func (*ListPodPlanningsRequest) Descriptor

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

func (*ListPodPlanningsRequest) GetGranularity

func (m *ListPodPlanningsRequest) GetGranularity() int64

func (*ListPodPlanningsRequest) GetObjectMeta

func (m *ListPodPlanningsRequest) GetObjectMeta() []*resources.ObjectMeta

func (*ListPodPlanningsRequest) GetPlanningType

func (m *ListPodPlanningsRequest) GetPlanningType() PlanningType

func (*ListPodPlanningsRequest) GetQueryCondition

func (m *ListPodPlanningsRequest) GetQueryCondition() *common.QueryCondition

func (*ListPodPlanningsRequest) ProtoMessage

func (*ListPodPlanningsRequest) ProtoMessage()

func (*ListPodPlanningsRequest) Reset

func (m *ListPodPlanningsRequest) Reset()

func (*ListPodPlanningsRequest) String

func (m *ListPodPlanningsRequest) String() string

func (*ListPodPlanningsRequest) XXX_DiscardUnknown

func (m *ListPodPlanningsRequest) XXX_DiscardUnknown()

func (*ListPodPlanningsRequest) XXX_Marshal

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

func (*ListPodPlanningsRequest) XXX_Merge

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

func (*ListPodPlanningsRequest) XXX_Size

func (m *ListPodPlanningsRequest) XXX_Size() int

func (*ListPodPlanningsRequest) XXX_Unmarshal

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

type ListPodPlanningsResponse

type ListPodPlanningsResponse struct {
	Status               *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	PodPlannings         []*PodPlanning `protobuf:"bytes,2,rep,name=pod_plannings,json=podPlannings,proto3" json:"pod_plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Represents a response for listing pod plannings request

func (*ListPodPlanningsResponse) Descriptor

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

func (*ListPodPlanningsResponse) GetPodPlannings

func (m *ListPodPlanningsResponse) GetPodPlannings() []*PodPlanning

func (*ListPodPlanningsResponse) GetStatus

func (m *ListPodPlanningsResponse) GetStatus() *status.Status

func (*ListPodPlanningsResponse) ProtoMessage

func (*ListPodPlanningsResponse) ProtoMessage()

func (*ListPodPlanningsResponse) Reset

func (m *ListPodPlanningsResponse) Reset()

func (*ListPodPlanningsResponse) String

func (m *ListPodPlanningsResponse) String() string

func (*ListPodPlanningsResponse) XXX_DiscardUnknown

func (m *ListPodPlanningsResponse) XXX_DiscardUnknown()

func (*ListPodPlanningsResponse) XXX_Marshal

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

func (*ListPodPlanningsResponse) XXX_Merge

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

func (*ListPodPlanningsResponse) XXX_Size

func (m *ListPodPlanningsResponse) XXX_Size() int

func (*ListPodPlanningsResponse) XXX_Unmarshal

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

type NamespacePlanning

type NamespacePlanning struct {
	ObjectMeta           *resources.ObjectMeta `protobuf:"bytes,1,opt,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	PlanningType         PlanningType          `` /* 164-byte string literal not displayed */
	PlanningId           string                `protobuf:"bytes,3,opt,name=planning_id,json=planningId,proto3" json:"planning_id,omitempty"`
	TotalCost            float64               `protobuf:"fixed64,4,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	ApplyPlanningNow     bool                  `protobuf:"varint,5,opt,name=apply_planning_now,json=applyPlanningNow,proto3" json:"apply_planning_now,omitempty"`
	StartTime            *timestamp.Timestamp  `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamp.Timestamp  `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Plannings            []*Planning           `protobuf:"bytes,8,rep,name=plannings,proto3" json:"plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*NamespacePlanning) Descriptor

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

func (*NamespacePlanning) GetApplyPlanningNow

func (m *NamespacePlanning) GetApplyPlanningNow() bool

func (*NamespacePlanning) GetEndTime

func (m *NamespacePlanning) GetEndTime() *timestamp.Timestamp

func (*NamespacePlanning) GetObjectMeta

func (m *NamespacePlanning) GetObjectMeta() *resources.ObjectMeta

func (*NamespacePlanning) GetPlanningId

func (m *NamespacePlanning) GetPlanningId() string

func (*NamespacePlanning) GetPlanningType

func (m *NamespacePlanning) GetPlanningType() PlanningType

func (*NamespacePlanning) GetPlannings

func (m *NamespacePlanning) GetPlannings() []*Planning

func (*NamespacePlanning) GetStartTime

func (m *NamespacePlanning) GetStartTime() *timestamp.Timestamp

func (*NamespacePlanning) GetTotalCost

func (m *NamespacePlanning) GetTotalCost() float64

func (*NamespacePlanning) ProtoMessage

func (*NamespacePlanning) ProtoMessage()

func (*NamespacePlanning) Reset

func (m *NamespacePlanning) Reset()

func (*NamespacePlanning) String

func (m *NamespacePlanning) String() string

func (*NamespacePlanning) XXX_DiscardUnknown

func (m *NamespacePlanning) XXX_DiscardUnknown()

func (*NamespacePlanning) XXX_Marshal

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

func (*NamespacePlanning) XXX_Merge

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

func (*NamespacePlanning) XXX_Size

func (m *NamespacePlanning) XXX_Size() int

func (*NamespacePlanning) XXX_Unmarshal

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

type NodePlanning

type NodePlanning struct {
	ObjectMeta           *resources.ObjectMeta `protobuf:"bytes,1,opt,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	PlanningType         PlanningType          `` /* 164-byte string literal not displayed */
	PlanningId           string                `protobuf:"bytes,3,opt,name=planning_id,json=planningId,proto3" json:"planning_id,omitempty"`
	TotalCost            float64               `protobuf:"fixed64,4,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	ApplyPlanningNow     bool                  `protobuf:"varint,5,opt,name=apply_planning_now,json=applyPlanningNow,proto3" json:"apply_planning_now,omitempty"`
	StartTime            *timestamp.Timestamp  `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamp.Timestamp  `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Plannings            []*Planning           `protobuf:"bytes,8,rep,name=plannings,proto3" json:"plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*NodePlanning) Descriptor

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

func (*NodePlanning) GetApplyPlanningNow

func (m *NodePlanning) GetApplyPlanningNow() bool

func (*NodePlanning) GetEndTime

func (m *NodePlanning) GetEndTime() *timestamp.Timestamp

func (*NodePlanning) GetObjectMeta

func (m *NodePlanning) GetObjectMeta() *resources.ObjectMeta

func (*NodePlanning) GetPlanningId

func (m *NodePlanning) GetPlanningId() string

func (*NodePlanning) GetPlanningType

func (m *NodePlanning) GetPlanningType() PlanningType

func (*NodePlanning) GetPlannings

func (m *NodePlanning) GetPlannings() []*Planning

func (*NodePlanning) GetStartTime

func (m *NodePlanning) GetStartTime() *timestamp.Timestamp

func (*NodePlanning) GetTotalCost

func (m *NodePlanning) GetTotalCost() float64

func (*NodePlanning) ProtoMessage

func (*NodePlanning) ProtoMessage()

func (*NodePlanning) Reset

func (m *NodePlanning) Reset()

func (*NodePlanning) String

func (m *NodePlanning) String() string

func (*NodePlanning) XXX_DiscardUnknown

func (m *NodePlanning) XXX_DiscardUnknown()

func (*NodePlanning) XXX_Marshal

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

func (*NodePlanning) XXX_Merge

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

func (*NodePlanning) XXX_Size

func (m *NodePlanning) XXX_Size() int

func (*NodePlanning) XXX_Unmarshal

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

type Planning

type Planning struct {
	LimitPlannings          []*common.MetricData `protobuf:"bytes,1,rep,name=limit_plannings,json=limitPlannings,proto3" json:"limit_plannings,omitempty"`
	RequestPlannings        []*common.MetricData `protobuf:"bytes,2,rep,name=request_plannings,json=requestPlannings,proto3" json:"request_plannings,omitempty"`
	InitialLimitPlannings   []*common.MetricData `` /* 126-byte string literal not displayed */
	InitialRequestPlannings []*common.MetricData `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}             `json:"-"`
	XXX_unrecognized        []byte               `json:"-"`
	XXX_sizecache           int32                `json:"-"`
}

func (*Planning) Descriptor

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

func (*Planning) GetInitialLimitPlannings

func (m *Planning) GetInitialLimitPlannings() []*common.MetricData

func (*Planning) GetInitialRequestPlannings

func (m *Planning) GetInitialRequestPlannings() []*common.MetricData

func (*Planning) GetLimitPlannings

func (m *Planning) GetLimitPlannings() []*common.MetricData

func (*Planning) GetRequestPlannings

func (m *Planning) GetRequestPlannings() []*common.MetricData

func (*Planning) ProtoMessage

func (*Planning) ProtoMessage()

func (*Planning) Reset

func (m *Planning) Reset()

func (*Planning) String

func (m *Planning) String() string

func (*Planning) XXX_DiscardUnknown

func (m *Planning) XXX_DiscardUnknown()

func (*Planning) XXX_Marshal

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

func (*Planning) XXX_Merge

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

func (*Planning) XXX_Size

func (m *Planning) XXX_Size() int

func (*Planning) XXX_Unmarshal

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

type PlanningData

type PlanningData struct {
	MetricType           common.MetricType    `` /* 153-byte string literal not displayed */
	ResourceQuota        common.ResourceQuota `` /* 165-byte string literal not displayed */
	ReadData             *common.ReadData     `protobuf:"bytes,3,opt,name=read_data,json=readData,proto3" json:"read_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*PlanningData) Descriptor

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

func (*PlanningData) GetMetricType

func (m *PlanningData) GetMetricType() common.MetricType

func (*PlanningData) GetReadData

func (m *PlanningData) GetReadData() *common.ReadData

func (*PlanningData) GetResourceQuota

func (m *PlanningData) GetResourceQuota() common.ResourceQuota

func (*PlanningData) ProtoMessage

func (*PlanningData) ProtoMessage()

func (*PlanningData) Reset

func (m *PlanningData) Reset()

func (*PlanningData) String

func (m *PlanningData) String() string

func (*PlanningData) XXX_DiscardUnknown

func (m *PlanningData) XXX_DiscardUnknown()

func (*PlanningData) XXX_Marshal

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

func (*PlanningData) XXX_Merge

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

func (*PlanningData) XXX_Size

func (m *PlanningData) XXX_Size() int

func (*PlanningData) XXX_Unmarshal

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

type PlanningType

type PlanningType int32
const (
	PlanningType_PT_UNDEFINED      PlanningType = 0
	PlanningType_PT_RECOMMENDATION PlanningType = 1
	PlanningType_PT_PLANNING       PlanningType = 2
)

func (PlanningType) EnumDescriptor

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

func (PlanningType) String

func (x PlanningType) String() string

type PodPlanning

type PodPlanning struct {
	ObjectMeta           *resources.ObjectMeta      `protobuf:"bytes,1,opt,name=object_meta,json=objectMeta,proto3" json:"object_meta,omitempty"`
	PlanningType         PlanningType               `` /* 164-byte string literal not displayed */
	PlanningId           string                     `protobuf:"bytes,3,opt,name=planning_id,json=planningId,proto3" json:"planning_id,omitempty"`
	TotalCost            float64                    `protobuf:"fixed64,4,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	ApplyPlanningNow     bool                       `protobuf:"varint,5,opt,name=apply_planning_now,json=applyPlanningNow,proto3" json:"apply_planning_now,omitempty"`
	StartTime            *timestamp.Timestamp       `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamp.Timestamp       `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	AssignPodPolicy      *resources.AssignPodPolicy `protobuf:"bytes,8,opt,name=assign_pod_policy,json=assignPodPolicy,proto3" json:"assign_pod_policy,omitempty"`
	TopController        *resources.Controller      `protobuf:"bytes,9,opt,name=top_controller,json=topController,proto3" json:"top_controller,omitempty"`
	ContainerPlannings   []*ContainerPlanning       `protobuf:"bytes,10,rep,name=container_plannings,json=containerPlannings,proto3" json:"container_plannings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*PodPlanning) Descriptor

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

func (*PodPlanning) GetApplyPlanningNow

func (m *PodPlanning) GetApplyPlanningNow() bool

func (*PodPlanning) GetAssignPodPolicy

func (m *PodPlanning) GetAssignPodPolicy() *resources.AssignPodPolicy

func (*PodPlanning) GetContainerPlannings

func (m *PodPlanning) GetContainerPlannings() []*ContainerPlanning

func (*PodPlanning) GetEndTime

func (m *PodPlanning) GetEndTime() *timestamp.Timestamp

func (*PodPlanning) GetObjectMeta

func (m *PodPlanning) GetObjectMeta() *resources.ObjectMeta

func (*PodPlanning) GetPlanningId

func (m *PodPlanning) GetPlanningId() string

func (*PodPlanning) GetPlanningType

func (m *PodPlanning) GetPlanningType() PlanningType

func (*PodPlanning) GetStartTime

func (m *PodPlanning) GetStartTime() *timestamp.Timestamp

func (*PodPlanning) GetTopController

func (m *PodPlanning) GetTopController() *resources.Controller

func (*PodPlanning) GetTotalCost

func (m *PodPlanning) GetTotalCost() float64

func (*PodPlanning) ProtoMessage

func (*PodPlanning) ProtoMessage()

func (*PodPlanning) Reset

func (m *PodPlanning) Reset()

func (*PodPlanning) String

func (m *PodPlanning) String() string

func (*PodPlanning) XXX_DiscardUnknown

func (m *PodPlanning) XXX_DiscardUnknown()

func (*PodPlanning) XXX_Marshal

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

func (*PodPlanning) XXX_Merge

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

func (*PodPlanning) XXX_Size

func (m *PodPlanning) XXX_Size() int

func (*PodPlanning) XXX_Unmarshal

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

type RawPlanning

type RawPlanning struct {
	SchemaMeta           *schemas.SchemaMeta `protobuf:"bytes,1,opt,name=schema_meta,json=schemaMeta,proto3" json:"schema_meta,omitempty"`
	PlanningData         []*PlanningData     `protobuf:"bytes,2,rep,name=planning_data,json=planningData,proto3" json:"planning_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*RawPlanning) Descriptor

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

func (*RawPlanning) GetPlanningData

func (m *RawPlanning) GetPlanningData() []*PlanningData

func (*RawPlanning) GetSchemaMeta

func (m *RawPlanning) GetSchemaMeta() *schemas.SchemaMeta

func (*RawPlanning) ProtoMessage

func (*RawPlanning) ProtoMessage()

func (*RawPlanning) Reset

func (m *RawPlanning) Reset()

func (*RawPlanning) String

func (m *RawPlanning) String() string

func (*RawPlanning) XXX_DiscardUnknown

func (m *RawPlanning) XXX_DiscardUnknown()

func (*RawPlanning) XXX_Marshal

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

func (*RawPlanning) XXX_Merge

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

func (*RawPlanning) XXX_Size

func (m *RawPlanning) XXX_Size() int

func (*RawPlanning) XXX_Unmarshal

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

type WritePlanning

type WritePlanning struct {
	MetricType           common.MetricType    `` /* 153-byte string literal not displayed */
	ResourceQuota        common.ResourceQuota `` /* 165-byte string literal not displayed */
	WriteData            *common.WriteData    `protobuf:"bytes,3,opt,name=write_data,json=writeData,proto3" json:"write_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*WritePlanning) Descriptor

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

func (*WritePlanning) GetMetricType

func (m *WritePlanning) GetMetricType() common.MetricType

func (*WritePlanning) GetResourceQuota

func (m *WritePlanning) GetResourceQuota() common.ResourceQuota

func (*WritePlanning) GetWriteData

func (m *WritePlanning) GetWriteData() *common.WriteData

func (*WritePlanning) ProtoMessage

func (*WritePlanning) ProtoMessage()

func (*WritePlanning) Reset

func (m *WritePlanning) Reset()

func (*WritePlanning) String

func (m *WritePlanning) String() string

func (*WritePlanning) XXX_DiscardUnknown

func (m *WritePlanning) XXX_DiscardUnknown()

func (*WritePlanning) XXX_Marshal

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

func (*WritePlanning) XXX_Merge

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

func (*WritePlanning) XXX_Size

func (m *WritePlanning) XXX_Size() int

func (*WritePlanning) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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