gitops

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Processor fileprocessor.FileProcessor
	Path      string
	GitOpts   git.Options
	GitCloner git.TmpCloner
	FS        afero.Fs
	IO        afero.Afero
	// contains filtered or unexported fields
}

Profile represents a gitops profile

func (*Profile) DeleteClonedDirectory

func (p *Profile) DeleteClonedDirectory()

DeleteClonedDirectory deletes the directory where the repository was cloned

func (*Profile) Generate

func (p *Profile) Generate(ctx context.Context) error

Generate clones the specified Git repo in a base directory and generates overlays if the Git repo points to a profile repo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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