hostcatalogs

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MPL-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_hostcatalogs_v1_host_catalog_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HostCatalog

type HostCatalog struct {

	// Output only. The ID of the host.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// The ID of the Scope of which this Host Catalog is a part.
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// The ID of the plugin of which this catalog is created.
	PluginId string `protobuf:"bytes,34,opt,name=plugin_id,proto3" json:"plugin_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Plugin information for this resource.
	Plugin *plugins.PluginInfo `protobuf:"bytes,35,opt,name=plugin,proto3" json:"plugin,omitempty"`
	// Optional name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
	// 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" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// 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" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// 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"`
	// The type of Host Catalog.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Types that are assignable to Attrs:
	//
	//	*HostCatalog_Attributes
	Attrs isHostCatalog_Attrs `protobuf_oneof:"attrs"`
	// Secrets specific to the catalog type. These are never output.
	Secrets *structpb.Struct `protobuf:"bytes,110,opt,name=secrets,proto3" json:"secrets,omitempty"`
	// Output only. The HMAC of the last secrets supplied via the API, if any.
	SecretsHmac string `protobuf:"bytes,120,opt,name=secrets_hmac,json=secretsHmac,proto3" json:"secrets_hmac,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional worker filter for plugin-subtype host catalogs. Boundary Enterprise only.
	WorkerFilter *wrapperspb.StringValue `protobuf:"bytes,130,opt,name=worker_filter,json=workerFilter,proto3" json:"worker_filter,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The authorized actions for the scope's collections.
	AuthorizedCollectionActions map[string]*structpb.ListValue `` // classified as public via taggable implementation
	/* 201-byte string literal not displayed */
	// contains filtered or unexported fields
}

HostCatalog manages Hosts and Host Sets

func (*HostCatalog) Descriptor deprecated

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

Deprecated: Use HostCatalog.ProtoReflect.Descriptor instead.

func (*HostCatalog) GetAttributes

func (x *HostCatalog) GetAttributes() *structpb.Struct

func (*HostCatalog) GetAttrs added in v0.0.15

func (m *HostCatalog) GetAttrs() isHostCatalog_Attrs

func (*HostCatalog) GetAuthorizedActions

func (x *HostCatalog) GetAuthorizedActions() []string

func (*HostCatalog) GetAuthorizedCollectionActions

func (x *HostCatalog) GetAuthorizedCollectionActions() map[string]*structpb.ListValue

func (*HostCatalog) GetCreatedTime

func (x *HostCatalog) GetCreatedTime() *timestamppb.Timestamp

func (*HostCatalog) GetDescription

func (x *HostCatalog) GetDescription() *wrapperspb.StringValue

func (*HostCatalog) GetId

func (x *HostCatalog) GetId() string

func (*HostCatalog) GetName

func (x *HostCatalog) GetName() *wrapperspb.StringValue

func (*HostCatalog) GetPlugin added in v0.0.12

func (x *HostCatalog) GetPlugin() *plugins.PluginInfo

func (*HostCatalog) GetPluginId added in v0.0.12

func (x *HostCatalog) GetPluginId() string

func (*HostCatalog) GetScope

func (x *HostCatalog) GetScope() *scopes.ScopeInfo

func (*HostCatalog) GetScopeId

func (x *HostCatalog) GetScopeId() string

func (*HostCatalog) GetSecrets added in v0.0.12

func (x *HostCatalog) GetSecrets() *structpb.Struct

func (*HostCatalog) GetSecretsHmac added in v0.0.12

func (x *HostCatalog) GetSecretsHmac() string

func (*HostCatalog) GetType

func (x *HostCatalog) GetType() string

func (*HostCatalog) GetUpdatedTime

func (x *HostCatalog) GetUpdatedTime() *timestamppb.Timestamp

func (*HostCatalog) GetVersion

func (x *HostCatalog) GetVersion() uint32

func (*HostCatalog) GetWorkerFilter added in v0.0.49

func (x *HostCatalog) GetWorkerFilter() *wrapperspb.StringValue

func (*HostCatalog) ProtoMessage

func (*HostCatalog) ProtoMessage()

func (*HostCatalog) ProtoReflect

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

func (*HostCatalog) Reset

func (x *HostCatalog) Reset()

func (*HostCatalog) String

func (x *HostCatalog) String() string

func (*HostCatalog) Tags added in v0.0.15

func (req *HostCatalog) Tags() ([]encrypt.PointerTag, error)

Tags implements the encrypt.Taggable interface which allows HostCatalog map fields to be classified for the encrypt filter.

type HostCatalog_Attributes added in v0.0.15

type HostCatalog_Attributes struct {
	// Attributes specific to the catalog type.
	Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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