apply

package
v0.16.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 21 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
	CommandRunner cmdrunner.CommandRunner
	IsNewCluster  bool
	// contains filtered or unexported fields
}

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(commit *object.Commit, dir string) (bool, error)

func (*Options) Regenerate

func (o *Options) Regenerate(repo *git.Repository, headCommit *object.Commit) (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