gitops

package
v0.3.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gitops

type Gitops struct {
	// contains filtered or unexported fields
}

func New

func New(logger logger.Logger, flux flux.Flux, kube kube.Kube, gp gitproviders.GitProvider, g git.Git) *Gitops

func (*Gitops) Install

func (g *Gitops) Install(params InstallParams) ([]byte, error)

func (*Gitops) Uninstall

func (g *Gitops) Uninstall(params UninstallParams) error

type GitopsService

type GitopsService interface {
	Install(params InstallParams) ([]byte, error)
	Uninstall(params UninstallParams) error
}

type InstallParams

type InstallParams struct {
	Namespace    string
	DryRun       bool
	AppConfigURL string
}

type UninstallError added in v0.2.5

type UninstallError struct{}

func (UninstallError) Error added in v0.2.5

func (e UninstallError) Error() string

type UninstallParams added in v0.3.0

type UninstallParams struct {
	Namespace string
	DryRun    bool
}

Jump to

Keyboard shortcuts

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