cic

package
v0.0.0-...-dfe92c7 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TransceiverType_name = map[int32]string{
		0: "TRANSCEIVER_TYPE_UNSPECIFIED",
		1: "TRANSCEIVER_TYPE_1000BASE_LX",
		2: "TRANSCEIVER_TYPE_10GBASE_LR",
		3: "TRANSCEIVER_TYPE_10GBASE_ER",
		4: "TRANSCEIVER_TYPE_100GBASE_LR4",
		5: "TRANSCEIVER_TYPE_100GBASE_ER4",
	}
	TransceiverType_value = map[string]int32{
		"TRANSCEIVER_TYPE_UNSPECIFIED":  0,
		"TRANSCEIVER_TYPE_1000BASE_LX":  1,
		"TRANSCEIVER_TYPE_10GBASE_LR":   2,
		"TRANSCEIVER_TYPE_10GBASE_ER":   3,
		"TRANSCEIVER_TYPE_100GBASE_LR4": 4,
		"TRANSCEIVER_TYPE_100GBASE_ER4": 5,
	}
)

Enum value maps for TransceiverType.

View Source
var File_yandex_cloud_cic_v1_common_lag_allocation_settings_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cic_v1_common_lag_info_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cic_v1_common_transceiver_type_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type LagAllocationSettings

type LagAllocationSettings struct {

	// LagInfo
	LagInfo *LagInfo `protobuf:"bytes,14,opt,name=lag_info,json=lagInfo,proto3" json:"lag_info,omitempty"`
	// contains filtered or unexported fields
}

Structure that describes LAG allocation settings

func (*LagAllocationSettings) Descriptor deprecated

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

Deprecated: Use LagAllocationSettings.ProtoReflect.Descriptor instead.

func (*LagAllocationSettings) GetLagInfo

func (x *LagAllocationSettings) GetLagInfo() *LagInfo

func (*LagAllocationSettings) ProtoMessage

func (*LagAllocationSettings) ProtoMessage()

func (*LagAllocationSettings) ProtoReflect

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

func (*LagAllocationSettings) Reset

func (x *LagAllocationSettings) Reset()

func (*LagAllocationSettings) SetLagInfo

func (m *LagAllocationSettings) SetLagInfo(v *LagInfo)

func (*LagAllocationSettings) String

func (x *LagAllocationSettings) String() string

type LagAllocationSettingsRequest

type LagAllocationSettingsRequest struct {

	// Types that are assignable to Lag:
	//
	//	*LagAllocationSettingsRequest_LagSize
	//	*LagAllocationSettingsRequest_LagInfo
	Lag isLagAllocationSettingsRequest_Lag `protobuf_oneof:"lag"`
	// contains filtered or unexported fields
}

Structure for create and update requests that describes LAG allocation settings

func (*LagAllocationSettingsRequest) Descriptor deprecated

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

Deprecated: Use LagAllocationSettingsRequest.ProtoReflect.Descriptor instead.

func (*LagAllocationSettingsRequest) GetLag

func (m *LagAllocationSettingsRequest) GetLag() isLagAllocationSettingsRequest_Lag

func (*LagAllocationSettingsRequest) GetLagInfo

func (x *LagAllocationSettingsRequest) GetLagInfo() *LagInfo

func (*LagAllocationSettingsRequest) GetLagSize

func (x *LagAllocationSettingsRequest) GetLagSize() int64

func (*LagAllocationSettingsRequest) ProtoMessage

func (*LagAllocationSettingsRequest) ProtoMessage()

func (*LagAllocationSettingsRequest) ProtoReflect

func (*LagAllocationSettingsRequest) Reset

func (x *LagAllocationSettingsRequest) Reset()

func (*LagAllocationSettingsRequest) SetLag

func (*LagAllocationSettingsRequest) SetLagInfo

func (m *LagAllocationSettingsRequest) SetLagInfo(v *LagInfo)

func (*LagAllocationSettingsRequest) SetLagSize

func (m *LagAllocationSettingsRequest) SetLagSize(v int64)

func (*LagAllocationSettingsRequest) String

type LagAllocationSettingsRequest_Lag

type LagAllocationSettingsRequest_Lag = isLagAllocationSettingsRequest_Lag

type LagAllocationSettingsRequest_LagInfo

type LagAllocationSettingsRequest_LagInfo struct {
	// LagInfo
	LagInfo *LagInfo `protobuf:"bytes,14,opt,name=lag_info,json=lagInfo,proto3,oneof"`
}

type LagAllocationSettingsRequest_LagSize

type LagAllocationSettingsRequest_LagSize struct {
	// Size of LAG.
	// Must be from 1 to 10 inclusively.
	LagSize int64 `protobuf:"varint,13,opt,name=lag_size,json=lagSize,proto3,oneof"`
}

type LagInfo

type LagInfo struct {

	// ID of LAG.
	// Optional.
	// If is not set scheduler selects it by himself.
	LagId *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=lag_id,json=lagId,proto3" json:"lag_id,omitempty"`
	// List of port names that the LAG is deployed on.
	PortNames []string `protobuf:"bytes,2,rep,name=port_names,json=portNames,proto3" json:"port_names,omitempty"`
	// contains filtered or unexported fields
}

func (*LagInfo) Descriptor deprecated

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

Deprecated: Use LagInfo.ProtoReflect.Descriptor instead.

func (*LagInfo) GetLagId

func (x *LagInfo) GetLagId() *wrapperspb.Int64Value

func (*LagInfo) GetPortNames

func (x *LagInfo) GetPortNames() []string

func (*LagInfo) ProtoMessage

func (*LagInfo) ProtoMessage()

func (*LagInfo) ProtoReflect

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

func (*LagInfo) Reset

func (x *LagInfo) Reset()

func (*LagInfo) SetLagId

func (m *LagInfo) SetLagId(v *wrapperspb.Int64Value)

func (*LagInfo) SetPortNames

func (m *LagInfo) SetPortNames(v []string)

func (*LagInfo) String

func (x *LagInfo) String() string

type TransceiverType

type TransceiverType int32
const (
	TransceiverType_TRANSCEIVER_TYPE_UNSPECIFIED  TransceiverType = 0
	TransceiverType_TRANSCEIVER_TYPE_1000BASE_LX  TransceiverType = 1
	TransceiverType_TRANSCEIVER_TYPE_10GBASE_LR   TransceiverType = 2
	TransceiverType_TRANSCEIVER_TYPE_10GBASE_ER   TransceiverType = 3
	TransceiverType_TRANSCEIVER_TYPE_100GBASE_LR4 TransceiverType = 4
	TransceiverType_TRANSCEIVER_TYPE_100GBASE_ER4 TransceiverType = 5
)

func (TransceiverType) Descriptor

func (TransceiverType) Enum

func (x TransceiverType) Enum() *TransceiverType

func (TransceiverType) EnumDescriptor deprecated

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

Deprecated: Use TransceiverType.Descriptor instead.

func (TransceiverType) Number

func (TransceiverType) String

func (x TransceiverType) String() string

func (TransceiverType) Type

Jump to

Keyboard shortcuts

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