Documentation ¶
Index ¶
- Constants
- func GetAndDeduplicateChildrenRecursively(ext jenkinsv1.Extension, lookupByUUID map[string]jenkinsv1.Extension, ...) error
- func GetOrCreateExtensionsConfig(kubeClient kubernetes.Interface, ns string) (*corev1.ConfigMap, error)
- func NotifyCommitStatus(commitRef jenkinsv1.CommitStatusCommitReference, state string, ...) (status *gits.GitRepoStatus, err error)
- func OnApply(jxClient jenkinsv1client.Interface, kubeClient kubernetes.Interface, ns string, ...) error
- func OnInstall(app *jenkinsv1.App, kubeClient kubernetes.Interface, ns string, ...) error
- func OnInstallFromName(appName string, jxClient jenkinsv1client.Interface, ...) error
- func ToExecutable(e *jenkinsv1.ExtensionSpec, paramValues []jenkinsv1.ExtensionParameterValue, ...) (ext jenkinsv1.ExtensionExecution, envVarsStr string, err error)
Constants ¶
View Source
const ExtensionsConfigDefaultConfigMap = "jenkins-x-extensions"
View Source
const (
ExtensionsDefinitionFile = "jenkins-x-extension-definitions.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func GetAndDeduplicateChildrenRecursively ¶
func GetAndDeduplicateChildrenRecursively(ext jenkinsv1.Extension, lookupByUUID map[string]jenkinsv1.Extension, exts map[string]*jenkinsv1.Extension) error
GetAndDeduplicateChildrenRecursively will walk a tree of extensions rooted at ext and add them to the flattened set exts. The lookupByUUID map is used to resolve UUID references to Extensions, and a warning will be emitted if the extension is not present in the lookupByUUID map.
func NotifyCommitStatus ¶
func NotifyCommitStatus(commitRef jenkinsv1.CommitStatusCommitReference, state string, targetUrl string, description string, comment string, context string, gitProvider gits.GitProvider, gitRepoInfo *gits.GitRepositoryInfo) (status *gits.GitRepoStatus, err error)
func OnApply ¶
func OnApply(jxClient jenkinsv1client.Interface, kubeClient kubernetes.Interface, ns string, helmer helm.Helmer, installTimeout string) error
OnApply examines the currently installs apps to perform any post-install actions
func OnInstall ¶
func OnInstall(app *jenkinsv1.App, kubeClient kubernetes.Interface, ns string, helmer helm.Helmer, installTimeout string) error
OnInstall uses the App CRD installed by appName to perform any post-install actions.
func OnInstallFromName ¶
func OnInstallFromName(appName string, jxClient jenkinsv1client.Interface, kubeClient kubernetes.Interface, ns string, helmer helm.Helmer, installTimeout string) error
OnInstallFromName uses the App CRD installed by appName to perform any post-install actions.
func ToExecutable ¶
func ToExecutable(e *jenkinsv1.ExtensionSpec, paramValues []jenkinsv1.ExtensionParameterValue, teamNamespace string, exts jenkinsv1client.ExtensionInterface) (ext jenkinsv1.ExtensionExecution, envVarsStr string, err error)
TODO remove the env vars formatting stuff from here and make it a function on ExtensionSpec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.