Documentation
¶
Index ¶
- Variables
- type LagAllocationSettings
- func (*LagAllocationSettings) Descriptor() ([]byte, []int)deprecated
- func (x *LagAllocationSettings) GetLagInfo() *LagInfo
- func (*LagAllocationSettings) ProtoMessage()
- func (x *LagAllocationSettings) ProtoReflect() protoreflect.Message
- func (x *LagAllocationSettings) Reset()
- func (m *LagAllocationSettings) SetLagInfo(v *LagInfo)
- func (x *LagAllocationSettings) String() string
- type LagAllocationSettingsRequest
- func (*LagAllocationSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (m *LagAllocationSettingsRequest) GetLag() isLagAllocationSettingsRequest_Lag
- func (x *LagAllocationSettingsRequest) GetLagInfo() *LagInfo
- func (x *LagAllocationSettingsRequest) GetLagSize() int64
- func (*LagAllocationSettingsRequest) ProtoMessage()
- func (x *LagAllocationSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *LagAllocationSettingsRequest) Reset()
- func (m *LagAllocationSettingsRequest) SetLag(v LagAllocationSettingsRequest_Lag)
- func (m *LagAllocationSettingsRequest) SetLagInfo(v *LagInfo)
- func (m *LagAllocationSettingsRequest) SetLagSize(v int64)
- func (x *LagAllocationSettingsRequest) String() string
- type LagAllocationSettingsRequest_Lag
- type LagAllocationSettingsRequest_LagInfo
- type LagAllocationSettingsRequest_LagSize
- type LagInfo
- func (*LagInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LagInfo) GetLagId() *wrapperspb.Int64Value
- func (x *LagInfo) GetPortNames() []string
- func (*LagInfo) ProtoMessage()
- func (x *LagInfo) ProtoReflect() protoreflect.Message
- func (x *LagInfo) Reset()
- func (m *LagInfo) SetLagId(v *wrapperspb.Int64Value)
- func (m *LagInfo) SetPortNames(v []string)
- func (x *LagInfo) String() string
- type TransceiverType
- func (TransceiverType) Descriptor() protoreflect.EnumDescriptor
- func (x TransceiverType) Enum() *TransceiverType
- func (TransceiverType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransceiverType) Number() protoreflect.EnumNumber
- func (x TransceiverType) String() string
- func (TransceiverType) Type() protoreflect.EnumType
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 (x *LagAllocationSettingsRequest) ProtoReflect() protoreflect.Message
func (*LagAllocationSettingsRequest) Reset ¶
func (x *LagAllocationSettingsRequest) Reset()
func (*LagAllocationSettingsRequest) SetLag ¶
func (m *LagAllocationSettingsRequest) SetLag(v LagAllocationSettingsRequest_Lag)
func (*LagAllocationSettingsRequest) SetLagInfo ¶
func (m *LagAllocationSettingsRequest) SetLagInfo(v *LagInfo)
func (*LagAllocationSettingsRequest) SetLagSize ¶
func (m *LagAllocationSettingsRequest) SetLagSize(v int64)
func (*LagAllocationSettingsRequest) String ¶
func (x *LagAllocationSettingsRequest) String() 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) GetLagId ¶
func (x *LagInfo) GetLagId() *wrapperspb.Int64Value
func (*LagInfo) GetPortNames ¶
func (*LagInfo) ProtoMessage ¶
func (*LagInfo) ProtoMessage()
func (*LagInfo) ProtoReflect ¶
func (x *LagInfo) ProtoReflect() protoreflect.Message
func (*LagInfo) SetLagId ¶
func (m *LagInfo) SetLagId(v *wrapperspb.Int64Value)
func (*LagInfo) SetPortNames ¶
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) Descriptor() protoreflect.EnumDescriptor
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 (x TransceiverType) Number() protoreflect.EnumNumber
func (TransceiverType) String ¶
func (x TransceiverType) String() string
func (TransceiverType) Type ¶
func (TransceiverType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.