nonkube

package
v0.0.0-...-274c51d Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdSystemReload

type CmdSystemReload struct {
	CobraCmd        *cobra.Command
	Namespace       string
	PreCheck        func(config *bootstrap.Config) error
	Bootstrap       func(config *bootstrap.Config) (*api.SiteState, error)
	PostExec        func(config *bootstrap.Config, siteState *api.SiteState)
	ConfigBootstrap bootstrap.Config
}

func NewCmdSystemReload

func NewCmdSystemReload() *CmdSystemReload

func (*CmdSystemReload) InputToOptions

func (cmd *CmdSystemReload) InputToOptions()

func (*CmdSystemReload) NewClient

func (cmd *CmdSystemReload) NewClient(cobraCommand *cobra.Command, args []string)

func (*CmdSystemReload) Run

func (cmd *CmdSystemReload) Run() error

func (*CmdSystemReload) ValidateInput

func (cmd *CmdSystemReload) ValidateInput(args []string) error

func (*CmdSystemReload) WaitUntil

func (cmd *CmdSystemReload) WaitUntil() error

type CmdSystemSetup

type CmdSystemSetup struct {
	PreCheck        func(config *bootstrap.Config) error
	Bootstrap       func(config *bootstrap.Config) (*api.SiteState, error)
	PostExec        func(config *bootstrap.Config, siteState *api.SiteState)
	CobraCmd        *cobra.Command
	Flags           *common.CommandSystemSetupFlags
	Namespace       string
	ConfigBootstrap bootstrap.Config
}

func NewCmdSystemSetup

func NewCmdSystemSetup() *CmdSystemSetup

func (*CmdSystemSetup) InputToOptions

func (cmd *CmdSystemSetup) InputToOptions()

func (*CmdSystemSetup) NewClient

func (cmd *CmdSystemSetup) NewClient(cobraCommand *cobra.Command, args []string)

func (*CmdSystemSetup) Run

func (cmd *CmdSystemSetup) Run() error

func (*CmdSystemSetup) ValidateInput

func (cmd *CmdSystemSetup) ValidateInput(args []string) error

func (*CmdSystemSetup) WaitUntil

func (cmd *CmdSystemSetup) WaitUntil() error

type CmdSystemStart

type CmdSystemStart struct {
	CobraCmd    *cobra.Command
	Namespace   string
	SystemStart func(service string) error
}

func NewCmdCmdSystemStart

func NewCmdCmdSystemStart() *CmdSystemStart

func (*CmdSystemStart) InputToOptions

func (cmd *CmdSystemStart) InputToOptions()

func (*CmdSystemStart) NewClient

func (cmd *CmdSystemStart) NewClient(cobraCommand *cobra.Command, args []string)

func (*CmdSystemStart) Run

func (cmd *CmdSystemStart) Run() error

func (*CmdSystemStart) ValidateInput

func (cmd *CmdSystemStart) ValidateInput(args []string) error

func (*CmdSystemStart) WaitUntil

func (cmd *CmdSystemStart) WaitUntil() error

type CmdSystemStop

type CmdSystemStop struct {
	CobraCmd   *cobra.Command
	Namespace  string
	SystemStop func(service string) error
}

func NewCmdSystemStop

func NewCmdSystemStop() *CmdSystemStop

func (*CmdSystemStop) InputToOptions

func (cmd *CmdSystemStop) InputToOptions()

func (*CmdSystemStop) NewClient

func (cmd *CmdSystemStop) NewClient(cobraCommand *cobra.Command, args []string)

func (*CmdSystemStop) Run

func (cmd *CmdSystemStop) Run() error

func (*CmdSystemStop) ValidateInput

func (cmd *CmdSystemStop) ValidateInput(args []string) error

func (*CmdSystemStop) WaitUntil

func (cmd *CmdSystemStop) WaitUntil() error

type CmdSystemTeardown

type CmdSystemTeardown struct {
	CobraCmd  *cobra.Command
	TearDown  func(namespace string) error
	Namespace string
	Platform  string
}

func NewCmdSystemTeardown

func NewCmdSystemTeardown() *CmdSystemTeardown

func (*CmdSystemTeardown) InputToOptions

func (cmd *CmdSystemTeardown) InputToOptions()

func (*CmdSystemTeardown) NewClient

func (cmd *CmdSystemTeardown) NewClient(cobraCommand *cobra.Command, args []string)

func (*CmdSystemTeardown) Run

func (cmd *CmdSystemTeardown) Run() error

func (*CmdSystemTeardown) ValidateInput

func (cmd *CmdSystemTeardown) ValidateInput(args []string) error

func (*CmdSystemTeardown) WaitUntil

func (cmd *CmdSystemTeardown) WaitUntil() error

Jump to

Keyboard shortcuts

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