Documentation ¶
Index ¶
- func EvalFlight(ctx context.Context, release string, flight FlightParams) ([]byte, []byte, error)
- func ExportToFS(dir, release string, resources []*unstructured.Unstructured) error
- func ExportToStdout(ctx context.Context, resources []*unstructured.Unstructured) error
- func LoadWasm(ctx context.Context, path string) (wasm []byte, err error)
- type Commander
- func (commander Commander) Descent(ctx context.Context, params DescentParams) error
- func (client Commander) Mayday(ctx context.Context, name, ns string) error
- func (commander Commander) Takeoff(ctx context.Context, params TakeoffParams) error
- func (commander Commander) Turbulence(ctx context.Context, params TurbulenceParams) error
- type DescentParams
- type FlightDependencies
- type FlightParams
- type TakeoffParams
- type TurbulenceParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvalFlight ¶
func ExportToFS ¶
func ExportToFS(dir, release string, resources []*unstructured.Unstructured) error
func ExportToStdout ¶
func ExportToStdout(ctx context.Context, resources []*unstructured.Unstructured) error
Types ¶
type Commander ¶
type Commander struct {
// contains filtered or unexported fields
}
func FromK8Client ¶
func FromKubeConfig ¶
func (Commander) Descent ¶
func (commander Commander) Descent(ctx context.Context, params DescentParams) error
func (Commander) Takeoff ¶
func (commander Commander) Takeoff(ctx context.Context, params TakeoffParams) error
func (Commander) Turbulence ¶
func (commander Commander) Turbulence(ctx context.Context, params TurbulenceParams) error
type DescentParams ¶
type FlightDependencies ¶
type FlightDependencies struct { Namespaces []*unstructured.Unstructured CRDs []*unstructured.Unstructured }
func SplitResources ¶
func SplitResources(resources []*unstructured.Unstructured) (deps FlightDependencies, core []*unstructured.Unstructured)
type FlightParams ¶
type TakeoffParams ¶
type TakeoffParams struct { SendToStdout bool SkipDryRun bool DryRun bool ForceConflicts bool MultiNamespaces bool Release string Out string Flight FlightParams DiffOnly bool Context int Color bool CreateNamespaces bool CreateCRDs bool Wait time.Duration Poll time.Duration OwnerReferences []metav1.OwnerReference }
Click to show internal directories.
Click to hide internal directories.