Documentation ¶
Index ¶
- Variables
- type WorkloadType
- func (WorkloadType) Descriptor() protoreflect.EnumDescriptor
- func (x WorkloadType) Enum() *WorkloadType
- func (WorkloadType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkloadType) Number() protoreflect.EnumNumber
- func (x WorkloadType) String() string
- func (WorkloadType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WorkloadType_name = map[int32]string{ 0: "WORKLOAD_TYPE_UNSPECIFIED", 1: "WORKLOAD_TYPE_EXPERIMENT", 2: "WORKLOAD_TYPE_NTSC", } WorkloadType_value = map[string]int32{ "WORKLOAD_TYPE_UNSPECIFIED": 0, "WORKLOAD_TYPE_EXPERIMENT": 1, "WORKLOAD_TYPE_NTSC": 2, } )
Enum value maps for WorkloadType.
View Source
var File_determined_configpolicy_v1_configpolicy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type WorkloadType ¶
type WorkloadType int32
The workload type.
const ( // The workload type is unknown. WorkloadType_WORKLOAD_TYPE_UNSPECIFIED WorkloadType = 0 // The workload is an experiment. WorkloadType_WORKLOAD_TYPE_EXPERIMENT WorkloadType = 1 // The workload is an NTSC task. WorkloadType_WORKLOAD_TYPE_NTSC WorkloadType = 2 )
func (WorkloadType) Descriptor ¶
func (WorkloadType) Descriptor() protoreflect.EnumDescriptor
func (WorkloadType) Enum ¶
func (x WorkloadType) Enum() *WorkloadType
func (WorkloadType) EnumDescriptor
deprecated
func (WorkloadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkloadType.Descriptor instead.
func (WorkloadType) Number ¶
func (x WorkloadType) Number() protoreflect.EnumNumber
func (WorkloadType) String ¶
func (x WorkloadType) String() string
func (WorkloadType) Type ¶
func (WorkloadType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.