enums

package
v0.0.0-...-4c74c62 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeleteType_name = map[int32]string{
		0: "Soft",
		1: "Hard",
	}
	DeleteType_value = map[string]int32{
		"Soft": 0,
		"Hard": 1,
	}
)

Enum value maps for DeleteType.

View Source
var (
	PeriodType_name = map[int32]string{
		0: "Daily",
		1: "Weekly",
		2: "Monthly",
	}
	PeriodType_value = map[string]int32{
		"Daily":   0,
		"Weekly":  1,
		"Monthly": 2,
	}
)

Enum value maps for PeriodType.

View Source
var (
	MetricsType_name = map[int32]string{
		0: "Cpu",
		1: "Memory",
		2: "Disk",
		3: "Network",
		4: "Logs",
		5: "Nginx",
		6: "ReplicasCount",
		7: "Geth",
	}
	MetricsType_value = map[string]int32{
		"Cpu":           0,
		"Memory":        1,
		"Disk":          2,
		"Network":       3,
		"Logs":          4,
		"Nginx":         5,
		"ReplicasCount": 6,
		"Geth":          7,
	}
)

Enum value maps for MetricsType.

View Source
var (
	ResourceType_name = map[int32]string{
		0: "Deployment",
		1: "StatefulSet",
		2: "DaemonSet",
	}
	ResourceType_value = map[string]int32{
		"Deployment":  0,
		"StatefulSet": 1,
		"DaemonSet":   2,
	}
)

Enum value maps for ResourceType.

View Source
var (
	ValueType_name = map[int32]string{
		0: "Matrix",
		1: "Vector",
		2: "Scalar",
		3: "String",
	}
	ValueType_value = map[string]int32{
		"Matrix": 0,
		"Vector": 1,
		"Scalar": 2,
		"String": 3,
	}
)

Enum value maps for ValueType.

View Source
var (
	KeyType_name = map[int32]string{
		0: "HS256",
		1: "HS384",
		2: "HS512",
	}
	KeyType_value = map[string]int32{
		"HS256": 0,
		"HS384": 1,
		"HS512": 2,
	}
)

Enum value maps for KeyType.

View Source
var File_proto_enums_auth_proto protoreflect.FileDescriptor
View Source
var File_proto_enums_provider_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeleteType

type DeleteType int32
const (
	DeleteType_Soft DeleteType = 0
	DeleteType_Hard DeleteType = 1
)

func (DeleteType) Descriptor

func (DeleteType) Descriptor() protoreflect.EnumDescriptor

func (DeleteType) Enum

func (x DeleteType) Enum() *DeleteType

func (DeleteType) EnumDescriptor deprecated

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

Deprecated: Use DeleteType.Descriptor instead.

func (DeleteType) Number

func (x DeleteType) Number() protoreflect.EnumNumber

func (DeleteType) String

func (x DeleteType) String() string

func (DeleteType) Type

type KeyType

type KeyType int32
const (
	KeyType_HS256 KeyType = 0
	KeyType_HS384 KeyType = 1
	KeyType_HS512 KeyType = 2
)

func (KeyType) Descriptor

func (KeyType) Descriptor() protoreflect.EnumDescriptor

func (KeyType) Enum

func (x KeyType) Enum() *KeyType

func (KeyType) EnumDescriptor deprecated

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

Deprecated: Use KeyType.Descriptor instead.

func (KeyType) Number

func (x KeyType) Number() protoreflect.EnumNumber

func (KeyType) String

func (x KeyType) String() string

func (KeyType) Type

func (KeyType) Type() protoreflect.EnumType

type MetricsType

type MetricsType int32
const (
	MetricsType_Cpu           MetricsType = 0
	MetricsType_Memory        MetricsType = 1
	MetricsType_Disk          MetricsType = 2
	MetricsType_Network       MetricsType = 3
	MetricsType_Logs          MetricsType = 4
	MetricsType_Nginx         MetricsType = 5
	MetricsType_ReplicasCount MetricsType = 6
	MetricsType_Geth          MetricsType = 7
)

func (MetricsType) Descriptor

func (MetricsType) Enum

func (x MetricsType) Enum() *MetricsType

func (MetricsType) EnumDescriptor deprecated

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

Deprecated: Use MetricsType.Descriptor instead.

func (MetricsType) Number

func (x MetricsType) Number() protoreflect.EnumNumber

func (MetricsType) String

func (x MetricsType) String() string

func (MetricsType) Type

type PeriodType

type PeriodType int32
const (
	PeriodType_Daily   PeriodType = 0
	PeriodType_Weekly  PeriodType = 1
	PeriodType_Monthly PeriodType = 2
)

func (PeriodType) Descriptor

func (PeriodType) Descriptor() protoreflect.EnumDescriptor

func (PeriodType) Enum

func (x PeriodType) Enum() *PeriodType

func (PeriodType) EnumDescriptor deprecated

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

Deprecated: Use PeriodType.Descriptor instead.

func (PeriodType) Number

func (x PeriodType) Number() protoreflect.EnumNumber

func (PeriodType) String

func (x PeriodType) String() string

func (PeriodType) Type

type ResourceType

type ResourceType int32
const (
	ResourceType_Deployment  ResourceType = 0
	ResourceType_StatefulSet ResourceType = 1
	ResourceType_DaemonSet   ResourceType = 2
)

func (ResourceType) Descriptor

func (ResourceType) Enum

func (x ResourceType) Enum() *ResourceType

func (ResourceType) EnumDescriptor deprecated

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

Deprecated: Use ResourceType.Descriptor instead.

func (ResourceType) Number

func (ResourceType) String

func (x ResourceType) String() string

func (ResourceType) Type

type ValueType

type ValueType int32
const (
	ValueType_Matrix ValueType = 0
	ValueType_Vector ValueType = 1
	ValueType_Scalar ValueType = 2
	ValueType_String ValueType = 3
)

func (ValueType) Descriptor

func (ValueType) Descriptor() protoreflect.EnumDescriptor

func (ValueType) Enum

func (x ValueType) Enum() *ValueType

func (ValueType) EnumDescriptor deprecated

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

Deprecated: Use ValueType.Descriptor instead.

func (ValueType) Number

func (x ValueType) Number() protoreflect.EnumNumber

func (ValueType) String

func (x ValueType) String() string

func (ValueType) Type

Jump to

Keyboard shortcuts

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