Documentation
¶
Index ¶
- Variables
- type ServerWorkerStatus
- func (*ServerWorkerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ServerWorkerStatus) GetAddress() string
- func (x *ServerWorkerStatus) GetDescription() string
- func (x *ServerWorkerStatus) GetKeyId() string
- func (x *ServerWorkerStatus) GetName() string
- func (x *ServerWorkerStatus) GetPublicId() string
- func (x *ServerWorkerStatus) GetTags() []*TagPair
- func (*ServerWorkerStatus) ProtoMessage()
- func (x *ServerWorkerStatus) ProtoReflect() protoreflect.Message
- func (x *ServerWorkerStatus) Reset()
- func (x *ServerWorkerStatus) String() string
- type TagPair
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) ProtoMessage ¶
func (*TagPair) ProtoMessage()
func (*TagPair) ProtoReflect ¶
func (x *TagPair) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.