create

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandConnection

func NewCommandConnection(options *app.Options) *cobra.Command

returns a cobra command

func NewCommandCreate

func NewCommandCreate(options *app.Options) *cobra.Command

returns a cobra command

func NewCommandCredential

func NewCommandCredential(options *app.Options) *cobra.Command

returns a cobra command

func NewCommandDriver

func NewCommandDriver(options *app.Options) *cobra.Command

returns a cobra command

func NewCommandNamespace

func NewCommandNamespace(options *app.Options) *cobra.Command

returns a cobra command

func NewCommandRegion

func NewCommandRegion(options *app.Options) *cobra.Command

returns a cobra command

Types

type ConnectionOptions

type ConnectionOptions struct {
	*app.Options
	CSP        string
	Credential string
	Region     string
}

a struct to support command

type CreateClusterOptions

type CreateClusterOptions struct {
	*app.Options
	ControlPlane struct {
		Connection string
		Count      int
		Spec       string
	}
	Worker struct {
		Connection string
		Count      int
		Spec       string
	}
}

a struct to support command

func (*CreateClusterOptions) Run

func (o *CreateClusterOptions) Run() error

func (*CreateClusterOptions) Validate

func (o *CreateClusterOptions) Validate() error

validates

type CreateNodeOptions

type CreateNodeOptions struct {
	*app.Options

	Worker struct {
		Connection string
		Count      int
		Spec       string
	}
	// contains filtered or unexported fields
}

a struct to support command

func (*CreateNodeOptions) Run

func (o *CreateNodeOptions) Run() error

func (*CreateNodeOptions) Validate

func (o *CreateNodeOptions) Validate() error

validates

type CredentialOptions

type CredentialOptions struct {
	*app.Options
	CSP            string
	ClientID       string
	ClientSecret   string
	ClientEmail    string
	ProjectID      string
	PrivateKey     string
	TenantId       string
	SubscriptionId string
	ApiKey         string
	Endpoint       string
	Username       string
	Password       string
	DomainName     string
	AutoToken      string
}

a struct to support command

func (*CredentialOptions) Validate

func (o *CredentialOptions) Validate() error

validates the provided options

type DriverOptions

type DriverOptions struct {
	*app.Options
	CSP string
}

a struct to support command

type NamespaceOptions

type NamespaceOptions struct {
	*app.Options
	Description string
}

a struct to support command

type RegionOptions

type RegionOptions struct {
	*app.Options
	CSP           string
	Name          string
	Region        string
	Zone          string
	Location      string
	ResourceGroup string
}

a struct to support command

Jump to

Keyboard shortcuts

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