kube

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Conn         kubernetes.Interface
	RegistryAuth map[string]string
	// contains filtered or unexported fields
}

Client for communicating with kubernetes

func (*Client) CleanEnv

func (c *Client) CleanEnv(ctx context.Context) error

func (*Client) Destroy

func (c *Client) Destroy(ctx context.Context) error

func (*Client) Prepare

func (c *Client) Prepare(ctx context.Context, imageName string) (id string, err error)

func (*Client) PrepareEnv

func (c *Client) PrepareEnv(ctx context.Context, id string) error

func (*Client) Run

func (c *Client) Run(ctx context.Context, id string) error

Run the action; wait for complete

func (*Client) SetActionData

func (c *Client) SetActionData(ctx context.Context, workflowID string, action *workflow.WorkflowAction)

Jump to

Keyboard shortcuts

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