stackscript

package
v0.0.0-...-ad3a29e Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterByRefs

func FilterByRefs(stackscripts []linodego.Stackscript, refs resourceref.List) (r []linodego.Stackscript)

FilterByRefs filters for the referenced Linode Stackscripts.

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) Filter

func (f *FilterFlags) Filter(label string) *linodego.Filter

type List

type List struct {
	// contains filtered or unexported fields
}

func NewList

func NewList(stackScripts []linodego.Stackscript) List

func (List) Items

func (l List) Items() []resource.Resource

func (List) Meta

func (l List) Meta() resource.Meta

type Meta

type Meta struct{}

func (Meta) DefaultColumns

func (Meta) DefaultColumns() []string

func (Meta) Name

func (Meta) Name() string

func (Meta) RequiredColumns

func (Meta) RequiredColumns() []string

type Resource

type Resource linodego.Stackscript

func (Resource) Properties

func (r Resource) Properties() resource.PropertyMap

Jump to

Keyboard shortcuts

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