Documentation ¶
Index ¶
- Variables
- type Plugin
- func (*Plugin) Descriptor() ([]byte, []int)deprecated
- func (x *Plugin) GetCreateTime() *timestamp.Timestamp
- func (x *Plugin) GetDescription() string
- func (x *Plugin) GetName() string
- func (x *Plugin) GetPublicId() string
- func (x *Plugin) GetScopeId() string
- func (x *Plugin) GetUpdateTime() *timestamp.Timestamp
- func (x *Plugin) GetVersion() uint32
- func (*Plugin) ProtoMessage()
- func (x *Plugin) ProtoReflect() protoreflect.Message
- func (x *Plugin) Reset()
- func (x *Plugin) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_storage_plugin_host_store_v1_plugin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { // public_id is a surrogate key suitable for use in a public 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"` // The create_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` CreateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" gorm:"default:current_timestamp"` // The update_time is set by the database. // @inject_tag: `gorm:"default:current_timestamp"` UpdateTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" gorm:"default:current_timestamp"` // name is optional. If set, it must be unique within scope_id. // @inject_tag: `gorm:"default:null"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" gorm:"default:null"` // description is optional. // @inject_tag: `gorm:"default:null"` Description string `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" gorm:"default:null"` // The scope_id of the owning scope and must be set. // @inject_tag: `gorm:"not_null"` ScopeId string `protobuf:"bytes,60,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"not_null"` // @inject_tag: `gorm:"default:null"` Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty" gorm:"default:null"` // contains filtered or unexported fields }
func (*Plugin) Descriptor
deprecated
func (*Plugin) GetCreateTime ¶
func (*Plugin) GetDescription ¶
func (*Plugin) GetPublicId ¶
func (*Plugin) GetScopeId ¶
func (*Plugin) GetUpdateTime ¶
func (*Plugin) GetVersion ¶
func (*Plugin) ProtoMessage ¶
func (*Plugin) ProtoMessage()
func (*Plugin) ProtoReflect ¶
func (x *Plugin) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.