ocean

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 36 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 NewCmdRollout added in v0.0.14

func NewCmdRollout(opts *CmdOptions) *cobra.Command

func NewCmdRolloutHistory added in v0.0.14

func NewCmdRolloutHistory(opts *CmdRolloutOptions) *cobra.Command

func NewCmdRolloutHistoryKubernetes added in v0.0.14

func NewCmdRolloutHistoryKubernetes(opts *CmdRolloutHistoryOptions) *cobra.Command

func NewCmdRolloutStart added in v0.0.14

func NewCmdRolloutStart(opts *CmdRolloutOptions) *cobra.Command

func NewCmdRolloutStartKubernetes added in v0.0.14

func NewCmdRolloutStartKubernetes(opts *CmdRolloutStartOptions) *cobra.Command

func NewCmdRolloutStatus added in v0.0.14

func NewCmdRolloutStatus(opts *CmdRolloutOptions) *cobra.Command

func NewCmdRolloutStatusKubernetes added in v0.0.14

func NewCmdRolloutStatusKubernetes(opts *CmdRolloutStatusOptions) *cobra.Command

func NewCmdRolloutStop added in v0.0.14

func NewCmdRolloutStop(opts *CmdRolloutOptions) *cobra.Command

func NewCmdRolloutStopKubernetes added in v0.0.14

func NewCmdRolloutStopKubernetes(opts *CmdRolloutStopOptions) *cobra.Command

func NewCmdSpark added in v0.22.0

func NewCmdSpark(opts *CmdOptions) *cobra.Command

func NewCmdSparkConnect added in v0.34.0

func NewCmdSparkConnect(opts *CmdSparkOptions) *cobra.Command

func NewCmdSparkCreate added in v0.22.0

func NewCmdSparkCreate(opts *CmdSparkOptions) *cobra.Command

func NewCmdSparkCreateCluster added in v0.22.0

func NewCmdSparkCreateCluster(opts *CmdSparkCreateOptions) *cobra.Command

func NewCmdSparkDelete added in v0.27.0

func NewCmdSparkDelete(opts *CmdSparkOptions) *cobra.Command

func NewCmdSparkDeleteCluster added in v0.27.0

func NewCmdSparkDeleteCluster(opts *CmdSparkDeleteOptions) *cobra.Command

func NewCmdSparkDescribe added in v0.27.0

func NewCmdSparkDescribe(opts *CmdSparkOptions) *cobra.Command

func NewCmdSparkDescribeCluster added in v0.27.0

func NewCmdSparkDescribeCluster(opts *CmdSparkDescribeOptions) *cobra.Command

func NewCmdSparkGet added in v0.27.0

func NewCmdSparkGet(opts *CmdSparkOptions) *cobra.Command

func NewCmdSparkGetCluster added in v0.27.0

func NewCmdSparkGetCluster(opts *CmdSparkGetOptions) *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
	spot.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
	spot.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 spot.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 CmdRollout added in v0.0.14

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

type CmdRolloutHistory added in v0.0.14

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

type CmdRolloutHistoryKubernetes added in v0.0.14

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

func (*CmdRolloutHistoryKubernetes) Run added in v0.0.14

type CmdRolloutHistoryKubernetesOptions added in v0.0.14

type CmdRolloutHistoryKubernetesOptions struct {
	*CmdRolloutHistoryOptions

	NoHeaders bool
	Output    string
	ClusterID string
}

func (*CmdRolloutHistoryKubernetesOptions) Init added in v0.0.14

func (*CmdRolloutHistoryKubernetesOptions) Validate added in v0.0.14

type CmdRolloutHistoryOptions added in v0.0.14

type CmdRolloutHistoryOptions struct {
	*CmdRolloutOptions
}

func (*CmdRolloutHistoryOptions) Init added in v0.0.14

func (*CmdRolloutHistoryOptions) Validate added in v0.0.14

func (x *CmdRolloutHistoryOptions) Validate() error

type CmdRolloutOptions added in v0.0.14

type CmdRolloutOptions struct {
	*CmdOptions
}

func (*CmdRolloutOptions) Init added in v0.0.14

func (x *CmdRolloutOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)

func (*CmdRolloutOptions) Validate added in v0.0.14

func (x *CmdRolloutOptions) Validate() error

type CmdRolloutStart added in v0.0.14

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

type CmdRolloutStartKubernetes added in v0.0.14

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

func (*CmdRolloutStartKubernetes) Run added in v0.0.14

type CmdRolloutStartKubernetesOptions added in v0.0.14

type CmdRolloutStartKubernetesOptions struct {
	*CmdRolloutStartOptions
	spot.OceanRolloutOptions
}

func (*CmdRolloutStartKubernetesOptions) Init added in v0.0.14

func (*CmdRolloutStartKubernetesOptions) Validate added in v0.0.14

type CmdRolloutStartOptions added in v0.0.14

type CmdRolloutStartOptions struct {
	*CmdRolloutOptions
}

func (*CmdRolloutStartOptions) Init added in v0.0.14

func (*CmdRolloutStartOptions) Validate added in v0.0.14

func (x *CmdRolloutStartOptions) Validate() error

type CmdRolloutStatus added in v0.0.14

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

type CmdRolloutStatusKubernetes added in v0.0.14

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

func (*CmdRolloutStatusKubernetes) Run added in v0.0.14

type CmdRolloutStatusKubernetesOptions added in v0.0.14

type CmdRolloutStatusKubernetesOptions struct {
	*CmdRolloutStatusOptions

	ClusterID string
	RolloutID string
}

func (*CmdRolloutStatusKubernetesOptions) Init added in v0.0.14

func (*CmdRolloutStatusKubernetesOptions) Validate added in v0.0.14

type CmdRolloutStatusOptions added in v0.0.14

type CmdRolloutStatusOptions struct {
	*CmdRolloutOptions
}

func (*CmdRolloutStatusOptions) Init added in v0.0.14

func (*CmdRolloutStatusOptions) Validate added in v0.0.14

func (x *CmdRolloutStatusOptions) Validate() error

type CmdRolloutStop added in v0.0.14

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

type CmdRolloutStopKubernetes added in v0.0.14

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

func (*CmdRolloutStopKubernetes) Run added in v0.0.14

type CmdRolloutStopKubernetesOptions added in v0.0.14

type CmdRolloutStopKubernetesOptions struct {
	*CmdRolloutStopOptions
	spot.OceanRolloutOptions
}

func (*CmdRolloutStopKubernetesOptions) Init added in v0.0.14

func (*CmdRolloutStopKubernetesOptions) Validate added in v0.0.14

func (x *CmdRolloutStopKubernetesOptions) Validate() error

type CmdRolloutStopOptions added in v0.0.14

type CmdRolloutStopOptions struct {
	*CmdRolloutOptions
}

func (*CmdRolloutStopOptions) Init added in v0.0.14

func (*CmdRolloutStopOptions) Validate added in v0.0.14

func (x *CmdRolloutStopOptions) Validate() error

type CmdSpark added in v0.22.0

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

type CmdSparkConnect added in v0.34.0

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

func (*CmdSparkConnect) Run added in v0.34.0

func (x *CmdSparkConnect) Run(ctx context.Context) error

type CmdSparkConnectOptions added in v0.34.0

type CmdSparkConnectOptions struct {
	*CmdSparkOptions
	WsUrl     string
	ClusterID string
	AppID     string
	Port      string
	EndPoint  string
}

func (*CmdSparkConnectOptions) Init added in v0.34.0

func (*CmdSparkConnectOptions) Validate added in v0.34.0

func (x *CmdSparkConnectOptions) Validate() error

type CmdSparkCreate added in v0.22.0

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

type CmdSparkCreateCluster added in v0.22.0

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

func (*CmdSparkCreateCluster) Run added in v0.22.0

type CmdSparkCreateClusterOptions added in v0.22.0

type CmdSparkCreateClusterOptions struct {
	*CmdSparkCreateOptions
	OceanClusterID    string
	ClusterName       string
	Region            string
	Tags              []string
	KubernetesVersion string
	KubeConfigPath    string
}

func (*CmdSparkCreateClusterOptions) Init added in v0.22.0

func (*CmdSparkCreateClusterOptions) Validate added in v0.22.0

func (x *CmdSparkCreateClusterOptions) Validate() error

type CmdSparkCreateOptions added in v0.22.0

type CmdSparkCreateOptions struct {
	*CmdSparkOptions
}

func (*CmdSparkCreateOptions) Init added in v0.22.0

func (x *CmdSparkCreateOptions) Init(fs *pflag.FlagSet, opts *CmdSparkOptions)

func (*CmdSparkCreateOptions) Validate added in v0.22.0

func (x *CmdSparkCreateOptions) Validate() error

type CmdSparkDelete added in v0.27.0

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

type CmdSparkDeleteCluster added in v0.27.0

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

func (*CmdSparkDeleteCluster) Run added in v0.27.0

type CmdSparkDeleteClusterOptions added in v0.27.0

type CmdSparkDeleteClusterOptions struct {
	*CmdSparkDeleteOptions

	ClusterID string
}

func (*CmdSparkDeleteClusterOptions) Init added in v0.27.0

func (*CmdSparkDeleteClusterOptions) Validate added in v0.27.0

func (x *CmdSparkDeleteClusterOptions) Validate() error

type CmdSparkDeleteOptions added in v0.27.0

type CmdSparkDeleteOptions struct {
	*CmdSparkOptions
}

func (*CmdSparkDeleteOptions) Init added in v0.27.0

func (x *CmdSparkDeleteOptions) Init(fs *pflag.FlagSet, opts *CmdSparkOptions)

func (*CmdSparkDeleteOptions) Validate added in v0.27.0

func (x *CmdSparkDeleteOptions) Validate() error

type CmdSparkDescribe added in v0.27.0

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

type CmdSparkDescribeCluster added in v0.27.0

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

func (*CmdSparkDescribeCluster) Run added in v0.27.0

type CmdSparkDescribeClusterOptions added in v0.27.0

type CmdSparkDescribeClusterOptions struct {
	*CmdSparkDescribeOptions

	ClusterID string
}

func (*CmdSparkDescribeClusterOptions) Init added in v0.27.0

func (*CmdSparkDescribeClusterOptions) Validate added in v0.27.0

func (x *CmdSparkDescribeClusterOptions) Validate() error

type CmdSparkDescribeOptions added in v0.27.0

type CmdSparkDescribeOptions struct {
	*CmdSparkOptions
}

func (*CmdSparkDescribeOptions) Init added in v0.27.0

func (*CmdSparkDescribeOptions) Validate added in v0.27.0

func (x *CmdSparkDescribeOptions) Validate() error

type CmdSparkGet added in v0.27.0

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

type CmdSparkGetCluster added in v0.27.0

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

func (*CmdSparkGetCluster) Run added in v0.27.0

type CmdSparkGetClusterOptions added in v0.27.0

type CmdSparkGetClusterOptions struct {
	*CmdSparkGetOptions

	ControllerClusterID string
	State               string
}

func (*CmdSparkGetClusterOptions) Init added in v0.27.0

func (*CmdSparkGetClusterOptions) Validate added in v0.27.0

func (x *CmdSparkGetClusterOptions) Validate() error

type CmdSparkGetOptions added in v0.27.0

type CmdSparkGetOptions struct {
	*CmdSparkOptions

	// Get options
	NoHeaders bool
	Output    string
}

func (*CmdSparkGetOptions) Init added in v0.27.0

func (x *CmdSparkGetOptions) Init(fs *pflag.FlagSet, opts *CmdSparkOptions)

func (*CmdSparkGetOptions) Validate added in v0.27.0

func (x *CmdSparkGetOptions) Validate() error

type CmdSparkOptions added in v0.22.0

type CmdSparkOptions struct {
	*CmdOptions
}

func (*CmdSparkOptions) Init added in v0.22.0

func (x *CmdSparkOptions) Init(fs *pflag.FlagSet, opts *CmdOptions)

func (*CmdSparkOptions) Validate added in v0.22.0

func (x *CmdSparkOptions) 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
	spot.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
	spot.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