servers

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_servers_v1_servers_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ServerWorkerStatus

type ServerWorkerStatus struct {

	// Id of the worker.
	PublicId string `protobuf:"bytes,10,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Name of the resource (optional)
	Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Description of the resource (optional)
	Description string `protobuf:"bytes,25,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
	// Address for the worker. This must be set.
	Address string `protobuf:"bytes,30,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"`
	// Tags for workers
	Tags []*TagPair `protobuf:"bytes,40,rep,name=tags,proto3" json:"tags,omitempty"`
	// The key id for this worker, if applicable (optional)
	KeyId string `protobuf:"bytes,50,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// contains filtered or unexported fields
}

ServerWorkerStatus is the new message used in place of Server to relay status request info.

func (*ServerWorkerStatus) Descriptor deprecated

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

Deprecated: Use ServerWorkerStatus.ProtoReflect.Descriptor instead.

func (*ServerWorkerStatus) GetAddress

func (x *ServerWorkerStatus) GetAddress() string

func (*ServerWorkerStatus) GetDescription

func (x *ServerWorkerStatus) GetDescription() string

func (*ServerWorkerStatus) GetKeyId

func (x *ServerWorkerStatus) GetKeyId() string

func (*ServerWorkerStatus) GetName

func (x *ServerWorkerStatus) GetName() string

func (*ServerWorkerStatus) GetPublicId

func (x *ServerWorkerStatus) GetPublicId() string

func (*ServerWorkerStatus) GetTags

func (x *ServerWorkerStatus) GetTags() []*TagPair

func (*ServerWorkerStatus) ProtoMessage

func (*ServerWorkerStatus) ProtoMessage()

func (*ServerWorkerStatus) ProtoReflect

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

func (*ServerWorkerStatus) Reset

func (x *ServerWorkerStatus) Reset()

func (*ServerWorkerStatus) String

func (x *ServerWorkerStatus) String() string

type TagPair

type TagPair struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" class:"public"`     // @gotags: `class:"public"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" class:"public"` // @gotags: `class:"public"`
	// contains filtered or unexported fields
}

TagPair matches a key to a value.

func (*TagPair) Descriptor deprecated

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

Deprecated: Use TagPair.ProtoReflect.Descriptor instead.

func (*TagPair) GetKey

func (x *TagPair) GetKey() string

func (*TagPair) GetValue

func (x *TagPair) GetValue() string

func (*TagPair) ProtoMessage

func (*TagPair) ProtoMessage()

func (*TagPair) ProtoReflect

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

func (*TagPair) Reset

func (x *TagPair) Reset()

func (*TagPair) String

func (x *TagPair) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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