traitv1

package
v0.0.0-...-8f91da0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_teleport_trait_v1_trait_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Trait

type Trait struct {

	// key is the name of the trait.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// values is the list of trait values.
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Trait is a trait that can be use in various resources.

func (*Trait) Descriptor deprecated

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

Deprecated: Use Trait.ProtoReflect.Descriptor instead.

func (*Trait) GetKey

func (x *Trait) GetKey() string

func (*Trait) GetValues

func (x *Trait) GetValues() []string

func (*Trait) ProtoMessage

func (*Trait) ProtoMessage()

func (*Trait) ProtoReflect

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

func (*Trait) Reset

func (x *Trait) Reset()

func (*Trait) String

func (x *Trait) String() string

Jump to

Keyboard shortcuts

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