Documentation ¶
Index ¶
Constants ¶
View Source
const ( KubernetesNamespace = "_kubernetes.namespace" // optional (defaults to "tko") KubernetesPod = "_kubernetes.pod" // required KubernetesContainer = "_kubernetes.container" // optional (defaults to _kubernetes.pod) DefaultKubernetesNamespace = "tko" )
View Source
const Command = "command"
View Source
const Kpt = "kpt"
View Source
const PluginTypesDescription = "\"validate\", \"prepare\", or \"schedule\""
Variables ¶
This section is empty.
Functions ¶
func ExecuteLocal ¶
func IsValidPluginType ¶
Types ¶
type CommandExecutor ¶
type CommandExecutor struct {
*Executor
}
func NewCommandExecutor ¶
func NewCommandExecutor(arguments []string, properties map[string]string) (*CommandExecutor, error)
func (*CommandExecutor) Execute ¶
func (self *CommandExecutor) Execute(context contextpkg.Context, input any, output any) error
type KptExecutor ¶
type KptExecutor struct {
*Executor
}
func NewKptExecutor ¶
func NewKptExecutor(arguments []string, properties map[string]string) (*KptExecutor, error)
func (*KptExecutor) Execute ¶
func (self *KptExecutor) Execute(context contextpkg.Context, targetResourceIdentifer util.ResourceIdentifier, package_ util.Package) (util.Package, error)
type KubernetesREST ¶
func GetKubernetesREST ¶
func GetKubernetesREST() (*KubernetesREST, error)
func NewKubernetesREST ¶
func NewKubernetesREST() (*KubernetesREST, error)
Click to show internal directories.
Click to hide internal directories.