Documentation ¶
Index ¶
- func NewCmd(opts *options.CommonOptions) *cobra.Command
- func NewCmdCreate(opts *CmdOptions) *cobra.Command
- func NewCmdCreateCluster(opts *CmdCreateOptions) *cobra.Command
- func NewCmdCreateClusterKubernetes(opts *CmdCreateClusterOptions) *cobra.Command
- func NewCmdCreateLaunchSpec(opts *CmdCreateOptions) *cobra.Command
- func NewCmdCreateLaunchSpecKubernetes(opts *CmdCreateLaunchSpecOptions) *cobra.Command
- func NewCmdDelete(opts *CmdOptions) *cobra.Command
- func NewCmdDeleteCluster(opts *CmdDeleteOptions) *cobra.Command
- func NewCmdDeleteClusterKubernetes(opts *CmdDeleteClusterOptions) *cobra.Command
- func NewCmdDeleteLaunchSpec(opts *CmdDeleteOptions) *cobra.Command
- func NewCmdDeleteLaunchSpecKubernetes(opts *CmdDeleteLaunchSpecOptions) *cobra.Command
- func NewCmdDescribe(opts *CmdOptions) *cobra.Command
- func NewCmdDescribeCluster(opts *CmdDescribeOptions) *cobra.Command
- func NewCmdDescribeClusterKubernetes(opts *CmdDescribeClusterOptions) *cobra.Command
- func NewCmdDescribeLaunchSpec(opts *CmdDescribeOptions) *cobra.Command
- func NewCmdDescribeLaunchSpecKubernetes(opts *CmdDescribeLaunchSpecOptions) *cobra.Command
- func NewCmdEdit(opts *CmdOptions) *cobra.Command
- func NewCmdEditCluster(opts *CmdEditOptions) *cobra.Command
- func NewCmdEditClusterKubernetes(opts *CmdEditClusterOptions) *cobra.Command
- func NewCmdEditLaunchSpec(opts *CmdEditOptions) *cobra.Command
- func NewCmdEditLaunchSpecKubernetes(opts *CmdEditLaunchSpecOptions) *cobra.Command
- func NewCmdGet(opts *CmdOptions) *cobra.Command
- func NewCmdGetCluster(opts *CmdGetOptions) *cobra.Command
- func NewCmdGetClusterKubernetes(opts *CmdGetClusterOptions) *cobra.Command
- func NewCmdGetLaunchSpec(opts *CmdGetOptions) *cobra.Command
- func NewCmdGetLaunchSpecKubernetes(opts *CmdGetLaunchSpecOptions) *cobra.Command
- func NewCmdQuickstart(opts *CmdOptions) *cobra.Command
- func NewCmdQuickstartCluster(opts *CmdQuickstartOptions) *cobra.Command
- func NewCmdQuickstartClusterKubernetes(opts *CmdQuickstartClusterOptions) *cobra.Command
- func NewCmdQuickstartClusterKubernetesAWS(opts *CmdQuickstartClusterKubernetesOptions) *cobra.Command
- func NewCmdUpdate(opts *CmdOptions) *cobra.Command
- func NewCmdUpdateCluster(opts *CmdUpdateOptions) *cobra.Command
- func NewCmdUpdateClusterKubernetes(opts *CmdUpdateClusterOptions) *cobra.Command
- func NewCmdUpdateLaunchSpec(opts *CmdUpdateOptions) *cobra.Command
- func NewCmdUpdateLaunchSpecKubernetes(opts *CmdUpdateLaunchSpecOptions) *cobra.Command
- type Cmd
- type CmdCreate
- type CmdCreateCluster
- type CmdCreateClusterKubernetes
- type CmdCreateClusterKubernetesOptions
- type CmdCreateClusterOptions
- type CmdCreateLaunchSpec
- type CmdCreateLaunchSpecKubernetes
- type CmdCreateLaunchSpecKubernetesOptions
- type CmdCreateLaunchSpecOptions
- type CmdCreateOptions
- type CmdDelete
- type CmdDeleteCluster
- type CmdDeleteClusterKubernetes
- type CmdDeleteClusterKubernetesOptions
- type CmdDeleteClusterOptions
- type CmdDeleteLaunchSpec
- type CmdDeleteLaunchSpecKubernetes
- type CmdDeleteLaunchSpecKubernetesOptions
- type CmdDeleteLaunchSpecOptions
- type CmdDeleteOptions
- type CmdDescribe
- type CmdDescribeCluster
- type CmdDescribeClusterKubernetes
- type CmdDescribeClusterKubernetesOptions
- type CmdDescribeClusterOptions
- type CmdDescribeLaunchSpec
- type CmdDescribeLaunchSpecKubernetes
- type CmdDescribeLaunchSpecKubernetesOptions
- type CmdDescribeLaunchSpecOptions
- type CmdDescribeOptions
- type CmdEdit
- type CmdEditCluster
- type CmdEditClusterKubernetes
- type CmdEditClusterKubernetesOptions
- type CmdEditClusterOptions
- type CmdEditLaunchSpec
- type CmdEditLaunchSpecKubernetes
- type CmdEditLaunchSpecKubernetesOptions
- type CmdEditLaunchSpecOptions
- type CmdEditOptions
- type CmdGet
- type CmdGetCluster
- type CmdGetClusterKubernetes
- type CmdGetClusterKubernetesOptions
- type CmdGetClusterOptions
- type CmdGetLaunchSpec
- type CmdGetLaunchSpecKubernetes
- type CmdGetLaunchSpecKubernetesOptions
- type CmdGetLaunchSpecOptions
- type CmdGetOptions
- type CmdOptions
- type CmdQuickstart
- type CmdQuickstartCluster
- type CmdQuickstartClusterKubernetes
- type CmdQuickstartClusterKubernetesAWS
- type CmdQuickstartClusterKubernetesAWSOptions
- type CmdQuickstartClusterKubernetesOptions
- type CmdQuickstartClusterOptions
- type CmdQuickstartOptions
- type CmdUpdate
- type CmdUpdateCluster
- type CmdUpdateClusterKubernetes
- type CmdUpdateClusterKubernetesOptions
- type CmdUpdateClusterOptions
- type CmdUpdateLaunchSpec
- type CmdUpdateLaunchSpecKubernetes
- type CmdUpdateLaunchSpecKubernetesOptions
- type CmdUpdateLaunchSpecOptions
- type CmdUpdateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
func NewCmdCreate(opts *CmdOptions) *cobra.Command
func NewCmdCreateCluster ¶
func NewCmdCreateCluster(opts *CmdCreateOptions) *cobra.Command
func NewCmdCreateClusterKubernetes ¶
func NewCmdCreateClusterKubernetes(opts *CmdCreateClusterOptions) *cobra.Command
func NewCmdCreateLaunchSpec ¶
func NewCmdCreateLaunchSpec(opts *CmdCreateOptions) *cobra.Command
func NewCmdCreateLaunchSpecKubernetes ¶
func NewCmdCreateLaunchSpecKubernetes(opts *CmdCreateLaunchSpecOptions) *cobra.Command
func NewCmdDelete ¶
func NewCmdDelete(opts *CmdOptions) *cobra.Command
func NewCmdDeleteCluster ¶
func NewCmdDeleteCluster(opts *CmdDeleteOptions) *cobra.Command
func NewCmdDeleteClusterKubernetes ¶
func NewCmdDeleteClusterKubernetes(opts *CmdDeleteClusterOptions) *cobra.Command
func NewCmdDeleteLaunchSpec ¶
func NewCmdDeleteLaunchSpec(opts *CmdDeleteOptions) *cobra.Command
func NewCmdDeleteLaunchSpecKubernetes ¶
func NewCmdDeleteLaunchSpecKubernetes(opts *CmdDeleteLaunchSpecOptions) *cobra.Command
func NewCmdDescribe ¶
func NewCmdDescribe(opts *CmdOptions) *cobra.Command
func NewCmdDescribeCluster ¶
func NewCmdDescribeCluster(opts *CmdDescribeOptions) *cobra.Command
func NewCmdDescribeClusterKubernetes ¶
func NewCmdDescribeClusterKubernetes(opts *CmdDescribeClusterOptions) *cobra.Command
func NewCmdDescribeLaunchSpec ¶
func NewCmdDescribeLaunchSpec(opts *CmdDescribeOptions) *cobra.Command
func NewCmdDescribeLaunchSpecKubernetes ¶
func NewCmdDescribeLaunchSpecKubernetes(opts *CmdDescribeLaunchSpecOptions) *cobra.Command
func NewCmdEdit ¶
func NewCmdEdit(opts *CmdOptions) *cobra.Command
func NewCmdEditCluster ¶
func NewCmdEditCluster(opts *CmdEditOptions) *cobra.Command
func NewCmdEditClusterKubernetes ¶
func NewCmdEditClusterKubernetes(opts *CmdEditClusterOptions) *cobra.Command
func NewCmdEditLaunchSpec ¶
func NewCmdEditLaunchSpec(opts *CmdEditOptions) *cobra.Command
func NewCmdEditLaunchSpecKubernetes ¶
func NewCmdEditLaunchSpecKubernetes(opts *CmdEditLaunchSpecOptions) *cobra.Command
func NewCmdGet ¶
func NewCmdGet(opts *CmdOptions) *cobra.Command
func NewCmdGetCluster ¶
func NewCmdGetCluster(opts *CmdGetOptions) *cobra.Command
func NewCmdGetClusterKubernetes ¶
func NewCmdGetClusterKubernetes(opts *CmdGetClusterOptions) *cobra.Command
func NewCmdGetLaunchSpec ¶
func NewCmdGetLaunchSpec(opts *CmdGetOptions) *cobra.Command
func NewCmdGetLaunchSpecKubernetes ¶
func NewCmdGetLaunchSpecKubernetes(opts *CmdGetLaunchSpecOptions) *cobra.Command
func NewCmdQuickstart ¶
func NewCmdQuickstart(opts *CmdOptions) *cobra.Command
func NewCmdQuickstartCluster ¶
func NewCmdQuickstartCluster(opts *CmdQuickstartOptions) *cobra.Command
func NewCmdQuickstartClusterKubernetes ¶
func NewCmdQuickstartClusterKubernetes(opts *CmdQuickstartClusterOptions) *cobra.Command
func NewCmdQuickstartClusterKubernetesAWS ¶
func NewCmdQuickstartClusterKubernetesAWS(opts *CmdQuickstartClusterKubernetesOptions) *cobra.Command
func NewCmdUpdate ¶
func NewCmdUpdate(opts *CmdOptions) *cobra.Command
func NewCmdUpdateCluster ¶
func NewCmdUpdateCluster(opts *CmdUpdateOptions) *cobra.Command
func NewCmdUpdateClusterKubernetes ¶
func NewCmdUpdateClusterKubernetes(opts *CmdUpdateClusterOptions) *cobra.Command
func NewCmdUpdateLaunchSpec ¶
func NewCmdUpdateLaunchSpec(opts *CmdUpdateOptions) *cobra.Command
func NewCmdUpdateLaunchSpecKubernetes ¶
func NewCmdUpdateLaunchSpecKubernetes(opts *CmdUpdateLaunchSpecOptions) *cobra.Command
Types ¶
type CmdCreateCluster ¶
type CmdCreateCluster struct {
// contains filtered or unexported fields
}
type CmdCreateClusterKubernetes ¶
type CmdCreateClusterKubernetes struct {
// contains filtered or unexported fields
}
type CmdCreateClusterKubernetesOptions ¶
type CmdCreateClusterKubernetesOptions struct { *CmdCreateClusterOptions spotinst.OceanClusterOptions }
func (*CmdCreateClusterKubernetesOptions) Init ¶
func (x *CmdCreateClusterKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdCreateClusterOptions)
func (*CmdCreateClusterKubernetesOptions) Validate ¶
func (x *CmdCreateClusterKubernetesOptions) Validate() error
type CmdCreateClusterOptions ¶
type CmdCreateClusterOptions struct {
*CmdCreateOptions
}
func (*CmdCreateClusterOptions) Init ¶
func (x *CmdCreateClusterOptions) Init(fs *pflag.FlagSet, opts *CmdCreateOptions)
func (*CmdCreateClusterOptions) Validate ¶
func (x *CmdCreateClusterOptions) Validate() error
type CmdCreateLaunchSpec ¶
type CmdCreateLaunchSpec struct {
// contains filtered or unexported fields
}
type CmdCreateLaunchSpecKubernetes ¶
type CmdCreateLaunchSpecKubernetes struct {
// contains filtered or unexported fields
}
type CmdCreateLaunchSpecKubernetesOptions ¶
type CmdCreateLaunchSpecKubernetesOptions struct { *CmdCreateLaunchSpecOptions spotinst.OceanLaunchSpecOptions }
func (*CmdCreateLaunchSpecKubernetesOptions) Init ¶
func (x *CmdCreateLaunchSpecKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdCreateLaunchSpecOptions)
func (*CmdCreateLaunchSpecKubernetesOptions) Validate ¶
func (x *CmdCreateLaunchSpecKubernetesOptions) Validate() error
type CmdCreateLaunchSpecOptions ¶
type CmdCreateLaunchSpecOptions struct {
*CmdCreateOptions
}
func (*CmdCreateLaunchSpecOptions) Init ¶
func (x *CmdCreateLaunchSpecOptions) Init(fs *pflag.FlagSet, opts *CmdCreateOptions)
func (*CmdCreateLaunchSpecOptions) Validate ¶
func (x *CmdCreateLaunchSpecOptions) Validate() error
type CmdCreateOptions ¶
type CmdCreateOptions struct {
*CmdOptions
}
func (*CmdCreateOptions) Init ¶
func (x *CmdCreateOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)
func (*CmdCreateOptions) Validate ¶
func (x *CmdCreateOptions) Validate() error
type CmdDeleteCluster ¶
type CmdDeleteCluster struct {
// contains filtered or unexported fields
}
type CmdDeleteClusterKubernetes ¶
type CmdDeleteClusterKubernetes struct {
// contains filtered or unexported fields
}
type CmdDeleteClusterKubernetesOptions ¶
type CmdDeleteClusterKubernetesOptions struct { *CmdDeleteClusterOptions ClusterID string }
func (*CmdDeleteClusterKubernetesOptions) Init ¶
func (x *CmdDeleteClusterKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdDeleteClusterOptions)
func (*CmdDeleteClusterKubernetesOptions) Validate ¶
func (x *CmdDeleteClusterKubernetesOptions) Validate() error
type CmdDeleteClusterOptions ¶
type CmdDeleteClusterOptions struct {
*CmdDeleteOptions
}
func (*CmdDeleteClusterOptions) Init ¶
func (x *CmdDeleteClusterOptions) Init(fs *pflag.FlagSet, opts *CmdDeleteOptions)
func (*CmdDeleteClusterOptions) Validate ¶
func (x *CmdDeleteClusterOptions) Validate() error
type CmdDeleteLaunchSpec ¶
type CmdDeleteLaunchSpec struct {
// contains filtered or unexported fields
}
type CmdDeleteLaunchSpecKubernetes ¶
type CmdDeleteLaunchSpecKubernetes struct {
// contains filtered or unexported fields
}
type CmdDeleteLaunchSpecKubernetesOptions ¶
type CmdDeleteLaunchSpecKubernetesOptions struct { *CmdDeleteLaunchSpecOptions LaunchSpecID string }
func (*CmdDeleteLaunchSpecKubernetesOptions) Init ¶
func (x *CmdDeleteLaunchSpecKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdDeleteLaunchSpecOptions)
func (*CmdDeleteLaunchSpecKubernetesOptions) Validate ¶
func (x *CmdDeleteLaunchSpecKubernetesOptions) Validate() error
type CmdDeleteLaunchSpecOptions ¶
type CmdDeleteLaunchSpecOptions struct {
*CmdDeleteOptions
}
func (*CmdDeleteLaunchSpecOptions) Init ¶
func (x *CmdDeleteLaunchSpecOptions) Init(fs *pflag.FlagSet, opts *CmdDeleteOptions)
func (*CmdDeleteLaunchSpecOptions) Validate ¶
func (x *CmdDeleteLaunchSpecOptions) Validate() error
type CmdDeleteOptions ¶
type CmdDeleteOptions struct {
*CmdOptions
}
func (*CmdDeleteOptions) Init ¶
func (x *CmdDeleteOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)
func (*CmdDeleteOptions) Validate ¶
func (x *CmdDeleteOptions) Validate() error
type CmdDescribe ¶
type CmdDescribe struct {
// contains filtered or unexported fields
}
type CmdDescribeCluster ¶
type CmdDescribeCluster struct {
// contains filtered or unexported fields
}
type CmdDescribeClusterKubernetes ¶
type CmdDescribeClusterKubernetes struct {
// contains filtered or unexported fields
}
type CmdDescribeClusterKubernetesOptions ¶
type CmdDescribeClusterKubernetesOptions struct { *CmdDescribeClusterOptions ClusterID string }
func (*CmdDescribeClusterKubernetesOptions) Init ¶
func (x *CmdDescribeClusterKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdDescribeClusterOptions)
func (*CmdDescribeClusterKubernetesOptions) Validate ¶
func (x *CmdDescribeClusterKubernetesOptions) Validate() error
type CmdDescribeClusterOptions ¶
type CmdDescribeClusterOptions struct {
*CmdDescribeOptions
}
func (*CmdDescribeClusterOptions) Init ¶
func (x *CmdDescribeClusterOptions) Init(fs *pflag.FlagSet, opts *CmdDescribeOptions)
func (*CmdDescribeClusterOptions) Validate ¶
func (x *CmdDescribeClusterOptions) Validate() error
type CmdDescribeLaunchSpec ¶
type CmdDescribeLaunchSpec struct {
// contains filtered or unexported fields
}
type CmdDescribeLaunchSpecKubernetes ¶
type CmdDescribeLaunchSpecKubernetes struct {
// contains filtered or unexported fields
}
type CmdDescribeLaunchSpecKubernetesOptions ¶
type CmdDescribeLaunchSpecKubernetesOptions struct { *CmdDescribeLaunchSpecOptions LaunchSpecID string }
func (*CmdDescribeLaunchSpecKubernetesOptions) Init ¶
func (x *CmdDescribeLaunchSpecKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdDescribeLaunchSpecOptions)
func (*CmdDescribeLaunchSpecKubernetesOptions) Validate ¶
func (x *CmdDescribeLaunchSpecKubernetesOptions) Validate() error
type CmdDescribeLaunchSpecOptions ¶
type CmdDescribeLaunchSpecOptions struct {
*CmdDescribeOptions
}
func (*CmdDescribeLaunchSpecOptions) Init ¶
func (x *CmdDescribeLaunchSpecOptions) Init(fs *pflag.FlagSet, opts *CmdDescribeOptions)
func (*CmdDescribeLaunchSpecOptions) Validate ¶
func (x *CmdDescribeLaunchSpecOptions) Validate() error
type CmdDescribeOptions ¶
type CmdDescribeOptions struct { *CmdOptions // Create options Advanced bool }
func (*CmdDescribeOptions) Init ¶
func (x *CmdDescribeOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)
func (*CmdDescribeOptions) Validate ¶
func (x *CmdDescribeOptions) Validate() error
type CmdEditCluster ¶
type CmdEditCluster struct {
// contains filtered or unexported fields
}
type CmdEditClusterKubernetes ¶
type CmdEditClusterKubernetes struct {
// contains filtered or unexported fields
}
type CmdEditClusterKubernetesOptions ¶
type CmdEditClusterKubernetesOptions struct { *CmdEditClusterOptions ClusterID string }
func (*CmdEditClusterKubernetesOptions) Init ¶
func (x *CmdEditClusterKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdEditClusterOptions)
func (*CmdEditClusterKubernetesOptions) Validate ¶
func (x *CmdEditClusterKubernetesOptions) Validate() error
type CmdEditClusterOptions ¶
type CmdEditClusterOptions struct {
*CmdEditOptions
}
func (*CmdEditClusterOptions) Init ¶
func (x *CmdEditClusterOptions) Init(fs *pflag.FlagSet, opts *CmdEditOptions)
func (*CmdEditClusterOptions) Validate ¶
func (x *CmdEditClusterOptions) Validate() error
type CmdEditLaunchSpec ¶
type CmdEditLaunchSpec struct {
// contains filtered or unexported fields
}
type CmdEditLaunchSpecKubernetes ¶
type CmdEditLaunchSpecKubernetes struct {
// contains filtered or unexported fields
}
type CmdEditLaunchSpecKubernetesOptions ¶
type CmdEditLaunchSpecKubernetesOptions struct { *CmdEditLaunchSpecOptions LaunchSpecID string }
func (*CmdEditLaunchSpecKubernetesOptions) Init ¶
func (x *CmdEditLaunchSpecKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdEditLaunchSpecOptions)
func (*CmdEditLaunchSpecKubernetesOptions) Validate ¶
func (x *CmdEditLaunchSpecKubernetesOptions) Validate() error
type CmdEditLaunchSpecOptions ¶
type CmdEditLaunchSpecOptions struct {
*CmdEditOptions
}
func (*CmdEditLaunchSpecOptions) Init ¶
func (x *CmdEditLaunchSpecOptions) Init(fs *pflag.FlagSet, opts *CmdEditOptions)
func (*CmdEditLaunchSpecOptions) Validate ¶
func (x *CmdEditLaunchSpecOptions) Validate() error
type CmdEditOptions ¶
type CmdEditOptions struct {
*CmdOptions
}
func (*CmdEditOptions) Init ¶
func (x *CmdEditOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)
func (*CmdEditOptions) Validate ¶
func (x *CmdEditOptions) Validate() error
type CmdGetCluster ¶
type CmdGetCluster struct {
// contains filtered or unexported fields
}
type CmdGetClusterKubernetes ¶
type CmdGetClusterKubernetes struct {
// contains filtered or unexported fields
}
type CmdGetClusterKubernetesOptions ¶
type CmdGetClusterKubernetesOptions struct {
*CmdGetClusterOptions
}
func (*CmdGetClusterKubernetesOptions) Init ¶
func (x *CmdGetClusterKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdGetClusterOptions)
func (*CmdGetClusterKubernetesOptions) Validate ¶
func (x *CmdGetClusterKubernetesOptions) Validate() error
type CmdGetClusterOptions ¶
type CmdGetClusterOptions struct {
*CmdGetOptions
}
func (*CmdGetClusterOptions) Init ¶
func (x *CmdGetClusterOptions) Init(fs *pflag.FlagSet, opts *CmdGetOptions)
func (*CmdGetClusterOptions) Validate ¶
func (x *CmdGetClusterOptions) Validate() error
type CmdGetLaunchSpec ¶
type CmdGetLaunchSpec struct {
// contains filtered or unexported fields
}
type CmdGetLaunchSpecKubernetes ¶
type CmdGetLaunchSpecKubernetes struct {
// contains filtered or unexported fields
}
type CmdGetLaunchSpecKubernetesOptions ¶
type CmdGetLaunchSpecKubernetesOptions struct {
*CmdGetLaunchSpecOptions
}
func (*CmdGetLaunchSpecKubernetesOptions) Init ¶
func (x *CmdGetLaunchSpecKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdGetLaunchSpecOptions)
func (*CmdGetLaunchSpecKubernetesOptions) Validate ¶
func (x *CmdGetLaunchSpecKubernetesOptions) Validate() error
type CmdGetLaunchSpecOptions ¶
type CmdGetLaunchSpecOptions struct {
*CmdGetOptions
}
func (*CmdGetLaunchSpecOptions) Init ¶
func (x *CmdGetLaunchSpecOptions) Init(fs *pflag.FlagSet, opts *CmdGetOptions)
func (*CmdGetLaunchSpecOptions) Validate ¶
func (x *CmdGetLaunchSpecOptions) Validate() error
type CmdGetOptions ¶
type CmdGetOptions struct { *CmdOptions // Get options NoHeaders bool Output string }
func (*CmdGetOptions) Init ¶
func (x *CmdGetOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)
func (*CmdGetOptions) Validate ¶
func (x *CmdGetOptions) Validate() error
type CmdOptions ¶
type CmdOptions struct { *options.CommonOptions // CloudProvider configures the name of the cloud provider associated with // the account. // // Populated by a pre-run function. CloudProvider spotinst.CloudProviderName }
func (*CmdOptions) Init ¶
func (x *CmdOptions) Init(fs *pflag.FlagSet, opts *options.CommonOptions)
func (*CmdOptions) Validate ¶
func (x *CmdOptions) Validate() error
type CmdQuickstart ¶
type CmdQuickstart struct {
// contains filtered or unexported fields
}
type CmdQuickstartCluster ¶
type CmdQuickstartCluster struct {
// contains filtered or unexported fields
}
type CmdQuickstartClusterKubernetes ¶
type CmdQuickstartClusterKubernetes struct {
// contains filtered or unexported fields
}
type CmdQuickstartClusterKubernetesAWS ¶
type CmdQuickstartClusterKubernetesAWS struct {
// contains filtered or unexported fields
}
type CmdQuickstartClusterKubernetesAWSOptions ¶
type CmdQuickstartClusterKubernetesAWSOptions struct { *CmdQuickstartClusterKubernetesOptions // Basic ClusterName string StateStore string // Networking Region string Zones []string VPC string Subnets []string // Infrastructure MasterCount int64 NodeCount int64 MasterMachineTypes []string NodeMachineTypes []string Image string KubernetesVersion string SSHPublicKey string // Security Authorization string // Metadata Tags []string }
func (*CmdQuickstartClusterKubernetesAWSOptions) Init ¶
func (x *CmdQuickstartClusterKubernetesAWSOptions) Init(fs *pflag.FlagSet, opts *CmdQuickstartClusterKubernetesOptions)
func (*CmdQuickstartClusterKubernetesAWSOptions) Validate ¶
func (x *CmdQuickstartClusterKubernetesAWSOptions) Validate() error
type CmdQuickstartClusterKubernetesOptions ¶
type CmdQuickstartClusterKubernetesOptions struct {
*CmdQuickstartClusterOptions
}
func (*CmdQuickstartClusterKubernetesOptions) Init ¶
func (x *CmdQuickstartClusterKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdQuickstartClusterOptions)
func (*CmdQuickstartClusterKubernetesOptions) Validate ¶
func (x *CmdQuickstartClusterKubernetesOptions) Validate() error
type CmdQuickstartClusterOptions ¶
type CmdQuickstartClusterOptions struct {
*CmdQuickstartOptions
}
func (*CmdQuickstartClusterOptions) Init ¶
func (x *CmdQuickstartClusterOptions) Init(fs *pflag.FlagSet, opts *CmdQuickstartOptions)
func (*CmdQuickstartClusterOptions) Validate ¶
func (x *CmdQuickstartClusterOptions) Validate() error
type CmdQuickstartOptions ¶
type CmdQuickstartOptions struct { *CmdOptions // Quickstart options Advanced bool }
func (*CmdQuickstartOptions) Init ¶
func (x *CmdQuickstartOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)
func (*CmdQuickstartOptions) Validate ¶
func (x *CmdQuickstartOptions) Validate() error
type CmdUpdateCluster ¶
type CmdUpdateCluster struct {
// contains filtered or unexported fields
}
type CmdUpdateClusterKubernetes ¶
type CmdUpdateClusterKubernetes struct {
// contains filtered or unexported fields
}
type CmdUpdateClusterKubernetesOptions ¶
type CmdUpdateClusterKubernetesOptions struct { *CmdUpdateClusterOptions spotinst.OceanClusterOptions }
func (*CmdUpdateClusterKubernetesOptions) Init ¶
func (x *CmdUpdateClusterKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdUpdateClusterOptions)
func (*CmdUpdateClusterKubernetesOptions) Validate ¶
func (x *CmdUpdateClusterKubernetesOptions) Validate() error
type CmdUpdateClusterOptions ¶
type CmdUpdateClusterOptions struct {
*CmdUpdateOptions
}
func (*CmdUpdateClusterOptions) Init ¶
func (x *CmdUpdateClusterOptions) Init(fs *pflag.FlagSet, opts *CmdUpdateOptions)
func (*CmdUpdateClusterOptions) Validate ¶
func (x *CmdUpdateClusterOptions) Validate() error
type CmdUpdateLaunchSpec ¶
type CmdUpdateLaunchSpec struct {
// contains filtered or unexported fields
}
type CmdUpdateLaunchSpecKubernetes ¶
type CmdUpdateLaunchSpecKubernetes struct {
// contains filtered or unexported fields
}
type CmdUpdateLaunchSpecKubernetesOptions ¶
type CmdUpdateLaunchSpecKubernetesOptions struct { *CmdUpdateLaunchSpecOptions spotinst.OceanLaunchSpecOptions }
func (*CmdUpdateLaunchSpecKubernetesOptions) Init ¶
func (x *CmdUpdateLaunchSpecKubernetesOptions) Init(fs *pflag.FlagSet, opts *CmdUpdateLaunchSpecOptions)
func (*CmdUpdateLaunchSpecKubernetesOptions) Validate ¶
func (x *CmdUpdateLaunchSpecKubernetesOptions) Validate() error
type CmdUpdateLaunchSpecOptions ¶
type CmdUpdateLaunchSpecOptions struct {
*CmdUpdateOptions
}
func (*CmdUpdateLaunchSpecOptions) Init ¶
func (x *CmdUpdateLaunchSpecOptions) Init(fs *pflag.FlagSet, opts *CmdUpdateOptions)
func (*CmdUpdateLaunchSpecOptions) Validate ¶
func (x *CmdUpdateLaunchSpecOptions) Validate() error
type CmdUpdateOptions ¶
type CmdUpdateOptions struct {
*CmdOptions
}
func (*CmdUpdateOptions) Init ¶
func (x *CmdUpdateOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)
func (*CmdUpdateOptions) Validate ¶
func (x *CmdUpdateOptions) Validate() error
Source Files ¶
- create.go
- create_cluster.go
- create_cluster_k8s.go
- create_launchspec.go
- create_launchspec_k8s.go
- delete.go
- delete_cluster.go
- delete_cluster_k8s.go
- delete_launchspec.go
- delete_launchspec_k8s.go
- describe.go
- describe_cluster.go
- describe_cluster_k8s.go
- describe_launchspec.go
- describe_launchspec_k8s.go
- edit.go
- edit_cluster.go
- edit_cluster_k8s.go
- edit_launchspec.go
- edit_launchspec_k8s.go
- get.go
- get_cluster.go
- get_cluster_k8s.go
- get_launchspec.go
- get_launchspec_k8s.go
- ocean.go
- quickstart.go
- quickstart_cluster.go
- quickstart_cluster_k8s.go
- quickstart_cluster_k8s_aws.go
- update.go
- update_cluster.go
- update_cluster_k8s.go
- update_launchspec.go
- update_launchspec_k8s.go
Click to show internal directories.
Click to hide internal directories.