operations

package
v0.0.2-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, logger logging.Logger, obj ctrlclient.Object, c client.Client, cleanup CleanupFunc) (_err error)

func Assert

func Assert(ctx context.Context, logger logging.Logger, expected unstructured.Unstructured, c client.Client) (_err error)

func Delete

func Delete(ctx context.Context, logger logging.Logger, expected ctrlclient.Object, c client.Client) (_err error)

func Error

func Error(ctx context.Context, logger logging.Logger, expected unstructured.Unstructured, c client.Client) (_err error)

func Exec added in v0.0.2

func Exec(ctx context.Context, logger logging.Logger, exec v1alpha1.Exec, log bool, namespace string) error

Types

type CleanupFunc

type CleanupFunc = func(ctrlclient.Object, client.Client)

type CommandOutput added in v0.0.2

type CommandOutput struct {
	// contains filtered or unexported fields
}

func (*CommandOutput) Err added in v0.0.2

func (c *CommandOutput) Err() string

func (*CommandOutput) Out added in v0.0.2

func (c *CommandOutput) Out() string

Jump to

Keyboard shortcuts

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