 Documentation
      ¶
      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) GetProjectId() string
- func (x *Target) GetPublicId() 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_tcp_store_v1_target_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type Target ¶
type Target struct {
	// public_id is used to access the tcp.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 tcp.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 tcp.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 tcp.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 tcp.Target when modifying the
	// tcp.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 tcp.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) GetProjectId ¶ added in v0.10.2
func (*Target) GetPublicId ¶
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.