create

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NameFromCommandArgs

func NameFromCommandArgs(args []string) (string, error)

func NewCmdCreate

func NewCmdCreate(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewCmdCreateBucket

func NewCmdCreateBucket(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewCmdCreateInstance

func NewCmdCreateInstance(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewCmdCreateLKECluister

func NewCmdCreateLKECluister(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

Types

type CreateBucketOptions

type CreateBucketOptions struct {
	Label string

	ACL         string
	Cluster     string
	CorsEnabled bool

	genericoptions.ProfileFlags
	genericoptions.PrinterFlags
	cmdutil.IOStreams
}

func NewCreateBucketOptions

func NewCreateBucketOptions(ioStreams cmdutil.IOStreams) *CreateBucketOptions

func (*CreateBucketOptions) Complete

func (o *CreateBucketOptions) Complete(f cmdutil.Factory, ioStreams cmdutil.IOStreams, args []string) (err error)

func (*CreateBucketOptions) Run

type CreateInstanceOptions

type CreateInstanceOptions struct {
	Label string

	AuthorizedUsers []string
	BackupsEnabled  bool
	Group           string
	Image           string
	PoweredOff      bool
	PrivateIP       bool
	Preset          string
	Region          string
	RootPass        string
	StackscriptData string
	StackscriptID   int
	SwapSize        int
	Tags            []string
	Type            string

	AuthorizeMe bool

	genericoptions.PrinterFlags
	genericoptions.ProfileFlags
	cmdutil.IOStreams
}

func NewCreateInstanceOptions

func NewCreateInstanceOptions(ioStreams cmdutil.IOStreams) *CreateInstanceOptions

func (*CreateInstanceOptions) Complete

func (o *CreateInstanceOptions) Complete(f cmdutil.Factory, ioStreams cmdutil.IOStreams, args []string) (err error)

func (*CreateInstanceOptions) Run

type CreateLKEClusterOptions

type CreateLKEClusterOptions struct {
	Label string

	Version string
	Region  string
	Tags    []string
	Pools   []string
	HA      bool

	NodePools []linodego.LKEClusterPoolCreateOptions

	genericoptions.ProfileFlags
	genericoptions.PrinterFlags
	cmdutil.IOStreams
}

func NewCreateLKEClusterOptions

func NewCreateLKEClusterOptions(ioStreams cmdutil.IOStreams) *CreateLKEClusterOptions

func (*CreateLKEClusterOptions) Complete

func (o *CreateLKEClusterOptions) Complete(f cmdutil.Factory, ioStreams cmdutil.IOStreams, args []string) (err error)

func (*CreateLKEClusterOptions) Run

Jump to

Keyboard shortcuts

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