store

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 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 CredentialSource added in v0.9.0

type CredentialSource 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_source_id of the Credential Library or static Credential
	// @inject_tag: gorm:"primary_key"
	CredentialSourceId string `` /* 137-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"`
	// type of credential source (library or static)
	// @inject_tag: `gorm:"not_null"`
	Type string `protobuf:"bytes,50,opt,name=type,proto3" json:"type,omitempty" gorm:"not_null"`
	// contains filtered or unexported fields
}

func (*CredentialSource) Descriptor deprecated added in v0.9.0

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

Deprecated: Use CredentialSource.ProtoReflect.Descriptor instead.

func (*CredentialSource) GetCreateTime added in v0.9.0

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

func (*CredentialSource) GetCredentialPurpose added in v0.9.0

func (x *CredentialSource) GetCredentialPurpose() string

func (*CredentialSource) GetCredentialSourceId added in v0.9.0

func (x *CredentialSource) GetCredentialSourceId() string

func (*CredentialSource) GetTargetId added in v0.9.0

func (x *CredentialSource) GetTargetId() string

func (*CredentialSource) GetType added in v0.9.0

func (x *CredentialSource) GetType() string

func (*CredentialSource) ProtoMessage added in v0.9.0

func (*CredentialSource) ProtoMessage()

func (*CredentialSource) ProtoReflect added in v0.9.0

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

func (*CredentialSource) Reset added in v0.9.0

func (x *CredentialSource) Reset()

func (*CredentialSource) String added in v0.9.0

func (x *CredentialSource) String() string

type CredentialSourceView added in v0.9.0

type CredentialSourceView struct {

	// public_id of the Credential source
	// @inject_tag: gorm:"primary_key"
	PublicId string `protobuf:"bytes,10,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"`
	// type of credential source (library or static)
	// @inject_tag: `gorm:"not_null"`
	Type string `protobuf:"bytes,20,opt,name=type,proto3" json:"type,omitempty" gorm:"not_null"`
	// contains filtered or unexported fields
}

func (*CredentialSourceView) Descriptor deprecated added in v0.9.0

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

Deprecated: Use CredentialSourceView.ProtoReflect.Descriptor instead.

func (*CredentialSourceView) GetPublicId added in v0.9.0

func (x *CredentialSourceView) GetPublicId() string

func (*CredentialSourceView) GetType added in v0.9.0

func (x *CredentialSourceView) GetType() string

func (*CredentialSourceView) ProtoMessage added in v0.9.0

func (*CredentialSourceView) ProtoMessage()

func (*CredentialSourceView) ProtoReflect added in v0.9.0

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

func (*CredentialSourceView) Reset added in v0.9.0

func (x *CredentialSourceView) Reset()

func (*CredentialSourceView) String added in v0.9.0

func (x *CredentialSourceView) String() string

type StaticCredential added in v0.9.0

type StaticCredential 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_id of the static Credential
	// @inject_tag: `gorm:"column:credential_static_id;primary_key"
	CredentialId string `` /* 145-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 (*StaticCredential) Descriptor deprecated added in v0.9.0

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

Deprecated: Use StaticCredential.ProtoReflect.Descriptor instead.

func (*StaticCredential) GetCreateTime added in v0.9.0

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

func (*StaticCredential) GetCredentialId added in v0.9.0

func (x *StaticCredential) GetCredentialId() string

func (*StaticCredential) GetCredentialPurpose added in v0.9.0

func (x *StaticCredential) GetCredentialPurpose() string

func (*StaticCredential) GetTargetId added in v0.9.0

func (x *StaticCredential) GetTargetId() string

func (*StaticCredential) ProtoMessage added in v0.9.0

func (*StaticCredential) ProtoMessage()

func (*StaticCredential) ProtoReflect added in v0.9.0

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

func (*StaticCredential) Reset added in v0.9.0

func (x *StaticCredential) Reset()

func (*StaticCredential) String added in v0.9.0

func (x *StaticCredential) String() string

type TargetAddress added in v0.12.0

type TargetAddress 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"`
	// address associated to the Target
	// @inject_tag: `gorm:"not_null"`
	Address string `protobuf:"bytes,20,opt,name=address,proto3" json:"address,omitempty" gorm:"not_null"`
	// contains filtered or unexported fields
}

func (*TargetAddress) Descriptor deprecated added in v0.12.0

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

Deprecated: Use TargetAddress.ProtoReflect.Descriptor instead.

func (*TargetAddress) GetAddress added in v0.12.0

func (x *TargetAddress) GetAddress() string

func (*TargetAddress) GetTargetId added in v0.12.0

func (x *TargetAddress) GetTargetId() string

func (*TargetAddress) ProtoMessage added in v0.12.0

func (*TargetAddress) ProtoMessage()

func (*TargetAddress) ProtoReflect added in v0.12.0

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

func (*TargetAddress) Reset added in v0.12.0

func (x *TargetAddress) Reset()

func (*TargetAddress) String added in v0.12.0

func (x *TargetAddress) 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"`
	// project id for the Target
	// @inject_tag: `gorm:"default:null"`
	ProjectId string `protobuf:"bytes,20,opt,name=project_id,json=projectId,proto3" json:"project_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"`
	// Default port for the listening client to use when establishing a session
	// @inject_tag: `gorm:"default:null"`
	DefaultClientPort uint32 `` /* 136-byte string literal not displayed */
	// 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"`
	// @inject_tag: `gorm:"default:null"`
	EgressWorkerFilter string `` /* 139-byte string literal not displayed */
	// @inject_tag: `gorm:"default:null"`
	IngressWorkerFilter string `` /* 142-byte string literal not displayed */
	// A boolean indicating if session recording has been enabled
	// @inject_tag: `gorm:"default:null"`
	EnableSessionRecording bool `` /* 152-byte string literal not displayed */
	// PublicId of the storage bucket associated with the target
	// @inject_tag: `gorm:"default:null"`
	StorageBucketId string `` /* 130-byte string literal not displayed */
	// 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) GetDefaultClientPort added in v0.13.0

func (x *TargetView) GetDefaultClientPort() uint32

func (*TargetView) GetDefaultPort

func (x *TargetView) GetDefaultPort() uint32

func (*TargetView) GetDescription

func (x *TargetView) GetDescription() string

func (*TargetView) GetEgressWorkerFilter added in v0.12.0

func (x *TargetView) GetEgressWorkerFilter() string

func (*TargetView) GetEnableSessionRecording added in v0.13.0

func (x *TargetView) GetEnableSessionRecording() bool

func (*TargetView) GetIngressWorkerFilter added in v0.12.0

func (x *TargetView) GetIngressWorkerFilter() string

func (*TargetView) GetName

func (x *TargetView) GetName() string

func (*TargetView) GetProjectId added in v0.10.2

func (x *TargetView) GetProjectId() string

func (*TargetView) GetPublicId

func (x *TargetView) GetPublicId() string

func (*TargetView) GetSessionConnectionLimit

func (x *TargetView) GetSessionConnectionLimit() int32

func (*TargetView) GetSessionMaxSeconds

func (x *TargetView) GetSessionMaxSeconds() uint32

func (*TargetView) GetStorageBucketId added in v0.13.0

func (x *TargetView) GetStorageBucketId() string

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

Jump to

Keyboard shortcuts

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