gitops

package
v0.5.1-rc0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 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 (*Gitops) Install

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

func (*Gitops) StoreManifests added in v0.5.0

func (g *Gitops) StoreManifests(gitClient git.Git, gitProvider gitproviders.GitProvider, params InstallParams, systemManifests map[string][]byte) (map[string][]byte, error)

func (*Gitops) Uninstall

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

type GitopsService

type GitopsService interface {
	Install(params InstallParams) (map[string][]byte, error)
	StoreManifests(gitClient git.Git, gitProvider gitproviders.GitProvider, params InstallParams, systemManifests map[string][]byte) (map[string][]byte, error)
	Uninstall(params UninstallParams) error
}

func New

func New(logger logger.Logger, flux flux.Flux, kube kube.Kube) GitopsService

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