Documentation
¶
Index ¶
- func CallFlux(arglist ...string) ([]byte, error)
- func FluxPath() (string, error)
- func GetOwnerFromEnv() (string, error)
- func GetRepoName() (string, error)
- func Install(namespace string) ([]byte, error)
- func QuietInstall(namespace string) ([]byte, error)
- func SetFluxHandler(h FluxHandler)
- func WithFluxHandler(handler FluxHandler, f func() ([]byte, error)) ([]byte, error)
- type FluxHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOwnerFromEnv ¶
GetOwnerFromEnv determines the owner of a new repository based on the GITHUB_ORG
func GetRepoName ¶
GetRepoName returns the name of the wego repo for the cluster (the repo holding controller defs)
func QuietInstall ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.