rpi3

package
v0.0.0-...-03891ea Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "type.googleapis.com/RPi3.Pi"

Variables

View Source
var (
	ErrInvalidLengthRpi3        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRpi3          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRpi3 = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Pi_Model_name = map[int32]string{
	0: "ThreeB",
	1: "ThreeBPlus",
}
View Source
var Pi_Model_value = map[string]int32{
	"ThreeB":     0,
	"ThreeBPlus": 1,
}
View Source
var Pi_PXE_name = map[int32]string{
	0: "NONE",
	1: "WAIT",
	2: "INIT",
}
View Source
var Pi_PXE_value = map[string]int32{
	"NONE": 0,
	"WAIT": 1,
	"INIT": 2,
}

Functions

This section is empty.

Types

type Pi

type Pi struct {
	Chassis              string   `protobuf:"bytes,1,opt,name=chassis,proto3" json:"chassis,omitempty"`
	Rank                 uint32   `protobuf:"varint,2,opt,name=rank,proto3" json:"rank,omitempty"`
	Model                Pi_Model `protobuf:"varint,3,opt,name=model,proto3,enum=RPi3.Pi_Model" json:"model,omitempty"`
	Pxe                  Pi_PXE   `protobuf:"varint,4,opt,name=pxe,proto3,enum=RPi3.Pi_PXE" json:"pxe,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Pi) Descriptor

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

func (*Pi) GetChassis

func (m *Pi) GetChassis() string

func (*Pi) GetModel

func (m *Pi) GetModel() Pi_Model

func (*Pi) GetPxe

func (m *Pi) GetPxe() Pi_PXE

func (*Pi) GetRank

func (m *Pi) GetRank() uint32

func (*Pi) Marshal

func (m *Pi) Marshal() (dAtA []byte, err error)

func (*Pi) MarshalTo

func (m *Pi) MarshalTo(dAtA []byte) (int, error)

func (*Pi) MarshalToSizedBuffer

func (m *Pi) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pi) Name

func (*Pi) Name() string

func (*Pi) New

func (*Pi) New() types.Message

func (*Pi) ProtoMessage

func (*Pi) ProtoMessage()

func (*Pi) Reset

func (m *Pi) Reset()

func (*Pi) Size

func (m *Pi) Size() (n int)

func (*Pi) String

func (m *Pi) String() string

func (*Pi) Unmarshal

func (m *Pi) Unmarshal(dAtA []byte) error

func (*Pi) XXX_DiscardUnknown

func (m *Pi) XXX_DiscardUnknown()

func (*Pi) XXX_Marshal

func (m *Pi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pi) XXX_Merge

func (m *Pi) XXX_Merge(src proto.Message)

func (*Pi) XXX_MessageName

func (*Pi) XXX_MessageName() string

func (*Pi) XXX_Size

func (m *Pi) XXX_Size() int

func (*Pi) XXX_Unmarshal

func (m *Pi) XXX_Unmarshal(b []byte) error

type Pi_Model

type Pi_Model int32
const (
	Pi_ThreeB     Pi_Model = 0
	Pi_ThreeBPlus Pi_Model = 1
)

func (Pi_Model) EnumDescriptor

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

func (Pi_Model) String

func (x Pi_Model) String() string

type Pi_PXE

type Pi_PXE int32
const (
	Pi_NONE Pi_PXE = 0
	Pi_WAIT Pi_PXE = 1
	Pi_INIT Pi_PXE = 2
)

func (Pi_PXE) EnumDescriptor

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

func (Pi_PXE) String

func (x Pi_PXE) String() string

Jump to

Keyboard shortcuts

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