Help us shape the future of Go! Take the 2026 Go Developer Survey

store

package
v0.10.2 Latest Latest
Warning

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

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

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Plugin.ProtoReflect.Descriptor instead.

func (*Plugin) GetCreateTime

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

func (*Plugin) GetDescription

func (x *Plugin) GetDescription() string

func (*Plugin) GetName

func (x *Plugin) GetName() string

func (*Plugin) GetPublicId

func (x *Plugin) GetPublicId() string

func (*Plugin) GetScopeId

func (x *Plugin) GetScopeId() string

func (*Plugin) GetUpdateTime

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

func (*Plugin) GetVersion

func (x *Plugin) GetVersion() uint32

func (*Plugin) ProtoMessage

func (*Plugin) ProtoMessage()

func (*Plugin) ProtoReflect

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

func (*Plugin) Reset

func (x *Plugin) Reset()

func (*Plugin) String

func (x *Plugin) String() string

Jump to

Keyboard shortcuts

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