jenkinsio

package
v1.0.0-beta.10....-72150bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

jenkinsio

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Jenkins_GVK

func Jenkins_GVK() *cdk8s.GroupVersionKind

func Jenkins_IsApiObject

func Jenkins_IsApiObject(o interface{}) *bool

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

func Jenkins_IsConstruct

func Jenkins_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func Jenkins_Manifest

func Jenkins_Manifest(props *JenkinsProps) interface{}

Renders a Kubernetes manifest for "Jenkins".

This can be used to inline resource manifests inside other objects (e.g. as templates).

func Jenkins_Of

func Jenkins_Of(c constructs.IConstruct) cdk8s.ApiObject

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an exception if the construct does not have a child named `Default` _or_ if this child is not an `ApiObject`.

func NewJenkins_Override

func NewJenkins_Override(j Jenkins, scope constructs.Construct, id *string, props *JenkinsProps)

Defines a "Jenkins" API object.

Types

type Jenkins

type Jenkins interface {
	cdk8s.ApiObject
	// The group portion of the API version (e.g. `authorization.k8s.io`).
	ApiGroup() *string
	// The object's API version (e.g. `authorization.k8s.io/v1`).
	ApiVersion() *string
	// The chart in which this object is defined.
	Chart() cdk8s.Chart
	// The object kind.
	Kind() *string
	// Metadata associated with this API object.
	Metadata() cdk8s.ApiObjectMetadataDefinition
	// The name of the API object.
	//
	// If a name is specified in `metadata.name` this will be the name returned.
	// Otherwise, a name will be generated by calling
	// `Chart.of(this).generatedObjectName(this)`, which by default uses the
	// construct path to generate a DNS-compatible name for the resource.
	Name() *string
	// The tree node.
	Node() constructs.Node
	// Create a dependency between this ApiObject and other constructs.
	//
	// These can be other ApiObjects, Charts, or custom.
	AddDependency(dependencies ...constructs.IConstruct)
	// Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.
	//
	// Example:
	//     kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
	//
	AddJsonPatch(ops ...cdk8s.JsonPatch)
	// Renders the object to Kubernetes JSON.
	ToJson() interface{}
	// Returns a string representation of this construct.
	ToString() *string
}

Jenkins is the Schema for the jenkins API.

func NewJenkins

func NewJenkins(scope constructs.Construct, id *string, props *JenkinsProps) Jenkins

Defines a "Jenkins" API object.

type JenkinsProps

type JenkinsProps struct {
	Metadata *cdk8s.ApiObjectMetadata `field:"optional" json:"metadata" yaml:"metadata"`
	// Spec defines the desired state of the Jenkins.
	Spec *JenkinsSpec `field:"optional" json:"spec" yaml:"spec"`
}

Jenkins is the Schema for the jenkins API.

type JenkinsSpec

type JenkinsSpec struct {
	// JenkinsAPISettings defines configuration used by the operator to gain admin access to the Jenkins API.
	JenkinsApiSettings *JenkinsSpecJenkinsApiSettings `field:"required" json:"jenkinsApiSettings" yaml:"jenkinsApiSettings"`
	// Master represents Jenkins master pod properties and Jenkins plugins.
	//
	// Every single change here requires a pod restart.
	Master *JenkinsSpecMaster `field:"required" json:"master" yaml:"master"`
	// Backup defines configuration of Jenkins backup More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-backup-and-restore.
	Backup *JenkinsSpecBackup `field:"optional" json:"backup" yaml:"backup"`
	// ConfigurationAsCode defines configuration of Jenkins customization via Configuration as Code Jenkins plugin.
	ConfigurationAsCode *JenkinsSpecConfigurationAsCode `field:"optional" json:"configurationAsCode" yaml:"configurationAsCode"`
	// GroovyScripts defines configuration of Jenkins customization via groovy scripts.
	GroovyScripts *JenkinsSpecGroovyScripts `field:"optional" json:"groovyScripts" yaml:"groovyScripts"`
	// Notifications defines list of a services which are used to inform about Jenkins status Can be used to integrate chat services like Slack, Microsoft Teams or Mailgun.
	Notifications *[]*JenkinsSpecNotifications `field:"optional" json:"notifications" yaml:"notifications"`
	// Backup defines configuration of Jenkins backup restore More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-backup-and-restore.
	Restore *JenkinsSpecRestore `field:"optional" json:"restore" yaml:"restore"`
	// Roles defines list of extra RBAC roles for the Jenkins Master pod service account.
	Roles *[]*JenkinsSpecRoles `field:"optional" json:"roles" yaml:"roles"`
	// SeedJobs defines list of Jenkins Seed Job configurations More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-seed-jobs-and-pipelines.
	SeedJobs *[]*JenkinsSpecSeedJobs `field:"optional" json:"seedJobs" yaml:"seedJobs"`
	// Service is Kubernetes service of Jenkins master HTTP pod Defaults to : port: 8080 type: ClusterIP.
	Service *JenkinsSpecService `field:"optional" json:"service" yaml:"service"`
	// ServiceAccount defines Jenkins master service account attributes.
	ServiceAccount *JenkinsSpecServiceAccount `field:"optional" json:"serviceAccount" yaml:"serviceAccount"`
	// Service is Kubernetes service of Jenkins slave pods Defaults to : port: 50000 type: ClusterIP.
	SlaveService *JenkinsSpecSlaveService `field:"optional" json:"slaveService" yaml:"slaveService"`
}

Spec defines the desired state of the Jenkins.

type JenkinsSpecBackup

type JenkinsSpecBackup struct {
	// Action defines action which performs backup in backup container sidecar.
	Action *JenkinsSpecBackupAction `field:"required" json:"action" yaml:"action"`
	// ContainerName is the container name responsible for backup operation.
	ContainerName *string `field:"required" json:"containerName" yaml:"containerName"`
	// Interval tells how often make backup in seconds Defaults to 30.
	Interval *float64 `field:"required" json:"interval" yaml:"interval"`
	// MakeBackupBeforePodDeletion tells operator to make backup before Jenkins master pod deletion.
	MakeBackupBeforePodDeletion *bool `field:"required" json:"makeBackupBeforePodDeletion" yaml:"makeBackupBeforePodDeletion"`
}

Backup defines configuration of Jenkins backup More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-backup-and-restore.

type JenkinsSpecBackupAction

type JenkinsSpecBackupAction struct {
	// Exec specifies the action to take.
	Exec *JenkinsSpecBackupActionExec `field:"optional" json:"exec" yaml:"exec"`
}

Action defines action which performs backup in backup container sidecar.

type JenkinsSpecBackupActionExec

type JenkinsSpecBackupActionExec struct {
	// Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem.
	//
	// The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	Command *[]*string `field:"optional" json:"command" yaml:"command"`
}

Exec specifies the action to take.

type JenkinsSpecConfigurationAsCode

type JenkinsSpecConfigurationAsCode struct {
	Configurations *[]*JenkinsSpecConfigurationAsCodeConfigurations `field:"required" json:"configurations" yaml:"configurations"`
	// SecretRef is reference to Kubernetes secret.
	Secret *JenkinsSpecConfigurationAsCodeSecret `field:"required" json:"secret" yaml:"secret"`
}

ConfigurationAsCode defines configuration of Jenkins customization via Configuration as Code Jenkins plugin.

type JenkinsSpecConfigurationAsCodeConfigurations

type JenkinsSpecConfigurationAsCodeConfigurations struct {
	Name *string `field:"required" json:"name" yaml:"name"`
}

ConfigMapRef is reference to Kubernetes ConfigMap.

type JenkinsSpecConfigurationAsCodeSecret

type JenkinsSpecConfigurationAsCodeSecret struct {
	Name *string `field:"required" json:"name" yaml:"name"`
}

SecretRef is reference to Kubernetes secret.

type JenkinsSpecGroovyScripts

type JenkinsSpecGroovyScripts struct {
	Configurations *[]*JenkinsSpecGroovyScriptsConfigurations `field:"required" json:"configurations" yaml:"configurations"`
	// SecretRef is reference to Kubernetes secret.
	Secret *JenkinsSpecGroovyScriptsSecret `field:"required" json:"secret" yaml:"secret"`
}

GroovyScripts defines configuration of Jenkins customization via groovy scripts.

type JenkinsSpecGroovyScriptsConfigurations

type JenkinsSpecGroovyScriptsConfigurations struct {
	Name *string `field:"required" json:"name" yaml:"name"`
}

ConfigMapRef is reference to Kubernetes ConfigMap.

type JenkinsSpecGroovyScriptsSecret

type JenkinsSpecGroovyScriptsSecret struct {
	Name *string `field:"required" json:"name" yaml:"name"`
}

SecretRef is reference to Kubernetes secret.

type JenkinsSpecJenkinsApiSettings

type JenkinsSpecJenkinsApiSettings struct {
	// AuthorizationStrategy defines authorization strategy of the operator for the Jenkins API.
	AuthorizationStrategy *string `field:"required" json:"authorizationStrategy" yaml:"authorizationStrategy"`
}

JenkinsAPISettings defines configuration used by the operator to gain admin access to the Jenkins API.

type JenkinsSpecMaster

type JenkinsSpecMaster struct {
	// DisableCSRFProtection allows you to toggle CSRF Protection on Jenkins.
	DisableCsrfProtection *bool `field:"required" json:"disableCsrfProtection" yaml:"disableCsrfProtection"`
	// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
	//
	// They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
	Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"`
	// BasePlugins contains plugins required by operator Defaults to : - name: kubernetes version: 1.15.7 - name: workflow-job version: "2.32" - name: workflow-aggregator version: "2.6" - name: git version: 3.10.0 - name: job-dsl version: "1.74" - name: configuration-as-code version: "1.19" - name: configuration-as-code-support version: "1.19" - name: kubernetes-credentials-provider version: 0.12.1.
	BasePlugins *[]*JenkinsSpecMasterBasePlugins `field:"optional" json:"basePlugins" yaml:"basePlugins"`
	// List of containers belonging to the pod.
	//
	// Containers cannot currently be added or removed. There must be at least one container in a Pod. Defaults to: - image: jenkins/jenkins:lts   imagePullPolicy: Always   livenessProbe:     failureThreshold: 12     httpGet:       path: /login       port: http       scheme: HTTP     initialDelaySeconds: 80     periodSeconds: 10     successThreshold: 1     timeoutSeconds: 5   name: jenkins-master   readinessProbe:     failureThreshold: 3     httpGet:       path: /login       port: http       scheme: HTTP     initialDelaySeconds: 30     periodSeconds: 10     successThreshold: 1     timeoutSeconds: 1   resources:     limits:       cpu: 1500m       memory: 3Gi     requests:       cpu: "1"       memory: 600Mi
	Containers *[]*JenkinsSpecMasterContainers `field:"optional" json:"containers" yaml:"containers"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	//
	// If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
	ImagePullSecrets *[]*JenkinsSpecMasterImagePullSecrets `field:"optional" json:"imagePullSecrets" yaml:"imagePullSecrets"`
	// Map of string keys and values that can be used to organize and categorize (scope and select) objects.
	//
	// May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
	Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
	// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
	//
	// They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations Deprecated: will be removed in the future, please use Annotations(annotations)
	MasterAnnotations *map[string]*string `field:"optional" json:"masterAnnotations" yaml:"masterAnnotations"`
	// NodeSelector is a selector which must be true for the pod to fit on a node.
	//
	// Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	NodeSelector *map[string]*string `field:"optional" json:"nodeSelector" yaml:"nodeSelector"`
	// Plugins contains plugins required by user.
	Plugins *[]*JenkinsSpecMasterPlugins `field:"optional" json:"plugins" yaml:"plugins"`
	// SecurityContext that applies to all the containers of the Jenkins Master.
	//
	// As per kubernetes specification, it can be overridden for each container individually. Defaults to: runAsUser: 1000 fsGroup: 1000
	SecurityContext *JenkinsSpecMasterSecurityContext `field:"optional" json:"securityContext" yaml:"securityContext"`
	// If specified, the pod's tolerations.
	Tolerations *[]*JenkinsSpecMasterTolerations `field:"optional" json:"tolerations" yaml:"tolerations"`
	// List of volumes that can be mounted by containers belonging to the pod.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes
	Volumes *[]*JenkinsSpecMasterVolumes `field:"optional" json:"volumes" yaml:"volumes"`
}

Master represents Jenkins master pod properties and Jenkins plugins.

Every single change here requires a pod restart.

type JenkinsSpecMasterBasePlugins

type JenkinsSpecMasterBasePlugins struct {
	// Name is the name of Jenkins plugin.
	Name *string `field:"required" json:"name" yaml:"name"`
	// Version is the version of Jenkins plugin.
	Version *string `field:"required" json:"version" yaml:"version"`
}

Plugin defines Jenkins plugin.

type JenkinsSpecMasterContainers

type JenkinsSpecMasterContainers struct {
	// Docker image name.
	//
	// More info: https://kubernetes.io/docs/concepts/containers/images
	Image *string `field:"required" json:"image" yaml:"image"`
	// Image pull policy.
	//
	// One of Always, Never, IfNotPresent. Defaults to Always.
	ImagePullPolicy *string `field:"required" json:"imagePullPolicy" yaml:"imagePullPolicy"`
	// Name of the container specified as a DNS_LABEL.
	//
	// Each container in a pod must have a unique name (DNS_LABEL).
	Name *string `field:"required" json:"name" yaml:"name"`
	// Compute Resources required by this container.
	//
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Resources *JenkinsSpecMasterContainersResources `field:"required" json:"resources" yaml:"resources"`
	// Arguments to the entrypoint.
	//
	// The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Args *[]*string `field:"optional" json:"args" yaml:"args"`
	// Entrypoint array.
	//
	// Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Command *[]*string `field:"optional" json:"command" yaml:"command"`
	// List of environment variables to set in the container.
	Env *[]*JenkinsSpecMasterContainersEnv `field:"optional" json:"env" yaml:"env"`
	// List of sources to populate environment variables in the container.
	//
	// The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
	EnvFrom *[]*JenkinsSpecMasterContainersEnvFrom `field:"optional" json:"envFrom" yaml:"envFrom"`
	// Actions that the management system should take in response to container lifecycle events.
	Lifecycle *JenkinsSpecMasterContainersLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Periodic probe of container liveness.
	//
	// Container will be restarted if the probe fails.
	LivenessProbe *JenkinsSpecMasterContainersLivenessProbe `field:"optional" json:"livenessProbe" yaml:"livenessProbe"`
	// List of ports to expose from the container.
	//
	// Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network.
	Ports *[]*JenkinsSpecMasterContainersPorts `field:"optional" json:"ports" yaml:"ports"`
	// Periodic probe of container service readiness.
	//
	// Container will be removed from service endpoints if the probe fails.
	ReadinessProbe *JenkinsSpecMasterContainersReadinessProbe `field:"optional" json:"readinessProbe" yaml:"readinessProbe"`
	// Security options the pod should run with.
	//
	// More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
	SecurityContext *JenkinsSpecMasterContainersSecurityContext `field:"optional" json:"securityContext" yaml:"securityContext"`
	// Pod volumes to mount into the container's filesystem.
	VolumeMounts *[]*JenkinsSpecMasterContainersVolumeMounts `field:"optional" json:"volumeMounts" yaml:"volumeMounts"`
	// Container's working directory.
	//
	// If not specified, the container runtime's default will be used, which might be configured in the container image.
	WorkingDir *string `field:"optional" json:"workingDir" yaml:"workingDir"`
}

Container defines Kubernetes container attributes.

type JenkinsSpecMasterContainersEnv

type JenkinsSpecMasterContainersEnv struct {
	// Name of the environment variable.
	//
	// Must be a C_IDENTIFIER.
	Name *string `field:"required" json:"name" yaml:"name"`
	// Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables.
	//
	// If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
	Value *string `field:"optional" json:"value" yaml:"value"`
	// Source for the environment variable's value.
	//
	// Cannot be used if value is not empty.
	ValueFrom *JenkinsSpecMasterContainersEnvValueFrom `field:"optional" json:"valueFrom" yaml:"valueFrom"`
}

EnvVar represents an environment variable present in a Container.

type JenkinsSpecMasterContainersEnvFrom

type JenkinsSpecMasterContainersEnvFrom struct {
	// The ConfigMap to select from.
	ConfigMapRef *JenkinsSpecMasterContainersEnvFromConfigMapRef `field:"optional" json:"configMapRef" yaml:"configMapRef"`
	// An optional identifier to prepend to each key in the ConfigMap.
	//
	// Must be a C_IDENTIFIER.
	Prefix *string `field:"optional" json:"prefix" yaml:"prefix"`
	// The Secret to select from.
	SecretRef *JenkinsSpecMasterContainersEnvFromSecretRef `field:"optional" json:"secretRef" yaml:"secretRef"`
}

EnvFromSource represents the source of a set of ConfigMaps.

type JenkinsSpecMasterContainersEnvFromConfigMapRef

type JenkinsSpecMasterContainersEnvFromConfigMapRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Specify whether the ConfigMap must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
}

The ConfigMap to select from.

type JenkinsSpecMasterContainersEnvFromSecretRef

type JenkinsSpecMasterContainersEnvFromSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Specify whether the Secret must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
}

The Secret to select from.

type JenkinsSpecMasterContainersEnvValueFrom

type JenkinsSpecMasterContainersEnvValueFrom struct {
	// Selects a key of a ConfigMap.
	ConfigMapKeyRef *JenkinsSpecMasterContainersEnvValueFromConfigMapKeyRef `field:"optional" json:"configMapKeyRef" yaml:"configMapKeyRef"`
	// Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
	FieldRef *JenkinsSpecMasterContainersEnvValueFromFieldRef `field:"optional" json:"fieldRef" yaml:"fieldRef"`
	// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
	ResourceFieldRef *JenkinsSpecMasterContainersEnvValueFromResourceFieldRef `field:"optional" json:"resourceFieldRef" yaml:"resourceFieldRef"`
	// Selects a key of a secret in the pod's namespace.
	SecretKeyRef *JenkinsSpecMasterContainersEnvValueFromSecretKeyRef `field:"optional" json:"secretKeyRef" yaml:"secretKeyRef"`
}

Source for the environment variable's value.

Cannot be used if value is not empty.

type JenkinsSpecMasterContainersEnvValueFromConfigMapKeyRef

type JenkinsSpecMasterContainersEnvValueFromConfigMapKeyRef struct {
	// The key to select.
	Key *string `field:"required" json:"key" yaml:"key"`
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Specify whether the ConfigMap or its key must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
}

Selects a key of a ConfigMap.

type JenkinsSpecMasterContainersEnvValueFromFieldRef

type JenkinsSpecMasterContainersEnvValueFromFieldRef struct {
	// Path of the field to select in the specified API version.
	FieldPath *string `field:"required" json:"fieldPath" yaml:"fieldPath"`
	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	ApiVersion *string `field:"optional" json:"apiVersion" yaml:"apiVersion"`
}

Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.

type JenkinsSpecMasterContainersEnvValueFromResourceFieldRef

type JenkinsSpecMasterContainersEnvValueFromResourceFieldRef struct {
	// Required: resource to select.
	Resource *string `field:"required" json:"resource" yaml:"resource"`
	// Container name: required for volumes, optional for env vars.
	ContainerName *string `field:"optional" json:"containerName" yaml:"containerName"`
	// Specifies the output format of the exposed resources, defaults to "1".
	Divisor *string `field:"optional" json:"divisor" yaml:"divisor"`
}

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.

type JenkinsSpecMasterContainersEnvValueFromSecretKeyRef

type JenkinsSpecMasterContainersEnvValueFromSecretKeyRef struct {
	// The key of the secret to select from.
	//
	// Must be a valid secret key.
	Key *string `field:"required" json:"key" yaml:"key"`
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Specify whether the Secret or its key must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
}

Selects a key of a secret in the pod's namespace.

type JenkinsSpecMasterContainersLifecycle

type JenkinsSpecMasterContainersLifecycle struct {
	// PostStart is called immediately after a container is created.
	//
	// If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	PostStart *JenkinsSpecMasterContainersLifecyclePostStart `field:"optional" json:"postStart" yaml:"postStart"`
	// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc.
	//
	// The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	PreStop *JenkinsSpecMasterContainersLifecyclePreStop `field:"optional" json:"preStop" yaml:"preStop"`
}

Actions that the management system should take in response to container lifecycle events.

type JenkinsSpecMasterContainersLifecyclePostStart

type JenkinsSpecMasterContainersLifecyclePostStart struct {
	// One and only one of the following should be specified.
	//
	// Exec specifies the action to take.
	Exec *JenkinsSpecMasterContainersLifecyclePostStartExec `field:"optional" json:"exec" yaml:"exec"`
	// HTTPGet specifies the http request to perform.
	HttpGet *JenkinsSpecMasterContainersLifecyclePostStartHttpGet `field:"optional" json:"httpGet" yaml:"httpGet"`
	// TCPSocket specifies an action involving a TCP port.
	//
	// TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.
	TcpSocket *JenkinsSpecMasterContainersLifecyclePostStartTcpSocket `field:"optional" json:"tcpSocket" yaml:"tcpSocket"`
}

PostStart is called immediately after a container is created.

If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

type JenkinsSpecMasterContainersLifecyclePostStartExec

type JenkinsSpecMasterContainersLifecyclePostStartExec struct {
	// Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem.
	//
	// The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	Command *[]*string `field:"optional" json:"command" yaml:"command"`
}

One and only one of the following should be specified.

Exec specifies the action to take.

type JenkinsSpecMasterContainersLifecyclePostStartHttpGet

type JenkinsSpecMasterContainersLifecyclePostStartHttpGet struct {
	// Name or number of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort `field:"required" json:"port" yaml:"port"`
	// Host name to connect to, defaults to the pod IP.
	//
	// You probably want to set "Host" in httpHeaders instead.
	Host *string `field:"optional" json:"host" yaml:"host"`
	// Custom headers to set in the request.
	//
	// HTTP allows repeated headers.
	HttpHeaders *[]*JenkinsSpecMasterContainersLifecyclePostStartHttpGetHttpHeaders `field:"optional" json:"httpHeaders" yaml:"httpHeaders"`
	// Path to access on the HTTP server.
	Path *string `field:"optional" json:"path" yaml:"path"`
	// Scheme to use for connecting to the host.
	//
	// Defaults to HTTP.
	Scheme *string `field:"optional" json:"scheme" yaml:"scheme"`
}

HTTPGet specifies the http request to perform.

type JenkinsSpecMasterContainersLifecyclePostStartHttpGetHttpHeaders

type JenkinsSpecMasterContainersLifecyclePostStartHttpGetHttpHeaders struct {
	// The header field name.
	Name *string `field:"required" json:"name" yaml:"name"`
	// The header field value.
	Value *string `field:"required" json:"value" yaml:"value"`
}

HTTPHeader describes a custom header to be used in HTTP probes.

type JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort

type JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort interface {
	Value() interface{}
}

Name or number of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort_FromNumber

func JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort_FromNumber(value *float64) JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort

func JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort_FromString

func JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort_FromString(value *string) JenkinsSpecMasterContainersLifecyclePostStartHttpGetPort

type JenkinsSpecMasterContainersLifecyclePostStartTcpSocket

type JenkinsSpecMasterContainersLifecyclePostStartTcpSocket struct {
	// Number or name of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort `field:"required" json:"port" yaml:"port"`
	// Optional: Host name to connect to, defaults to the pod IP.
	Host *string `field:"optional" json:"host" yaml:"host"`
}

TCPSocket specifies an action involving a TCP port.

TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.

type JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort

type JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort interface {
	Value() interface{}
}

Number or name of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort_FromNumber

func JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort_FromNumber(value *float64) JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort

func JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort_FromString

func JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort_FromString(value *string) JenkinsSpecMasterContainersLifecyclePostStartTcpSocketPort

type JenkinsSpecMasterContainersLifecyclePreStop

type JenkinsSpecMasterContainersLifecyclePreStop struct {
	// One and only one of the following should be specified.
	//
	// Exec specifies the action to take.
	Exec *JenkinsSpecMasterContainersLifecyclePreStopExec `field:"optional" json:"exec" yaml:"exec"`
	// HTTPGet specifies the http request to perform.
	HttpGet *JenkinsSpecMasterContainersLifecyclePreStopHttpGet `field:"optional" json:"httpGet" yaml:"httpGet"`
	// TCPSocket specifies an action involving a TCP port.
	//
	// TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.
	TcpSocket *JenkinsSpecMasterContainersLifecyclePreStopTcpSocket `field:"optional" json:"tcpSocket" yaml:"tcpSocket"`
}

PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc.

The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

type JenkinsSpecMasterContainersLifecyclePreStopExec

type JenkinsSpecMasterContainersLifecyclePreStopExec struct {
	// Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem.
	//
	// The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	Command *[]*string `field:"optional" json:"command" yaml:"command"`
}

One and only one of the following should be specified.

Exec specifies the action to take.

type JenkinsSpecMasterContainersLifecyclePreStopHttpGet

type JenkinsSpecMasterContainersLifecyclePreStopHttpGet struct {
	// Name or number of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort `field:"required" json:"port" yaml:"port"`
	// Host name to connect to, defaults to the pod IP.
	//
	// You probably want to set "Host" in httpHeaders instead.
	Host *string `field:"optional" json:"host" yaml:"host"`
	// Custom headers to set in the request.
	//
	// HTTP allows repeated headers.
	HttpHeaders *[]*JenkinsSpecMasterContainersLifecyclePreStopHttpGetHttpHeaders `field:"optional" json:"httpHeaders" yaml:"httpHeaders"`
	// Path to access on the HTTP server.
	Path *string `field:"optional" json:"path" yaml:"path"`
	// Scheme to use for connecting to the host.
	//
	// Defaults to HTTP.
	Scheme *string `field:"optional" json:"scheme" yaml:"scheme"`
}

HTTPGet specifies the http request to perform.

type JenkinsSpecMasterContainersLifecyclePreStopHttpGetHttpHeaders

type JenkinsSpecMasterContainersLifecyclePreStopHttpGetHttpHeaders struct {
	// The header field name.
	Name *string `field:"required" json:"name" yaml:"name"`
	// The header field value.
	Value *string `field:"required" json:"value" yaml:"value"`
}

HTTPHeader describes a custom header to be used in HTTP probes.

type JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort

type JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort interface {
	Value() interface{}
}

Name or number of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort_FromNumber

func JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort_FromNumber(value *float64) JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort

func JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort_FromString

func JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort_FromString(value *string) JenkinsSpecMasterContainersLifecyclePreStopHttpGetPort

type JenkinsSpecMasterContainersLifecyclePreStopTcpSocket

type JenkinsSpecMasterContainersLifecyclePreStopTcpSocket struct {
	// Number or name of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort `field:"required" json:"port" yaml:"port"`
	// Optional: Host name to connect to, defaults to the pod IP.
	Host *string `field:"optional" json:"host" yaml:"host"`
}

TCPSocket specifies an action involving a TCP port.

TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.

type JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort

type JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort interface {
	Value() interface{}
}

Number or name of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort_FromNumber

func JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort_FromNumber(value *float64) JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort

func JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort_FromString

func JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort_FromString(value *string) JenkinsSpecMasterContainersLifecyclePreStopTcpSocketPort

type JenkinsSpecMasterContainersLivenessProbe

type JenkinsSpecMasterContainersLivenessProbe struct {
	// One and only one of the following should be specified.
	//
	// Exec specifies the action to take.
	Exec *JenkinsSpecMasterContainersLivenessProbeExec `field:"optional" json:"exec" yaml:"exec"`
	// Minimum consecutive failures for the probe to be considered failed after having succeeded.
	//
	// Defaults to 3. Minimum value is 1.
	FailureThreshold *float64 `field:"optional" json:"failureThreshold" yaml:"failureThreshold"`
	// HTTPGet specifies the http request to perform.
	HttpGet *JenkinsSpecMasterContainersLivenessProbeHttpGet `field:"optional" json:"httpGet" yaml:"httpGet"`
	// Number of seconds after the container has started before liveness probes are initiated.
	//
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds *float64 `field:"optional" json:"initialDelaySeconds" yaml:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe.
	//
	// Default to 10 seconds. Minimum value is 1.
	PeriodSeconds *float64 `field:"optional" json:"periodSeconds" yaml:"periodSeconds"`
	// Minimum consecutive successes for the probe to be considered successful after having failed.
	//
	// Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
	SuccessThreshold *float64 `field:"optional" json:"successThreshold" yaml:"successThreshold"`
	// TCPSocket specifies an action involving a TCP port.
	//
	// TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.
	TcpSocket *JenkinsSpecMasterContainersLivenessProbeTcpSocket `field:"optional" json:"tcpSocket" yaml:"tcpSocket"`
	// Number of seconds after which the probe times out.
	//
	// Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"`
}

Periodic probe of container liveness.

Container will be restarted if the probe fails.

type JenkinsSpecMasterContainersLivenessProbeExec

type JenkinsSpecMasterContainersLivenessProbeExec struct {
	// Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem.
	//
	// The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	Command *[]*string `field:"optional" json:"command" yaml:"command"`
}

One and only one of the following should be specified.

Exec specifies the action to take.

type JenkinsSpecMasterContainersLivenessProbeHttpGet

type JenkinsSpecMasterContainersLivenessProbeHttpGet struct {
	// Name or number of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersLivenessProbeHttpGetPort `field:"required" json:"port" yaml:"port"`
	// Host name to connect to, defaults to the pod IP.
	//
	// You probably want to set "Host" in httpHeaders instead.
	Host *string `field:"optional" json:"host" yaml:"host"`
	// Custom headers to set in the request.
	//
	// HTTP allows repeated headers.
	HttpHeaders *[]*JenkinsSpecMasterContainersLivenessProbeHttpGetHttpHeaders `field:"optional" json:"httpHeaders" yaml:"httpHeaders"`
	// Path to access on the HTTP server.
	Path *string `field:"optional" json:"path" yaml:"path"`
	// Scheme to use for connecting to the host.
	//
	// Defaults to HTTP.
	Scheme *string `field:"optional" json:"scheme" yaml:"scheme"`
}

HTTPGet specifies the http request to perform.

type JenkinsSpecMasterContainersLivenessProbeHttpGetHttpHeaders

type JenkinsSpecMasterContainersLivenessProbeHttpGetHttpHeaders struct {
	// The header field name.
	Name *string `field:"required" json:"name" yaml:"name"`
	// The header field value.
	Value *string `field:"required" json:"value" yaml:"value"`
}

HTTPHeader describes a custom header to be used in HTTP probes.

type JenkinsSpecMasterContainersLivenessProbeHttpGetPort

type JenkinsSpecMasterContainersLivenessProbeHttpGetPort interface {
	Value() interface{}
}

Name or number of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersLivenessProbeHttpGetPort_FromNumber

func JenkinsSpecMasterContainersLivenessProbeHttpGetPort_FromNumber(value *float64) JenkinsSpecMasterContainersLivenessProbeHttpGetPort

func JenkinsSpecMasterContainersLivenessProbeHttpGetPort_FromString

func JenkinsSpecMasterContainersLivenessProbeHttpGetPort_FromString(value *string) JenkinsSpecMasterContainersLivenessProbeHttpGetPort

type JenkinsSpecMasterContainersLivenessProbeTcpSocket

type JenkinsSpecMasterContainersLivenessProbeTcpSocket struct {
	// Number or name of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersLivenessProbeTcpSocketPort `field:"required" json:"port" yaml:"port"`
	// Optional: Host name to connect to, defaults to the pod IP.
	Host *string `field:"optional" json:"host" yaml:"host"`
}

TCPSocket specifies an action involving a TCP port.

TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.

type JenkinsSpecMasterContainersLivenessProbeTcpSocketPort

type JenkinsSpecMasterContainersLivenessProbeTcpSocketPort interface {
	Value() interface{}
}

Number or name of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersLivenessProbeTcpSocketPort_FromNumber

func JenkinsSpecMasterContainersLivenessProbeTcpSocketPort_FromNumber(value *float64) JenkinsSpecMasterContainersLivenessProbeTcpSocketPort

func JenkinsSpecMasterContainersLivenessProbeTcpSocketPort_FromString

func JenkinsSpecMasterContainersLivenessProbeTcpSocketPort_FromString(value *string) JenkinsSpecMasterContainersLivenessProbeTcpSocketPort

type JenkinsSpecMasterContainersPorts

type JenkinsSpecMasterContainersPorts struct {
	// Number of port to expose on the pod's IP address.
	//
	// This must be a valid port number, 0 < x < 65536.
	ContainerPort *float64 `field:"required" json:"containerPort" yaml:"containerPort"`
	// What host IP to bind the external port to.
	HostIp *string `field:"optional" json:"hostIp" yaml:"hostIp"`
	// Number of port to expose on the host.
	//
	// If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.
	HostPort *float64 `field:"optional" json:"hostPort" yaml:"hostPort"`
	// If specified, this must be an IANA_SVC_NAME and unique within the pod.
	//
	// Each named port in a pod must have a unique name. Name for the port that can be referred to by services.
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Protocol for port.
	//
	// Must be UDP, TCP, or SCTP. Defaults to "TCP".
	Protocol *string `field:"optional" json:"protocol" yaml:"protocol"`
}

ContainerPort represents a network port in a single container.

type JenkinsSpecMasterContainersReadinessProbe

type JenkinsSpecMasterContainersReadinessProbe struct {
	// One and only one of the following should be specified.
	//
	// Exec specifies the action to take.
	Exec *JenkinsSpecMasterContainersReadinessProbeExec `field:"optional" json:"exec" yaml:"exec"`
	// Minimum consecutive failures for the probe to be considered failed after having succeeded.
	//
	// Defaults to 3. Minimum value is 1.
	FailureThreshold *float64 `field:"optional" json:"failureThreshold" yaml:"failureThreshold"`
	// HTTPGet specifies the http request to perform.
	HttpGet *JenkinsSpecMasterContainersReadinessProbeHttpGet `field:"optional" json:"httpGet" yaml:"httpGet"`
	// Number of seconds after the container has started before liveness probes are initiated.
	//
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds *float64 `field:"optional" json:"initialDelaySeconds" yaml:"initialDelaySeconds"`
	// How often (in seconds) to perform the probe.
	//
	// Default to 10 seconds. Minimum value is 1.
	PeriodSeconds *float64 `field:"optional" json:"periodSeconds" yaml:"periodSeconds"`
	// Minimum consecutive successes for the probe to be considered successful after having failed.
	//
	// Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
	SuccessThreshold *float64 `field:"optional" json:"successThreshold" yaml:"successThreshold"`
	// TCPSocket specifies an action involving a TCP port.
	//
	// TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.
	TcpSocket *JenkinsSpecMasterContainersReadinessProbeTcpSocket `field:"optional" json:"tcpSocket" yaml:"tcpSocket"`
	// Number of seconds after which the probe times out.
	//
	// Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"`
}

Periodic probe of container service readiness.

Container will be removed from service endpoints if the probe fails.

type JenkinsSpecMasterContainersReadinessProbeExec

type JenkinsSpecMasterContainersReadinessProbeExec struct {
	// Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem.
	//
	// The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	Command *[]*string `field:"optional" json:"command" yaml:"command"`
}

One and only one of the following should be specified.

Exec specifies the action to take.

type JenkinsSpecMasterContainersReadinessProbeHttpGet

type JenkinsSpecMasterContainersReadinessProbeHttpGet struct {
	// Name or number of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersReadinessProbeHttpGetPort `field:"required" json:"port" yaml:"port"`
	// Host name to connect to, defaults to the pod IP.
	//
	// You probably want to set "Host" in httpHeaders instead.
	Host *string `field:"optional" json:"host" yaml:"host"`
	// Custom headers to set in the request.
	//
	// HTTP allows repeated headers.
	HttpHeaders *[]*JenkinsSpecMasterContainersReadinessProbeHttpGetHttpHeaders `field:"optional" json:"httpHeaders" yaml:"httpHeaders"`
	// Path to access on the HTTP server.
	Path *string `field:"optional" json:"path" yaml:"path"`
	// Scheme to use for connecting to the host.
	//
	// Defaults to HTTP.
	Scheme *string `field:"optional" json:"scheme" yaml:"scheme"`
}

HTTPGet specifies the http request to perform.

type JenkinsSpecMasterContainersReadinessProbeHttpGetHttpHeaders

type JenkinsSpecMasterContainersReadinessProbeHttpGetHttpHeaders struct {
	// The header field name.
	Name *string `field:"required" json:"name" yaml:"name"`
	// The header field value.
	Value *string `field:"required" json:"value" yaml:"value"`
}

HTTPHeader describes a custom header to be used in HTTP probes.

type JenkinsSpecMasterContainersReadinessProbeHttpGetPort

type JenkinsSpecMasterContainersReadinessProbeHttpGetPort interface {
	Value() interface{}
}

Name or number of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersReadinessProbeHttpGetPort_FromNumber

func JenkinsSpecMasterContainersReadinessProbeHttpGetPort_FromNumber(value *float64) JenkinsSpecMasterContainersReadinessProbeHttpGetPort

func JenkinsSpecMasterContainersReadinessProbeHttpGetPort_FromString

func JenkinsSpecMasterContainersReadinessProbeHttpGetPort_FromString(value *string) JenkinsSpecMasterContainersReadinessProbeHttpGetPort

type JenkinsSpecMasterContainersReadinessProbeTcpSocket

type JenkinsSpecMasterContainersReadinessProbeTcpSocket struct {
	// Number or name of the port to access on the container.
	//
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	Port JenkinsSpecMasterContainersReadinessProbeTcpSocketPort `field:"required" json:"port" yaml:"port"`
	// Optional: Host name to connect to, defaults to the pod IP.
	Host *string `field:"optional" json:"host" yaml:"host"`
}

TCPSocket specifies an action involving a TCP port.

TCP hooks not yet supported TODO: implement a realistic TCP lifecycle hook.

type JenkinsSpecMasterContainersReadinessProbeTcpSocketPort

type JenkinsSpecMasterContainersReadinessProbeTcpSocketPort interface {
	Value() interface{}
}

Number or name of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

func JenkinsSpecMasterContainersReadinessProbeTcpSocketPort_FromNumber

func JenkinsSpecMasterContainersReadinessProbeTcpSocketPort_FromNumber(value *float64) JenkinsSpecMasterContainersReadinessProbeTcpSocketPort

func JenkinsSpecMasterContainersReadinessProbeTcpSocketPort_FromString

func JenkinsSpecMasterContainersReadinessProbeTcpSocketPort_FromString(value *string) JenkinsSpecMasterContainersReadinessProbeTcpSocketPort

type JenkinsSpecMasterContainersResources

type JenkinsSpecMasterContainersResources struct {
	// Limits describes the maximum amount of compute resources allowed.
	//
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Limits *map[string]*string `field:"optional" json:"limits" yaml:"limits"`
	// Requests describes the minimum amount of compute resources required.
	//
	// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Requests *map[string]*string `field:"optional" json:"requests" yaml:"requests"`
}

Compute Resources required by this container.

More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

type JenkinsSpecMasterContainersSecurityContext

type JenkinsSpecMasterContainersSecurityContext struct {
	// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process.
	//
	// This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN
	AllowPrivilegeEscalation *bool `field:"optional" json:"allowPrivilegeEscalation" yaml:"allowPrivilegeEscalation"`
	// The capabilities to add/drop when running containers.
	//
	// Defaults to the default set of capabilities granted by the container runtime.
	Capabilities *JenkinsSpecMasterContainersSecurityContextCapabilities `field:"optional" json:"capabilities" yaml:"capabilities"`
	// Run container in privileged mode.
	//
	// Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
	Privileged *bool `field:"optional" json:"privileged" yaml:"privileged"`
	// procMount denotes the type of proc mount to use for the containers.
	//
	// The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.
	ProcMount *string `field:"optional" json:"procMount" yaml:"procMount"`
	// Whether this container has a read-only root filesystem.
	//
	// Default is false.
	ReadOnlyRootFilesystem *bool `field:"optional" json:"readOnlyRootFilesystem" yaml:"readOnlyRootFilesystem"`
	// The GID to run the entrypoint of the container process.
	//
	// Uses runtime default if unset. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	RunAsGroup *float64 `field:"optional" json:"runAsGroup" yaml:"runAsGroup"`
	// Indicates that the container must run as a non-root user.
	//
	// If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	RunAsNonRoot *bool `field:"optional" json:"runAsNonRoot" yaml:"runAsNonRoot"`
	// The UID to run the entrypoint of the container process.
	//
	// Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	RunAsUser *float64 `field:"optional" json:"runAsUser" yaml:"runAsUser"`
	// The SELinux context to be applied to the container.
	//
	// If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	SeLinuxOptions *JenkinsSpecMasterContainersSecurityContextSeLinuxOptions `field:"optional" json:"seLinuxOptions" yaml:"seLinuxOptions"`
	// The Windows specific settings applied to all containers.
	//
	// If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	WindowsOptions *JenkinsSpecMasterContainersSecurityContextWindowsOptions `field:"optional" json:"windowsOptions" yaml:"windowsOptions"`
}

Security options the pod should run with.

More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

type JenkinsSpecMasterContainersSecurityContextCapabilities

type JenkinsSpecMasterContainersSecurityContextCapabilities struct {
	// Added capabilities.
	Add *[]*string `field:"optional" json:"add" yaml:"add"`
	// Removed capabilities.
	Drop *[]*string `field:"optional" json:"drop" yaml:"drop"`
}

The capabilities to add/drop when running containers.

Defaults to the default set of capabilities granted by the container runtime.

type JenkinsSpecMasterContainersSecurityContextSeLinuxOptions

type JenkinsSpecMasterContainersSecurityContextSeLinuxOptions struct {
	// Level is SELinux level label that applies to the container.
	Level *string `field:"optional" json:"level" yaml:"level"`
	// Role is a SELinux role label that applies to the container.
	Role *string `field:"optional" json:"role" yaml:"role"`
	// Type is a SELinux type label that applies to the container.
	Type *string `field:"optional" json:"type" yaml:"type"`
	// User is a SELinux user label that applies to the container.
	User *string `field:"optional" json:"user" yaml:"user"`
}

The SELinux context to be applied to the container.

If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

type JenkinsSpecMasterContainersSecurityContextWindowsOptions

type JenkinsSpecMasterContainersSecurityContextWindowsOptions struct {
	// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.
	GmsaCredentialSpec *string `field:"optional" json:"gmsaCredentialSpec" yaml:"gmsaCredentialSpec"`
	// GMSACredentialSpecName is the name of the GMSA credential spec to use.
	//
	// This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.
	GmsaCredentialSpecName *string `field:"optional" json:"gmsaCredentialSpecName" yaml:"gmsaCredentialSpecName"`
	// The UserName in Windows to run the entrypoint of the container process.
	//
	// Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag.
	RunAsUserName *string `field:"optional" json:"runAsUserName" yaml:"runAsUserName"`
}

The Windows specific settings applied to all containers.

If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

type JenkinsSpecMasterContainersVolumeMounts

type JenkinsSpecMasterContainersVolumeMounts struct {
	// Path within the container at which the volume should be mounted.
	//
	// Must not contain ':'.
	MountPath *string `field:"required" json:"mountPath" yaml:"mountPath"`
	// This must match the Name of a Volume.
	Name *string `field:"required" json:"name" yaml:"name"`
	// mountPropagation determines how mounts are propagated from the host to container and the other way around.
	//
	// When not set, MountPropagationNone is used. This field is beta in 1.10.
	MountPropagation *string `field:"optional" json:"mountPropagation" yaml:"mountPropagation"`
	// Mounted read-only if true, read-write otherwise (false or unspecified).
	//
	// Defaults to false.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// Path within the volume from which the container's volume should be mounted.
	//
	// Defaults to "" (volume's root).
	SubPath *string `field:"optional" json:"subPath" yaml:"subPath"`
	// Expanded path within the volume from which the container's volume should be mounted.
	//
	// Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15.
	SubPathExpr *string `field:"optional" json:"subPathExpr" yaml:"subPathExpr"`
}

VolumeMount describes a mounting of a Volume within a container.

type JenkinsSpecMasterImagePullSecrets

type JenkinsSpecMasterImagePullSecrets struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

type JenkinsSpecMasterPlugins

type JenkinsSpecMasterPlugins struct {
	// Name is the name of Jenkins plugin.
	Name *string `field:"required" json:"name" yaml:"name"`
	// Version is the version of Jenkins plugin.
	Version *string `field:"required" json:"version" yaml:"version"`
}

Plugin defines Jenkins plugin.

type JenkinsSpecMasterSecurityContext

type JenkinsSpecMasterSecurityContext struct {
	// A special supplemental group that applies to all containers in a pod.
	//
	// Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
	// 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----
	// If unset, the Kubelet will not modify the ownership and permissions of any volume.
	FsGroup *float64 `field:"optional" json:"fsGroup" yaml:"fsGroup"`
	// The GID to run the entrypoint of the container process.
	//
	// Uses runtime default if unset. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
	RunAsGroup *float64 `field:"optional" json:"runAsGroup" yaml:"runAsGroup"`
	// Indicates that the container must run as a non-root user.
	//
	// If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	RunAsNonRoot *bool `field:"optional" json:"runAsNonRoot" yaml:"runAsNonRoot"`
	// The UID to run the entrypoint of the container process.
	//
	// Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
	RunAsUser *float64 `field:"optional" json:"runAsUser" yaml:"runAsUser"`
	// The SELinux context to be applied to all containers.
	//
	// If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
	SeLinuxOptions *JenkinsSpecMasterSecurityContextSeLinuxOptions `field:"optional" json:"seLinuxOptions" yaml:"seLinuxOptions"`
	// A list of groups applied to the first process run in each container, in addition to the container's primary GID.
	//
	// If unspecified, no groups will be added to any container.
	SupplementalGroups *[]*float64 `field:"optional" json:"supplementalGroups" yaml:"supplementalGroups"`
	// Sysctls hold a list of namespaced sysctls used for the pod.
	//
	// Pods with unsupported sysctls (by the container runtime) might fail to launch.
	Sysctls *[]*JenkinsSpecMasterSecurityContextSysctls `field:"optional" json:"sysctls" yaml:"sysctls"`
	// The Windows specific settings applied to all containers.
	//
	// If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	WindowsOptions *JenkinsSpecMasterSecurityContextWindowsOptions `field:"optional" json:"windowsOptions" yaml:"windowsOptions"`
}

SecurityContext that applies to all the containers of the Jenkins Master.

As per kubernetes specification, it can be overridden for each container individually. Defaults to: runAsUser: 1000 fsGroup: 1000

type JenkinsSpecMasterSecurityContextSeLinuxOptions

type JenkinsSpecMasterSecurityContextSeLinuxOptions struct {
	// Level is SELinux level label that applies to the container.
	Level *string `field:"optional" json:"level" yaml:"level"`
	// Role is a SELinux role label that applies to the container.
	Role *string `field:"optional" json:"role" yaml:"role"`
	// Type is a SELinux type label that applies to the container.
	Type *string `field:"optional" json:"type" yaml:"type"`
	// User is a SELinux user label that applies to the container.
	User *string `field:"optional" json:"user" yaml:"user"`
}

The SELinux context to be applied to all containers.

If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.

type JenkinsSpecMasterSecurityContextSysctls

type JenkinsSpecMasterSecurityContextSysctls struct {
	// Name of a property to set.
	Name *string `field:"required" json:"name" yaml:"name"`
	// Value of a property to set.
	Value *string `field:"required" json:"value" yaml:"value"`
}

Sysctl defines a kernel parameter to be set.

type JenkinsSpecMasterSecurityContextWindowsOptions

type JenkinsSpecMasterSecurityContextWindowsOptions struct {
	// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.
	GmsaCredentialSpec *string `field:"optional" json:"gmsaCredentialSpec" yaml:"gmsaCredentialSpec"`
	// GMSACredentialSpecName is the name of the GMSA credential spec to use.
	//
	// This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag.
	GmsaCredentialSpecName *string `field:"optional" json:"gmsaCredentialSpecName" yaml:"gmsaCredentialSpecName"`
	// The UserName in Windows to run the entrypoint of the container process.
	//
	// Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag.
	RunAsUserName *string `field:"optional" json:"runAsUserName" yaml:"runAsUserName"`
}

The Windows specific settings applied to all containers.

If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

type JenkinsSpecMasterTolerations

type JenkinsSpecMasterTolerations struct {
	// Effect indicates the taint effect to match.
	//
	// Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
	Effect *string `field:"optional" json:"effect" yaml:"effect"`
	// Key is the taint key that the toleration applies to.
	//
	// Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
	Key *string `field:"optional" json:"key" yaml:"key"`
	// Operator represents a key's relationship to the value.
	//
	// Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
	Operator *string `field:"optional" json:"operator" yaml:"operator"`
	// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.
	//
	// By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
	TolerationSeconds *float64 `field:"optional" json:"tolerationSeconds" yaml:"tolerationSeconds"`
	// Value is the taint value the toleration matches to.
	//
	// If the operator is Exists, the value should be empty, otherwise just a regular string.
	Value *string `field:"optional" json:"value" yaml:"value"`
}

The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

type JenkinsSpecMasterVolumes

type JenkinsSpecMasterVolumes struct {
	// Volume's name.
	//
	// Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name *string `field:"required" json:"name" yaml:"name"`
	// AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	AwsElasticBlockStore *JenkinsSpecMasterVolumesAwsElasticBlockStore `field:"optional" json:"awsElasticBlockStore" yaml:"awsElasticBlockStore"`
	// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
	AzureDisk *JenkinsSpecMasterVolumesAzureDisk `field:"optional" json:"azureDisk" yaml:"azureDisk"`
	// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
	AzureFile *JenkinsSpecMasterVolumesAzureFile `field:"optional" json:"azureFile" yaml:"azureFile"`
	// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
	Cephfs *JenkinsSpecMasterVolumesCephfs `field:"optional" json:"cephfs" yaml:"cephfs"`
	// Cinder represents a cinder volume attached and mounted on kubelets host machine.
	//
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	Cinder *JenkinsSpecMasterVolumesCinder `field:"optional" json:"cinder" yaml:"cinder"`
	// ConfigMap represents a configMap that should populate this volume.
	ConfigMap *JenkinsSpecMasterVolumesConfigMap `field:"optional" json:"configMap" yaml:"configMap"`
	// CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
	Csi *JenkinsSpecMasterVolumesCsi `field:"optional" json:"csi" yaml:"csi"`
	// DownwardAPI represents downward API about the pod that should populate this volume.
	DownwardApi *JenkinsSpecMasterVolumesDownwardApi `field:"optional" json:"downwardApi" yaml:"downwardApi"`
	// EmptyDir represents a temporary directory that shares a pod's lifetime.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	EmptyDir *JenkinsSpecMasterVolumesEmptyDir `field:"optional" json:"emptyDir" yaml:"emptyDir"`
	// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
	Fc *JenkinsSpecMasterVolumesFc `field:"optional" json:"fc" yaml:"fc"`
	// FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
	FlexVolume *JenkinsSpecMasterVolumesFlexVolume `field:"optional" json:"flexVolume" yaml:"flexVolume"`
	// Flocker represents a Flocker volume attached to a kubelet's host machine.
	//
	// This depends on the Flocker control service being running.
	Flocker *JenkinsSpecMasterVolumesFlocker `field:"optional" json:"flocker" yaml:"flocker"`
	// GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	GcePersistentDisk *JenkinsSpecMasterVolumesGcePersistentDisk `field:"optional" json:"gcePersistentDisk" yaml:"gcePersistentDisk"`
	// GitRepo represents a git repository at a particular revision.
	//
	// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
	GitRepo *JenkinsSpecMasterVolumesGitRepo `field:"optional" json:"gitRepo" yaml:"gitRepo"`
	// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
	//
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md
	Glusterfs *JenkinsSpecMasterVolumesGlusterfs `field:"optional" json:"glusterfs" yaml:"glusterfs"`
	// HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.
	//
	// This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write.
	HostPath *JenkinsSpecMasterVolumesHostPath `field:"optional" json:"hostPath" yaml:"hostPath"`
	// ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.
	//
	// More info: https://examples.k8s.io/volumes/iscsi/README.md
	Iscsi *JenkinsSpecMasterVolumesIscsi `field:"optional" json:"iscsi" yaml:"iscsi"`
	// NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.
	Nfs *JenkinsSpecMasterVolumesNfs `field:"optional" json:"nfs" yaml:"nfs"`
	// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	PersistentVolumeClaim *JenkinsSpecMasterVolumesPersistentVolumeClaim `field:"optional" json:"persistentVolumeClaim" yaml:"persistentVolumeClaim"`
	// PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
	PhotonPersistentDisk *JenkinsSpecMasterVolumesPhotonPersistentDisk `field:"optional" json:"photonPersistentDisk" yaml:"photonPersistentDisk"`
	// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine.
	PortworxVolume *JenkinsSpecMasterVolumesPortworxVolume `field:"optional" json:"portworxVolume" yaml:"portworxVolume"`
	// Items for all in one resources secrets, configmaps, and downward API.
	Projected *JenkinsSpecMasterVolumesProjected `field:"optional" json:"projected" yaml:"projected"`
	// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
	Quobyte *JenkinsSpecMasterVolumesQuobyte `field:"optional" json:"quobyte" yaml:"quobyte"`
	// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
	//
	// More info: https://examples.k8s.io/volumes/rbd/README.md
	Rbd *JenkinsSpecMasterVolumesRbd `field:"optional" json:"rbd" yaml:"rbd"`
	// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
	ScaleIo *JenkinsSpecMasterVolumesScaleIo `field:"optional" json:"scaleIo" yaml:"scaleIo"`
	// Secret represents a secret that should populate this volume.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	Secret *JenkinsSpecMasterVolumesSecret `field:"optional" json:"secret" yaml:"secret"`
	// StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
	Storageos *JenkinsSpecMasterVolumesStorageos `field:"optional" json:"storageos" yaml:"storageos"`
	// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
	VsphereVolume *JenkinsSpecMasterVolumesVsphereVolume `field:"optional" json:"vsphereVolume" yaml:"vsphereVolume"`
}

Volume represents a named volume in a pod that may be accessed by any container in the pod.

type JenkinsSpecMasterVolumesAwsElasticBlockStore

type JenkinsSpecMasterVolumesAwsElasticBlockStore struct {
	// Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	VolumeId *string `field:"required" json:"volumeId" yaml:"volumeId"`
	// Filesystem type of the volume that you want to mount.
	//
	// Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// The partition in the volume that you want to mount.
	//
	// If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
	Partition *float64 `field:"optional" json:"partition" yaml:"partition"`
	// Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
	//
	// If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

type JenkinsSpecMasterVolumesAzureDisk

type JenkinsSpecMasterVolumesAzureDisk struct {
	// The Name of the data disk in the blob storage.
	DiskName *string `field:"required" json:"diskName" yaml:"diskName"`
	// The URI the data disk in the blob storage.
	DiskUri *string `field:"required" json:"diskUri" yaml:"diskUri"`
	// Host Caching mode: None, Read Only, Read Write.
	CachingMode *string `field:"optional" json:"cachingMode" yaml:"cachingMode"`
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Expected values Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set).
	//
	// defaults to shared.
	Kind *string `field:"optional" json:"kind" yaml:"kind"`
	// Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

type JenkinsSpecMasterVolumesAzureFile

type JenkinsSpecMasterVolumesAzureFile struct {
	// the name of secret that contains Azure Storage Account Name and Key.
	SecretName *string `field:"required" json:"secretName" yaml:"secretName"`
	// Share Name.
	ShareName *string `field:"required" json:"shareName" yaml:"shareName"`
	// Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

type JenkinsSpecMasterVolumesCephfs

type JenkinsSpecMasterVolumesCephfs struct {
	// Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.
	Monitors *[]*string `field:"required" json:"monitors" yaml:"monitors"`
	// Optional: Used as the mounted root, rather than the full Ceph tree, default is /.
	Path *string `field:"optional" json:"path" yaml:"path"`
	// Optional: Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.
	SecretFile *string `field:"optional" json:"secretFile" yaml:"secretFile"`
	// Optional: SecretRef is reference to the authentication secret for User, default is empty.
	//
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	SecretRef *JenkinsSpecMasterVolumesCephfsSecretRef `field:"optional" json:"secretRef" yaml:"secretRef"`
	// Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.
	User *string `field:"optional" json:"user" yaml:"user"`
}

CephFS represents a Ceph FS mount on the host that shares a pod's lifetime.

type JenkinsSpecMasterVolumesCephfsSecretRef

type JenkinsSpecMasterVolumesCephfsSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

Optional: SecretRef is reference to the authentication secret for User, default is empty.

More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

type JenkinsSpecMasterVolumesCinder

type JenkinsSpecMasterVolumesCinder struct {
	// volume id used to identify the volume in cinder.
	//
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	VolumeId *string `field:"required" json:"volumeId" yaml:"volumeId"`
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Optional: Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// Optional: points to a secret object containing parameters used to connect to OpenStack.
	SecretRef *JenkinsSpecMasterVolumesCinderSecretRef `field:"optional" json:"secretRef" yaml:"secretRef"`
}

Cinder represents a cinder volume attached and mounted on kubelets host machine.

More info: https://examples.k8s.io/mysql-cinder-pd/README.md

type JenkinsSpecMasterVolumesCinderSecretRef

type JenkinsSpecMasterVolumesCinderSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

Optional: points to a secret object containing parameters used to connect to OpenStack.

type JenkinsSpecMasterVolumesConfigMap

type JenkinsSpecMasterVolumesConfigMap struct {
	// Optional: mode bits to use on created files by default.
	//
	// Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	DefaultMode *float64 `field:"optional" json:"defaultMode" yaml:"defaultMode"`
	// If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.
	//
	// If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items *[]*JenkinsSpecMasterVolumesConfigMapItems `field:"optional" json:"items" yaml:"items"`
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Specify whether the ConfigMap or its keys must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
}

ConfigMap represents a configMap that should populate this volume.

type JenkinsSpecMasterVolumesConfigMapItems

type JenkinsSpecMasterVolumesConfigMapItems struct {
	// The key to project.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The relative path of the file to map the key to.
	//
	// May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
	Path *string `field:"required" json:"path" yaml:"path"`
	// Optional: mode bits to use on this file, must be a value between 0 and 0777.
	//
	// If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	Mode *float64 `field:"optional" json:"mode" yaml:"mode"`
}

Maps a string key to a path within a volume.

type JenkinsSpecMasterVolumesCsi

type JenkinsSpecMasterVolumesCsi struct {
	// Driver is the name of the CSI driver that handles this volume.
	//
	// Consult with your admin for the correct name as registered in the cluster.
	Driver *string `field:"required" json:"driver" yaml:"driver"`
	// Filesystem type to mount.
	//
	// Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.
	//
	// This field is optional, and  may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
	NodePublishSecretRef *JenkinsSpecMasterVolumesCsiNodePublishSecretRef `field:"optional" json:"nodePublishSecretRef" yaml:"nodePublishSecretRef"`
	// Specifies a read-only configuration for the volume.
	//
	// Defaults to false (read/write).
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// VolumeAttributes stores driver-specific properties that are passed to the CSI driver.
	//
	// Consult your driver's documentation for supported values.
	VolumeAttributes *map[string]*string `field:"optional" json:"volumeAttributes" yaml:"volumeAttributes"`
}

CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).

type JenkinsSpecMasterVolumesCsiNodePublishSecretRef

type JenkinsSpecMasterVolumesCsiNodePublishSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.

This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.

type JenkinsSpecMasterVolumesDownwardApi

type JenkinsSpecMasterVolumesDownwardApi struct {
	// Optional: mode bits to use on created files by default.
	//
	// Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	DefaultMode *float64 `field:"optional" json:"defaultMode" yaml:"defaultMode"`
	// Items is a list of downward API volume file.
	Items *[]*JenkinsSpecMasterVolumesDownwardApiItems `field:"optional" json:"items" yaml:"items"`
}

DownwardAPI represents downward API about the pod that should populate this volume.

type JenkinsSpecMasterVolumesDownwardApiItems

type JenkinsSpecMasterVolumesDownwardApiItems struct {
	// Required: Path is  the relative path name of the file to be created.
	//
	// Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
	Path *string `field:"required" json:"path" yaml:"path"`
	// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
	FieldRef *JenkinsSpecMasterVolumesDownwardApiItemsFieldRef `field:"optional" json:"fieldRef" yaml:"fieldRef"`
	// Optional: mode bits to use on this file, must be a value between 0 and 0777.
	//
	// If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	Mode *float64 `field:"optional" json:"mode" yaml:"mode"`
	// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
	ResourceFieldRef *JenkinsSpecMasterVolumesDownwardApiItemsResourceFieldRef `field:"optional" json:"resourceFieldRef" yaml:"resourceFieldRef"`
}

DownwardAPIVolumeFile represents information to create the file containing the pod field.

type JenkinsSpecMasterVolumesDownwardApiItemsFieldRef

type JenkinsSpecMasterVolumesDownwardApiItemsFieldRef struct {
	// Path of the field to select in the specified API version.
	FieldPath *string `field:"required" json:"fieldPath" yaml:"fieldPath"`
	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	ApiVersion *string `field:"optional" json:"apiVersion" yaml:"apiVersion"`
}

Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.

type JenkinsSpecMasterVolumesDownwardApiItemsResourceFieldRef

type JenkinsSpecMasterVolumesDownwardApiItemsResourceFieldRef struct {
	// Required: resource to select.
	Resource *string `field:"required" json:"resource" yaml:"resource"`
	// Container name: required for volumes, optional for env vars.
	ContainerName *string `field:"optional" json:"containerName" yaml:"containerName"`
	// Specifies the output format of the exposed resources, defaults to "1".
	Divisor *string `field:"optional" json:"divisor" yaml:"divisor"`
}

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

type JenkinsSpecMasterVolumesEmptyDir

type JenkinsSpecMasterVolumesEmptyDir struct {
	// What type of storage medium should back this directory.
	//
	// The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	Medium *string `field:"optional" json:"medium" yaml:"medium"`
	// Total amount of local storage required for this EmptyDir volume.
	//
	// The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
	SizeLimit *string `field:"optional" json:"sizeLimit" yaml:"sizeLimit"`
}

EmptyDir represents a temporary directory that shares a pod's lifetime.

More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

type JenkinsSpecMasterVolumesFc

type JenkinsSpecMasterVolumesFc struct {
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Optional: FC target lun number.
	Lun *float64 `field:"optional" json:"lun" yaml:"lun"`
	// Optional: Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// Optional: FC target worldwide names (WWNs).
	TargetWwNs *[]*string `field:"optional" json:"targetWwNs" yaml:"targetWwNs"`
	// Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
	Wwids *[]*string `field:"optional" json:"wwids" yaml:"wwids"`
}

FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.

type JenkinsSpecMasterVolumesFlexVolume

type JenkinsSpecMasterVolumesFlexVolume struct {
	// Driver is the name of the driver to use for this volume.
	Driver *string `field:"required" json:"driver" yaml:"driver"`
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Optional: Extra command options if any.
	Options *map[string]*string `field:"optional" json:"options" yaml:"options"`
	// Optional: Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.
	//
	// This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
	SecretRef *JenkinsSpecMasterVolumesFlexVolumeSecretRef `field:"optional" json:"secretRef" yaml:"secretRef"`
}

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

type JenkinsSpecMasterVolumesFlexVolumeSecretRef

type JenkinsSpecMasterVolumesFlexVolumeSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.

This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.

type JenkinsSpecMasterVolumesFlocker

type JenkinsSpecMasterVolumesFlocker struct {
	// Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated.
	DatasetName *string `field:"optional" json:"datasetName" yaml:"datasetName"`
	// UUID of the dataset.
	//
	// This is unique identifier of a Flocker dataset.
	DatasetUuid *string `field:"optional" json:"datasetUuid" yaml:"datasetUuid"`
}

Flocker represents a Flocker volume attached to a kubelet's host machine.

This depends on the Flocker control service being running.

type JenkinsSpecMasterVolumesGcePersistentDisk

type JenkinsSpecMasterVolumesGcePersistentDisk struct {
	// Unique name of the PD resource in GCE.
	//
	// Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	PdName *string `field:"required" json:"pdName" yaml:"pdName"`
	// Filesystem type of the volume that you want to mount.
	//
	// Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// The partition in the volume that you want to mount.
	//
	// If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	Partition *float64 `field:"optional" json:"partition" yaml:"partition"`
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	//
	// Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

type JenkinsSpecMasterVolumesGitRepo

type JenkinsSpecMasterVolumesGitRepo struct {
	// Repository URL.
	Repository *string `field:"required" json:"repository" yaml:"repository"`
	// Target directory name.
	//
	// Must not contain or start with '..'.  If '.' is supplied, the volume directory will be the git repository.  Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
	Directory *string `field:"optional" json:"directory" yaml:"directory"`
	// Commit hash for the specified revision.
	Revision *string `field:"optional" json:"revision" yaml:"revision"`
}

GitRepo represents a git repository at a particular revision.

DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.

type JenkinsSpecMasterVolumesGlusterfs

type JenkinsSpecMasterVolumesGlusterfs struct {
	// EndpointsName is the endpoint name that details Glusterfs topology.
	//
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Endpoints *string `field:"required" json:"endpoints" yaml:"endpoints"`
	// Path is the Glusterfs volume path.
	//
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Path *string `field:"required" json:"path" yaml:"path"`
	// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
	//
	// Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.

More info: https://examples.k8s.io/volumes/glusterfs/README.md

type JenkinsSpecMasterVolumesHostPath

type JenkinsSpecMasterVolumesHostPath struct {
	// Path of the directory on the host.
	//
	// If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	Path *string `field:"required" json:"path" yaml:"path"`
	// Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath.
	Type *string `field:"optional" json:"type" yaml:"type"`
}

HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.

This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write.

type JenkinsSpecMasterVolumesIscsi

type JenkinsSpecMasterVolumesIscsi struct {
	// Target iSCSI Qualified Name.
	Iqn *string `field:"required" json:"iqn" yaml:"iqn"`
	// iSCSI Target Lun number.
	Lun *float64 `field:"required" json:"lun" yaml:"lun"`
	// iSCSI Target Portal.
	//
	// The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
	TargetPortal *string `field:"required" json:"targetPortal" yaml:"targetPortal"`
	// whether support iSCSI Discovery CHAP authentication.
	ChapAuthDiscovery *bool `field:"optional" json:"chapAuthDiscovery" yaml:"chapAuthDiscovery"`
	// whether support iSCSI Session CHAP authentication.
	ChapAuthSession *bool `field:"optional" json:"chapAuthSession" yaml:"chapAuthSession"`
	// Filesystem type of the volume that you want to mount.
	//
	// Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Custom iSCSI Initiator Name.
	//
	// If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
	InitiatorName *string `field:"optional" json:"initiatorName" yaml:"initiatorName"`
	// iSCSI Interface Name that uses an iSCSI transport.
	//
	// Defaults to 'default' (tcp).
	IscsiInterface *string `field:"optional" json:"iscsiInterface" yaml:"iscsiInterface"`
	// iSCSI Target Portal List.
	//
	// The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
	Portals *[]*string `field:"optional" json:"portals" yaml:"portals"`
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	//
	// Defaults to false.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// CHAP Secret for iSCSI target and initiator authentication.
	SecretRef *JenkinsSpecMasterVolumesIscsiSecretRef `field:"optional" json:"secretRef" yaml:"secretRef"`
}

ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

More info: https://examples.k8s.io/volumes/iscsi/README.md

type JenkinsSpecMasterVolumesIscsiSecretRef

type JenkinsSpecMasterVolumesIscsiSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

CHAP Secret for iSCSI target and initiator authentication.

type JenkinsSpecMasterVolumesNfs

type JenkinsSpecMasterVolumesNfs struct {
	// Path that is exported by the NFS server.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Path *string `field:"required" json:"path" yaml:"path"`
	// Server is the hostname or IP address of the NFS server.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Server *string `field:"required" json:"server" yaml:"server"`
	// ReadOnly here will force the NFS export to be mounted with read-only permissions.
	//
	// Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.

type JenkinsSpecMasterVolumesPersistentVolumeClaim

type JenkinsSpecMasterVolumesPersistentVolumeClaim struct {
	// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	ClaimName *string `field:"required" json:"claimName" yaml:"claimName"`
	// Will force the ReadOnly setting in VolumeMounts.
	//
	// Default false.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

type JenkinsSpecMasterVolumesPhotonPersistentDisk

type JenkinsSpecMasterVolumesPhotonPersistentDisk struct {
	// ID that identifies Photon Controller persistent disk.
	PdId *string `field:"required" json:"pdId" yaml:"pdId"`
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
}

PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.

type JenkinsSpecMasterVolumesPortworxVolume

type JenkinsSpecMasterVolumesPortworxVolume struct {
	// VolumeID uniquely identifies a Portworx volume.
	VolumeId *string `field:"required" json:"volumeId" yaml:"volumeId"`
	// FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.
	//
	// Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}

PortworxVolume represents a portworx volume attached and mounted on kubelets host machine.

type JenkinsSpecMasterVolumesProjected

type JenkinsSpecMasterVolumesProjected struct {
	// list of volume projections.
	Sources *[]*JenkinsSpecMasterVolumesProjectedSources `field:"required" json:"sources" yaml:"sources"`
	// Mode bits to use on created files by default.
	//
	// Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	DefaultMode *float64 `field:"optional" json:"defaultMode" yaml:"defaultMode"`
}

Items for all in one resources secrets, configmaps, and downward API.

type JenkinsSpecMasterVolumesProjectedSources

type JenkinsSpecMasterVolumesProjectedSources struct {
	// information about the configMap data to project.
	ConfigMap *JenkinsSpecMasterVolumesProjectedSourcesConfigMap `field:"optional" json:"configMap" yaml:"configMap"`
	// information about the downwardAPI data to project.
	DownwardApi *JenkinsSpecMasterVolumesProjectedSourcesDownwardApi `field:"optional" json:"downwardApi" yaml:"downwardApi"`
	// information about the secret data to project.
	Secret *JenkinsSpecMasterVolumesProjectedSourcesSecret `field:"optional" json:"secret" yaml:"secret"`
	// information about the serviceAccountToken data to project.
	ServiceAccountToken *JenkinsSpecMasterVolumesProjectedSourcesServiceAccountToken `field:"optional" json:"serviceAccountToken" yaml:"serviceAccountToken"`
}

Projection that may be projected along with other supported volume types.

type JenkinsSpecMasterVolumesProjectedSourcesConfigMap

type JenkinsSpecMasterVolumesProjectedSourcesConfigMap struct {
	// If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.
	//
	// If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items *[]*JenkinsSpecMasterVolumesProjectedSourcesConfigMapItems `field:"optional" json:"items" yaml:"items"`
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Specify whether the ConfigMap or its keys must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
}

information about the configMap data to project.

type JenkinsSpecMasterVolumesProjectedSourcesConfigMapItems

type JenkinsSpecMasterVolumesProjectedSourcesConfigMapItems struct {
	// The key to project.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The relative path of the file to map the key to.
	//
	// May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
	Path *string `field:"required" json:"path" yaml:"path"`
	// Optional: mode bits to use on this file, must be a value between 0 and 0777.
	//
	// If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	Mode *float64 `field:"optional" json:"mode" yaml:"mode"`
}

Maps a string key to a path within a volume.

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApi

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApi struct {
	// Items is a list of DownwardAPIVolume file.
	Items *[]*JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItems `field:"optional" json:"items" yaml:"items"`
}

information about the downwardAPI data to project.

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItems

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItems struct {
	// Required: Path is  the relative path name of the file to be created.
	//
	// Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
	Path *string `field:"required" json:"path" yaml:"path"`
	// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
	FieldRef *JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItemsFieldRef `field:"optional" json:"fieldRef" yaml:"fieldRef"`
	// Optional: mode bits to use on this file, must be a value between 0 and 0777.
	//
	// If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	Mode *float64 `field:"optional" json:"mode" yaml:"mode"`
	// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
	ResourceFieldRef *JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef `field:"optional" json:"resourceFieldRef" yaml:"resourceFieldRef"`
}

DownwardAPIVolumeFile represents information to create the file containing the pod field.

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItemsFieldRef

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItemsFieldRef struct {
	// Path of the field to select in the specified API version.
	FieldPath *string `field:"required" json:"fieldPath" yaml:"fieldPath"`
	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	ApiVersion *string `field:"optional" json:"apiVersion" yaml:"apiVersion"`
}

Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef

type JenkinsSpecMasterVolumesProjectedSourcesDownwardApiItemsResourceFieldRef struct {
	// Required: resource to select.
	Resource *string `field:"required" json:"resource" yaml:"resource"`
	// Container name: required for volumes, optional for env vars.
	ContainerName *string `field:"optional" json:"containerName" yaml:"containerName"`
	// Specifies the output format of the exposed resources, defaults to "1".
	Divisor *string `field:"optional" json:"divisor" yaml:"divisor"`
}

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

type JenkinsSpecMasterVolumesProjectedSourcesSecret

type JenkinsSpecMasterVolumesProjectedSourcesSecret struct {
	// If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
	//
	// If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items *[]*JenkinsSpecMasterVolumesProjectedSourcesSecretItems `field:"optional" json:"items" yaml:"items"`
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
	// Specify whether the Secret or its key must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
}

information about the secret data to project.

type JenkinsSpecMasterVolumesProjectedSourcesSecretItems

type JenkinsSpecMasterVolumesProjectedSourcesSecretItems struct {
	// The key to project.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The relative path of the file to map the key to.
	//
	// May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
	Path *string `field:"required" json:"path" yaml:"path"`
	// Optional: mode bits to use on this file, must be a value between 0 and 0777.
	//
	// If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	Mode *float64 `field:"optional" json:"mode" yaml:"mode"`
}

Maps a string key to a path within a volume.

type JenkinsSpecMasterVolumesProjectedSourcesServiceAccountToken

type JenkinsSpecMasterVolumesProjectedSourcesServiceAccountToken struct {
	// Path is the path relative to the mount point of the file to project the token into.
	Path *string `field:"required" json:"path" yaml:"path"`
	// Audience is the intended audience of the token.
	//
	// A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
	Audience *string `field:"optional" json:"audience" yaml:"audience"`
	// ExpirationSeconds is the requested duration of validity of the service account token.
	//
	// As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
	ExpirationSeconds *float64 `field:"optional" json:"expirationSeconds" yaml:"expirationSeconds"`
}

information about the serviceAccountToken data to project.

type JenkinsSpecMasterVolumesQuobyte

type JenkinsSpecMasterVolumesQuobyte struct {
	// Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes.
	Registry *string `field:"required" json:"registry" yaml:"registry"`
	// Volume is a string that references an already created Quobyte volume by name.
	Volume *string `field:"required" json:"volume" yaml:"volume"`
	// Group to map volume access to Default is no group.
	Group *string `field:"optional" json:"group" yaml:"group"`
	// ReadOnly here will force the Quobyte volume to be mounted with read-only permissions.
	//
	// Defaults to false.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin.
	Tenant *string `field:"optional" json:"tenant" yaml:"tenant"`
	// User to map volume access to Defaults to serivceaccount user.
	User *string `field:"optional" json:"user" yaml:"user"`
}

Quobyte represents a Quobyte mount on the host that shares a pod's lifetime.

type JenkinsSpecMasterVolumesRbd

type JenkinsSpecMasterVolumesRbd struct {
	// The rados image name.
	//
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Image *string `field:"required" json:"image" yaml:"image"`
	// A collection of Ceph monitors.
	//
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Monitors *[]*string `field:"required" json:"monitors" yaml:"monitors"`
	// Filesystem type of the volume that you want to mount.
	//
	// Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Keyring is the path to key ring for RBDUser.
	//
	// Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Keyring *string `field:"optional" json:"keyring" yaml:"keyring"`
	// The rados pool name.
	//
	// Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Pool *string `field:"optional" json:"pool" yaml:"pool"`
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	//
	// Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// SecretRef is name of the authentication secret for RBDUser.
	//
	// If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	SecretRef *JenkinsSpecMasterVolumesRbdSecretRef `field:"optional" json:"secretRef" yaml:"secretRef"`
	// The rados user name.
	//
	// Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	User *string `field:"optional" json:"user" yaml:"user"`
}

RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.

More info: https://examples.k8s.io/volumes/rbd/README.md

type JenkinsSpecMasterVolumesRbdSecretRef

type JenkinsSpecMasterVolumesRbdSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

SecretRef is name of the authentication secret for RBDUser.

If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

type JenkinsSpecMasterVolumesScaleIo

type JenkinsSpecMasterVolumesScaleIo struct {
	// The host address of the ScaleIO API Gateway.
	Gateway *string `field:"required" json:"gateway" yaml:"gateway"`
	// SecretRef references to the secret for ScaleIO user and other sensitive information.
	//
	// If this is not provided, Login operation will fail.
	SecretRef *JenkinsSpecMasterVolumesScaleIoSecretRef `field:"required" json:"secretRef" yaml:"secretRef"`
	// The name of the storage system as configured in ScaleIO.
	System *string `field:"required" json:"system" yaml:"system"`
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// The name of the ScaleIO Protection Domain for the configured storage.
	ProtectionDomain *string `field:"optional" json:"protectionDomain" yaml:"protectionDomain"`
	// Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// Flag to enable/disable SSL communication with Gateway, default false.
	SslEnabled *bool `field:"optional" json:"sslEnabled" yaml:"sslEnabled"`
	// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
	//
	// Default is ThinProvisioned.
	StorageMode *string `field:"optional" json:"storageMode" yaml:"storageMode"`
	// The ScaleIO Storage Pool associated with the protection domain.
	StoragePool *string `field:"optional" json:"storagePool" yaml:"storagePool"`
	// The name of a volume already created in the ScaleIO system that is associated with this volume source.
	VolumeName *string `field:"optional" json:"volumeName" yaml:"volumeName"`
}

ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.

type JenkinsSpecMasterVolumesScaleIoSecretRef

type JenkinsSpecMasterVolumesScaleIoSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

SecretRef references to the secret for ScaleIO user and other sensitive information.

If this is not provided, Login operation will fail.

type JenkinsSpecMasterVolumesSecret

type JenkinsSpecMasterVolumesSecret struct {
	// Optional: mode bits to use on created files by default.
	//
	// Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	DefaultMode *float64 `field:"optional" json:"defaultMode" yaml:"defaultMode"`
	// If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
	//
	// If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items *[]*JenkinsSpecMasterVolumesSecretItems `field:"optional" json:"items" yaml:"items"`
	// Specify whether the Secret or its keys must be defined.
	Optional *bool `field:"optional" json:"optional" yaml:"optional"`
	// Name of the secret in the pod's namespace to use.
	//
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	SecretName *string `field:"optional" json:"secretName" yaml:"secretName"`
}

Secret represents a secret that should populate this volume.

More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

type JenkinsSpecMasterVolumesSecretItems

type JenkinsSpecMasterVolumesSecretItems struct {
	// The key to project.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The relative path of the file to map the key to.
	//
	// May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
	Path *string `field:"required" json:"path" yaml:"path"`
	// Optional: mode bits to use on this file, must be a value between 0 and 0777.
	//
	// If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
	Mode *float64 `field:"optional" json:"mode" yaml:"mode"`
}

Maps a string key to a path within a volume.

type JenkinsSpecMasterVolumesStorageos

type JenkinsSpecMasterVolumesStorageos struct {
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Defaults to false (read/write).
	//
	// ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
	// SecretRef specifies the secret to use for obtaining the StorageOS API credentials.
	//
	// If not specified, default values will be attempted.
	SecretRef *JenkinsSpecMasterVolumesStorageosSecretRef `field:"optional" json:"secretRef" yaml:"secretRef"`
	// VolumeName is the human-readable name of the StorageOS volume.
	//
	// Volume names are only unique within a namespace.
	VolumeName *string `field:"optional" json:"volumeName" yaml:"volumeName"`
	// VolumeNamespace specifies the scope of the volume within StorageOS.
	//
	// If no namespace is specified then the Pod's namespace will be used.  This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
	VolumeNamespace *string `field:"optional" json:"volumeNamespace" yaml:"volumeNamespace"`
}

StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.

type JenkinsSpecMasterVolumesStorageosSecretRef

type JenkinsSpecMasterVolumesStorageosSecretRef struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

SecretRef specifies the secret to use for obtaining the StorageOS API credentials.

If not specified, default values will be attempted.

type JenkinsSpecMasterVolumesVsphereVolume

type JenkinsSpecMasterVolumesVsphereVolume struct {
	// Path that identifies vSphere volume vmdk.
	VolumePath *string `field:"required" json:"volumePath" yaml:"volumePath"`
	// Filesystem type to mount.
	//
	// Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
	// Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
	StoragePolicyId *string `field:"optional" json:"storagePolicyId" yaml:"storagePolicyId"`
	// Storage Policy Based Management (SPBM) profile name.
	StoragePolicyName *string `field:"optional" json:"storagePolicyName" yaml:"storagePolicyName"`
}

VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.

type JenkinsSpecNotifications

type JenkinsSpecNotifications struct {
	// NotificationLevel defines the level of a Notification.
	Level   *string `field:"required" json:"level" yaml:"level"`
	Name    *string `field:"required" json:"name" yaml:"name"`
	Verbose *bool   `field:"required" json:"verbose" yaml:"verbose"`
	// Mailgun is handler for Mailgun email service notification channel.
	Mailgun *JenkinsSpecNotificationsMailgun `field:"optional" json:"mailgun" yaml:"mailgun"`
	// Slack is handler for Slack notification channel.
	Slack *JenkinsSpecNotificationsSlack `field:"optional" json:"slack" yaml:"slack"`
	// SMTP is handler for sending emails via this protocol.
	Smtp *JenkinsSpecNotificationsSmtp `field:"optional" json:"smtp" yaml:"smtp"`
	// MicrosoftTeams is handler for Microsoft MicrosoftTeams notification channel.
	Teams *JenkinsSpecNotificationsTeams `field:"optional" json:"teams" yaml:"teams"`
}

Notification is a service configuration used to send notifications about Jenkins status.

type JenkinsSpecNotificationsMailgun

type JenkinsSpecNotificationsMailgun struct {
	// SecretKeySelector selects a key of a Secret.
	ApiKeySecretKeySelector *JenkinsSpecNotificationsMailgunApiKeySecretKeySelector `field:"required" json:"apiKeySecretKeySelector" yaml:"apiKeySecretKeySelector"`
	Domain                  *string                                                 `field:"required" json:"domain" yaml:"domain"`
	From                    *string                                                 `field:"required" json:"from" yaml:"from"`
	Recipient               *string                                                 `field:"required" json:"recipient" yaml:"recipient"`
}

Mailgun is handler for Mailgun email service notification channel.

type JenkinsSpecNotificationsMailgunApiKeySecretKeySelector

type JenkinsSpecNotificationsMailgunApiKeySecretKeySelector struct {
	// The key of the secret to select from.
	//
	// Must be a valid secret key.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The name of the secret in the pod's namespace to select from.
	Secret *JenkinsSpecNotificationsMailgunApiKeySecretKeySelectorSecret `field:"required" json:"secret" yaml:"secret"`
}

SecretKeySelector selects a key of a Secret.

type JenkinsSpecNotificationsMailgunApiKeySecretKeySelectorSecret

type JenkinsSpecNotificationsMailgunApiKeySecretKeySelectorSecret struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

The name of the secret in the pod's namespace to select from.

type JenkinsSpecNotificationsSlack

type JenkinsSpecNotificationsSlack struct {
	// The web hook URL to Slack App.
	WebHookUrlSecretKeySelector *JenkinsSpecNotificationsSlackWebHookUrlSecretKeySelector `field:"required" json:"webHookUrlSecretKeySelector" yaml:"webHookUrlSecretKeySelector"`
}

Slack is handler for Slack notification channel.

type JenkinsSpecNotificationsSlackWebHookUrlSecretKeySelector

type JenkinsSpecNotificationsSlackWebHookUrlSecretKeySelector struct {
	// The key of the secret to select from.
	//
	// Must be a valid secret key.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The name of the secret in the pod's namespace to select from.
	Secret *JenkinsSpecNotificationsSlackWebHookUrlSecretKeySelectorSecret `field:"required" json:"secret" yaml:"secret"`
}

The web hook URL to Slack App.

type JenkinsSpecNotificationsSlackWebHookUrlSecretKeySelectorSecret

type JenkinsSpecNotificationsSlackWebHookUrlSecretKeySelectorSecret struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

The name of the secret in the pod's namespace to select from.

type JenkinsSpecNotificationsSmtp

type JenkinsSpecNotificationsSmtp struct {
	From *string `field:"required" json:"from" yaml:"from"`
	// SecretKeySelector selects a key of a Secret.
	PasswordSecretKeySelector *JenkinsSpecNotificationsSmtpPasswordSecretKeySelector `field:"required" json:"passwordSecretKeySelector" yaml:"passwordSecretKeySelector"`
	Port                      *float64                                               `field:"required" json:"port" yaml:"port"`
	Server                    *string                                                `field:"required" json:"server" yaml:"server"`
	To                        *string                                                `field:"required" json:"to" yaml:"to"`
	// SecretKeySelector selects a key of a Secret.
	UsernameSecretKeySelector *JenkinsSpecNotificationsSmtpUsernameSecretKeySelector `field:"required" json:"usernameSecretKeySelector" yaml:"usernameSecretKeySelector"`
	TlsInsecureSkipVerify     *bool                                                  `field:"optional" json:"tlsInsecureSkipVerify" yaml:"tlsInsecureSkipVerify"`
}

SMTP is handler for sending emails via this protocol.

type JenkinsSpecNotificationsSmtpPasswordSecretKeySelector

type JenkinsSpecNotificationsSmtpPasswordSecretKeySelector struct {
	// The key of the secret to select from.
	//
	// Must be a valid secret key.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The name of the secret in the pod's namespace to select from.
	Secret *JenkinsSpecNotificationsSmtpPasswordSecretKeySelectorSecret `field:"required" json:"secret" yaml:"secret"`
}

SecretKeySelector selects a key of a Secret.

type JenkinsSpecNotificationsSmtpPasswordSecretKeySelectorSecret

type JenkinsSpecNotificationsSmtpPasswordSecretKeySelectorSecret struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

The name of the secret in the pod's namespace to select from.

type JenkinsSpecNotificationsSmtpUsernameSecretKeySelector

type JenkinsSpecNotificationsSmtpUsernameSecretKeySelector struct {
	// The key of the secret to select from.
	//
	// Must be a valid secret key.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The name of the secret in the pod's namespace to select from.
	Secret *JenkinsSpecNotificationsSmtpUsernameSecretKeySelectorSecret `field:"required" json:"secret" yaml:"secret"`
}

SecretKeySelector selects a key of a Secret.

type JenkinsSpecNotificationsSmtpUsernameSecretKeySelectorSecret

type JenkinsSpecNotificationsSmtpUsernameSecretKeySelectorSecret struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

The name of the secret in the pod's namespace to select from.

type JenkinsSpecNotificationsTeams

type JenkinsSpecNotificationsTeams struct {
	// The web hook URL to MicrosoftTeams App.
	WebHookUrlSecretKeySelector *JenkinsSpecNotificationsTeamsWebHookUrlSecretKeySelector `field:"required" json:"webHookUrlSecretKeySelector" yaml:"webHookUrlSecretKeySelector"`
}

MicrosoftTeams is handler for Microsoft MicrosoftTeams notification channel.

type JenkinsSpecNotificationsTeamsWebHookUrlSecretKeySelector

type JenkinsSpecNotificationsTeamsWebHookUrlSecretKeySelector struct {
	// The key of the secret to select from.
	//
	// Must be a valid secret key.
	Key *string `field:"required" json:"key" yaml:"key"`
	// The name of the secret in the pod's namespace to select from.
	Secret *JenkinsSpecNotificationsTeamsWebHookUrlSecretKeySelectorSecret `field:"required" json:"secret" yaml:"secret"`
}

The web hook URL to MicrosoftTeams App.

type JenkinsSpecNotificationsTeamsWebHookUrlSecretKeySelectorSecret

type JenkinsSpecNotificationsTeamsWebHookUrlSecretKeySelectorSecret struct {
	// Name of the referent.
	//
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
	Name *string `field:"optional" json:"name" yaml:"name"`
}

The name of the secret in the pod's namespace to select from.

type JenkinsSpecRestore

type JenkinsSpecRestore struct {
	// Action defines action which performs restore backup in restore container sidecar.
	Action *JenkinsSpecRestoreAction `field:"required" json:"action" yaml:"action"`
	// ContainerName is the container name responsible for restore backup operation.
	ContainerName *string `field:"required" json:"containerName" yaml:"containerName"`
	// RecoveryOnce if want to restore specific backup set this field and then Jenkins will be restarted and desired backup will be restored.
	RecoveryOnce *float64 `field:"optional" json:"recoveryOnce" yaml:"recoveryOnce"`
}

Backup defines configuration of Jenkins backup restore More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-backup-and-restore.

type JenkinsSpecRestoreAction

type JenkinsSpecRestoreAction struct {
	// Exec specifies the action to take.
	Exec *JenkinsSpecRestoreActionExec `field:"optional" json:"exec" yaml:"exec"`
}

Action defines action which performs restore backup in restore container sidecar.

type JenkinsSpecRestoreActionExec

type JenkinsSpecRestoreActionExec struct {
	// Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem.
	//
	// The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	Command *[]*string `field:"optional" json:"command" yaml:"command"`
}

Exec specifies the action to take.

type JenkinsSpecRoles

type JenkinsSpecRoles struct {
	// APIGroup is the group for the resource being referenced.
	ApiGroup *string `field:"required" json:"apiGroup" yaml:"apiGroup"`
	// Kind is the type of resource being referenced.
	Kind *string `field:"required" json:"kind" yaml:"kind"`
	// Name is the name of resource being referenced.
	Name *string `field:"required" json:"name" yaml:"name"`
}

RoleRef contains information that points to the role being used.

type JenkinsSpecSeedJobs

type JenkinsSpecSeedJobs struct {
	// AdditionalClasspath is setting for Job DSL API plugin to set Additional Classpath.
	AdditionalClasspath *string `field:"optional" json:"additionalClasspath" yaml:"additionalClasspath"`
	// BitbucketPushTrigger is used for Bitbucket web hooks.
	BitbucketPushTrigger *bool `field:"optional" json:"bitbucketPushTrigger" yaml:"bitbucketPushTrigger"`
	// BuildPeriodically is setting for scheduled trigger.
	BuildPeriodically *string `field:"optional" json:"buildPeriodically" yaml:"buildPeriodically"`
	// CredentialID is the Kubernetes secret name which stores repository access credentials.
	CredentialId *string `field:"optional" json:"credentialId" yaml:"credentialId"`
	// JenkinsCredentialType is the https://jenkinsci.github.io/kubernetes-credentials-provider-plugin/ credential type.
	CredentialType *string `field:"optional" json:"credentialType" yaml:"credentialType"`
	// Description is the description of the seed job.
	Description *string `field:"optional" json:"description" yaml:"description"`
	// FailOnMissingPlugin is setting for Job DSL API plugin that fails job if required plugin is missing.
	FailOnMissingPlugin *bool `field:"optional" json:"failOnMissingPlugin" yaml:"failOnMissingPlugin"`
	// GitHubPushTrigger is used for GitHub web hooks.
	GithubPushTrigger *bool `field:"optional" json:"githubPushTrigger" yaml:"githubPushTrigger"`
	// ID is the unique seed job name.
	Id *string `field:"optional" json:"id" yaml:"id"`
	// IgnoreMissingFiles is setting for Job DSL API plugin to ignore files that miss.
	IgnoreMissingFiles *bool `field:"optional" json:"ignoreMissingFiles" yaml:"ignoreMissingFiles"`
	// PollSCM is setting for polling changes in SCM.
	PollScm *string `field:"optional" json:"pollScm" yaml:"pollScm"`
	// RepositoryBranch is the repository branch where are seed job definitions.
	RepositoryBranch *string `field:"optional" json:"repositoryBranch" yaml:"repositoryBranch"`
	// RepositoryURL is the repository access URL.
	//
	// Can be SSH or HTTPS.
	RepositoryUrl *string `field:"optional" json:"repositoryUrl" yaml:"repositoryUrl"`
	// Targets is the repository path where are seed job definitions.
	Targets *string `field:"optional" json:"targets" yaml:"targets"`
	// UnstableOnDeprecation is setting for Job DSL API plugin that sets build status as unstable if build using deprecated features.
	UnstableOnDeprecation *bool `field:"optional" json:"unstableOnDeprecation" yaml:"unstableOnDeprecation"`
}

SeedJob defines configuration for seed job More info: https://github.com/jenkinsci/kubernetes-operator/blob/master/docs/getting-started.md#configure-seed-jobs-and-pipelines.

type JenkinsSpecService

type JenkinsSpecService struct {
	// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
	//
	// They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
	Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"`
	// Route service traffic to pods with label keys and values matching this selector.
	//
	// If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/
	Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
	// Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field.
	//
	// This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.
	LoadBalancerIp *string `field:"optional" json:"loadBalancerIp" yaml:"loadBalancerIp"`
	// If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs.
	//
	// This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/
	LoadBalancerSourceRanges *[]*string `field:"optional" json:"loadBalancerSourceRanges" yaml:"loadBalancerSourceRanges"`
	// The port on each node on which this service is exposed when type=NodePort or LoadBalancer.
	//
	// Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
	NodePort *float64 `field:"optional" json:"nodePort" yaml:"nodePort"`
	// The port that are exposed by this service.
	//
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	Port *float64 `field:"optional" json:"port" yaml:"port"`
	// Type determines how the Service is exposed.
	//
	// Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ExternalName" maps to the specified externalName. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
	Type *string `field:"optional" json:"type" yaml:"type"`
}

Service is Kubernetes service of Jenkins master HTTP pod Defaults to : port: 8080 type: ClusterIP.

type JenkinsSpecServiceAccount

type JenkinsSpecServiceAccount struct {
	// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
	//
	// They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
	Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"`
}

ServiceAccount defines Jenkins master service account attributes.

type JenkinsSpecSlaveService

type JenkinsSpecSlaveService struct {
	// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
	//
	// They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
	Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"`
	// Route service traffic to pods with label keys and values matching this selector.
	//
	// If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/
	Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
	// Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field.
	//
	// This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.
	LoadBalancerIp *string `field:"optional" json:"loadBalancerIp" yaml:"loadBalancerIp"`
	// If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs.
	//
	// This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/
	LoadBalancerSourceRanges *[]*string `field:"optional" json:"loadBalancerSourceRanges" yaml:"loadBalancerSourceRanges"`
	// The port on each node on which this service is exposed when type=NodePort or LoadBalancer.
	//
	// Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
	NodePort *float64 `field:"optional" json:"nodePort" yaml:"nodePort"`
	// The port that are exposed by this service.
	//
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	Port *float64 `field:"optional" json:"port" yaml:"port"`
	// Type determines how the Service is exposed.
	//
	// Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ExternalName" maps to the specified externalName. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
	Type *string `field:"optional" json:"type" yaml:"type"`
}

Service is Kubernetes service of Jenkins slave pods Defaults to : port: 50000 type: ClusterIP.

Source Files

Directories

Path Synopsis
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL