Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxDetail = base.MaxDetail
)
Variables ¶
View Source
var NotFound = libmodel.NotFound
Errors
Functions ¶
Types ¶
type Base ¶
type Base struct { // Object UID. UID string `sql:"pk"` // Resource version. Version string `sql:"d0"` // Namespace. Namespace string `sql:"key"` // Name. Name string `sql:"key"` // contains filtered or unexported fields }
Base k8s model.
func (*Base) ResourceVersion ¶
Get kubernetes resource version.
type InvalidRefError ¶
type InvalidRefError = base.InvalidRefError
type ListOptions ¶
type ListOptions = base.ListOptions
type NetworkAttachmentDefinition ¶
type NetworkAttachmentDefinition struct { Base Object net.NetworkAttachmentDefinition `sql:""` }
NetworkAttachmentDefinition
func (*NetworkAttachmentDefinition) With ¶
func (m *NetworkAttachmentDefinition) With(n *net.NetworkAttachmentDefinition)
type StorageClass ¶
type StorageClass struct { Base Object storage.StorageClass `sql:""` }
StorageClass
func (*StorageClass) With ¶
func (m *StorageClass) With(s *storage.StorageClass)
type VM ¶
type VM struct { Base Object cnv.VirtualMachine `sql:""` }
VM
func (*VM) With ¶
func (m *VM) With(v *cnv.VirtualMachine)
Click to show internal directories.
Click to hide internal directories.