store

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_storage_target_store_v1_target_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CredentialLibrary added in v0.4.0

type CredentialLibrary struct {

	// target_id of the Target
	// @inject_tag: gorm:"primary_key"
	TargetId string `protobuf:"bytes,10,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" gorm:"primary_key"`
	// credential_library_id of the CredentialLibrary
	// @inject_tag: gorm:"primary_key"
	CredentialLibraryId string `` /* 140-byte string literal not displayed */
	// credential_purpose is the purpose of the credential for the target
	// @inject_tag: gorm:"primary_key"
	CredentialPurpose string `` /* 132-byte string literal not displayed */
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,40,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*CredentialLibrary) Descriptor deprecated added in v0.4.0

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

Deprecated: Use CredentialLibrary.ProtoReflect.Descriptor instead.

func (*CredentialLibrary) GetCreateTime added in v0.4.0

func (x *CredentialLibrary) GetCreateTime() *timestamp.Timestamp

func (*CredentialLibrary) GetCredentialLibraryId added in v0.4.0

func (x *CredentialLibrary) GetCredentialLibraryId() string

func (*CredentialLibrary) GetCredentialPurpose added in v0.4.0

func (x *CredentialLibrary) GetCredentialPurpose() string

func (*CredentialLibrary) GetTargetId added in v0.4.0

func (x *CredentialLibrary) GetTargetId() string

func (*CredentialLibrary) ProtoMessage added in v0.4.0

func (*CredentialLibrary) ProtoMessage()

func (*CredentialLibrary) ProtoReflect added in v0.4.0

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

func (*CredentialLibrary) Reset added in v0.4.0

func (x *CredentialLibrary) Reset()

func (*CredentialLibrary) String added in v0.4.0

func (x *CredentialLibrary) String() string

type TargetHostSet

type TargetHostSet struct {

	// target_id of the TargetHostSet
	// @inject_tag: gorm:"primary_key"
	TargetId string `protobuf:"bytes,10,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" gorm:"primary_key"`
	// host_set_id of the TargetHostSet
	// @inject_tag: gorm:"primary_key"
	HostSetId string `protobuf:"bytes,20,opt,name=host_set_id,json=hostSetId,proto3" json:"host_set_id,omitempty" gorm:"primary_key"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// contains filtered or unexported fields
}

func (*TargetHostSet) Descriptor deprecated

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

Deprecated: Use TargetHostSet.ProtoReflect.Descriptor instead.

func (*TargetHostSet) GetCreateTime

func (x *TargetHostSet) GetCreateTime() *timestamp.Timestamp

func (*TargetHostSet) GetHostSetId

func (x *TargetHostSet) GetHostSetId() string

func (*TargetHostSet) GetTargetId

func (x *TargetHostSet) GetTargetId() string

func (*TargetHostSet) ProtoMessage

func (*TargetHostSet) ProtoMessage()

func (*TargetHostSet) ProtoReflect

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

func (*TargetHostSet) Reset

func (x *TargetHostSet) Reset()

func (*TargetHostSet) String

func (x *TargetHostSet) String() string

type TargetView

type TargetView struct {

	// public_id is used to access the Target via an API
	// @inject_tag: gorm:"primary_key"
	PublicId string `protobuf:"bytes,10,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"`
	// scope id for the Target
	// @inject_tag: `gorm:"default:null"`
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"default:null"`
	// name is the optional friendly name used to
	// access the Target via an API
	// @inject_tag: `gorm:"default:null"`
	Name string `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty" gorm:"default:null"`
	// description of the Target
	// @inject_tag: `gorm:"default:null"`
	Description string `protobuf:"bytes,40,opt,name=description,proto3" json:"description,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,50,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// update_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" gorm:"default:current_timestamp"`
	// version allows optimistic locking of the Target when modifying the
	// Target
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// type represents the type of the Target
	// @inject_tag: `gorm:"default:null"`
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" gorm:"default:null"`
	// default port of the Target
	// @inject_tag: `gorm:"default:null"`
	DefaultPort uint32 `protobuf:"varint,90,opt,name=default_port,json=defaultPort,proto3" json:"default_port,omitempty" gorm:"default:null"`
	// Maximum total lifetime of a created session, in seconds
	// @inject_tag: `gorm:"default:null"`
	SessionMaxSeconds uint32 `` /* 137-byte string literal not displayed */
	// Maximum number of connections in a session
	// @inject_tag: `gorm:"default:null"`
	SessionConnectionLimit int32 `` /* 152-byte string literal not displayed */
	// A boolean expression that allows filtering the workers that can handle a session
	// @inject_tag: `gorm:"default:null"`
	WorkerFilter string `protobuf:"bytes,120,opt,name=worker_filter,json=workerFilter,proto3" json:"worker_filter,omitempty" gorm:"default:null"`
	// contains filtered or unexported fields
}

TargetView is a view that contains all the target subtypes

func (*TargetView) Descriptor deprecated

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

Deprecated: Use TargetView.ProtoReflect.Descriptor instead.

func (*TargetView) GetCreateTime

func (x *TargetView) GetCreateTime() *timestamp.Timestamp

func (*TargetView) GetDefaultPort

func (x *TargetView) GetDefaultPort() uint32

func (*TargetView) GetDescription

func (x *TargetView) GetDescription() string

func (*TargetView) GetName

func (x *TargetView) GetName() string

func (*TargetView) GetPublicId

func (x *TargetView) GetPublicId() string

func (*TargetView) GetScopeId

func (x *TargetView) GetScopeId() string

func (*TargetView) GetSessionConnectionLimit

func (x *TargetView) GetSessionConnectionLimit() int32

func (*TargetView) GetSessionMaxSeconds

func (x *TargetView) GetSessionMaxSeconds() uint32

func (*TargetView) GetType

func (x *TargetView) GetType() string

func (*TargetView) GetUpdateTime

func (x *TargetView) GetUpdateTime() *timestamp.Timestamp

func (*TargetView) GetVersion

func (x *TargetView) GetVersion() uint32

func (*TargetView) GetWorkerFilter added in v0.1.5

func (x *TargetView) GetWorkerFilter() string

func (*TargetView) ProtoMessage

func (*TargetView) ProtoMessage()

func (*TargetView) ProtoReflect

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

func (*TargetView) Reset

func (x *TargetView) Reset()

func (*TargetView) String

func (x *TargetView) String() string

type TcpTarget

type TcpTarget struct {

	// public_id is used to access the TargetTcp via an API
	// @inject_tag: gorm:"primary_key"
	PublicId string `protobuf:"bytes,10,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"`
	// scope id for the TargetTcp
	// @inject_tag: `gorm:"default:null"`
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"default:null"`
	// name is the optional friendly name used to
	// access the TargetTcp via an API
	// @inject_tag: `gorm:"default:null"`
	Name string `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty" gorm:"default:null"`
	// description of the TargetTcp
	// @inject_tag: `gorm:"default:null"`
	Description string `protobuf:"bytes,40,opt,name=description,proto3" json:"description,omitempty" gorm:"default:null"`
	// create_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,50,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"`
	// update_time from the RDBMS
	// @inject_tag: `gorm:"default:current_timestamp"`
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" gorm:"default:current_timestamp"`
	// version allows optimistic locking of the TargetTcp when modifying the
	// TargetTcp
	// @inject_tag: `gorm:"default:null"`
	Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"`
	// default port of the TargetTcp
	// @inject_tag: `gorm:"default:null"`
	DefaultPort uint32 `protobuf:"varint,80,opt,name=default_port,json=defaultPort,proto3" json:"default_port,omitempty" gorm:"default:null"`
	// Maximum total lifetime of a created session, in seconds
	// @inject_tag: `gorm:"default:null"`
	SessionMaxSeconds uint32 `` /* 137-byte string literal not displayed */
	// Maximum number of connections in a session
	// @inject_tag: `gorm:"default:null"`
	SessionConnectionLimit int32 `` /* 152-byte string literal not displayed */
	// A boolean expression that allows filtering the workers that can handle a session
	// @inject_tag: `gorm:"default:null"`
	WorkerFilter string `protobuf:"bytes,120,opt,name=worker_filter,json=workerFilter,proto3" json:"worker_filter,omitempty" gorm:"default:null"`
	// contains filtered or unexported fields
}

func (*TcpTarget) Descriptor deprecated

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

Deprecated: Use TcpTarget.ProtoReflect.Descriptor instead.

func (*TcpTarget) GetCreateTime

func (x *TcpTarget) GetCreateTime() *timestamp.Timestamp

func (*TcpTarget) GetDefaultPort

func (x *TcpTarget) GetDefaultPort() uint32

func (*TcpTarget) GetDescription

func (x *TcpTarget) GetDescription() string

func (*TcpTarget) GetName

func (x *TcpTarget) GetName() string

func (*TcpTarget) GetPublicId

func (x *TcpTarget) GetPublicId() string

func (*TcpTarget) GetScopeId

func (x *TcpTarget) GetScopeId() string

func (*TcpTarget) GetSessionConnectionLimit

func (x *TcpTarget) GetSessionConnectionLimit() int32

func (*TcpTarget) GetSessionMaxSeconds

func (x *TcpTarget) GetSessionMaxSeconds() uint32

func (*TcpTarget) GetUpdateTime

func (x *TcpTarget) GetUpdateTime() *timestamp.Timestamp

func (*TcpTarget) GetVersion

func (x *TcpTarget) GetVersion() uint32

func (*TcpTarget) GetWorkerFilter added in v0.1.5

func (x *TcpTarget) GetWorkerFilter() string

func (*TcpTarget) ProtoMessage

func (*TcpTarget) ProtoMessage()

func (*TcpTarget) ProtoReflect

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

func (*TcpTarget) Reset

func (x *TcpTarget) Reset()

func (*TcpTarget) String

func (x *TcpTarget) String() string

Jump to

Keyboard shortcuts

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