create

package
v0.7.2-12-g0c3a13d7 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

Create a KraftCloud instance.

func NewCmd

func NewCmd() *cobra.Command

Types

type CreateOptions

type CreateOptions struct {
	Auth      *config.AuthConfig                 `noattribute:"true"`
	Client    kraftcloudservices.ServicesService `noattribute:"true"`
	FQDN      string                             `local:"true" long:"fqdn" short:"d" usage:"Specify the fully qualified domain name of the service"`
	SubDomain string                             `local:"true" long:"subdomain" short:"s" usage:"Set the subdomain to use when creating the service"`
	Metro     string                             `noattribute:"true"`
	Name      string                             `local:"true" long:"name" short:"n" usage:"Specify the name of the package"`
	Output    string                             `local:"true" long:"output" short:"o" usage:"Set output format" default:"table"`
}

func (*CreateOptions) Pre

func (opts *CreateOptions) Pre(cmd *cobra.Command, _ []string) error

func (*CreateOptions) Run

func (opts *CreateOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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