command

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reconcile added in v0.1.2

func Reconcile(client client.Client, scheme *runtime.Scheme, request reconcile.Request, command Command, crdname string) (reconcile.Result, error)

Types

type Command added in v0.1.2

type Command interface {
	runtime.Object
	metav1.Object

	GetConditions() *status.Conditions
	SetConditions(status.Conditions)
	GetArgs() []string
	SetArgs([]string)
}

type CommandList added in v0.1.2

type CommandList interface {
	GetItems() []Command
}

type CommandPod added in v0.1.2

type CommandPod struct {
	corev1.Pod
	// contains filtered or unexported fields
}

func (*CommandPod) Construct added in v0.1.2

func (cp *CommandPod) Construct() error

func (*CommandPod) GetRuntimeObj added in v0.1.2

func (cp *CommandPod) GetRuntimeObj() runtime.Object

type CommandRole added in v0.1.2

type CommandRole struct {
	rbacv1.Role
	// contains filtered or unexported fields
}

Role giving permissions to watch the Command resource

func (*CommandRole) Construct added in v0.1.2

func (r *CommandRole) Construct() error

func (*CommandRole) GetRuntimeObj added in v0.1.2

func (r *CommandRole) GetRuntimeObj() runtime.Object

type CommandRoleBinding added in v0.1.2

type CommandRoleBinding struct {
	rbacv1.RoleBinding
	// contains filtered or unexported fields
}

RoleBinding binding the above Role to the above ServiceAccount

func (*CommandRoleBinding) Construct added in v0.1.2

func (rb *CommandRoleBinding) Construct() error

func (*CommandRoleBinding) GetRuntimeObj added in v0.1.2

func (rb *CommandRoleBinding) GetRuntimeObj() runtime.Object

type CommandServiceAccount added in v0.1.2

type CommandServiceAccount struct {
	corev1.ServiceAccount
}

Service Account for the Command Pod

func (*CommandServiceAccount) Construct added in v0.1.2

func (sa *CommandServiceAccount) Construct() error

func (*CommandServiceAccount) GetRuntimeObj added in v0.1.2

func (sa *CommandServiceAccount) GetRuntimeObj() runtime.Object

type Script added in v0.1.2

type Script struct {
	Resource   string
	Tarball    string
	Kind       string
	Entrypoint []string
	Args       []string
}

Jump to

Keyboard shortcuts

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