merge

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConfigMapNamespace the default namespace to look for the ConfigMap for the requirements when not using file mode
	ConfigMapNamespace = "default"

	// ConfigMapName the default name of the ConfigMap for the requirements when not using file mode
	ConfigMapName = "terraform-jx-requirements"

	// ConfigMapKey the data key (entry) in the ConfigMap for the requirements when not using file mode
	ConfigMapKey = "jx-requirements.yml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dir           string
	File          string
	Namespace     string
	ConfigMapName string
	KubeClient    kubernetes.Interface
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdRequirementsMerge

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

NewCmdRequirementsResolve creates a command object for the command

func (*Options) MergeChanges

func (o *Options) MergeChanges(reqs *jxcore.Requirements) error

MergeChanges merges changes from the given requirements into the source

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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