v1alpha1

package
v0.0.0-...-530e6f3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the jenkins v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=jenkins.dev

Package v1alpha1 contains API Schema definitions for the jenkins v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=jenkins.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "jenkins.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

Types

type Jenkins

type Jenkins struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   JenkinsSpec   `json:"spec"`
	Status JenkinsStatus `json:"status,omitempty"`
}

Jenkins is the Schema for the jenkins API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*Jenkins) DeepCopy

func (in *Jenkins) DeepCopy() *Jenkins

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Jenkins.

func (*Jenkins) DeepCopyInto

func (in *Jenkins) DeepCopyInto(out *Jenkins)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Jenkins) DeepCopyObject

func (in *Jenkins) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type JenkinsCRDDescriptor

type JenkinsCRDDescriptor struct {
}

func (*JenkinsCRDDescriptor) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsCRDDescriptor.

func (*JenkinsCRDDescriptor) DeepCopyInto

func (in *JenkinsCRDDescriptor) DeepCopyInto(out *JenkinsCRDDescriptor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JenkinsImage

type JenkinsImage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   JenkinsImageSpec   `json:"spec,omitempty"`
	Status JenkinsImageStatus `json:"status,omitempty"`
}

JenkinsImage is the Schema for the jenkinsimages API +kubebuilder:subresource:status +kubebuilder:resource:path=jenkinsimages,scope=Namespaced

func (*JenkinsImage) DeepCopy

func (in *JenkinsImage) DeepCopy() *JenkinsImage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsImage.

func (*JenkinsImage) DeepCopyInto

func (in *JenkinsImage) DeepCopyInto(out *JenkinsImage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JenkinsImage) DeepCopyObject

func (in *JenkinsImage) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type JenkinsImageList

type JenkinsImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []JenkinsImage `json:"items"`
}

JenkinsImageList contains a list of JenkinsImage

func (*JenkinsImageList) DeepCopy

func (in *JenkinsImageList) DeepCopy() *JenkinsImageList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsImageList.

func (*JenkinsImageList) DeepCopyInto

func (in *JenkinsImageList) DeepCopyInto(out *JenkinsImageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JenkinsImageList) DeepCopyObject

func (in *JenkinsImageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type JenkinsImageSpec

type JenkinsImageSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Plugins []JenkinsPlugin `json:"plugins"` // Plugins list
}

JenkinsImageSpec defines the desired state of JenkinsImage

func (*JenkinsImageSpec) DeepCopy

func (in *JenkinsImageSpec) DeepCopy() *JenkinsImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsImageSpec.

func (*JenkinsImageSpec) DeepCopyInto

func (in *JenkinsImageSpec) DeepCopyInto(out *JenkinsImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JenkinsImageStatus

type JenkinsImageStatus struct {
}

JenkinsImageStatus defines the observed state of JenkinsImage

func (*JenkinsImageStatus) DeepCopy

func (in *JenkinsImageStatus) DeepCopy() *JenkinsImageStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsImageStatus.

func (*JenkinsImageStatus) DeepCopyInto

func (in *JenkinsImageStatus) DeepCopyInto(out *JenkinsImageStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JenkinsList

type JenkinsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Jenkins `json:"items"`
}

JenkinsList contains a list of Jenkins

func (*JenkinsList) DeepCopy

func (in *JenkinsList) DeepCopy() *JenkinsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsList.

func (*JenkinsList) DeepCopyInto

func (in *JenkinsList) DeepCopyInto(out *JenkinsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JenkinsList) DeepCopyObject

func (in *JenkinsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type JenkinsPersistence

type JenkinsPersistence struct {
	Enabled bool   `json:"enabled"`
	Size    string `json:"size,omitempty"`
}

Defines Persistence of Jenkins Instance

func (*JenkinsPersistence) DeepCopy

func (in *JenkinsPersistence) DeepCopy() *JenkinsPersistence

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsPersistence.

func (*JenkinsPersistence) DeepCopyInto

func (in *JenkinsPersistence) DeepCopyInto(out *JenkinsPersistence)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JenkinsPlugin

type JenkinsPlugin struct {
	Name    string `json:"name"`
	Version string `json:"version,omitempty"`
}

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. Defines Jenkins Plugin structure

func (*JenkinsPlugin) DeepCopy

func (in *JenkinsPlugin) DeepCopy() *JenkinsPlugin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsPlugin.

func (*JenkinsPlugin) DeepCopyInto

func (in *JenkinsPlugin) DeepCopyInto(out *JenkinsPlugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JenkinsSpec

type JenkinsSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Persistence         JenkinsPersistence `json:"persistence"` // Configure Jenkins Persistence
	UseDeploymentConfig bool               `json:"useDeploymentConfig,omitempty"`
}

JenkinsSpec defines the desired state of Jenkins +k8s:openapi-gen=true

func (*JenkinsSpec) DeepCopy

func (in *JenkinsSpec) DeepCopy() *JenkinsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsSpec.

func (*JenkinsSpec) DeepCopyInto

func (in *JenkinsSpec) DeepCopyInto(out *JenkinsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JenkinsStatus

type JenkinsStatus struct {
}

JenkinsStatus defines the observed state of Jenkins +k8s:openapi-gen=true

func (*JenkinsStatus) DeepCopy

func (in *JenkinsStatus) DeepCopy() *JenkinsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsStatus.

func (*JenkinsStatus) DeepCopyInto

func (in *JenkinsStatus) DeepCopyInto(out *JenkinsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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