v1alpha2

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerPrediction

type ContainerPrediction struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// use containersai.datahub.metric.v1alpha2.MetricType as key
	PredictedRawData     map[int32]*v1alpha2.MetricData `` /* 200-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

* Represents a list of predicted metric data of a container

func (*ContainerPrediction) Descriptor

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

func (*ContainerPrediction) GetName

func (m *ContainerPrediction) GetName() string

func (*ContainerPrediction) GetPredictedRawData

func (m *ContainerPrediction) GetPredictedRawData() map[int32]*v1alpha2.MetricData

func (*ContainerPrediction) ProtoMessage

func (*ContainerPrediction) ProtoMessage()

func (*ContainerPrediction) Reset

func (m *ContainerPrediction) Reset()

func (*ContainerPrediction) String

func (m *ContainerPrediction) String() string

func (*ContainerPrediction) XXX_DiscardUnknown

func (m *ContainerPrediction) XXX_DiscardUnknown()

func (*ContainerPrediction) XXX_Marshal

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

func (*ContainerPrediction) XXX_Merge

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

func (*ContainerPrediction) XXX_Size

func (m *ContainerPrediction) XXX_Size() int

func (*ContainerPrediction) XXX_Unmarshal

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

type NodePrediction

type NodePrediction struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// use containersai.datahub.metric.v1alpha2.MetricType as key
	PredictedRawData     map[int32]*v1alpha2.MetricData `` /* 200-byte string literal not displayed */
	IsScheduled          bool                           `protobuf:"varint,3,opt,name=is_scheduled,json=isScheduled,proto3" json:"is_scheduled,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

* Represents a list of predicted metric data of a node

func (*NodePrediction) Descriptor

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

func (*NodePrediction) GetIsScheduled

func (m *NodePrediction) GetIsScheduled() bool

func (*NodePrediction) GetName

func (m *NodePrediction) GetName() string

func (*NodePrediction) GetPredictedRawData

func (m *NodePrediction) GetPredictedRawData() map[int32]*v1alpha2.MetricData

func (*NodePrediction) ProtoMessage

func (*NodePrediction) ProtoMessage()

func (*NodePrediction) Reset

func (m *NodePrediction) Reset()

func (*NodePrediction) String

func (m *NodePrediction) String() string

func (*NodePrediction) XXX_DiscardUnknown

func (m *NodePrediction) XXX_DiscardUnknown()

func (*NodePrediction) XXX_Marshal

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

func (*NodePrediction) XXX_Merge

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

func (*NodePrediction) XXX_Size

func (m *NodePrediction) XXX_Size() int

func (*NodePrediction) XXX_Unmarshal

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

type PodPrediction

type PodPrediction struct {
	NamespacedName       *v1alpha21.NamespacedName `protobuf:"bytes,1,opt,name=namespaced_name,json=namespacedName,proto3" json:"namespaced_name,omitempty"`
	ContainerPredictions []*ContainerPrediction    `protobuf:"bytes,2,rep,name=container_predictions,json=containerPredictions,proto3" json:"container_predictions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

* Represents a list of predicted metrics data of a pod

func (*PodPrediction) Descriptor

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

func (*PodPrediction) GetContainerPredictions

func (m *PodPrediction) GetContainerPredictions() []*ContainerPrediction

func (*PodPrediction) GetNamespacedName

func (m *PodPrediction) GetNamespacedName() *v1alpha21.NamespacedName

func (*PodPrediction) ProtoMessage

func (*PodPrediction) ProtoMessage()

func (*PodPrediction) Reset

func (m *PodPrediction) Reset()

func (*PodPrediction) String

func (m *PodPrediction) String() string

func (*PodPrediction) XXX_DiscardUnknown

func (m *PodPrediction) XXX_DiscardUnknown()

func (*PodPrediction) XXX_Marshal

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

func (*PodPrediction) XXX_Merge

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

func (*PodPrediction) XXX_Size

func (m *PodPrediction) XXX_Size() int

func (*PodPrediction) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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