Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, opts *CreateOptions, args ...string) (*kcservices.CreateResponseItem, error)
Create a KraftCloud instance.
Types ¶
type CreateOptions ¶
type CreateOptions struct { Auth *config.AuthConfig `noattribute:"true"` Client kcservices.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 service"` Output string `local:"true" long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,list" default:"table"` Token string `noattribute:"true"` }
Click to show internal directories.
Click to hide internal directories.