Help us shape the future of Go! Take the 2026 Go Developer Survey

hostcatalogs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MPL-2.0 Imports: 9 Imported by: 0

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"`
	// 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"`
	// 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.
	Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
	// 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"`
	// The type of Host Catalog.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
	// Attributes specific to the catalog type.
	Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// 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"`
	// Output only. The authorized actions for the scope's collections.
	AuthorizedCollectionActions map[string]*structpb.ListValue `` /* 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) GetAuthorizedActions added in v0.1.5

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

func (*HostCatalog) GetAuthorizedCollectionActions added in v0.1.5

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) GetScope

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

func (*HostCatalog) GetScopeId

func (x *HostCatalog) GetScopeId() 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) 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

Jump to

Keyboard shortcuts

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