Documentation ¶
Overview ¶
Package seedjobs implements seed jobs configuration
Index ¶
Constants ¶
View Source
const ( // UsernameSecretKey is username data key in Kubernetes secret used to create Jenkins username/password credential UsernameSecretKey = "username" // PasswordSecretKey is password data key in Kubernetes secret used to create Jenkins username/password credential PasswordSecretKey = "password" // PrivateKeySecretKey is private key data key in Kubernetes secret used to create Jenkins SSH credential PrivateKeySecretKey = "privateKey" AppIDSecretKey = "appId" // JenkinsCredentialTypeLabelName is label for kubernetes-credentials-provider-plugin which determine Jenkins // credential type JenkinsCredentialTypeLabelName = "jenkins.io/credentials-type" // AgentName is the name of seed job agent AgentName = "seed-job-agent" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SeedJobs ¶
type SeedJobs interface { EnsureSeedJobs(jenkins *v1alpha2.Jenkins) (done bool, err error) ValidateSeedJobs(jenkins v1alpha2.Jenkins) ([]string, error) // contains filtered or unexported methods }
SeedJobs defines client interface to SeedJobs
func New ¶
func New(jenkinsClient jenkinsclient.Jenkins, config configuration.Configuration) SeedJobs
New creates SeedJobs object
Click to show internal directories.
Click to hide internal directories.