154 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			154 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			Go
		
	
	
	
// +build !ignore_autogenerated
 | 
						|
 | 
						|
// Code generated by openapi-gen. DO NOT EDIT.
 | 
						|
 | 
						|
// This file was autogenerated by openapi-gen. Do not edit it manually!
 | 
						|
 | 
						|
package v1alpha1
 | 
						|
 | 
						|
import (
 | 
						|
	spec "github.com/go-openapi/spec"
 | 
						|
	common "k8s.io/kube-openapi/pkg/common"
 | 
						|
)
 | 
						|
 | 
						|
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
 | 
						|
	return map[string]common.OpenAPIDefinition{
 | 
						|
		"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.Jenkins":       schema_pkg_apis_jenkins_v1alpha1_Jenkins(ref),
 | 
						|
		"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsSpec":   schema_pkg_apis_jenkins_v1alpha1_JenkinsSpec(ref),
 | 
						|
		"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsStatus": schema_pkg_apis_jenkins_v1alpha1_JenkinsStatus(ref),
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func schema_pkg_apis_jenkins_v1alpha1_Jenkins(ref common.ReferenceCallback) common.OpenAPIDefinition {
 | 
						|
	return common.OpenAPIDefinition{
 | 
						|
		Schema: spec.Schema{
 | 
						|
			SchemaProps: spec.SchemaProps{
 | 
						|
				Description: "Jenkins is the Schema for the jenkins API",
 | 
						|
				Properties: map[string]spec.Schema{
 | 
						|
					"kind": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
 | 
						|
							Type:        []string{"string"},
 | 
						|
							Format:      "",
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"apiVersion": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
 | 
						|
							Type:        []string{"string"},
 | 
						|
							Format:      "",
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"metadata": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"spec": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsSpec"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"status": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsStatus"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
				},
 | 
						|
			},
 | 
						|
		},
 | 
						|
		Dependencies: []string{
 | 
						|
			"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsSpec", "github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func schema_pkg_apis_jenkins_v1alpha1_JenkinsSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
 | 
						|
	return common.OpenAPIDefinition{
 | 
						|
		Schema: spec.Schema{
 | 
						|
			SchemaProps: spec.SchemaProps{
 | 
						|
				Description: "JenkinsSpec defines the desired state of Jenkins",
 | 
						|
				Properties: map[string]spec.Schema{
 | 
						|
					"master": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Description: "INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run \"operator-sdk generate k8s\" to regenerate code after modifying this file",
 | 
						|
							Ref:         ref("github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsMaster"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"seedJobs": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Type: []string{"array"},
 | 
						|
							Items: &spec.SchemaOrArray{
 | 
						|
								Schema: &spec.Schema{
 | 
						|
									SchemaProps: spec.SchemaProps{
 | 
						|
										Ref: ref("github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.SeedJob"),
 | 
						|
									},
 | 
						|
								},
 | 
						|
							},
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"service": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.Service"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"slaveService": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.Service"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
				},
 | 
						|
			},
 | 
						|
		},
 | 
						|
		Dependencies: []string{
 | 
						|
			"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.JenkinsMaster", "github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.SeedJob", "github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.Service"},
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func schema_pkg_apis_jenkins_v1alpha1_JenkinsStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
 | 
						|
	return common.OpenAPIDefinition{
 | 
						|
		Schema: spec.Schema{
 | 
						|
			SchemaProps: spec.SchemaProps{
 | 
						|
				Description: "JenkinsStatus defines the observed state of Jenkins",
 | 
						|
				Properties: map[string]spec.Schema{
 | 
						|
					"operatorVersion": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"operator-sdk generate k8s\" to regenerate code after modifying this file",
 | 
						|
							Type:        []string{"string"},
 | 
						|
							Format:      "",
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"provisionStartTime": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"baseConfigurationCompletedTime": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"userConfigurationCompletedTime": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
 | 
						|
						},
 | 
						|
					},
 | 
						|
					"builds": {
 | 
						|
						SchemaProps: spec.SchemaProps{
 | 
						|
							Type: []string{"array"},
 | 
						|
							Items: &spec.SchemaOrArray{
 | 
						|
								Schema: &spec.Schema{
 | 
						|
									SchemaProps: spec.SchemaProps{
 | 
						|
										Ref: ref("github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.Build"),
 | 
						|
									},
 | 
						|
								},
 | 
						|
							},
 | 
						|
						},
 | 
						|
					},
 | 
						|
				},
 | 
						|
			},
 | 
						|
		},
 | 
						|
		Dependencies: []string{
 | 
						|
			"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha1.Build", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
 | 
						|
	}
 | 
						|
}
 |