|
| 1 | +// +build !ignore_autogenerated |
| 2 | + |
| 3 | +// This file was autogenerated by openapi-gen. Do not edit it manually! |
| 4 | + |
| 5 | +package v1alpha1 |
| 6 | + |
| 7 | +import ( |
| 8 | + spec "github.com/go-openapi/spec" |
| 9 | + common "k8s.io/kube-openapi/pkg/common" |
| 10 | +) |
| 11 | + |
| 12 | +func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { |
| 13 | + return map[string]common.OpenAPIDefinition{ |
| 14 | + "./pkg/apis/operators/v1alpha1.Sandbox": schema_pkg_apis_operators_v1alpha1_Sandbox(ref), |
| 15 | + "./pkg/apis/operators/v1alpha1.SandboxSpec": schema_pkg_apis_operators_v1alpha1_SandboxSpec(ref), |
| 16 | + "./pkg/apis/operators/v1alpha1.SandboxStatus": schema_pkg_apis_operators_v1alpha1_SandboxStatus(ref), |
| 17 | + } |
| 18 | +} |
| 19 | + |
| 20 | +func schema_pkg_apis_operators_v1alpha1_Sandbox(ref common.ReferenceCallback) common.OpenAPIDefinition { |
| 21 | + return common.OpenAPIDefinition{ |
| 22 | + Schema: spec.Schema{ |
| 23 | + SchemaProps: spec.SchemaProps{ |
| 24 | + Description: "Sandbox is the Schema for the sandboxes API", |
| 25 | + Properties: map[string]spec.Schema{ |
| 26 | + "kind": { |
| 27 | + SchemaProps: spec.SchemaProps{ |
| 28 | + 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", |
| 29 | + Type: []string{"string"}, |
| 30 | + Format: "", |
| 31 | + }, |
| 32 | + }, |
| 33 | + "apiVersion": { |
| 34 | + SchemaProps: spec.SchemaProps{ |
| 35 | + 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", |
| 36 | + Type: []string{"string"}, |
| 37 | + Format: "", |
| 38 | + }, |
| 39 | + }, |
| 40 | + "metadata": { |
| 41 | + SchemaProps: spec.SchemaProps{ |
| 42 | + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), |
| 43 | + }, |
| 44 | + }, |
| 45 | + "spec": { |
| 46 | + SchemaProps: spec.SchemaProps{ |
| 47 | + Ref: ref("./pkg/apis/operators/v1alpha1.SandboxSpec"), |
| 48 | + }, |
| 49 | + }, |
| 50 | + "status": { |
| 51 | + SchemaProps: spec.SchemaProps{ |
| 52 | + Ref: ref("./pkg/apis/operators/v1alpha1.SandboxStatus"), |
| 53 | + }, |
| 54 | + }, |
| 55 | + }, |
| 56 | + }, |
| 57 | + }, |
| 58 | + Dependencies: []string{ |
| 59 | + "./pkg/apis/operators/v1alpha1.SandboxSpec", "./pkg/apis/operators/v1alpha1.SandboxStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, |
| 60 | + } |
| 61 | +} |
| 62 | + |
| 63 | +func schema_pkg_apis_operators_v1alpha1_SandboxSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { |
| 64 | + return common.OpenAPIDefinition{ |
| 65 | + Schema: spec.Schema{ |
| 66 | + SchemaProps: spec.SchemaProps{ |
| 67 | + Description: "SandboxSpec defines the desired state of Sandbox", |
| 68 | + Properties: map[string]spec.Schema{}, |
| 69 | + }, |
| 70 | + }, |
| 71 | + Dependencies: []string{}, |
| 72 | + } |
| 73 | +} |
| 74 | + |
| 75 | +func schema_pkg_apis_operators_v1alpha1_SandboxStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { |
| 76 | + return common.OpenAPIDefinition{ |
| 77 | + Schema: spec.Schema{ |
| 78 | + SchemaProps: spec.SchemaProps{ |
| 79 | + Description: "SandboxStatus defines the observed state of Sandbox", |
| 80 | + Properties: map[string]spec.Schema{}, |
| 81 | + }, |
| 82 | + }, |
| 83 | + Dependencies: []string{}, |
| 84 | + } |
| 85 | +} |
0 commit comments