apply

package
v0.7.26 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dir              string
	PullRequest      bool
	GitClient        gitclient.Interface
	CommandRunner    cmdrunner.CommandRunner
	GitCommandRunner cmdrunner.CommandRunner
}

Options the options for the command

func NewCmdApply

func NewCmdApply() (*cobra.Command, *Options)

NewCmdApply creates a command object for the command

func (*Options) CheckLastCommitChangedExternalSecret added in v0.2.110

func (o *Options) CheckLastCommitChangedExternalSecret(gitter gitclient.Interface, dir string) (bool, error)

func (*Options) Regenerate

func (o *Options) Regenerate() (bool, error)

Regenerate regenerates the kubernetes resources

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) RunCommand

func (o *Options) RunCommand(c *cmdrunner.Command) error

Run runs the command

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the setup

Jump to

Keyboard shortcuts

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