Documentation ¶
Index ¶
- func AppFlags(options *options.DaemonOptions, version string) []cli.Flag
- func CleanActionFlag(options *options.DaemonOptions) []cli.Flag
- func CleanupWorkspace(cli kt.CliInterface, opts *options.DaemonOptions)
- func CombineKubeOpts(options *options.DaemonOptions) error
- func ConnectActionFlag(options *options.DaemonOptions) []cli.Flag
- func ExchangeActionFlag(options *options.DaemonOptions) []cli.Flag
- func MeshActionFlag(options *options.DaemonOptions) []cli.Flag
- func NewCliAuthor() []cli.Author
- func ProvideActionFlag(options *options.DaemonOptions) []cli.Flag
- func RecoverOriginalService(ctx context.Context, k cluster.KubernetesInterface, svcName, namespace string)
- func SetupProcess(cli kt.CliInterface, options *options.DaemonOptions, componentName string) (chan os.Signal, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppFlags ¶
func AppFlags(options *options.DaemonOptions, version string) []cli.Flag
AppFlags return app flags
func CleanActionFlag ¶
func CleanActionFlag(options *options.DaemonOptions) []cli.Flag
func CleanupWorkspace ¶
func CleanupWorkspace(cli kt.CliInterface, opts *options.DaemonOptions)
CleanupWorkspace clean workspace
func CombineKubeOpts ¶
func CombineKubeOpts(options *options.DaemonOptions) error
CombineKubeOpts set default options of kubectl if not assign
func ConnectActionFlag ¶
func ConnectActionFlag(options *options.DaemonOptions) []cli.Flag
ConnectActionFlag ...
func ExchangeActionFlag ¶
func ExchangeActionFlag(options *options.DaemonOptions) []cli.Flag
func MeshActionFlag ¶
func MeshActionFlag(options *options.DaemonOptions) []cli.Flag
func ProvideActionFlag ¶
func ProvideActionFlag(options *options.DaemonOptions) []cli.Flag
func RecoverOriginalService ¶
func RecoverOriginalService(ctx context.Context, k cluster.KubernetesInterface, svcName, namespace string)
func SetupProcess ¶
func SetupProcess(cli kt.CliInterface, options *options.DaemonOptions, componentName string) (chan os.Signal, error)
SetupProcess write pid file and print setup message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.