Documentation ¶
Index ¶
- func CreateJXValuesFile(gitter gitclient.Interface, jxClient jxc.Interface, ...) (string, error)
- func DiscoverHelmfile(dir string) (string, error)
- func GetOrCreatePreview(client versioned.Interface, ns string, pr *scm.PullRequest, ...) (*v1alpha1.Preview, bool, error)
- func LazyCreatePreviewClientAndNamespace(client versioned.Interface, ns string) (versioned.Interface, string, error)
- func Less(a *v1alpha1.Preview, b *v1alpha1.Preview) bool
- func SortPreviews(resources []v1alpha1.Preview)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJXValuesFile ¶
func CreateJXValuesFile(gitter gitclient.Interface, jxClient jxc.Interface, namespace, helmfile, previewNamespace, gitUser, gitToken string) (string, error)
CreateJXValuesFile creates the jx-values.yaml file from the dev environment
func DiscoverHelmfile ¶
DiscoverHelmfile discovers the helmfile in the gitven directory
func GetOrCreatePreview ¶
func GetOrCreatePreview(client versioned.Interface, ns string, pr *scm.PullRequest, destroyCmd v1alpha1.Command, gitURL, previewNamespace, path string) (*v1alpha1.Preview, bool, error)
GetOrCreatePreview lazy creates the preview client and/or the current namespace if not already defined
func LazyCreatePreviewClientAndNamespace ¶
func LazyCreatePreviewClientAndNamespace(client versioned.Interface, ns string) (versioned.Interface, string, error)
LazyCreatePreviewClientAndNamespace lazy creates the preview client and/or the current namespace if not already defined
func SortPreviews ¶
SortPreviews sorts the previews in order
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.