Documentation ¶
Index ¶
- Variables
- type Alias
- func (*Alias) Descriptor() ([]byte, []int)deprecated
- func (x *Alias) GetAttributes() *structpb.Struct
- func (m *Alias) GetAttrs() isAlias_Attrs
- func (x *Alias) GetAuthorizedActions() []string
- func (x *Alias) GetCreatedTime() *timestamppb.Timestamp
- func (x *Alias) GetDescription() *wrapperspb.StringValue
- func (x *Alias) GetDestinationId() *wrapperspb.StringValue
- func (x *Alias) GetId() string
- func (x *Alias) GetName() *wrapperspb.StringValue
- func (x *Alias) GetScope() *scopes.ScopeInfo
- func (x *Alias) GetScopeId() string
- func (x *Alias) GetTargetAliasAttributes() *TargetAliasAttributes
- func (x *Alias) GetType() string
- func (x *Alias) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Alias) GetValue() string
- func (x *Alias) GetVersion() uint32
- func (*Alias) ProtoMessage()
- func (x *Alias) ProtoReflect() protoreflect.Message
- func (x *Alias) Reset()
- func (x *Alias) String() string
- type Alias_Attributes
- type Alias_TargetAliasAttributes
- type AuthorizeSessionArguments
- func (*AuthorizeSessionArguments) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeSessionArguments) GetHostId() string
- func (*AuthorizeSessionArguments) ProtoMessage()
- func (x *AuthorizeSessionArguments) ProtoReflect() protoreflect.Message
- func (x *AuthorizeSessionArguments) Reset()
- func (x *AuthorizeSessionArguments) String() string
- type TargetAliasAttributes
- func (*TargetAliasAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *TargetAliasAttributes) GetAuthorizeSessionArguments() *AuthorizeSessionArguments
- func (*TargetAliasAttributes) ProtoMessage()
- func (x *TargetAliasAttributes) ProtoReflect() protoreflect.Message
- func (x *TargetAliasAttributes) Reset()
- func (x *TargetAliasAttributes) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_aliases_v1_alias_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { // The ID of the alias. 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 alias 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"` // Scope information for this alias. Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"` // Optional user-set 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 descripton for identification purposes. Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"` // 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"` // 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 fails if the version does not match the latest known good version. // Version is not required when you create an alias. Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"` // Value of the alias. This is the value referenced by the user that // is resolved to the destination id. Value string `protobuf:"bytes,90,opt,name=value,proto3" json:"value,omitempty" class:"public"` // @gotags: `class:"public"` // destination_id is the id of the resource that this alias points to. DestinationId *wrapperspb.StringValue `protobuf:"bytes,100,opt,name=destination_id,proto3" json:"destination_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // type is the type of the alias. Type string `protobuf:"bytes,110,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // Types that are assignable to Attrs: // // *Alias_Attributes // *Alias_TargetAliasAttributes Attrs isAlias_Attrs `protobuf_oneof:"attrs"` // 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"` // contains filtered or unexported fields }
Alias contains all fields related to an alias resource
func (*Alias) Descriptor
deprecated
func (*Alias) GetAttributes ¶
func (*Alias) GetAuthorizedActions ¶
func (*Alias) GetCreatedTime ¶
func (x *Alias) GetCreatedTime() *timestamppb.Timestamp
func (*Alias) GetDescription ¶
func (x *Alias) GetDescription() *wrapperspb.StringValue
func (*Alias) GetDestinationId ¶
func (x *Alias) GetDestinationId() *wrapperspb.StringValue
func (*Alias) GetName ¶
func (x *Alias) GetName() *wrapperspb.StringValue
func (*Alias) GetScopeId ¶
func (*Alias) GetTargetAliasAttributes ¶
func (x *Alias) GetTargetAliasAttributes() *TargetAliasAttributes
func (*Alias) GetUpdatedTime ¶
func (x *Alias) GetUpdatedTime() *timestamppb.Timestamp
func (*Alias) GetVersion ¶
func (*Alias) ProtoMessage ¶
func (*Alias) ProtoMessage()
func (*Alias) ProtoReflect ¶
func (x *Alias) ProtoReflect() protoreflect.Message
type Alias_Attributes ¶
type Alias_TargetAliasAttributes ¶
type Alias_TargetAliasAttributes struct {
TargetAliasAttributes *TargetAliasAttributes `protobuf:"bytes,121,opt,name=target_alias_attributes,json=targetAliasAttributes,proto3,oneof"`
}
type AuthorizeSessionArguments ¶
type AuthorizeSessionArguments struct { // host_id is the id of the host that the session will be authorized for. // When specified authorizing a session using this alias will have the same // effect of authorizing a session to the aliase's destination_id and passing // in this value through the -host-id flag. If the host-id flag is also // specified when calling authorize-session an error will be returned unless // the provided host-id matches this value. HostId string `protobuf:"bytes,100,opt,name=host_id,proto3" json:"host_id,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
func (*AuthorizeSessionArguments) Descriptor
deprecated
func (*AuthorizeSessionArguments) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeSessionArguments.ProtoReflect.Descriptor instead.
func (*AuthorizeSessionArguments) GetHostId ¶
func (x *AuthorizeSessionArguments) GetHostId() string
func (*AuthorizeSessionArguments) ProtoMessage ¶
func (*AuthorizeSessionArguments) ProtoMessage()
func (*AuthorizeSessionArguments) ProtoReflect ¶
func (x *AuthorizeSessionArguments) ProtoReflect() protoreflect.Message
func (*AuthorizeSessionArguments) Reset ¶
func (x *AuthorizeSessionArguments) Reset()
func (*AuthorizeSessionArguments) String ¶
func (x *AuthorizeSessionArguments) String() string
type TargetAliasAttributes ¶
type TargetAliasAttributes struct { // The arguments to provide to authorize_session of the target. AuthorizeSessionArguments *AuthorizeSessionArguments `protobuf:"bytes,1,opt,name=authorize_session_arguments,proto3" json:"authorize_session_arguments,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
Attributes associated only with aliases with type "target".
func (*TargetAliasAttributes) Descriptor
deprecated
func (*TargetAliasAttributes) Descriptor() ([]byte, []int)
Deprecated: Use TargetAliasAttributes.ProtoReflect.Descriptor instead.
func (*TargetAliasAttributes) GetAuthorizeSessionArguments ¶
func (x *TargetAliasAttributes) GetAuthorizeSessionArguments() *AuthorizeSessionArguments
func (*TargetAliasAttributes) ProtoMessage ¶
func (*TargetAliasAttributes) ProtoMessage()
func (*TargetAliasAttributes) ProtoReflect ¶
func (x *TargetAliasAttributes) ProtoReflect() protoreflect.Message
func (*TargetAliasAttributes) Reset ¶
func (x *TargetAliasAttributes) Reset()
func (*TargetAliasAttributes) String ¶
func (x *TargetAliasAttributes) String() string
Click to show internal directories.
Click to hide internal directories.