Documentation
¶
Index ¶
- Variables
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetCreateTime() *timestamp.Timestamp
- func (x *Target) GetDefaultPort() uint32
- func (x *Target) GetDescription() string
- func (x *Target) GetName() string
- func (x *Target) GetPublicId() string
- func (x *Target) GetScopeId() string
- func (x *Target) GetSessionConnectionLimit() int32
- func (x *Target) GetSessionMaxSeconds() uint32
- func (x *Target) GetUpdateTime() *timestamp.Timestamp
- func (x *Target) GetVersion() uint32
- func (x *Target) GetWorkerFilter() string
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_storage_target_targettest_store_v1_target_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Target ¶
type Target struct { // public_id is used to access the targettest.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 targettest.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 targettest.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 targettest.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 targettest.Target when modifying the // targettest.Target // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // default port of the targettest.Target // @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 (*Target) Descriptor
deprecated
func (*Target) GetCreateTime ¶
func (*Target) GetDefaultPort ¶
func (*Target) GetDescription ¶
func (*Target) GetPublicId ¶
func (*Target) GetScopeId ¶
func (*Target) GetSessionConnectionLimit ¶
func (*Target) GetSessionMaxSeconds ¶
func (*Target) GetUpdateTime ¶
func (*Target) GetVersion ¶
func (*Target) GetWorkerFilter ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.