types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory interface {
	KnSource

	CreateKnSourceClient() KnSourceClient
}

type CommandFactory

type CommandFactory interface {
	KnSource

	SourceCommand() *cobra.Command

	CreateCommand() *cobra.Command
	DeleteCommand() *cobra.Command
	UpdateCommand() *cobra.Command
	DescribeCommand() *cobra.Command
}

type FlagsFactory

type FlagsFactory interface {
	KnSource

	CreateFlags() *pflag.FlagSet
	DeleteFlags() *pflag.FlagSet
	UpdateFlags() *pflag.FlagSet
	DescribeFlags() *pflag.FlagSet
}

type KnSource

type KnSource interface {
	KnSourceParams() *KnSourceParams
}

type KnSourceClient

type KnSourceClient interface {
	KnSource
}

type KnSourceParams

type KnSourceParams struct {
	commands.KnParams
}

type ParamsFactory

type ParamsFactory interface {
	KnSource
	CreateKnSourceParams() *KnSourceParams
}

type RunE

type RunE = func(cmd *cobra.Command, args []string) error

type RunEFactory

type RunEFactory interface {
	KnSource

	CreateRunE() RunE
	DeleteRunE() RunE
	UpdateRunE() RunE
	DescribeRunE() RunE

	KnSourceClient() KnSourceClient
}

Jump to

Keyboard shortcuts

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