Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestConfig git.Config = git.Config{
Branch: "master",
UserName: "example",
UserEmail: "example@example.com",
SyncTag: "flux-test",
NotesRef: "fluxtest",
}
Functions ¶
func Checkout ¶
Checkout makes a standard repo, clones it, and returns the clone with a cleanup function.
func CheckoutWithConfig ¶
CheckoutWithConfig makes a standard repo, clones it, and returns the clone, the original repo, and a cleanup function.
func Repo ¶
Repo creates a new clone-able git repo, pre-populated with some kubernetes files and a few commits. Also returns a cleanup func to clean up after.
func Workloads ¶
func Workloads() (res []flux.ResourceID)
Workloads is a shortcut to getting the names of the workloads (NB not all resources, just the workloads) represented in the test files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.