apply

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File(ctx context.Context, client *api.Client, filename string, opts ...Option) error

Types

type Cmd

type Cmd struct {
	Filename string   `short:"f" predictor:"file"`
	FromFile fromFile `cmd:"" default:"1" name:"-f <file>" help:"Apply any resource from a yaml or json file."`
}

func (*Cmd) Run

func (cmd *Cmd) Run(ctx context.Context, client *api.Client, apply *Cmd) error

type Option

type Option func(*config)

func Delete

func Delete() Option

func UpdateOnExists

func UpdateOnExists() Option

Jump to

Keyboard shortcuts

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