Documentation
¶
Index ¶
- func CallFlux(arglist ...string) ([]byte, error)
- func FluxPath() (string, error)
- func GetAllResources(namespace string) ([]byte, error)
- func GetAllResourcesStatus(appName string) ([]byte, error)
- func GetOwnerFromEnv() (string, error)
- func GetUserFromHubCredentials() (string, error)
- func Install(namespace string, export bool) ([]byte, error)
- func Override(handler FluxHandler) override.Override
- func QuietInstall(namespace string) ([]byte, error)
- func SetFluxHandler(h FluxHandler)
- func WithFluxHandler(handler FluxHandler, f func() ([]byte, error)) ([]byte, error)
- type DefaultFluxHandler
- type FluxHandler
- type QuietFluxHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllResources ¶ added in v0.0.4
func GetAllResourcesStatus ¶ added in v0.0.4
func GetOwnerFromEnv ¶
GetOwnerFromEnv determines the owner of a new repository based on the GITHUB_ORG
func GetUserFromHubCredentials ¶ added in v0.0.3
func Override ¶ added in v0.0.4
func Override(handler FluxHandler) override.Override
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 DefaultFluxHandler ¶ added in v0.0.4
type DefaultFluxHandler struct{}
type FluxHandler ¶
type QuietFluxHandler ¶ added in v0.0.4
type QuietFluxHandler struct{}
Click to show internal directories.
Click to hide internal directories.