hostthermal

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/HostThermal.Temp"

Variables

View Source
var (
	ErrInvalidLengthHostthermal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHostthermal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHostthermal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var TempCpuState_name = map[int32]string{
	0: "CPU_TEMP_NONE",
	1: "CPU_TEMP_NORMAL",
	2: "CPU_TEMP_HIGH",
	3: "CPU_TEMP_CRITICAL",
}
View Source
var TempCpuState_value = map[string]int32{
	"CPU_TEMP_NONE":     0,
	"CPU_TEMP_NORMAL":   1,
	"CPU_TEMP_HIGH":     2,
	"CPU_TEMP_CRITICAL": 3,
}

Functions

This section is empty.

Types

type Temp

type Temp struct {
	State                TempCpuState `protobuf:"varint,1,opt,name=state,proto3,enum=HostThermal.TempCpuState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Temp) Descriptor

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

func (*Temp) GetState

func (m *Temp) GetState() TempCpuState

func (*Temp) Marshal

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

func (*Temp) MarshalTo

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

func (*Temp) MarshalToSizedBuffer

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

func (*Temp) Name

func (*Temp) Name() string

func (*Temp) New

func (*Temp) New() types.Message

func (*Temp) ProtoMessage

func (*Temp) ProtoMessage()

func (*Temp) Reset

func (m *Temp) Reset()

func (*Temp) Size

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

func (*Temp) String

func (m *Temp) String() string

func (*Temp) Unmarshal

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

func (*Temp) XXX_DiscardUnknown

func (m *Temp) XXX_DiscardUnknown()

func (*Temp) XXX_Marshal

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

func (*Temp) XXX_Merge

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

func (*Temp) XXX_MessageName

func (*Temp) XXX_MessageName() string

func (*Temp) XXX_Size

func (m *Temp) XXX_Size() int

func (*Temp) XXX_Unmarshal

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

type TempCpuState

type TempCpuState int32
const (
	Temp_CPU_TEMP_NONE     TempCpuState = 0
	Temp_CPU_TEMP_NORMAL   TempCpuState = 1
	Temp_CPU_TEMP_HIGH     TempCpuState = 2
	Temp_CPU_TEMP_CRITICAL TempCpuState = 3
)

func (TempCpuState) EnumDescriptor

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

func (TempCpuState) String

func (x TempCpuState) String() string

Jump to

Keyboard shortcuts

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