attestz

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ControlCardRole_name = map[int32]string{
		0: "CONTROL_CARD_ROLE_UNSPECIFIED",
		1: "CONTROL_CARD_ROLE_ACTIVE",
		2: "CONTROL_CARD_ROLE_STANDBY",
	}
	ControlCardRole_value = map[string]int32{
		"CONTROL_CARD_ROLE_UNSPECIFIED": 0,
		"CONTROL_CARD_ROLE_ACTIVE":      1,
		"CONTROL_CARD_ROLE_STANDBY":     2,
	}
)

Enum value maps for ControlCardRole.

View Source
var File_github_com_openconfig_attestz_proto_common_definitions_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ControlCardRole

type ControlCardRole int32
const (
	ControlCardRole_CONTROL_CARD_ROLE_UNSPECIFIED ControlCardRole = 0
	ControlCardRole_CONTROL_CARD_ROLE_ACTIVE      ControlCardRole = 1
	ControlCardRole_CONTROL_CARD_ROLE_STANDBY     ControlCardRole = 2
)

func (ControlCardRole) Descriptor

func (ControlCardRole) Enum

func (x ControlCardRole) Enum() *ControlCardRole

func (ControlCardRole) EnumDescriptor deprecated

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

Deprecated: Use ControlCardRole.Descriptor instead.

func (ControlCardRole) Number

func (ControlCardRole) String

func (x ControlCardRole) String() string

func (ControlCardRole) Type

type ControlCardSelection

type ControlCardSelection struct {

	// Types that are assignable to ControlCardId:
	//
	//	*ControlCardSelection_Role
	//	*ControlCardSelection_Serial
	//	*ControlCardSelection_Slot
	ControlCardId isControlCardSelection_ControlCardId `protobuf_oneof:"control_card_id"`
	// contains filtered or unexported fields
}

func (*ControlCardSelection) Descriptor deprecated

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

Deprecated: Use ControlCardSelection.ProtoReflect.Descriptor instead.

func (*ControlCardSelection) GetControlCardId

func (m *ControlCardSelection) GetControlCardId() isControlCardSelection_ControlCardId

func (*ControlCardSelection) GetRole

func (*ControlCardSelection) GetSerial

func (x *ControlCardSelection) GetSerial() string

func (*ControlCardSelection) GetSlot

func (x *ControlCardSelection) GetSlot() string

func (*ControlCardSelection) ProtoMessage

func (*ControlCardSelection) ProtoMessage()

func (*ControlCardSelection) ProtoReflect

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

func (*ControlCardSelection) Reset

func (x *ControlCardSelection) Reset()

func (*ControlCardSelection) String

func (x *ControlCardSelection) String() string

type ControlCardSelection_Role

type ControlCardSelection_Role struct {
	Role ControlCardRole `protobuf:"varint,1,opt,name=role,proto3,enum=openconfig.attestz.ControlCardRole,oneof"`
}

type ControlCardSelection_Serial

type ControlCardSelection_Serial struct {
	Serial string `protobuf:"bytes,2,opt,name=serial,proto3,oneof"`
}

type ControlCardSelection_Slot

type ControlCardSelection_Slot struct {
	Slot string `protobuf:"bytes,3,opt,name=slot,proto3,oneof"`
}

type ControlCardVendorId

type ControlCardVendorId struct {
	ControlCardRole     ControlCardRole `` /* 149-byte string literal not displayed */
	ControlCardSerial   string          `protobuf:"bytes,2,opt,name=control_card_serial,json=controlCardSerial,proto3" json:"control_card_serial,omitempty"`
	ControlCardSlot     string          `protobuf:"bytes,3,opt,name=control_card_slot,json=controlCardSlot,proto3" json:"control_card_slot,omitempty"`
	ChassisManufacturer string          `protobuf:"bytes,4,opt,name=chassis_manufacturer,json=chassisManufacturer,proto3" json:"chassis_manufacturer,omitempty"`
	ChassisPartNumber   string          `protobuf:"bytes,5,opt,name=chassis_part_number,json=chassisPartNumber,proto3" json:"chassis_part_number,omitempty"`
	ChassisSerialNumber string          `protobuf:"bytes,6,opt,name=chassis_serial_number,json=chassisSerialNumber,proto3" json:"chassis_serial_number,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlCardVendorId) Descriptor deprecated

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

Deprecated: Use ControlCardVendorId.ProtoReflect.Descriptor instead.

func (*ControlCardVendorId) GetChassisManufacturer

func (x *ControlCardVendorId) GetChassisManufacturer() string

func (*ControlCardVendorId) GetChassisPartNumber

func (x *ControlCardVendorId) GetChassisPartNumber() string

func (*ControlCardVendorId) GetChassisSerialNumber

func (x *ControlCardVendorId) GetChassisSerialNumber() string

func (*ControlCardVendorId) GetControlCardRole

func (x *ControlCardVendorId) GetControlCardRole() ControlCardRole

func (*ControlCardVendorId) GetControlCardSerial

func (x *ControlCardVendorId) GetControlCardSerial() string

func (*ControlCardVendorId) GetControlCardSlot

func (x *ControlCardVendorId) GetControlCardSlot() string

func (*ControlCardVendorId) ProtoMessage

func (*ControlCardVendorId) ProtoMessage()

func (*ControlCardVendorId) ProtoReflect

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

func (*ControlCardVendorId) Reset

func (x *ControlCardVendorId) Reset()

func (*ControlCardVendorId) String

func (x *ControlCardVendorId) String() string

Jump to

Keyboard shortcuts

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