yoke

package
v0.0.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadWasm

func LoadWasm(ctx context.Context, path string) (wasm []byte, err error)

Types

type Client

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

func FromK8Client

func FromK8Client(client *k8s.Client) *Client

func FromKubeConfig

func FromKubeConfig(path string) (*Client, error)

func (Client) Descent

func (client Client) Descent(ctx context.Context, params DescentParams) error

func (Client) Mayday

func (client Client) Mayday(ctx context.Context, release string) error

func (Client) Takeoff

func (client Client) Takeoff(ctx context.Context, params TakeoffParams) error

type DescentParams

type DescentParams struct {
	Release    string
	RevisionID int
}

type TakeoffParams

type TakeoffParams struct {
	Release        string
	Resources      []*unstructured.Unstructured
	FlightID       string
	Wasm           []byte
	SkipDryRun     bool
	ForceConflicts bool
}

Jump to

Keyboard shortcuts

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