Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterByRefs ¶
FilterByRefs filters for the referenced Linode Instances.
Types ¶
type FilterFlags ¶
type FilterFlags struct {
// contains filtered or unexported fields
}
func (*FilterFlags) AddFlags ¶
func (f *FilterFlags) AddFlags(c *cobra.Command)
AddFlags recieves a *cobra.Command reference and binds a flag for specifying a preset.
func (*FilterFlags) LKECluster ¶
func (f *FilterFlags) LKECluster() int
type Resource ¶
func (Resource) Properties ¶
func (r Resource) Properties() resource.PropertyMap
type Spec ¶
type Spec struct { ID int `yaml:"id"` Created *time.Time `yaml:"created"` Updated *time.Time `yaml:"updated"` Region string `yaml:"region"` Alerts *linodego.InstanceAlert `yaml:"alerts"` Backups *linodego.InstanceBackup `yaml:"backups"` Image string `yaml:"image"` Group string `yaml:"group"` IPv4 []*net.IP `yaml:"ipv4"` IPv6 string `yaml:"ipv6"` Label string `yaml:"label"` Type string `yaml:"type"` Status linodego.InstanceStatus `yaml:"status"` Hypervisor string `yaml:"hypervisor"` Specs *linodego.InstanceSpec `yaml:"specs"` WatchdogEnabled bool `yaml:"watchdogEnabled"` Tags []string `yaml:"tags"` }
func SpecFromObject ¶
Click to show internal directories.
Click to hide internal directories.