fluxops

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallFlux

func CallFlux(arglist ...string) ([]byte, error)

func FluxPath

func FluxPath() (string, error)

func GetOwnerFromEnv

func GetOwnerFromEnv() (string, error)

GetOwnerFromEnv determines the owner of a new repository based on the GITHUB_ORG

func GetRepoName

func GetRepoName() (string, error)

GetRepoName returns the name of the wego repo for the cluster (the repo holding controller defs)

func GetUserFromHubCredentials added in v0.0.3

func GetUserFromHubCredentials() (string, error)

func Install

func Install(namespace string) ([]byte, error)

func QuietInstall

func QuietInstall(namespace string) ([]byte, error)

func SetFluxHandler

func SetFluxHandler(h FluxHandler)

func WithFluxHandler

func WithFluxHandler(handler FluxHandler, f func() ([]byte, error)) ([]byte, error)

WithFluxHandler allows running a function with a different flux handler in force

Types

type FluxHandler

type FluxHandler interface {
	Handle(args string) ([]byte, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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