Documentation ¶
Index ¶
Constants ¶
View Source
const ( Hook = "hook" BuilderBaseImage = "jenkinsxio/builder-base:0.0.604" Application Kind = "APPLICATION" Environment Kind = "ENVIRONMENT" Compliance Kind = "COMPLIANCE" ServerlessJenkins = "serverless-jenkins" ComplianceCheck = "compliance-check" PromotionBuild = "promotion-build" KnativeBuildAgent = "knative-build" KubernetesAgent = "kubernetes" // TODO latest is the wrong thing to do here JXImage = "jenkinsxio/jx" )
View Source
const ProwConfigMapName = "config"
Variables ¶
This section is empty.
Functions ¶
func AddApplication ¶
func AddApplication(kubeClient kubernetes.Interface, repos []string, ns, draftPack string) error
func AddCompliance ¶
func AddCompliance(kubeClient kubernetes.Interface, repos []string, ns string) error
func AddEnvironment ¶
func AddEnvironment(kubeClient kubernetes.Interface, repos []string, ns, environmentNamespace string) error
Types ¶
type Options ¶
type Options struct { KubeClient kubernetes.Interface Repos []string NS string Kind Kind DraftPack string EnvironmentNamespace string }
Options for prow
func (*Options) AddProwConfig ¶
AddProwConfig adds config to prow
func (*Options) AddProwPlugins ¶
AddProwPlugins adds plugins to prow
Click to show internal directories.
Click to hide internal directories.