Documentation ¶
Index ¶
- func GetFluxBinPath() (string, error)
- func GetFluxExePath() (string, error)
- func GetLatestStatusAllNamespaces() ([]string, error)
- func SetupFluxBin()
- type Flux
- type FluxClient
- func (f *FluxClient) CreateHelmReleaseGitRepository(name string, source string, chartPath string, namespace string) ([]byte, error)
- func (f *FluxClient) CreateHelmReleaseHelmRepository(name string, chart string, namespace string) ([]byte, error)
- func (f *FluxClient) CreateKustomization(name string, source string, path string, namespace string) ([]byte, error)
- func (f *FluxClient) CreateSecretGit(name string, url string, namespace string) ([]byte, error)
- func (f *FluxClient) CreateSourceGit(name string, url string, branch string, secretRef string, namespace string) ([]byte, error)
- func (f *FluxClient) CreateSourceHelm(name string, url string, namespace string) ([]byte, error)
- func (f *FluxClient) Install(namespace string, export bool) ([]byte, error)
- func (f *FluxClient) Uninstall(namespace string, dryRun bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestStatusAllNamespaces ¶
GetLast log for each flux namespace
func SetupFluxBin ¶
func SetupFluxBin()
SetupFluxBin creates flux binary from embedded file if it doesnt already exist
Types ¶
type Flux ¶ added in v0.1.0
type Flux interface { Install(namespace string, export bool) ([]byte, error) Uninstall(namespace string, export bool) error CreateSourceGit(name string, url string, branch string, secretRef string, namespace string) ([]byte, error) CreateSourceHelm(name string, url string, namespace string) ([]byte, error) CreateKustomization(name string, source string, path string, namespace string) ([]byte, error) CreateHelmReleaseGitRepository(name string, source string, path string, namespace string) ([]byte, error) CreateHelmReleaseHelmRepository(name string, chart string, namespace string) ([]byte, error) CreateSecretGit(name string, url string, namespace string) ([]byte, error) }
type FluxClient ¶ added in v0.1.0
type FluxClient struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.1.0
func New(cliRunner runner.Runner) *FluxClient
func (*FluxClient) CreateHelmReleaseGitRepository ¶ added in v0.1.0
func (*FluxClient) CreateHelmReleaseHelmRepository ¶ added in v0.1.0
func (*FluxClient) CreateKustomization ¶ added in v0.1.0
func (*FluxClient) CreateSecretGit ¶ added in v0.1.0
CreatSecretGit Creates a Git secret returns the deploy key
func (*FluxClient) CreateSourceGit ¶ added in v0.1.0
func (*FluxClient) CreateSourceHelm ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.