Documentation ¶
Index ¶
Constants ¶
const ( // SuccessSynced is used as part of the Event 'reason' when a JenkinsInstance is synced SuccessSynced = "Synced" // ErrResourceExists is used as part of the Event 'reason' when a JenkinsInstance fails // to sync due to a resource of the same name already existing. ErrResourceExists = "ErrResourceExists" // MessageResourceExists is the message used for Events when a resource // fails to sync due to a resource already existing MessageResourceExists = "Resource %q already exists and is not managed by JenkinsInstance" // MessageResourceSynced is the message used for an Event fired when a JenkinsInstance // is synced successfully MessageResourceSynced = "JenkinsInstance synced successfully" )
const ( JenkinsMasterPort = 8080 JenkinsAgentPort = 50000 JenkinsReplicas = 1 )
const (
JenkinsInstancePhaseReady = "Ready"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JenkinsTokenRequest ¶
type JenkinsTokenRequest struct {
// contains filtered or unexported fields
}
type ReconcileJenkinsInstance ¶
type ReconcileJenkinsInstance struct { client.Client record.EventRecorder // contains filtered or unexported fields }
ReconcileJenkinsInstance reconciles a JenkinsInstance object
func (*ReconcileJenkinsInstance) Reconcile ¶
Reconcile reads that state of the cluster for a JenkinsInstance object and makes changes based on the state read and what is in the JenkinsInstance.Spec Automatically generate RBAC rules to allow the Controller to read and write objects +kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=configmaps,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=persistentvolumeclaims,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=nodes,verbs=list +kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=jenkins.jenkinsoperator.samsung-cnct.github.com,resources=jenkinsinstances,verbs=get;list;watch;create;update;patch;delete