ocean

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(opts *options.CommonOptions) *cobra.Command

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 Cmd

type Cmd struct {
	// contains filtered or unexported fields
}

type CmdCreate

type CmdCreate struct {
	// contains filtered or unexported fields
}

type CmdCreateCluster

type CmdCreateCluster struct {
	// contains filtered or unexported fields
}

type CmdCreateClusterKubernetes

type CmdCreateClusterKubernetes struct {
	// contains filtered or unexported fields
}

func (*CmdCreateClusterKubernetes) Run

type CmdCreateClusterKubernetesOptions

type CmdCreateClusterKubernetesOptions struct {
	*CmdCreateClusterOptions
	spotinst.OceanClusterOptions
}

func (*CmdCreateClusterKubernetesOptions) Init

func (*CmdCreateClusterKubernetesOptions) Validate

type CmdCreateClusterOptions

type CmdCreateClusterOptions struct {
	*CmdCreateOptions
}

func (*CmdCreateClusterOptions) Init

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
}

func (*CmdCreateLaunchSpecKubernetes) Run

type CmdCreateLaunchSpecKubernetesOptions

type CmdCreateLaunchSpecKubernetesOptions struct {
	*CmdCreateLaunchSpecOptions
	spotinst.OceanLaunchSpecOptions
}

func (*CmdCreateLaunchSpecKubernetesOptions) Init

func (*CmdCreateLaunchSpecKubernetesOptions) Validate

type CmdCreateLaunchSpecOptions

type CmdCreateLaunchSpecOptions struct {
	*CmdCreateOptions
}

func (*CmdCreateLaunchSpecOptions) Init

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 CmdDelete

type CmdDelete struct {
	// contains filtered or unexported fields
}

type CmdDeleteCluster

type CmdDeleteCluster struct {
	// contains filtered or unexported fields
}

type CmdDeleteClusterKubernetes

type CmdDeleteClusterKubernetes struct {
	// contains filtered or unexported fields
}

func (*CmdDeleteClusterKubernetes) Run

type CmdDeleteClusterKubernetesOptions

type CmdDeleteClusterKubernetesOptions struct {
	*CmdDeleteClusterOptions

	ClusterID string
}

func (*CmdDeleteClusterKubernetesOptions) Init

func (*CmdDeleteClusterKubernetesOptions) Validate

type CmdDeleteClusterOptions

type CmdDeleteClusterOptions struct {
	*CmdDeleteOptions
}

func (*CmdDeleteClusterOptions) Init

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
}

func (*CmdDeleteLaunchSpecKubernetes) Run

type CmdDeleteLaunchSpecKubernetesOptions

type CmdDeleteLaunchSpecKubernetesOptions struct {
	*CmdDeleteLaunchSpecOptions

	LaunchSpecID string
}

func (*CmdDeleteLaunchSpecKubernetesOptions) Init

func (*CmdDeleteLaunchSpecKubernetesOptions) Validate

type CmdDeleteLaunchSpecOptions

type CmdDeleteLaunchSpecOptions struct {
	*CmdDeleteOptions
}

func (*CmdDeleteLaunchSpecOptions) Init

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
}

func (*CmdDescribeClusterKubernetes) Run

type CmdDescribeClusterKubernetesOptions

type CmdDescribeClusterKubernetesOptions struct {
	*CmdDescribeClusterOptions

	ClusterID string
}

func (*CmdDescribeClusterKubernetesOptions) Init

func (*CmdDescribeClusterKubernetesOptions) Validate

type CmdDescribeClusterOptions

type CmdDescribeClusterOptions struct {
	*CmdDescribeOptions
}

func (*CmdDescribeClusterOptions) Init

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
}

func (*CmdDescribeLaunchSpecKubernetes) Run

type CmdDescribeLaunchSpecKubernetesOptions

type CmdDescribeLaunchSpecKubernetesOptions struct {
	*CmdDescribeLaunchSpecOptions

	LaunchSpecID string
}

func (*CmdDescribeLaunchSpecKubernetesOptions) Init

func (*CmdDescribeLaunchSpecKubernetesOptions) Validate

type CmdDescribeLaunchSpecOptions

type CmdDescribeLaunchSpecOptions struct {
	*CmdDescribeOptions
}

func (*CmdDescribeLaunchSpecOptions) Init

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 CmdEdit

type CmdEdit struct {
	// contains filtered or unexported fields
}

type CmdEditCluster

type CmdEditCluster struct {
	// contains filtered or unexported fields
}

type CmdEditClusterKubernetes

type CmdEditClusterKubernetes struct {
	// contains filtered or unexported fields
}

func (*CmdEditClusterKubernetes) Run

type CmdEditClusterKubernetesOptions

type CmdEditClusterKubernetesOptions struct {
	*CmdEditClusterOptions

	ClusterID string
}

func (*CmdEditClusterKubernetesOptions) Init

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
}

func (*CmdEditLaunchSpecKubernetes) Run

type CmdEditLaunchSpecKubernetesOptions

type CmdEditLaunchSpecKubernetesOptions struct {
	*CmdEditLaunchSpecOptions

	LaunchSpecID string
}

func (*CmdEditLaunchSpecKubernetesOptions) Init

func (*CmdEditLaunchSpecKubernetesOptions) Validate

type CmdEditLaunchSpecOptions

type CmdEditLaunchSpecOptions struct {
	*CmdEditOptions
}

func (*CmdEditLaunchSpecOptions) Init

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 CmdGet

type CmdGet struct {
	// contains filtered or unexported fields
}

type CmdGetCluster

type CmdGetCluster struct {
	// contains filtered or unexported fields
}

type CmdGetClusterKubernetes

type CmdGetClusterKubernetes struct {
	// contains filtered or unexported fields
}

func (*CmdGetClusterKubernetes) Run

type CmdGetClusterKubernetesOptions

type CmdGetClusterKubernetesOptions struct {
	*CmdGetClusterOptions
}

func (*CmdGetClusterKubernetesOptions) Init

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
}

func (*CmdGetLaunchSpecKubernetes) Run

type CmdGetLaunchSpecKubernetesOptions

type CmdGetLaunchSpecKubernetesOptions struct {
	*CmdGetLaunchSpecOptions
}

func (*CmdGetLaunchSpecKubernetesOptions) Init

func (*CmdGetLaunchSpecKubernetesOptions) Validate

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
}

func (*CmdQuickstartClusterKubernetesAWS) Run

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 (*CmdQuickstartClusterKubernetesAWSOptions) Validate

type CmdQuickstartClusterKubernetesOptions

type CmdQuickstartClusterKubernetesOptions struct {
	*CmdQuickstartClusterOptions
}

func (*CmdQuickstartClusterKubernetesOptions) Init

func (*CmdQuickstartClusterKubernetesOptions) Validate

type CmdQuickstartClusterOptions

type CmdQuickstartClusterOptions struct {
	*CmdQuickstartOptions
}

func (*CmdQuickstartClusterOptions) Init

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 CmdUpdate

type CmdUpdate struct {
	// contains filtered or unexported fields
}

type CmdUpdateCluster

type CmdUpdateCluster struct {
	// contains filtered or unexported fields
}

type CmdUpdateClusterKubernetes

type CmdUpdateClusterKubernetes struct {
	// contains filtered or unexported fields
}

func (*CmdUpdateClusterKubernetes) Run

type CmdUpdateClusterKubernetesOptions

type CmdUpdateClusterKubernetesOptions struct {
	*CmdUpdateClusterOptions
	spotinst.OceanClusterOptions
}

func (*CmdUpdateClusterKubernetesOptions) Init

func (*CmdUpdateClusterKubernetesOptions) Validate

type CmdUpdateClusterOptions

type CmdUpdateClusterOptions struct {
	*CmdUpdateOptions
}

func (*CmdUpdateClusterOptions) Init

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
}

func (*CmdUpdateLaunchSpecKubernetes) Run

type CmdUpdateLaunchSpecKubernetesOptions

type CmdUpdateLaunchSpecKubernetesOptions struct {
	*CmdUpdateLaunchSpecOptions
	spotinst.OceanLaunchSpecOptions
}

func (*CmdUpdateLaunchSpecKubernetesOptions) Init

func (*CmdUpdateLaunchSpecKubernetesOptions) Validate

type CmdUpdateLaunchSpecOptions

type CmdUpdateLaunchSpecOptions struct {
	*CmdUpdateOptions
}

func (*CmdUpdateLaunchSpecOptions) Init

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

Jump to

Keyboard shortcuts

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