Documentation ¶
Index ¶
- Variables
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetId() string
- func (x *Certificate) GetNotAfterTime() *timestamppb.Timestamp
- func (x *Certificate) GetNotBeforeTime() *timestamppb.Timestamp
- func (x *Certificate) GetPublicKeySha256() string
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CertificateAuthority
- func (*CertificateAuthority) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateAuthority) GetCerts() []*Certificate
- func (*CertificateAuthority) ProtoMessage()
- func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
- func (x *CertificateAuthority) Reset()
- func (x *CertificateAuthority) String() string
- type Worker
- func (*Worker) Descriptor() ([]byte, []int)deprecated
- func (x *Worker) GetActiveConnectionCount() *wrapperspb.UInt32Value
- func (x *Worker) GetAddress() string
- func (x *Worker) GetApiTags() map[string]*structpb.ListValue
- func (x *Worker) GetAuthorizedActions() []string
- func (x *Worker) GetCanonicalTags() map[string]*structpb.ListValue
- func (x *Worker) GetConfigTags() map[string]*structpb.ListValue
- func (x *Worker) GetControllerGeneratedActivationToken() *wrapperspb.StringValue
- func (x *Worker) GetCreatedTime() *timestamppb.Timestamp
- func (x *Worker) GetDescription() *wrapperspb.StringValue
- func (x *Worker) GetId() string
- func (x *Worker) GetLastStatusTime() *timestamppb.Timestamp
- func (x *Worker) GetName() *wrapperspb.StringValue
- func (x *Worker) GetReleaseVersion() string
- func (x *Worker) GetScope() *scopes.ScopeInfo
- func (x *Worker) GetScopeId() string
- func (x *Worker) GetType() string
- func (x *Worker) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Worker) GetVersion() uint32
- func (x *Worker) GetWorkerGeneratedAuthToken() *wrapperspb.StringValue
- func (*Worker) ProtoMessage()
- func (x *Worker) ProtoReflect() protoreflect.Message
- func (x *Worker) Reset()
- func (x *Worker) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_workers_v1_worker_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Certificate ¶ added in v0.0.23
type Certificate struct { // Output only. The ID of the certificate Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The public key of the cert authority PublicKeySha256 string `protobuf:"bytes,20,opt,name=public_key_sha256,json=publicKeySha256,proto3" json:"public_key_sha256,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The time before which this CA is invalid NotBeforeTime *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=not_before_time,json=notBeforeTime,proto3" json:"not_before_time,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The time after which this CA is invalid NotAfterTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=not_after_time,json=notAfterTime,proto3" json:"not_after_time,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
func (*Certificate) Descriptor
deprecated
added in
v0.0.23
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetId ¶ added in v0.0.23
func (x *Certificate) GetId() string
func (*Certificate) GetNotAfterTime ¶ added in v0.0.23
func (x *Certificate) GetNotAfterTime() *timestamppb.Timestamp
func (*Certificate) GetNotBeforeTime ¶ added in v0.0.23
func (x *Certificate) GetNotBeforeTime() *timestamppb.Timestamp
func (*Certificate) GetPublicKeySha256 ¶ added in v0.0.23
func (x *Certificate) GetPublicKeySha256() string
func (*Certificate) ProtoMessage ¶ added in v0.0.23
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶ added in v0.0.23
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶ added in v0.0.23
func (x *Certificate) Reset()
func (*Certificate) String ¶ added in v0.0.23
func (x *Certificate) String() string
type CertificateAuthority ¶ added in v0.0.23
type CertificateAuthority struct { Certs []*Certificate `protobuf:"bytes,10,rep,name=certs,proto3" json:"certs,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
func (*CertificateAuthority) Descriptor
deprecated
added in
v0.0.23
func (*CertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority) GetCerts ¶ added in v0.0.23
func (x *CertificateAuthority) GetCerts() []*Certificate
func (*CertificateAuthority) ProtoMessage ¶ added in v0.0.23
func (*CertificateAuthority) ProtoMessage()
func (*CertificateAuthority) ProtoReflect ¶ added in v0.0.23
func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority) Reset ¶ added in v0.0.23
func (x *CertificateAuthority) Reset()
func (*CertificateAuthority) String ¶ added in v0.0.23
func (x *CertificateAuthority) String() string
type Worker ¶
type Worker struct { // Output only. The ID of the User. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"` // The ID of the Scope this resource is in. ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. Scope information for this resource. Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"` // Optional name for identification purposes. Can only be set through the API // for `pki`-type workers; read-only for `kms`-type workers. Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"` // Optional user-set description for identification purposes. Can only be set // through the API for `pki`-type workers; read-only for `kms`-type workers. Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"` // Output only. The time this resource was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The time this resource was last updated. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public"` // @gotags: `class:"public"` // Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. // The mutation will fail if the version does not match the latest known good version. Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The address that this worker is reachable at, as sourced from // the worker's configuration file. Address string `protobuf:"bytes,90,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The deduplicated union of the tags reported by the worker from // its configuration and any tags added through other means. This is used // when applying worker filters. CanonicalTags map[string]*structpb.ListValue `` // @gotags: `class:"public"` /* 186-byte string literal not displayed */ // Output only. The tags set in the worker's configuration file. ConfigTags map[string]*structpb.ListValue `` // @gotags: `class:"public"` /* 180-byte string literal not displayed */ // Output only. The time this worker daemon last reported its status. LastStatusTime *timestamppb.Timestamp `protobuf:"bytes,140,opt,name=last_status_time,proto3" json:"last_status_time,omitempty" class:"public"` // @gotags: `class:"public"` // worker_generated_auth_token is input only. Supports the worker led node // enrollment flow where this credentials token is produced by a worker. This // token is a base58 encoded types.FetchNodeCredentialsRequest from // https://github.com/hashicorp/nodeenrollment WorkerGeneratedAuthToken *wrapperspb.StringValue `protobuf:"bytes,150,opt,name=worker_generated_auth_token,proto3" json:"worker_generated_auth_token,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. An activation token that can be given to a worker to correlate // it to the created resource. ControllerGeneratedActivationToken *wrapperspb.StringValue `` // @gotags: `class:"secret"` /* 144-byte string literal not displayed */ // Output only. The number of connections that this worker is currently handling. ActiveConnectionCount *wrapperspb.UInt32Value `protobuf:"bytes,160,opt,name=active_connection_count,proto3" json:"active_connection_count,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The type of the worker, denoted by how it authenticates: `pki` // or `kms`. Type string `protobuf:"bytes,170,opt,name=type,proto3" json:"type,omitempty"` // Output only. The api tags set for the worker. ApiTags map[string]*structpb.ListValue `` // @gotags: `class:"public"` /* 174-byte string literal not displayed */ // Output only. The version of the Boundary binary the worker is running. ReleaseVersion string `protobuf:"bytes,190,opt,name=release_version,proto3" json:"release_version,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The available actions on this resource for the requester. AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
Worker contains all fields related to a Worker resource
func (*Worker) Descriptor
deprecated
func (*Worker) GetActiveConnectionCount ¶
func (x *Worker) GetActiveConnectionCount() *wrapperspb.UInt32Value
func (*Worker) GetAddress ¶
func (*Worker) GetApiTags ¶ added in v0.0.18
func (*Worker) GetAuthorizedActions ¶
func (*Worker) GetCanonicalTags ¶
func (*Worker) GetControllerGeneratedActivationToken ¶ added in v0.0.22
func (x *Worker) GetControllerGeneratedActivationToken() *wrapperspb.StringValue
func (*Worker) GetCreatedTime ¶
func (x *Worker) GetCreatedTime() *timestamppb.Timestamp
func (*Worker) GetDescription ¶
func (x *Worker) GetDescription() *wrapperspb.StringValue
func (*Worker) GetLastStatusTime ¶
func (x *Worker) GetLastStatusTime() *timestamppb.Timestamp
func (*Worker) GetName ¶
func (x *Worker) GetName() *wrapperspb.StringValue
func (*Worker) GetReleaseVersion ¶ added in v0.0.23
func (*Worker) GetScopeId ¶
func (*Worker) GetUpdatedTime ¶
func (x *Worker) GetUpdatedTime() *timestamppb.Timestamp
func (*Worker) GetVersion ¶
func (*Worker) GetWorkerGeneratedAuthToken ¶
func (x *Worker) GetWorkerGeneratedAuthToken() *wrapperspb.StringValue
func (*Worker) ProtoMessage ¶
func (*Worker) ProtoMessage()
func (*Worker) ProtoReflect ¶
func (x *Worker) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.