controller

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ControllerStatus_name = map[int32]string{
		0: "RUNNING",
		1: "IDLE",
	}
	ControllerStatus_value = map[string]int32{
		"RUNNING": 0,
		"IDLE":    1,
	}
)

Enum value maps for ControllerStatus.

View Source
var File_health_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ControllerHealth

type ControllerHealth struct {
	Status ControllerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=controller.ControllerStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ControllerHealth) Descriptor deprecated

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

Deprecated: Use ControllerHealth.ProtoReflect.Descriptor instead.

func (*ControllerHealth) GetStatus

func (x *ControllerHealth) GetStatus() ControllerStatus

func (*ControllerHealth) ProtoMessage

func (*ControllerHealth) ProtoMessage()

func (*ControllerHealth) ProtoReflect

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

func (*ControllerHealth) Reset

func (x *ControllerHealth) Reset()

func (*ControllerHealth) String

func (x *ControllerHealth) String() string

type ControllerInfo

type ControllerInfo struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ControllerInfo) Descriptor deprecated

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

Deprecated: Use ControllerInfo.ProtoReflect.Descriptor instead.

func (*ControllerInfo) GetName

func (x *ControllerInfo) GetName() string

func (*ControllerInfo) GetVersion

func (x *ControllerInfo) GetVersion() string

func (*ControllerInfo) ProtoMessage

func (*ControllerInfo) ProtoMessage()

func (*ControllerInfo) ProtoReflect

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

func (*ControllerInfo) Reset

func (x *ControllerInfo) Reset()

func (*ControllerInfo) String

func (x *ControllerInfo) String() string

type ControllerStatus

type ControllerStatus int32
const (
	ControllerStatus_RUNNING ControllerStatus = 0
	ControllerStatus_IDLE    ControllerStatus = 1
)

func (ControllerStatus) Descriptor

func (ControllerStatus) Enum

func (ControllerStatus) EnumDescriptor deprecated

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

Deprecated: Use ControllerStatus.Descriptor instead.

func (ControllerStatus) Number

func (ControllerStatus) String

func (x ControllerStatus) String() string

func (ControllerStatus) Type

Jump to

Keyboard shortcuts

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