github.com/tilt-dev/tilt@v0.36.0/pkg/openapi/zz_generated.openapi.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2020 The Tilt Dev Authors 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by openapi-gen. DO NOT EDIT. 21 22 package openapi 23 24 import ( 25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 common "k8s.io/kube-openapi/pkg/common" 27 spec "k8s.io/kube-openapi/pkg/validation/spec" 28 ) 29 30 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { 31 return map[string]common.OpenAPIDefinition{ 32 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cluster": schema_pkg_apis_core_v1alpha1_Cluster(ref), 33 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnection": schema_pkg_apis_core_v1alpha1_ClusterConnection(ref), 34 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnectionStatus": schema_pkg_apis_core_v1alpha1_ClusterConnectionStatus(ref), 35 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterList": schema_pkg_apis_core_v1alpha1_ClusterList(ref), 36 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterSpec": schema_pkg_apis_core_v1alpha1_ClusterSpec(ref), 37 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterStatus": schema_pkg_apis_core_v1alpha1_ClusterStatus(ref), 38 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cmd": schema_pkg_apis_core_v1alpha1_Cmd(ref), 39 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImage": schema_pkg_apis_core_v1alpha1_CmdImage(ref), 40 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageList": schema_pkg_apis_core_v1alpha1_CmdImageList(ref), 41 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageSpec": schema_pkg_apis_core_v1alpha1_CmdImageSpec(ref), 42 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateBuilding": schema_pkg_apis_core_v1alpha1_CmdImageStateBuilding(ref), 43 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateCompleted": schema_pkg_apis_core_v1alpha1_CmdImageStateCompleted(ref), 44 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateWaiting": schema_pkg_apis_core_v1alpha1_CmdImageStateWaiting(ref), 45 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStatus": schema_pkg_apis_core_v1alpha1_CmdImageStatus(ref), 46 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdList": schema_pkg_apis_core_v1alpha1_CmdList(ref), 47 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdSpec": schema_pkg_apis_core_v1alpha1_CmdSpec(ref), 48 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateRunning": schema_pkg_apis_core_v1alpha1_CmdStateRunning(ref), 49 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateTerminated": schema_pkg_apis_core_v1alpha1_CmdStateTerminated(ref), 50 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateWaiting": schema_pkg_apis_core_v1alpha1_CmdStateWaiting(ref), 51 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStatus": schema_pkg_apis_core_v1alpha1_CmdStatus(ref), 52 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMap": schema_pkg_apis_core_v1alpha1_ConfigMap(ref), 53 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapDisableSource": schema_pkg_apis_core_v1alpha1_ConfigMapDisableSource(ref), 54 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapList": schema_pkg_apis_core_v1alpha1_ConfigMapList(ref), 55 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapStateSource": schema_pkg_apis_core_v1alpha1_ConfigMapStateSource(ref), 56 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Container": schema_pkg_apis_core_v1alpha1_Container(ref), 57 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerLogStreamStatus": schema_pkg_apis_core_v1alpha1_ContainerLogStreamStatus(ref), 58 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerState": schema_pkg_apis_core_v1alpha1_ContainerState(ref), 59 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateRunning": schema_pkg_apis_core_v1alpha1_ContainerStateRunning(ref), 60 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateTerminated": schema_pkg_apis_core_v1alpha1_ContainerStateTerminated(ref), 61 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateWaiting": schema_pkg_apis_core_v1alpha1_ContainerStateWaiting(ref), 62 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableResourceStatus": schema_pkg_apis_core_v1alpha1_DisableResourceStatus(ref), 63 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource": schema_pkg_apis_core_v1alpha1_DisableSource(ref), 64 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus": schema_pkg_apis_core_v1alpha1_DisableStatus(ref), 65 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerClusterConnection": schema_pkg_apis_core_v1alpha1_DockerClusterConnection(ref), 66 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStream": schema_pkg_apis_core_v1alpha1_DockerComposeLogStream(ref), 67 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamList": schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamList(ref), 68 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamSpec": schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamSpec(ref), 69 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamStatus": schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamStatus(ref), 70 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject": schema_pkg_apis_core_v1alpha1_DockerComposeProject(ref), 71 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeService": schema_pkg_apis_core_v1alpha1_DockerComposeService(ref), 72 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceList": schema_pkg_apis_core_v1alpha1_DockerComposeServiceList(ref), 73 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceSpec": schema_pkg_apis_core_v1alpha1_DockerComposeServiceSpec(ref), 74 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceStatus": schema_pkg_apis_core_v1alpha1_DockerComposeServiceStatus(ref), 75 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerContainerState": schema_pkg_apis_core_v1alpha1_DockerContainerState(ref), 76 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImage": schema_pkg_apis_core_v1alpha1_DockerImage(ref), 77 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageList": schema_pkg_apis_core_v1alpha1_DockerImageList(ref), 78 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageSpec": schema_pkg_apis_core_v1alpha1_DockerImageSpec(ref), 79 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStageStatus": schema_pkg_apis_core_v1alpha1_DockerImageStageStatus(ref), 80 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateBuilding": schema_pkg_apis_core_v1alpha1_DockerImageStateBuilding(ref), 81 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateCompleted": schema_pkg_apis_core_v1alpha1_DockerImageStateCompleted(ref), 82 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateWaiting": schema_pkg_apis_core_v1alpha1_DockerImageStateWaiting(ref), 83 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStatus": schema_pkg_apis_core_v1alpha1_DockerImageStatus(ref), 84 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerPortBinding": schema_pkg_apis_core_v1alpha1_DockerPortBinding(ref), 85 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExecAction": schema_pkg_apis_core_v1alpha1_ExecAction(ref), 86 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Extension": schema_pkg_apis_core_v1alpha1_Extension(ref), 87 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionList": schema_pkg_apis_core_v1alpha1_ExtensionList(ref), 88 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepo": schema_pkg_apis_core_v1alpha1_ExtensionRepo(ref), 89 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoList": schema_pkg_apis_core_v1alpha1_ExtensionRepoList(ref), 90 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoSpec": schema_pkg_apis_core_v1alpha1_ExtensionRepoSpec(ref), 91 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoStatus": schema_pkg_apis_core_v1alpha1_ExtensionRepoStatus(ref), 92 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionSpec": schema_pkg_apis_core_v1alpha1_ExtensionSpec(ref), 93 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionStatus": schema_pkg_apis_core_v1alpha1_ExtensionStatus(ref), 94 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileEvent": schema_pkg_apis_core_v1alpha1_FileEvent(ref), 95 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatch": schema_pkg_apis_core_v1alpha1_FileWatch(ref), 96 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchList": schema_pkg_apis_core_v1alpha1_FileWatchList(ref), 97 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchSpec": schema_pkg_apis_core_v1alpha1_FileWatchSpec(ref), 98 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchStatus": schema_pkg_apis_core_v1alpha1_FileWatchStatus(ref), 99 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward": schema_pkg_apis_core_v1alpha1_Forward(ref), 100 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ForwardStatus": schema_pkg_apis_core_v1alpha1_ForwardStatus(ref), 101 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPGetAction": schema_pkg_apis_core_v1alpha1_HTTPGetAction(ref), 102 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPHeader": schema_pkg_apis_core_v1alpha1_HTTPHeader(ref), 103 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Handler": schema_pkg_apis_core_v1alpha1_Handler(ref), 104 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef": schema_pkg_apis_core_v1alpha1_IgnoreDef(ref), 105 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMap": schema_pkg_apis_core_v1alpha1_ImageMap(ref), 106 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapList": schema_pkg_apis_core_v1alpha1_ImageMapList(ref), 107 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideArgs": schema_pkg_apis_core_v1alpha1_ImageMapOverrideArgs(ref), 108 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideCommand": schema_pkg_apis_core_v1alpha1_ImageMapOverrideCommand(ref), 109 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapSpec": schema_pkg_apis_core_v1alpha1_ImageMapSpec(ref), 110 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapStatus": schema_pkg_apis_core_v1alpha1_ImageMapStatus(ref), 111 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApply": schema_pkg_apis_core_v1alpha1_KubernetesApply(ref), 112 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyCmd": schema_pkg_apis_core_v1alpha1_KubernetesApplyCmd(ref), 113 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyList": schema_pkg_apis_core_v1alpha1_KubernetesApplyList(ref), 114 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplySpec": schema_pkg_apis_core_v1alpha1_KubernetesApplySpec(ref), 115 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyStatus": schema_pkg_apis_core_v1alpha1_KubernetesApplyStatus(ref), 116 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnection": schema_pkg_apis_core_v1alpha1_KubernetesClusterConnection(ref), 117 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnectionStatus": schema_pkg_apis_core_v1alpha1_KubernetesClusterConnectionStatus(ref), 118 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscovery": schema_pkg_apis_core_v1alpha1_KubernetesDiscovery(ref), 119 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryList": schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryList(ref), 120 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoverySpec": schema_pkg_apis_core_v1alpha1_KubernetesDiscoverySpec(ref), 121 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateRunning": schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStateRunning(ref), 122 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateWaiting": schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStateWaiting(ref), 123 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStatus": schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStatus(ref), 124 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryTemplateSpec": schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryTemplateSpec(ref), 125 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageLocator": schema_pkg_apis_core_v1alpha1_KubernetesImageLocator(ref), 126 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageObjectDescriptor": schema_pkg_apis_core_v1alpha1_KubernetesImageObjectDescriptor(ref), 127 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesWatchRef": schema_pkg_apis_core_v1alpha1_KubernetesWatchRef(ref), 128 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdate": schema_pkg_apis_core_v1alpha1_LiveUpdate(ref), 129 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStateWaiting": schema_pkg_apis_core_v1alpha1_LiveUpdateContainerStateWaiting(ref), 130 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStatus": schema_pkg_apis_core_v1alpha1_LiveUpdateContainerStatus(ref), 131 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateDockerComposeSelector": schema_pkg_apis_core_v1alpha1_LiveUpdateDockerComposeSelector(ref), 132 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateExec": schema_pkg_apis_core_v1alpha1_LiveUpdateExec(ref), 133 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateKubernetesSelector": schema_pkg_apis_core_v1alpha1_LiveUpdateKubernetesSelector(ref), 134 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateList": schema_pkg_apis_core_v1alpha1_LiveUpdateList(ref), 135 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSelector": schema_pkg_apis_core_v1alpha1_LiveUpdateSelector(ref), 136 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSource": schema_pkg_apis_core_v1alpha1_LiveUpdateSource(ref), 137 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSpec": schema_pkg_apis_core_v1alpha1_LiveUpdateSpec(ref), 138 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStateFailed": schema_pkg_apis_core_v1alpha1_LiveUpdateStateFailed(ref), 139 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStatus": schema_pkg_apis_core_v1alpha1_LiveUpdateStatus(ref), 140 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSync": schema_pkg_apis_core_v1alpha1_LiveUpdateSync(ref), 141 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ObjectSelector": schema_pkg_apis_core_v1alpha1_ObjectSelector(ref), 142 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Pod": schema_pkg_apis_core_v1alpha1_Pod(ref), 143 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodCondition": schema_pkg_apis_core_v1alpha1_PodCondition(ref), 144 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStream": schema_pkg_apis_core_v1alpha1_PodLogStream(ref), 145 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamList": schema_pkg_apis_core_v1alpha1_PodLogStreamList(ref), 146 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamSpec": schema_pkg_apis_core_v1alpha1_PodLogStreamSpec(ref), 147 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamStatus": schema_pkg_apis_core_v1alpha1_PodLogStreamStatus(ref), 148 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamTemplateSpec": schema_pkg_apis_core_v1alpha1_PodLogStreamTemplateSpec(ref), 149 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodOwner": schema_pkg_apis_core_v1alpha1_PodOwner(ref), 150 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForward": schema_pkg_apis_core_v1alpha1_PortForward(ref), 151 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardList": schema_pkg_apis_core_v1alpha1_PortForwardList(ref), 152 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardSpec": schema_pkg_apis_core_v1alpha1_PortForwardSpec(ref), 153 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardStatus": schema_pkg_apis_core_v1alpha1_PortForwardStatus(ref), 154 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardTemplateSpec": schema_pkg_apis_core_v1alpha1_PortForwardTemplateSpec(ref), 155 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Probe": schema_pkg_apis_core_v1alpha1_Probe(ref), 156 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting": schema_pkg_apis_core_v1alpha1_RegistryHosting(ref), 157 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec": schema_pkg_apis_core_v1alpha1_RestartOnSpec(ref), 158 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Session": schema_pkg_apis_core_v1alpha1_Session(ref), 159 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionCISpec": schema_pkg_apis_core_v1alpha1_SessionCISpec(ref), 160 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionList": schema_pkg_apis_core_v1alpha1_SessionList(ref), 161 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionSpec": schema_pkg_apis_core_v1alpha1_SessionSpec(ref), 162 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionStatus": schema_pkg_apis_core_v1alpha1_SessionStatus(ref), 163 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StartOnSpec": schema_pkg_apis_core_v1alpha1_StartOnSpec(ref), 164 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StateSource": schema_pkg_apis_core_v1alpha1_StateSource(ref), 165 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StopOnSpec": schema_pkg_apis_core_v1alpha1_StopOnSpec(ref), 166 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TCPSocketAction": schema_pkg_apis_core_v1alpha1_TCPSocketAction(ref), 167 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Target": schema_pkg_apis_core_v1alpha1_Target(ref), 168 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetState": schema_pkg_apis_core_v1alpha1_TargetState(ref), 169 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateActive": schema_pkg_apis_core_v1alpha1_TargetStateActive(ref), 170 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateDisabled": schema_pkg_apis_core_v1alpha1_TargetStateDisabled(ref), 171 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateTerminated": schema_pkg_apis_core_v1alpha1_TargetStateTerminated(ref), 172 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateWaiting": schema_pkg_apis_core_v1alpha1_TargetStateWaiting(ref), 173 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltBuild": schema_pkg_apis_core_v1alpha1_TiltBuild(ref), 174 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Tiltfile": schema_pkg_apis_core_v1alpha1_Tiltfile(ref), 175 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileList": schema_pkg_apis_core_v1alpha1_TiltfileList(ref), 176 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileSpec": schema_pkg_apis_core_v1alpha1_TiltfileSpec(ref), 177 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateRunning": schema_pkg_apis_core_v1alpha1_TiltfileStateRunning(ref), 178 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateTerminated": schema_pkg_apis_core_v1alpha1_TiltfileStateTerminated(ref), 179 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateWaiting": schema_pkg_apis_core_v1alpha1_TiltfileStateWaiting(ref), 180 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStatus": schema_pkg_apis_core_v1alpha1_TiltfileStatus(ref), 181 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButton": schema_pkg_apis_core_v1alpha1_ToggleButton(ref), 182 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonList": schema_pkg_apis_core_v1alpha1_ToggleButtonList(ref), 183 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonSpec": schema_pkg_apis_core_v1alpha1_ToggleButtonSpec(ref), 184 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStateSpec": schema_pkg_apis_core_v1alpha1_ToggleButtonStateSpec(ref), 185 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStatus": schema_pkg_apis_core_v1alpha1_ToggleButtonStatus(ref), 186 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputSpec": schema_pkg_apis_core_v1alpha1_UIBoolInputSpec(ref), 187 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputStatus": schema_pkg_apis_core_v1alpha1_UIBoolInputStatus(ref), 188 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildRunning": schema_pkg_apis_core_v1alpha1_UIBuildRunning(ref), 189 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildTerminated": schema_pkg_apis_core_v1alpha1_UIBuildTerminated(ref), 190 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButton": schema_pkg_apis_core_v1alpha1_UIButton(ref), 191 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonList": schema_pkg_apis_core_v1alpha1_UIButtonList(ref), 192 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonSpec": schema_pkg_apis_core_v1alpha1_UIButtonSpec(ref), 193 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonStatus": schema_pkg_apis_core_v1alpha1_UIButtonStatus(ref), 194 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputSpec": schema_pkg_apis_core_v1alpha1_UIChoiceInputSpec(ref), 195 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputStatus": schema_pkg_apis_core_v1alpha1_UIChoiceInputStatus(ref), 196 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation": schema_pkg_apis_core_v1alpha1_UIComponentLocation(ref), 197 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocationResource": schema_pkg_apis_core_v1alpha1_UIComponentLocationResource(ref), 198 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIFeatureFlag": schema_pkg_apis_core_v1alpha1_UIFeatureFlag(ref), 199 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputSpec": schema_pkg_apis_core_v1alpha1_UIHiddenInputSpec(ref), 200 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputStatus": schema_pkg_apis_core_v1alpha1_UIHiddenInputStatus(ref), 201 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputSpec": schema_pkg_apis_core_v1alpha1_UIInputSpec(ref), 202 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputStatus": schema_pkg_apis_core_v1alpha1_UIInputStatus(ref), 203 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResource": schema_pkg_apis_core_v1alpha1_UIResource(ref), 204 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceCompose": schema_pkg_apis_core_v1alpha1_UIResourceCompose(ref), 205 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceCondition": schema_pkg_apis_core_v1alpha1_UIResourceCondition(ref), 206 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceKubernetes": schema_pkg_apis_core_v1alpha1_UIResourceKubernetes(ref), 207 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLink": schema_pkg_apis_core_v1alpha1_UIResourceLink(ref), 208 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceList": schema_pkg_apis_core_v1alpha1_UIResourceList(ref), 209 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLocal": schema_pkg_apis_core_v1alpha1_UIResourceLocal(ref), 210 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceSpec": schema_pkg_apis_core_v1alpha1_UIResourceSpec(ref), 211 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaiting": schema_pkg_apis_core_v1alpha1_UIResourceStateWaiting(ref), 212 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaitingOnRef": schema_pkg_apis_core_v1alpha1_UIResourceStateWaitingOnRef(ref), 213 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStatus": schema_pkg_apis_core_v1alpha1_UIResourceStatus(ref), 214 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceTargetSpec": schema_pkg_apis_core_v1alpha1_UIResourceTargetSpec(ref), 215 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISession": schema_pkg_apis_core_v1alpha1_UISession(ref), 216 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionList": schema_pkg_apis_core_v1alpha1_UISessionList(ref), 217 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionSpec": schema_pkg_apis_core_v1alpha1_UISessionSpec(ref), 218 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionStatus": schema_pkg_apis_core_v1alpha1_UISessionStatus(ref), 219 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputSpec": schema_pkg_apis_core_v1alpha1_UITextInputSpec(ref), 220 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputStatus": schema_pkg_apis_core_v1alpha1_UITextInputStatus(ref), 221 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.VersionSettings": schema_pkg_apis_core_v1alpha1_VersionSettings(ref), 222 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), 223 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), 224 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), 225 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), 226 "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), 227 "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref), 228 "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref), 229 "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), 230 "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), 231 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), 232 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldSelectorRequirement": schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref), 233 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), 234 "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), 235 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), 236 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), 237 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), 238 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), 239 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), 240 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), 241 "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), 242 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), 243 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), 244 "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), 245 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), 246 "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), 247 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), 248 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), 249 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), 250 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), 251 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), 252 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), 253 "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), 254 "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), 255 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), 256 "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), 257 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), 258 "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), 259 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), 260 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), 261 "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), 262 "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), 263 "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), 264 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), 265 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), 266 "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), 267 "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), 268 "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), 269 "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), 270 "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), 271 "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), 272 "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), 273 "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), 274 "k8s.io/apimachinery/pkg/version.Info": schema_k8sio_apimachinery_pkg_version_Info(ref), 275 } 276 } 277 278 func schema_pkg_apis_core_v1alpha1_Cluster(ref common.ReferenceCallback) common.OpenAPIDefinition { 279 return common.OpenAPIDefinition{ 280 Schema: spec.Schema{ 281 SchemaProps: spec.SchemaProps{ 282 Description: "Cluster defines any runtime for running containers, in the broadest sense of the word \"runtime\".", 283 Type: []string{"object"}, 284 Properties: map[string]spec.Schema{ 285 "kind": { 286 SchemaProps: spec.SchemaProps{ 287 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/sig-architecture/api-conventions.md#types-kinds", 288 Type: []string{"string"}, 289 Format: "", 290 }, 291 }, 292 "apiVersion": { 293 SchemaProps: spec.SchemaProps{ 294 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/sig-architecture/api-conventions.md#resources", 295 Type: []string{"string"}, 296 Format: "", 297 }, 298 }, 299 "metadata": { 300 SchemaProps: spec.SchemaProps{ 301 Default: map[string]interface{}{}, 302 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 303 }, 304 }, 305 "spec": { 306 SchemaProps: spec.SchemaProps{ 307 Default: map[string]interface{}{}, 308 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterSpec"), 309 }, 310 }, 311 "status": { 312 SchemaProps: spec.SchemaProps{ 313 Default: map[string]interface{}{}, 314 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterStatus"), 315 }, 316 }, 317 }, 318 }, 319 }, 320 Dependencies: []string{ 321 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 322 } 323 } 324 325 func schema_pkg_apis_core_v1alpha1_ClusterConnection(ref common.ReferenceCallback) common.OpenAPIDefinition { 326 return common.OpenAPIDefinition{ 327 Schema: spec.Schema{ 328 SchemaProps: spec.SchemaProps{ 329 Description: "Connection spec for an existing cluster.", 330 Type: []string{"object"}, 331 Properties: map[string]spec.Schema{ 332 "kubernetes": { 333 SchemaProps: spec.SchemaProps{ 334 Description: "Defines connection to a Kubernetes cluster.", 335 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnection"), 336 }, 337 }, 338 "docker": { 339 SchemaProps: spec.SchemaProps{ 340 Description: "Defines connection to a Docker daemon.", 341 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerClusterConnection"), 342 }, 343 }, 344 }, 345 }, 346 }, 347 Dependencies: []string{ 348 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerClusterConnection", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnection"}, 349 } 350 } 351 352 func schema_pkg_apis_core_v1alpha1_ClusterConnectionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 353 return common.OpenAPIDefinition{ 354 Schema: spec.Schema{ 355 SchemaProps: spec.SchemaProps{ 356 Description: "Connection spec for an existing cluster.", 357 Type: []string{"object"}, 358 Properties: map[string]spec.Schema{ 359 "kubernetes": { 360 SchemaProps: spec.SchemaProps{ 361 Description: "Defines connection to a Kubernetes cluster.", 362 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnectionStatus"), 363 }, 364 }, 365 }, 366 }, 367 }, 368 Dependencies: []string{ 369 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnectionStatus"}, 370 } 371 } 372 373 func schema_pkg_apis_core_v1alpha1_ClusterList(ref common.ReferenceCallback) common.OpenAPIDefinition { 374 return common.OpenAPIDefinition{ 375 Schema: spec.Schema{ 376 SchemaProps: spec.SchemaProps{ 377 Description: "ClusterList", 378 Type: []string{"object"}, 379 Properties: map[string]spec.Schema{ 380 "kind": { 381 SchemaProps: spec.SchemaProps{ 382 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/sig-architecture/api-conventions.md#types-kinds", 383 Type: []string{"string"}, 384 Format: "", 385 }, 386 }, 387 "apiVersion": { 388 SchemaProps: spec.SchemaProps{ 389 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/sig-architecture/api-conventions.md#resources", 390 Type: []string{"string"}, 391 Format: "", 392 }, 393 }, 394 "metadata": { 395 SchemaProps: spec.SchemaProps{ 396 Default: map[string]interface{}{}, 397 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 398 }, 399 }, 400 "items": { 401 SchemaProps: spec.SchemaProps{ 402 Type: []string{"array"}, 403 Items: &spec.SchemaOrArray{ 404 Schema: &spec.Schema{ 405 SchemaProps: spec.SchemaProps{ 406 Default: map[string]interface{}{}, 407 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cluster"), 408 }, 409 }, 410 }, 411 }, 412 }, 413 }, 414 Required: []string{"items"}, 415 }, 416 }, 417 Dependencies: []string{ 418 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cluster", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 419 } 420 } 421 422 func schema_pkg_apis_core_v1alpha1_ClusterSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 423 return common.OpenAPIDefinition{ 424 Schema: spec.Schema{ 425 SchemaProps: spec.SchemaProps{ 426 Description: "ClusterSpec defines how to find the cluster we're running containers on.\n\nTilt currently supports connecting to an existing Kubernetes cluster or an existing Docker Daemon (for Docker Compose).", 427 Type: []string{"object"}, 428 Properties: map[string]spec.Schema{ 429 "connection": { 430 SchemaProps: spec.SchemaProps{ 431 Description: "Connection spec for an existing cluster.", 432 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnection"), 433 }, 434 }, 435 "defaultRegistry": { 436 SchemaProps: spec.SchemaProps{ 437 Description: "DefaultRegistry determines where images for this Cluster should be pushed/pulled from if the Cluster itself does not provide local registry hosting metadata.\n\nIf not specified, no registry rewriting will occur, and the images will be pushed/pulled to from the registry specified by the corresponding image build directive (e.g. `docker_build` or `custom_build`).", 438 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting"), 439 }, 440 }, 441 }, 442 }, 443 }, 444 Dependencies: []string{ 445 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnection", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting"}, 446 } 447 } 448 449 func schema_pkg_apis_core_v1alpha1_ClusterStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 450 return common.OpenAPIDefinition{ 451 Schema: spec.Schema{ 452 SchemaProps: spec.SchemaProps{ 453 Description: "ClusterStatus defines the observed state of Cluster", 454 Type: []string{"object"}, 455 Properties: map[string]spec.Schema{ 456 "arch": { 457 SchemaProps: spec.SchemaProps{ 458 Description: "The preferred chip architecture of the cluster.\n\nOn Kubernetes, this will correspond to the kubernetes.io/arch annotation on a node.\n\nOn Docker, this will be the Architecture of the Docker daemon.\n\nNote that many clusters support multiple chipsets. This field doesn't intend that this is the only architecture a cluster supports, only that it's one of the architectures.", 459 Type: []string{"string"}, 460 Format: "", 461 }, 462 }, 463 "error": { 464 SchemaProps: spec.SchemaProps{ 465 Description: "An unrecoverable error connecting to the cluster.", 466 Type: []string{"string"}, 467 Format: "", 468 }, 469 }, 470 "connectedAt": { 471 SchemaProps: spec.SchemaProps{ 472 Description: "ConnectedAt indicates the time at which the cluster connection was established.\n\nConsumers can use this to detect when the underlying config has changed and refresh their client/connection accordingly.", 473 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 474 }, 475 }, 476 "registry": { 477 SchemaProps: spec.SchemaProps{ 478 Description: "Registry describes a local registry that developer tools can connect to. A local registry allows clients to load images into the local cluster by pushing to this registry.", 479 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting"), 480 }, 481 }, 482 "connection": { 483 SchemaProps: spec.SchemaProps{ 484 Description: "Connection status for an existing cluster.", 485 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnectionStatus"), 486 }, 487 }, 488 "version": { 489 SchemaProps: spec.SchemaProps{ 490 Description: "Version is a cluster-provided, human-readable version string.", 491 Type: []string{"string"}, 492 Format: "", 493 }, 494 }, 495 }, 496 }, 497 }, 498 Dependencies: []string{ 499 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnectionStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 500 } 501 } 502 503 func schema_pkg_apis_core_v1alpha1_Cmd(ref common.ReferenceCallback) common.OpenAPIDefinition { 504 return common.OpenAPIDefinition{ 505 Schema: spec.Schema{ 506 SchemaProps: spec.SchemaProps{ 507 Description: "Cmd represents a process on the host machine.\n\nWhen the process exits, we will make a best-effort attempt (within OS limitations) to kill any spawned descendant processes.", 508 Type: []string{"object"}, 509 Properties: map[string]spec.Schema{ 510 "kind": { 511 SchemaProps: spec.SchemaProps{ 512 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/sig-architecture/api-conventions.md#types-kinds", 513 Type: []string{"string"}, 514 Format: "", 515 }, 516 }, 517 "apiVersion": { 518 SchemaProps: spec.SchemaProps{ 519 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/sig-architecture/api-conventions.md#resources", 520 Type: []string{"string"}, 521 Format: "", 522 }, 523 }, 524 "metadata": { 525 SchemaProps: spec.SchemaProps{ 526 Default: map[string]interface{}{}, 527 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 528 }, 529 }, 530 "spec": { 531 SchemaProps: spec.SchemaProps{ 532 Default: map[string]interface{}{}, 533 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdSpec"), 534 }, 535 }, 536 "status": { 537 SchemaProps: spec.SchemaProps{ 538 Default: map[string]interface{}{}, 539 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStatus"), 540 }, 541 }, 542 }, 543 }, 544 }, 545 Dependencies: []string{ 546 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 547 } 548 } 549 550 func schema_pkg_apis_core_v1alpha1_CmdImage(ref common.ReferenceCallback) common.OpenAPIDefinition { 551 return common.OpenAPIDefinition{ 552 Schema: spec.Schema{ 553 SchemaProps: spec.SchemaProps{ 554 Description: "CmdImage describes an image to build with an arbitrary shell command.", 555 Type: []string{"object"}, 556 Properties: map[string]spec.Schema{ 557 "kind": { 558 SchemaProps: spec.SchemaProps{ 559 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/sig-architecture/api-conventions.md#types-kinds", 560 Type: []string{"string"}, 561 Format: "", 562 }, 563 }, 564 "apiVersion": { 565 SchemaProps: spec.SchemaProps{ 566 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/sig-architecture/api-conventions.md#resources", 567 Type: []string{"string"}, 568 Format: "", 569 }, 570 }, 571 "metadata": { 572 SchemaProps: spec.SchemaProps{ 573 Default: map[string]interface{}{}, 574 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 575 }, 576 }, 577 "spec": { 578 SchemaProps: spec.SchemaProps{ 579 Default: map[string]interface{}{}, 580 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageSpec"), 581 }, 582 }, 583 "status": { 584 SchemaProps: spec.SchemaProps{ 585 Default: map[string]interface{}{}, 586 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStatus"), 587 }, 588 }, 589 }, 590 }, 591 }, 592 Dependencies: []string{ 593 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 594 } 595 } 596 597 func schema_pkg_apis_core_v1alpha1_CmdImageList(ref common.ReferenceCallback) common.OpenAPIDefinition { 598 return common.OpenAPIDefinition{ 599 Schema: spec.Schema{ 600 SchemaProps: spec.SchemaProps{ 601 Description: "CmdImageList", 602 Type: []string{"object"}, 603 Properties: map[string]spec.Schema{ 604 "kind": { 605 SchemaProps: spec.SchemaProps{ 606 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/sig-architecture/api-conventions.md#types-kinds", 607 Type: []string{"string"}, 608 Format: "", 609 }, 610 }, 611 "apiVersion": { 612 SchemaProps: spec.SchemaProps{ 613 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/sig-architecture/api-conventions.md#resources", 614 Type: []string{"string"}, 615 Format: "", 616 }, 617 }, 618 "metadata": { 619 SchemaProps: spec.SchemaProps{ 620 Default: map[string]interface{}{}, 621 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 622 }, 623 }, 624 "items": { 625 SchemaProps: spec.SchemaProps{ 626 Type: []string{"array"}, 627 Items: &spec.SchemaOrArray{ 628 Schema: &spec.Schema{ 629 SchemaProps: spec.SchemaProps{ 630 Default: map[string]interface{}{}, 631 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImage"), 632 }, 633 }, 634 }, 635 }, 636 }, 637 }, 638 Required: []string{"items"}, 639 }, 640 }, 641 Dependencies: []string{ 642 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImage", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 643 } 644 } 645 646 func schema_pkg_apis_core_v1alpha1_CmdImageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 647 return common.OpenAPIDefinition{ 648 Schema: spec.Schema{ 649 SchemaProps: spec.SchemaProps{ 650 Description: "CmdImageSpec describes how the custom script builds images and where it puts them.", 651 Type: []string{"object"}, 652 Properties: map[string]spec.Schema{ 653 "ref": { 654 SchemaProps: spec.SchemaProps{ 655 Description: "The named reference of the image.", 656 Default: "", 657 Type: []string{"string"}, 658 Format: "", 659 }, 660 }, 661 "args": { 662 SchemaProps: spec.SchemaProps{ 663 Description: "Command-line arguments. Must have length at least 1.", 664 Type: []string{"array"}, 665 Items: &spec.SchemaOrArray{ 666 Schema: &spec.Schema{ 667 SchemaProps: spec.SchemaProps{ 668 Default: "", 669 Type: []string{"string"}, 670 Format: "", 671 }, 672 }, 673 }, 674 }, 675 }, 676 "dir": { 677 SchemaProps: spec.SchemaProps{ 678 Description: "Process working directory.\n\nIf the working directory is not specified, the command is run in the default Tilt working directory.", 679 Type: []string{"string"}, 680 Format: "", 681 }, 682 }, 683 "env": { 684 SchemaProps: spec.SchemaProps{ 685 Description: "Additional environment variables for the build process.\n\nExpressed as a C-style array of strings of the form [\"KEY1=VALUE1\", \"KEY2=VALUE2\", ...].\n\nEnvironment variables are layered on top of the environment variables that Tilt runs with.", 686 Type: []string{"array"}, 687 Items: &spec.SchemaOrArray{ 688 Schema: &spec.Schema{ 689 SchemaProps: spec.SchemaProps{ 690 Default: "", 691 Type: []string{"string"}, 692 Format: "", 693 }, 694 }, 695 }, 696 }, 697 }, 698 "imageMaps": { 699 SchemaProps: spec.SchemaProps{ 700 Description: "Names of image maps that this build depends on.\n\nThe controller will watch all the image maps, and rebuild the image if any of the maps resolve to a new image.", 701 Type: []string{"array"}, 702 Items: &spec.SchemaOrArray{ 703 Schema: &spec.Schema{ 704 SchemaProps: spec.SchemaProps{ 705 Default: "", 706 Type: []string{"string"}, 707 Format: "", 708 }, 709 }, 710 }, 711 }, 712 }, 713 "outputMode": { 714 SchemaProps: spec.SchemaProps{ 715 Description: "Specifies where the image is built. If not specified, we assume the image was built to the local Docker image store.", 716 Type: []string{"string"}, 717 Format: "", 718 }, 719 }, 720 "outputTag": { 721 SchemaProps: spec.SchemaProps{ 722 Description: "Tag we expect the image to be built with (we use this to check that the expected image+tag has been created).\n\nIf empty, we create an expected tag at the beginning of CustomBuild (and export $EXPECTED_REF=name:expected_tag )", 723 Type: []string{"string"}, 724 Format: "", 725 }, 726 }, 727 "outputsImageRefTo": { 728 SchemaProps: spec.SchemaProps{ 729 Description: "Specifies a filepath where the cmd script prints the result image ref.\n\nTilt will read it out when we're done to find the image.", 730 Type: []string{"string"}, 731 Format: "", 732 }, 733 }, 734 "cluster": { 735 SchemaProps: spec.SchemaProps{ 736 Description: "The name of the cluster we're building for.\n\nWe'll use the cluster to determine the architecture of the image to build, and the registry to build it for.\n\nIf no cluster is specified, assumes the default cluster.", 737 Type: []string{"string"}, 738 Format: "", 739 }, 740 }, 741 "clusterNeeds": { 742 SchemaProps: spec.SchemaProps{ 743 Description: "Whether the cluster needs access to the image.\n\nIf not specified, assumes we have to push up to the cluster.", 744 Type: []string{"string"}, 745 Format: "", 746 }, 747 }, 748 }, 749 Required: []string{"ref"}, 750 }, 751 }, 752 } 753 } 754 755 func schema_pkg_apis_core_v1alpha1_CmdImageStateBuilding(ref common.ReferenceCallback) common.OpenAPIDefinition { 756 return common.OpenAPIDefinition{ 757 Schema: spec.Schema{ 758 SchemaProps: spec.SchemaProps{ 759 Description: "CmdImageStateBuilding expresses that an image build is in-progress.", 760 Type: []string{"object"}, 761 Properties: map[string]spec.Schema{ 762 "reason": { 763 SchemaProps: spec.SchemaProps{ 764 Description: "The reason why the image is building.", 765 Type: []string{"string"}, 766 Format: "", 767 }, 768 }, 769 "startedAt": { 770 SchemaProps: spec.SchemaProps{ 771 Description: "Time when the build started.", 772 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 773 }, 774 }, 775 }, 776 }, 777 }, 778 Dependencies: []string{ 779 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 780 } 781 } 782 783 func schema_pkg_apis_core_v1alpha1_CmdImageStateCompleted(ref common.ReferenceCallback) common.OpenAPIDefinition { 784 return common.OpenAPIDefinition{ 785 Schema: spec.Schema{ 786 SchemaProps: spec.SchemaProps{ 787 Description: "CmdImageStateCompleted expresses when the image build is finished and no new images need to be built.", 788 Type: []string{"object"}, 789 Properties: map[string]spec.Schema{ 790 "reason": { 791 SchemaProps: spec.SchemaProps{ 792 Description: "The reason why the image was built.", 793 Type: []string{"string"}, 794 Format: "", 795 }, 796 }, 797 "error": { 798 SchemaProps: spec.SchemaProps{ 799 Description: "Error message if the build failed.", 800 Type: []string{"string"}, 801 Format: "", 802 }, 803 }, 804 "startedAt": { 805 SchemaProps: spec.SchemaProps{ 806 Description: "Time when we started building an image.", 807 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 808 }, 809 }, 810 "finishedAt": { 811 SchemaProps: spec.SchemaProps{ 812 Description: "Time when we finished building an image", 813 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 814 }, 815 }, 816 }, 817 }, 818 }, 819 Dependencies: []string{ 820 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 821 } 822 } 823 824 func schema_pkg_apis_core_v1alpha1_CmdImageStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 825 return common.OpenAPIDefinition{ 826 Schema: spec.Schema{ 827 SchemaProps: spec.SchemaProps{ 828 Description: "CmdImageStateWaiting expresses what we're waiting on to build an image.", 829 Type: []string{"object"}, 830 Properties: map[string]spec.Schema{ 831 "reason": { 832 SchemaProps: spec.SchemaProps{ 833 Description: "(brief) reason the image build is waiting.", 834 Type: []string{"string"}, 835 Format: "", 836 }, 837 }, 838 }, 839 }, 840 }, 841 } 842 } 843 844 func schema_pkg_apis_core_v1alpha1_CmdImageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 845 return common.OpenAPIDefinition{ 846 Schema: spec.Schema{ 847 SchemaProps: spec.SchemaProps{ 848 Description: "CmdImageStatus describes the result of the image build.", 849 Type: []string{"object"}, 850 Properties: map[string]spec.Schema{ 851 "ref": { 852 SchemaProps: spec.SchemaProps{ 853 Description: "A fully-qualified image reference of a built image, as seen from the local network.\n\nUsually includes a name and an immutable tag.\n\nNB: If we're building to a particular registry, this may have a different hostname from the Spec `Ref` field.", 854 Type: []string{"string"}, 855 Format: "", 856 }, 857 }, 858 "waiting": { 859 SchemaProps: spec.SchemaProps{ 860 Description: "Details about a waiting image build.", 861 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateWaiting"), 862 }, 863 }, 864 "building": { 865 SchemaProps: spec.SchemaProps{ 866 Description: "Details about a building image.", 867 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateBuilding"), 868 }, 869 }, 870 "completed": { 871 SchemaProps: spec.SchemaProps{ 872 Description: "Details about a finished image build.", 873 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateCompleted"), 874 }, 875 }, 876 }, 877 }, 878 }, 879 Dependencies: []string{ 880 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateBuilding", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateCompleted", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateWaiting"}, 881 } 882 } 883 884 func schema_pkg_apis_core_v1alpha1_CmdList(ref common.ReferenceCallback) common.OpenAPIDefinition { 885 return common.OpenAPIDefinition{ 886 Schema: spec.Schema{ 887 SchemaProps: spec.SchemaProps{ 888 Description: "CmdList", 889 Type: []string{"object"}, 890 Properties: map[string]spec.Schema{ 891 "kind": { 892 SchemaProps: spec.SchemaProps{ 893 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/sig-architecture/api-conventions.md#types-kinds", 894 Type: []string{"string"}, 895 Format: "", 896 }, 897 }, 898 "apiVersion": { 899 SchemaProps: spec.SchemaProps{ 900 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/sig-architecture/api-conventions.md#resources", 901 Type: []string{"string"}, 902 Format: "", 903 }, 904 }, 905 "metadata": { 906 SchemaProps: spec.SchemaProps{ 907 Default: map[string]interface{}{}, 908 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 909 }, 910 }, 911 "items": { 912 SchemaProps: spec.SchemaProps{ 913 Type: []string{"array"}, 914 Items: &spec.SchemaOrArray{ 915 Schema: &spec.Schema{ 916 SchemaProps: spec.SchemaProps{ 917 Default: map[string]interface{}{}, 918 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cmd"), 919 }, 920 }, 921 }, 922 }, 923 }, 924 }, 925 Required: []string{"items"}, 926 }, 927 }, 928 Dependencies: []string{ 929 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cmd", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 930 } 931 } 932 933 func schema_pkg_apis_core_v1alpha1_CmdSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 934 return common.OpenAPIDefinition{ 935 Schema: spec.Schema{ 936 SchemaProps: spec.SchemaProps{ 937 Description: "CmdSpec defines how to run a local command.", 938 Type: []string{"object"}, 939 Properties: map[string]spec.Schema{ 940 "args": { 941 SchemaProps: spec.SchemaProps{ 942 Description: "Command-line arguments. Must have length at least 1.", 943 Type: []string{"array"}, 944 Items: &spec.SchemaOrArray{ 945 Schema: &spec.Schema{ 946 SchemaProps: spec.SchemaProps{ 947 Default: "", 948 Type: []string{"string"}, 949 Format: "", 950 }, 951 }, 952 }, 953 }, 954 }, 955 "dir": { 956 SchemaProps: spec.SchemaProps{ 957 Description: "Process working directory.\n\nIf the working directory is not specified, the command is run in the default Tilt working directory.", 958 Type: []string{"string"}, 959 Format: "", 960 }, 961 }, 962 "env": { 963 SchemaProps: spec.SchemaProps{ 964 Description: "Additional variables process environment.\n\nExpressed as a C-style array of strings of the form [\"KEY1=VALUE1\", \"KEY2=VALUE2\", ...].\n\nEnvironment variables are layered on top of the environment variables that Tilt runs with.", 965 Type: []string{"array"}, 966 Items: &spec.SchemaOrArray{ 967 Schema: &spec.Schema{ 968 SchemaProps: spec.SchemaProps{ 969 Default: "", 970 Type: []string{"string"}, 971 Format: "", 972 }, 973 }, 974 }, 975 }, 976 }, 977 "readinessProbe": { 978 SchemaProps: spec.SchemaProps{ 979 Description: "Periodic probe of service readiness.", 980 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Probe"), 981 }, 982 }, 983 "restartOn": { 984 SchemaProps: spec.SchemaProps{ 985 Description: "Indicates objects that can trigger a restart of this command.\n\nWhen a restart is triggered, Tilt will try to gracefully shutdown any currently running process, waiting for it to exit before starting a new process. If the process doesn't shutdown within the allotted time, Tilt will kill the process abruptly.\n\nRestarts can happen even if the command is already done.\n\nLogs of the current process after the restart are discarded.", 986 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec"), 987 }, 988 }, 989 "startOn": { 990 SchemaProps: spec.SchemaProps{ 991 Description: "Indicates objects that can trigger a start/restart of this command.\n\nRestarts behave the same as RestartOn. The key difference is that a Cmd with any StartOn triggers will not have its command run until its StartOn is satisfied.", 992 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StartOnSpec"), 993 }, 994 }, 995 "disableSource": { 996 SchemaProps: spec.SchemaProps{ 997 Description: "Specifies how to disable this.", 998 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 999 }, 1000 }, 1001 }, 1002 }, 1003 }, 1004 Dependencies: []string{ 1005 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Probe", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StartOnSpec"}, 1006 } 1007 } 1008 1009 func schema_pkg_apis_core_v1alpha1_CmdStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 1010 return common.OpenAPIDefinition{ 1011 Schema: spec.Schema{ 1012 SchemaProps: spec.SchemaProps{ 1013 Description: "CmdStateRunning is a running state of a local command.", 1014 Type: []string{"object"}, 1015 Properties: map[string]spec.Schema{ 1016 "pid": { 1017 SchemaProps: spec.SchemaProps{ 1018 Description: "The process id of the command.", 1019 Default: 0, 1020 Type: []string{"integer"}, 1021 Format: "int32", 1022 }, 1023 }, 1024 "startedAt": { 1025 SchemaProps: spec.SchemaProps{ 1026 Description: "Time at which the command was last started.", 1027 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1028 }, 1029 }, 1030 }, 1031 Required: []string{"pid"}, 1032 }, 1033 }, 1034 Dependencies: []string{ 1035 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 1036 } 1037 } 1038 1039 func schema_pkg_apis_core_v1alpha1_CmdStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 1040 return common.OpenAPIDefinition{ 1041 Schema: spec.Schema{ 1042 SchemaProps: spec.SchemaProps{ 1043 Description: "CmdStateTerminated is a terminated state of a local command.", 1044 Type: []string{"object"}, 1045 Properties: map[string]spec.Schema{ 1046 "pid": { 1047 SchemaProps: spec.SchemaProps{ 1048 Description: "The process id of the command.", 1049 Default: 0, 1050 Type: []string{"integer"}, 1051 Format: "int32", 1052 }, 1053 }, 1054 "exitCode": { 1055 SchemaProps: spec.SchemaProps{ 1056 Description: "Exit status from the last termination of the command", 1057 Default: 0, 1058 Type: []string{"integer"}, 1059 Format: "int32", 1060 }, 1061 }, 1062 "startedAt": { 1063 SchemaProps: spec.SchemaProps{ 1064 Description: "Time at which previous execution of the command started", 1065 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1066 }, 1067 }, 1068 "finishedAt": { 1069 SchemaProps: spec.SchemaProps{ 1070 Description: "Time at which the command last terminated", 1071 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1072 }, 1073 }, 1074 "reason": { 1075 SchemaProps: spec.SchemaProps{ 1076 Description: "(brief) reason the process is terminated", 1077 Type: []string{"string"}, 1078 Format: "", 1079 }, 1080 }, 1081 }, 1082 Required: []string{"pid", "exitCode"}, 1083 }, 1084 }, 1085 Dependencies: []string{ 1086 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 1087 } 1088 } 1089 1090 func schema_pkg_apis_core_v1alpha1_CmdStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 1091 return common.OpenAPIDefinition{ 1092 Schema: spec.Schema{ 1093 SchemaProps: spec.SchemaProps{ 1094 Description: "CmdStateWaiting is a waiting state of a local command.", 1095 Type: []string{"object"}, 1096 Properties: map[string]spec.Schema{ 1097 "reason": { 1098 SchemaProps: spec.SchemaProps{ 1099 Description: "(brief) reason the process is not yet running.", 1100 Type: []string{"string"}, 1101 Format: "", 1102 }, 1103 }, 1104 }, 1105 }, 1106 }, 1107 } 1108 } 1109 1110 func schema_pkg_apis_core_v1alpha1_CmdStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1111 return common.OpenAPIDefinition{ 1112 Schema: spec.Schema{ 1113 SchemaProps: spec.SchemaProps{ 1114 Description: "CmdStatus defines the observed state of Cmd\n\nBased loosely on ContainerStatus in Kubernetes", 1115 Type: []string{"object"}, 1116 Properties: map[string]spec.Schema{ 1117 "waiting": { 1118 SchemaProps: spec.SchemaProps{ 1119 Description: "Details about a waiting process.", 1120 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateWaiting"), 1121 }, 1122 }, 1123 "running": { 1124 SchemaProps: spec.SchemaProps{ 1125 Description: "Details about a running process.", 1126 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateRunning"), 1127 }, 1128 }, 1129 "terminated": { 1130 SchemaProps: spec.SchemaProps{ 1131 Description: "Details about a terminated process.", 1132 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateTerminated"), 1133 }, 1134 }, 1135 "ready": { 1136 SchemaProps: spec.SchemaProps{ 1137 Description: "Specifies whether the command has passed its readiness probe.\n\nTerminating the command does not change its Ready state.\n\nIs always true when no readiness probe is defined.", 1138 Type: []string{"boolean"}, 1139 Format: "", 1140 }, 1141 }, 1142 "disableStatus": { 1143 SchemaProps: spec.SchemaProps{ 1144 Description: "Details about whether/why this is disabled.", 1145 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 1146 }, 1147 }, 1148 }, 1149 }, 1150 }, 1151 Dependencies: []string{ 1152 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateRunning", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateTerminated", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateWaiting", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"}, 1153 } 1154 } 1155 1156 func schema_pkg_apis_core_v1alpha1_ConfigMap(ref common.ReferenceCallback) common.OpenAPIDefinition { 1157 return common.OpenAPIDefinition{ 1158 Schema: spec.Schema{ 1159 SchemaProps: spec.SchemaProps{ 1160 Description: "ConfigMap stores unstructured data that other controllers can read and write.\n\nUseful for sharing data from one system and subscribing to it from another.", 1161 Type: []string{"object"}, 1162 Properties: map[string]spec.Schema{ 1163 "kind": { 1164 SchemaProps: spec.SchemaProps{ 1165 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/sig-architecture/api-conventions.md#types-kinds", 1166 Type: []string{"string"}, 1167 Format: "", 1168 }, 1169 }, 1170 "apiVersion": { 1171 SchemaProps: spec.SchemaProps{ 1172 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/sig-architecture/api-conventions.md#resources", 1173 Type: []string{"string"}, 1174 Format: "", 1175 }, 1176 }, 1177 "metadata": { 1178 SchemaProps: spec.SchemaProps{ 1179 Default: map[string]interface{}{}, 1180 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1181 }, 1182 }, 1183 "data": { 1184 SchemaProps: spec.SchemaProps{ 1185 Description: "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.", 1186 Type: []string{"object"}, 1187 AdditionalProperties: &spec.SchemaOrBool{ 1188 Allows: true, 1189 Schema: &spec.Schema{ 1190 SchemaProps: spec.SchemaProps{ 1191 Default: "", 1192 Type: []string{"string"}, 1193 Format: "", 1194 }, 1195 }, 1196 }, 1197 }, 1198 }, 1199 }, 1200 }, 1201 }, 1202 Dependencies: []string{ 1203 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1204 } 1205 } 1206 1207 func schema_pkg_apis_core_v1alpha1_ConfigMapDisableSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 1208 return common.OpenAPIDefinition{ 1209 Schema: spec.Schema{ 1210 SchemaProps: spec.SchemaProps{ 1211 Description: "Specifies a ConfigMap to control a DisableSource", 1212 Type: []string{"object"}, 1213 Properties: map[string]spec.Schema{ 1214 "name": { 1215 SchemaProps: spec.SchemaProps{ 1216 Description: "The name of the ConfigMap", 1217 Default: "", 1218 Type: []string{"string"}, 1219 Format: "", 1220 }, 1221 }, 1222 "key": { 1223 SchemaProps: spec.SchemaProps{ 1224 Description: "The key where the enable/disable state is stored.", 1225 Default: "", 1226 Type: []string{"string"}, 1227 Format: "", 1228 }, 1229 }, 1230 }, 1231 Required: []string{"name", "key"}, 1232 }, 1233 }, 1234 } 1235 } 1236 1237 func schema_pkg_apis_core_v1alpha1_ConfigMapList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1238 return common.OpenAPIDefinition{ 1239 Schema: spec.Schema{ 1240 SchemaProps: spec.SchemaProps{ 1241 Description: "ConfigMapList", 1242 Type: []string{"object"}, 1243 Properties: map[string]spec.Schema{ 1244 "kind": { 1245 SchemaProps: spec.SchemaProps{ 1246 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/sig-architecture/api-conventions.md#types-kinds", 1247 Type: []string{"string"}, 1248 Format: "", 1249 }, 1250 }, 1251 "apiVersion": { 1252 SchemaProps: spec.SchemaProps{ 1253 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/sig-architecture/api-conventions.md#resources", 1254 Type: []string{"string"}, 1255 Format: "", 1256 }, 1257 }, 1258 "metadata": { 1259 SchemaProps: spec.SchemaProps{ 1260 Default: map[string]interface{}{}, 1261 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1262 }, 1263 }, 1264 "items": { 1265 SchemaProps: spec.SchemaProps{ 1266 Type: []string{"array"}, 1267 Items: &spec.SchemaOrArray{ 1268 Schema: &spec.Schema{ 1269 SchemaProps: spec.SchemaProps{ 1270 Default: map[string]interface{}{}, 1271 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMap"), 1272 }, 1273 }, 1274 }, 1275 }, 1276 }, 1277 }, 1278 Required: []string{"items"}, 1279 }, 1280 }, 1281 Dependencies: []string{ 1282 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 1283 } 1284 } 1285 1286 func schema_pkg_apis_core_v1alpha1_ConfigMapStateSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 1287 return common.OpenAPIDefinition{ 1288 Schema: spec.Schema{ 1289 SchemaProps: spec.SchemaProps{ 1290 Description: "Describes how a ToggleButton's state is stored in a ConfigMap. The ConfigMap must be created separately - the ToggleButton will not automatically create it.", 1291 Type: []string{"object"}, 1292 Properties: map[string]spec.Schema{ 1293 "name": { 1294 SchemaProps: spec.SchemaProps{ 1295 Description: "Name of the ConfigMap", 1296 Default: "", 1297 Type: []string{"string"}, 1298 Format: "", 1299 }, 1300 }, 1301 "key": { 1302 SchemaProps: spec.SchemaProps{ 1303 Description: "Key within the ConfigMap", 1304 Default: "", 1305 Type: []string{"string"}, 1306 Format: "", 1307 }, 1308 }, 1309 "onValue": { 1310 SchemaProps: spec.SchemaProps{ 1311 Description: "ConfigMap value corresponding to the button's \"on\" state. If not specified, \"true\" will be used.", 1312 Type: []string{"string"}, 1313 Format: "", 1314 }, 1315 }, 1316 "offValue": { 1317 SchemaProps: spec.SchemaProps{ 1318 Description: "ConfigMap value corresponding to the button's \"off\" state If not specified, \"false\" will be used.", 1319 Type: []string{"string"}, 1320 Format: "", 1321 }, 1322 }, 1323 }, 1324 Required: []string{"name", "key"}, 1325 }, 1326 }, 1327 } 1328 } 1329 1330 func schema_pkg_apis_core_v1alpha1_Container(ref common.ReferenceCallback) common.OpenAPIDefinition { 1331 return common.OpenAPIDefinition{ 1332 Schema: spec.Schema{ 1333 SchemaProps: spec.SchemaProps{ 1334 Description: "Container is an init or application container within a pod.\n\nThe Tilt API representation mirrors the Kubernetes API very closely. Irrelevant data is not included, and some fields might be simplified.\n\nThere might also be Tilt-specific status fields.", 1335 Type: []string{"object"}, 1336 Properties: map[string]spec.Schema{ 1337 "name": { 1338 SchemaProps: spec.SchemaProps{ 1339 Description: "Name is the name of the container as defined in Kubernetes.", 1340 Default: "", 1341 Type: []string{"string"}, 1342 Format: "", 1343 }, 1344 }, 1345 "id": { 1346 SchemaProps: spec.SchemaProps{ 1347 Description: "ID is the normalized container ID (the `docker://` prefix is stripped).", 1348 Default: "", 1349 Type: []string{"string"}, 1350 Format: "", 1351 }, 1352 }, 1353 "ready": { 1354 SchemaProps: spec.SchemaProps{ 1355 Description: "Ready is true if the container is passing readiness checks (or has none defined).", 1356 Default: false, 1357 Type: []string{"boolean"}, 1358 Format: "", 1359 }, 1360 }, 1361 "image": { 1362 SchemaProps: spec.SchemaProps{ 1363 Description: "Image is the image the container is running.", 1364 Default: "", 1365 Type: []string{"string"}, 1366 Format: "", 1367 }, 1368 }, 1369 "restarts": { 1370 SchemaProps: spec.SchemaProps{ 1371 Description: "Restarts is the number of times the container has restarted.\n\nThis includes restarts before the Tilt daemon was started if the container was already running.", 1372 Default: 0, 1373 Type: []string{"integer"}, 1374 Format: "int32", 1375 }, 1376 }, 1377 "state": { 1378 SchemaProps: spec.SchemaProps{ 1379 Description: "State provides details about the container's current condition.", 1380 Default: map[string]interface{}{}, 1381 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerState"), 1382 }, 1383 }, 1384 "ports": { 1385 SchemaProps: spec.SchemaProps{ 1386 Description: "Ports are exposed ports as extracted from the Pod spec.\n\nThis is added by Tilt for convenience when managing port forwards.", 1387 Type: []string{"array"}, 1388 Items: &spec.SchemaOrArray{ 1389 Schema: &spec.Schema{ 1390 SchemaProps: spec.SchemaProps{ 1391 Default: 0, 1392 Type: []string{"integer"}, 1393 Format: "int32", 1394 }, 1395 }, 1396 }, 1397 }, 1398 }, 1399 }, 1400 Required: []string{"name", "id", "ready", "image", "restarts", "state", "ports"}, 1401 }, 1402 }, 1403 Dependencies: []string{ 1404 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerState"}, 1405 } 1406 } 1407 1408 func schema_pkg_apis_core_v1alpha1_ContainerLogStreamStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1409 return common.OpenAPIDefinition{ 1410 Schema: spec.Schema{ 1411 SchemaProps: spec.SchemaProps{ 1412 Description: "ContainerLogStreamStatus defines the current status of each individual container log stream.", 1413 Type: []string{"object"}, 1414 Properties: map[string]spec.Schema{ 1415 "name": { 1416 SchemaProps: spec.SchemaProps{ 1417 Description: "The name of the container.", 1418 Type: []string{"string"}, 1419 Format: "", 1420 }, 1421 }, 1422 "active": { 1423 SchemaProps: spec.SchemaProps{ 1424 Description: "True when the stream is set up and streaming logs properly.", 1425 Type: []string{"boolean"}, 1426 Format: "", 1427 }, 1428 }, 1429 "terminated": { 1430 SchemaProps: spec.SchemaProps{ 1431 Description: "True when the logs are done stream and the container is terminated.", 1432 Type: []string{"boolean"}, 1433 Format: "", 1434 }, 1435 }, 1436 "error": { 1437 SchemaProps: spec.SchemaProps{ 1438 Description: "The last error message encountered while streaming.\n\nEmpty when the stream is actively streaming or successfully terminated.", 1439 Type: []string{"string"}, 1440 Format: "", 1441 }, 1442 }, 1443 }, 1444 }, 1445 }, 1446 } 1447 } 1448 1449 func schema_pkg_apis_core_v1alpha1_ContainerState(ref common.ReferenceCallback) common.OpenAPIDefinition { 1450 return common.OpenAPIDefinition{ 1451 Schema: spec.Schema{ 1452 SchemaProps: spec.SchemaProps{ 1453 Description: "ContainerState holds a possible state of container.\n\nOnly one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.", 1454 Type: []string{"object"}, 1455 Properties: map[string]spec.Schema{ 1456 "waiting": { 1457 SchemaProps: spec.SchemaProps{ 1458 Description: "Waiting provides details about a container that is not yet running.", 1459 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateWaiting"), 1460 }, 1461 }, 1462 "running": { 1463 SchemaProps: spec.SchemaProps{ 1464 Description: "Running provides details about a currently executing container.", 1465 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateRunning"), 1466 }, 1467 }, 1468 "terminated": { 1469 SchemaProps: spec.SchemaProps{ 1470 Description: "Terminated provides details about an exited container.", 1471 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateTerminated"), 1472 }, 1473 }, 1474 }, 1475 Required: []string{"waiting", "running", "terminated"}, 1476 }, 1477 }, 1478 Dependencies: []string{ 1479 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateRunning", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateTerminated", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateWaiting"}, 1480 } 1481 } 1482 1483 func schema_pkg_apis_core_v1alpha1_ContainerStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 1484 return common.OpenAPIDefinition{ 1485 Schema: spec.Schema{ 1486 SchemaProps: spec.SchemaProps{ 1487 Description: "ContainerStateRunning is a running state of a container.", 1488 Type: []string{"object"}, 1489 Properties: map[string]spec.Schema{ 1490 "startedAt": { 1491 SchemaProps: spec.SchemaProps{ 1492 Description: "StartedAt is the time the container began running.", 1493 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1494 }, 1495 }, 1496 }, 1497 Required: []string{"startedAt"}, 1498 }, 1499 }, 1500 Dependencies: []string{ 1501 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1502 } 1503 } 1504 1505 func schema_pkg_apis_core_v1alpha1_ContainerStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 1506 return common.OpenAPIDefinition{ 1507 Schema: spec.Schema{ 1508 SchemaProps: spec.SchemaProps{ 1509 Description: "ContainerStateTerminated is a terminated state of a container.", 1510 Type: []string{"object"}, 1511 Properties: map[string]spec.Schema{ 1512 "startedAt": { 1513 SchemaProps: spec.SchemaProps{ 1514 Description: "StartedAt is the time the container began running.", 1515 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1516 }, 1517 }, 1518 "finishedAt": { 1519 SchemaProps: spec.SchemaProps{ 1520 Description: "FinishedAt is the time the container stopped running.", 1521 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1522 }, 1523 }, 1524 "reason": { 1525 SchemaProps: spec.SchemaProps{ 1526 Description: "Reason is a (brief) reason the container stopped running.", 1527 Type: []string{"string"}, 1528 Format: "", 1529 }, 1530 }, 1531 "exitCode": { 1532 SchemaProps: spec.SchemaProps{ 1533 Description: "ExitCode is the exit status from the termination of the container.\n\nAny non-zero value indicates an error during termination.", 1534 Default: 0, 1535 Type: []string{"integer"}, 1536 Format: "int32", 1537 }, 1538 }, 1539 }, 1540 Required: []string{"startedAt", "finishedAt", "exitCode"}, 1541 }, 1542 }, 1543 Dependencies: []string{ 1544 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1545 } 1546 } 1547 1548 func schema_pkg_apis_core_v1alpha1_ContainerStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 1549 return common.OpenAPIDefinition{ 1550 Schema: spec.Schema{ 1551 SchemaProps: spec.SchemaProps{ 1552 Description: "ContainerStateWaiting is a waiting state of a container.", 1553 Type: []string{"object"}, 1554 Properties: map[string]spec.Schema{ 1555 "reason": { 1556 SchemaProps: spec.SchemaProps{ 1557 Description: "Reason is a (brief) reason the container is not yet running.", 1558 Default: "", 1559 Type: []string{"string"}, 1560 Format: "", 1561 }, 1562 }, 1563 }, 1564 Required: []string{"reason"}, 1565 }, 1566 }, 1567 } 1568 } 1569 1570 func schema_pkg_apis_core_v1alpha1_DisableResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1571 return common.OpenAPIDefinition{ 1572 Schema: spec.Schema{ 1573 SchemaProps: spec.SchemaProps{ 1574 Description: "Aggregated disable status of DisableSources that belong to a resource.", 1575 Type: []string{"object"}, 1576 Properties: map[string]spec.Schema{ 1577 "enabledCount": { 1578 SchemaProps: spec.SchemaProps{ 1579 Description: "How many of the resource's sources are enabled.", 1580 Default: 0, 1581 Type: []string{"integer"}, 1582 Format: "int32", 1583 }, 1584 }, 1585 "disabledCount": { 1586 SchemaProps: spec.SchemaProps{ 1587 Description: "How many of the resource's sources are disabled.", 1588 Default: 0, 1589 Type: []string{"integer"}, 1590 Format: "int32", 1591 }, 1592 }, 1593 "state": { 1594 SchemaProps: spec.SchemaProps{ 1595 Description: "Whether this is currently disabled (if known)", 1596 Default: "", 1597 Type: []string{"string"}, 1598 Format: "", 1599 }, 1600 }, 1601 "sources": { 1602 SchemaProps: spec.SchemaProps{ 1603 Description: "All unique sources that control the resource's objects' disable status.", 1604 Type: []string{"array"}, 1605 Items: &spec.SchemaOrArray{ 1606 Schema: &spec.Schema{ 1607 SchemaProps: spec.SchemaProps{ 1608 Default: map[string]interface{}{}, 1609 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 1610 }, 1611 }, 1612 }, 1613 }, 1614 }, 1615 }, 1616 Required: []string{"enabledCount", "disabledCount", "state", "sources"}, 1617 }, 1618 }, 1619 Dependencies: []string{ 1620 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"}, 1621 } 1622 } 1623 1624 func schema_pkg_apis_core_v1alpha1_DisableSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 1625 return common.OpenAPIDefinition{ 1626 Schema: spec.Schema{ 1627 SchemaProps: spec.SchemaProps{ 1628 Description: "Points at a thing that can control whether something is disabled", 1629 Type: []string{"object"}, 1630 Properties: map[string]spec.Schema{ 1631 "configMap": { 1632 SchemaProps: spec.SchemaProps{ 1633 Description: "Disabled by single ConfigMap value.", 1634 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapDisableSource"), 1635 }, 1636 }, 1637 "everyConfigMap": { 1638 SchemaProps: spec.SchemaProps{ 1639 Description: "Disabled by multiple ConfigMap values, which must all be set to disabled to disable the object.", 1640 Type: []string{"array"}, 1641 Items: &spec.SchemaOrArray{ 1642 Schema: &spec.Schema{ 1643 SchemaProps: spec.SchemaProps{ 1644 Default: map[string]interface{}{}, 1645 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapDisableSource"), 1646 }, 1647 }, 1648 }, 1649 }, 1650 }, 1651 }, 1652 }, 1653 }, 1654 Dependencies: []string{ 1655 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapDisableSource"}, 1656 } 1657 } 1658 1659 func schema_pkg_apis_core_v1alpha1_DisableStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1660 return common.OpenAPIDefinition{ 1661 Schema: spec.Schema{ 1662 SchemaProps: spec.SchemaProps{ 1663 Type: []string{"object"}, 1664 Properties: map[string]spec.Schema{ 1665 "disabled": { 1666 SchemaProps: spec.SchemaProps{ 1667 Description: "Whether this is currently disabled. Deprecated in favor of `State`.", 1668 Default: false, 1669 Type: []string{"boolean"}, 1670 Format: "", 1671 }, 1672 }, 1673 "lastUpdateTime": { 1674 SchemaProps: spec.SchemaProps{ 1675 Description: "The last time this status was updated.", 1676 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1677 }, 1678 }, 1679 "reason": { 1680 SchemaProps: spec.SchemaProps{ 1681 Description: "The reason this status was updated.", 1682 Default: "", 1683 Type: []string{"string"}, 1684 Format: "", 1685 }, 1686 }, 1687 "state": { 1688 SchemaProps: spec.SchemaProps{ 1689 Description: "Whether this is currently disabled (if known)", 1690 Default: "", 1691 Type: []string{"string"}, 1692 Format: "", 1693 }, 1694 }, 1695 }, 1696 Required: []string{"disabled", "lastUpdateTime", "reason", "state"}, 1697 }, 1698 }, 1699 Dependencies: []string{ 1700 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1701 } 1702 } 1703 1704 func schema_pkg_apis_core_v1alpha1_DockerClusterConnection(ref common.ReferenceCallback) common.OpenAPIDefinition { 1705 return common.OpenAPIDefinition{ 1706 Schema: spec.Schema{ 1707 SchemaProps: spec.SchemaProps{ 1708 Type: []string{"object"}, 1709 Properties: map[string]spec.Schema{ 1710 "host": { 1711 SchemaProps: spec.SchemaProps{ 1712 Description: "The docker host to use.\n\nIf not specified, will read the DOCKER_HOST env or use the default docker host.", 1713 Type: []string{"string"}, 1714 Format: "", 1715 }, 1716 }, 1717 }, 1718 }, 1719 }, 1720 } 1721 } 1722 1723 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStream(ref common.ReferenceCallback) common.OpenAPIDefinition { 1724 return common.OpenAPIDefinition{ 1725 Schema: spec.Schema{ 1726 SchemaProps: spec.SchemaProps{ 1727 Description: "DockerComposeLogStream", 1728 Type: []string{"object"}, 1729 Properties: map[string]spec.Schema{ 1730 "kind": { 1731 SchemaProps: spec.SchemaProps{ 1732 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/sig-architecture/api-conventions.md#types-kinds", 1733 Type: []string{"string"}, 1734 Format: "", 1735 }, 1736 }, 1737 "apiVersion": { 1738 SchemaProps: spec.SchemaProps{ 1739 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/sig-architecture/api-conventions.md#resources", 1740 Type: []string{"string"}, 1741 Format: "", 1742 }, 1743 }, 1744 "metadata": { 1745 SchemaProps: spec.SchemaProps{ 1746 Default: map[string]interface{}{}, 1747 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1748 }, 1749 }, 1750 "spec": { 1751 SchemaProps: spec.SchemaProps{ 1752 Default: map[string]interface{}{}, 1753 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamSpec"), 1754 }, 1755 }, 1756 "status": { 1757 SchemaProps: spec.SchemaProps{ 1758 Default: map[string]interface{}{}, 1759 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamStatus"), 1760 }, 1761 }, 1762 }, 1763 }, 1764 }, 1765 Dependencies: []string{ 1766 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1767 } 1768 } 1769 1770 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1771 return common.OpenAPIDefinition{ 1772 Schema: spec.Schema{ 1773 SchemaProps: spec.SchemaProps{ 1774 Description: "DockerComposeLogStreamList", 1775 Type: []string{"object"}, 1776 Properties: map[string]spec.Schema{ 1777 "kind": { 1778 SchemaProps: spec.SchemaProps{ 1779 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/sig-architecture/api-conventions.md#types-kinds", 1780 Type: []string{"string"}, 1781 Format: "", 1782 }, 1783 }, 1784 "apiVersion": { 1785 SchemaProps: spec.SchemaProps{ 1786 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/sig-architecture/api-conventions.md#resources", 1787 Type: []string{"string"}, 1788 Format: "", 1789 }, 1790 }, 1791 "metadata": { 1792 SchemaProps: spec.SchemaProps{ 1793 Default: map[string]interface{}{}, 1794 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1795 }, 1796 }, 1797 "items": { 1798 SchemaProps: spec.SchemaProps{ 1799 Type: []string{"array"}, 1800 Items: &spec.SchemaOrArray{ 1801 Schema: &spec.Schema{ 1802 SchemaProps: spec.SchemaProps{ 1803 Default: map[string]interface{}{}, 1804 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStream"), 1805 }, 1806 }, 1807 }, 1808 }, 1809 }, 1810 }, 1811 Required: []string{"items"}, 1812 }, 1813 }, 1814 Dependencies: []string{ 1815 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStream", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 1816 } 1817 } 1818 1819 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1820 return common.OpenAPIDefinition{ 1821 Schema: spec.Schema{ 1822 SchemaProps: spec.SchemaProps{ 1823 Description: "DockerComposeLogStreamSpec defines the desired state of DockerComposeLogStream", 1824 Type: []string{"object"}, 1825 Properties: map[string]spec.Schema{ 1826 "service": { 1827 SchemaProps: spec.SchemaProps{ 1828 Description: "The name of the service to stream from.", 1829 Default: "", 1830 Type: []string{"string"}, 1831 Format: "", 1832 }, 1833 }, 1834 "project": { 1835 SchemaProps: spec.SchemaProps{ 1836 Description: "A specification of the project the service belongs to.\n\nEach service spec keeps its own copy of the project spec.", 1837 Default: map[string]interface{}{}, 1838 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"), 1839 }, 1840 }, 1841 }, 1842 Required: []string{"service", "project"}, 1843 }, 1844 }, 1845 Dependencies: []string{ 1846 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"}, 1847 } 1848 } 1849 1850 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1851 return common.OpenAPIDefinition{ 1852 Schema: spec.Schema{ 1853 SchemaProps: spec.SchemaProps{ 1854 Description: "DockerComposeLogStreamStatus defines the observed state of DockerComposeLogStream", 1855 Type: []string{"object"}, 1856 Properties: map[string]spec.Schema{ 1857 "startedAt": { 1858 SchemaProps: spec.SchemaProps{ 1859 Description: "When we last started the log streamer.", 1860 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1861 }, 1862 }, 1863 "error": { 1864 SchemaProps: spec.SchemaProps{ 1865 Description: "Contains an error message when the log streamer is in an error state.", 1866 Type: []string{"string"}, 1867 Format: "", 1868 }, 1869 }, 1870 }, 1871 }, 1872 }, 1873 Dependencies: []string{ 1874 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 1875 } 1876 } 1877 1878 func schema_pkg_apis_core_v1alpha1_DockerComposeProject(ref common.ReferenceCallback) common.OpenAPIDefinition { 1879 return common.OpenAPIDefinition{ 1880 Schema: spec.Schema{ 1881 SchemaProps: spec.SchemaProps{ 1882 Type: []string{"object"}, 1883 Properties: map[string]spec.Schema{ 1884 "configPaths": { 1885 SchemaProps: spec.SchemaProps{ 1886 Description: "Configuration files to load.\n\nIf both ConfigPaths and ProjectPath/YAML are specified, the YAML is the source of truth, and the ConfigPaths are used to print diagnostic information.", 1887 Type: []string{"array"}, 1888 Items: &spec.SchemaOrArray{ 1889 Schema: &spec.Schema{ 1890 SchemaProps: spec.SchemaProps{ 1891 Default: "", 1892 Type: []string{"string"}, 1893 Format: "", 1894 }, 1895 }, 1896 }, 1897 }, 1898 }, 1899 "projectPath": { 1900 SchemaProps: spec.SchemaProps{ 1901 Description: "The base path of the docker-compose project.\n\nExpressed in docker-compose as --project-directory.\n\nWhen used on the command-line, the Docker Compose spec mandates that this must be the directory of the first yaml file. All additional yaml files are evaluated relative to this project path.", 1902 Type: []string{"string"}, 1903 Format: "", 1904 }, 1905 }, 1906 "yaml": { 1907 SchemaProps: spec.SchemaProps{ 1908 Description: "The docker-compose config YAML.\n\nUsually contains multiple services.\n\nIf you have multiple docker-compose.yaml files, you can combine them into a single YAML with `docker-compose -f file1.yaml -f file2.yaml config`.", 1909 Type: []string{"string"}, 1910 Format: "", 1911 }, 1912 }, 1913 "name": { 1914 SchemaProps: spec.SchemaProps{ 1915 Description: "The docker-compose project name.\n\nIf omitted, the default is to use the NormalizedName of the ProjectPath base name.", 1916 Type: []string{"string"}, 1917 Format: "", 1918 }, 1919 }, 1920 "envFile": { 1921 SchemaProps: spec.SchemaProps{ 1922 Description: "Path to an env file to use. Passed to docker-compose as `--env-file FILE`.", 1923 Type: []string{"string"}, 1924 Format: "", 1925 }, 1926 }, 1927 "profiles": { 1928 SchemaProps: spec.SchemaProps{ 1929 Description: "Optional docker-compose profiles to use.\n\nServices with defined profiles will only be included if their profile matches one in this list.", 1930 Type: []string{"array"}, 1931 Items: &spec.SchemaOrArray{ 1932 Schema: &spec.Schema{ 1933 SchemaProps: spec.SchemaProps{ 1934 Default: "", 1935 Type: []string{"string"}, 1936 Format: "", 1937 }, 1938 }, 1939 }, 1940 }, 1941 }, 1942 "wait": { 1943 SchemaProps: spec.SchemaProps{ 1944 Description: "Optionally, pass --wait to docker compose up", 1945 Type: []string{"boolean"}, 1946 Format: "", 1947 }, 1948 }, 1949 }, 1950 }, 1951 }, 1952 } 1953 } 1954 1955 func schema_pkg_apis_core_v1alpha1_DockerComposeService(ref common.ReferenceCallback) common.OpenAPIDefinition { 1956 return common.OpenAPIDefinition{ 1957 Schema: spec.Schema{ 1958 SchemaProps: spec.SchemaProps{ 1959 Description: "DockerComposeService represents a container orchestrated by Docker Compose.", 1960 Type: []string{"object"}, 1961 Properties: map[string]spec.Schema{ 1962 "kind": { 1963 SchemaProps: spec.SchemaProps{ 1964 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/sig-architecture/api-conventions.md#types-kinds", 1965 Type: []string{"string"}, 1966 Format: "", 1967 }, 1968 }, 1969 "apiVersion": { 1970 SchemaProps: spec.SchemaProps{ 1971 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/sig-architecture/api-conventions.md#resources", 1972 Type: []string{"string"}, 1973 Format: "", 1974 }, 1975 }, 1976 "metadata": { 1977 SchemaProps: spec.SchemaProps{ 1978 Default: map[string]interface{}{}, 1979 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1980 }, 1981 }, 1982 "spec": { 1983 SchemaProps: spec.SchemaProps{ 1984 Default: map[string]interface{}{}, 1985 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceSpec"), 1986 }, 1987 }, 1988 "status": { 1989 SchemaProps: spec.SchemaProps{ 1990 Default: map[string]interface{}{}, 1991 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceStatus"), 1992 }, 1993 }, 1994 }, 1995 }, 1996 }, 1997 Dependencies: []string{ 1998 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1999 } 2000 } 2001 2002 func schema_pkg_apis_core_v1alpha1_DockerComposeServiceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2003 return common.OpenAPIDefinition{ 2004 Schema: spec.Schema{ 2005 SchemaProps: spec.SchemaProps{ 2006 Description: "DockerComposeServiceList", 2007 Type: []string{"object"}, 2008 Properties: map[string]spec.Schema{ 2009 "kind": { 2010 SchemaProps: spec.SchemaProps{ 2011 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/sig-architecture/api-conventions.md#types-kinds", 2012 Type: []string{"string"}, 2013 Format: "", 2014 }, 2015 }, 2016 "apiVersion": { 2017 SchemaProps: spec.SchemaProps{ 2018 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/sig-architecture/api-conventions.md#resources", 2019 Type: []string{"string"}, 2020 Format: "", 2021 }, 2022 }, 2023 "metadata": { 2024 SchemaProps: spec.SchemaProps{ 2025 Default: map[string]interface{}{}, 2026 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2027 }, 2028 }, 2029 "items": { 2030 SchemaProps: spec.SchemaProps{ 2031 Type: []string{"array"}, 2032 Items: &spec.SchemaOrArray{ 2033 Schema: &spec.Schema{ 2034 SchemaProps: spec.SchemaProps{ 2035 Default: map[string]interface{}{}, 2036 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeService"), 2037 }, 2038 }, 2039 }, 2040 }, 2041 }, 2042 }, 2043 Required: []string{"items"}, 2044 }, 2045 }, 2046 Dependencies: []string{ 2047 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeService", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2048 } 2049 } 2050 2051 func schema_pkg_apis_core_v1alpha1_DockerComposeServiceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2052 return common.OpenAPIDefinition{ 2053 Schema: spec.Schema{ 2054 SchemaProps: spec.SchemaProps{ 2055 Description: "DockerComposeServiceSpec defines the desired state a Docker Compose container.", 2056 Type: []string{"object"}, 2057 Properties: map[string]spec.Schema{ 2058 "service": { 2059 SchemaProps: spec.SchemaProps{ 2060 Description: "The name of the service to create.", 2061 Default: "", 2062 Type: []string{"string"}, 2063 Format: "", 2064 }, 2065 }, 2066 "project": { 2067 SchemaProps: spec.SchemaProps{ 2068 Description: "A specification of the project the service belongs to.\n\nEach service spec keeps its own copy of the project spec.", 2069 Default: map[string]interface{}{}, 2070 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"), 2071 }, 2072 }, 2073 "imageMaps": { 2074 SchemaProps: spec.SchemaProps{ 2075 Description: "The image maps that this deploy depends on.", 2076 Type: []string{"array"}, 2077 Items: &spec.SchemaOrArray{ 2078 Schema: &spec.Schema{ 2079 SchemaProps: spec.SchemaProps{ 2080 Default: "", 2081 Type: []string{"string"}, 2082 Format: "", 2083 }, 2084 }, 2085 }, 2086 }, 2087 }, 2088 "disableSource": { 2089 SchemaProps: spec.SchemaProps{ 2090 Description: "Specifies how to disable this.", 2091 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 2092 }, 2093 }, 2094 }, 2095 Required: []string{"service", "project"}, 2096 }, 2097 }, 2098 Dependencies: []string{ 2099 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"}, 2100 } 2101 } 2102 2103 func schema_pkg_apis_core_v1alpha1_DockerComposeServiceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2104 return common.OpenAPIDefinition{ 2105 Schema: spec.Schema{ 2106 SchemaProps: spec.SchemaProps{ 2107 Description: "DockerComposeServiceStatus defines the observed state of DockerComposeService, continuing to watch the container after it starts.", 2108 Type: []string{"object"}, 2109 Properties: map[string]spec.Schema{ 2110 "disableStatus": { 2111 SchemaProps: spec.SchemaProps{ 2112 Description: "Details about whether/why this is disabled.", 2113 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 2114 }, 2115 }, 2116 "portBindings": { 2117 SchemaProps: spec.SchemaProps{ 2118 Description: "How docker binds container ports to the host network for this service.", 2119 Type: []string{"array"}, 2120 Items: &spec.SchemaOrArray{ 2121 Schema: &spec.Schema{ 2122 SchemaProps: spec.SchemaProps{ 2123 Default: map[string]interface{}{}, 2124 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerPortBinding"), 2125 }, 2126 }, 2127 }, 2128 }, 2129 }, 2130 "containerState": { 2131 SchemaProps: spec.SchemaProps{ 2132 Description: "Current state of the container for this service.", 2133 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerContainerState"), 2134 }, 2135 }, 2136 "containerID": { 2137 SchemaProps: spec.SchemaProps{ 2138 Description: "Current container ID.", 2139 Type: []string{"string"}, 2140 Format: "", 2141 }, 2142 }, 2143 "containerName": { 2144 SchemaProps: spec.SchemaProps{ 2145 Description: "Current container name.", 2146 Type: []string{"string"}, 2147 Format: "", 2148 }, 2149 }, 2150 "applyError": { 2151 SchemaProps: spec.SchemaProps{ 2152 Description: "An error bringing up the container.", 2153 Type: []string{"string"}, 2154 Format: "", 2155 }, 2156 }, 2157 "lastApplyStartTime": { 2158 SchemaProps: spec.SchemaProps{ 2159 Description: "Timestamp of when we last started bringing up this service in Docker Compose.", 2160 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2161 }, 2162 }, 2163 "lastApplyFinishTime": { 2164 SchemaProps: spec.SchemaProps{ 2165 Description: "Timestamp of when we last finished bringing up this service in Docker Compose.\n\nWhen populated, must be equal or after the LastApplyStartTime field.", 2166 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2167 }, 2168 }, 2169 }, 2170 }, 2171 }, 2172 Dependencies: []string{ 2173 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerContainerState", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerPortBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2174 } 2175 } 2176 2177 func schema_pkg_apis_core_v1alpha1_DockerContainerState(ref common.ReferenceCallback) common.OpenAPIDefinition { 2178 return common.OpenAPIDefinition{ 2179 Schema: spec.Schema{ 2180 SchemaProps: spec.SchemaProps{ 2181 Description: "State of a standalone container in Docker.\n\nAn apiserver-compatible representation of this struct: https://pkg.go.dev/github.com/docker/docker/api/types#ContainerState", 2182 Type: []string{"object"}, 2183 Properties: map[string]spec.Schema{ 2184 "status": { 2185 SchemaProps: spec.SchemaProps{ 2186 Description: "String representation of the container state. Can be one of \"created\", \"running\", \"paused\", \"restarting\", \"removing\", \"exited\", or \"dead\".", 2187 Type: []string{"string"}, 2188 Format: "", 2189 }, 2190 }, 2191 "running": { 2192 SchemaProps: spec.SchemaProps{ 2193 Description: "Whether the container is running.", 2194 Type: []string{"boolean"}, 2195 Format: "", 2196 }, 2197 }, 2198 "error": { 2199 SchemaProps: spec.SchemaProps{ 2200 Description: "Whether the container is in an error state.", 2201 Type: []string{"string"}, 2202 Format: "", 2203 }, 2204 }, 2205 "exitCode": { 2206 SchemaProps: spec.SchemaProps{ 2207 Description: "The exit code, if the container has exited.", 2208 Type: []string{"integer"}, 2209 Format: "int32", 2210 }, 2211 }, 2212 "startedAt": { 2213 SchemaProps: spec.SchemaProps{ 2214 Description: "When the container process started.", 2215 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2216 }, 2217 }, 2218 "finishedAt": { 2219 SchemaProps: spec.SchemaProps{ 2220 Description: "When the container process finished.", 2221 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2222 }, 2223 }, 2224 "healthStatus": { 2225 SchemaProps: spec.SchemaProps{ 2226 Description: "Status is one of Starting, Healthy or Unhealthy", 2227 Type: []string{"string"}, 2228 Format: "", 2229 }, 2230 }, 2231 }, 2232 }, 2233 }, 2234 Dependencies: []string{ 2235 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2236 } 2237 } 2238 2239 func schema_pkg_apis_core_v1alpha1_DockerImage(ref common.ReferenceCallback) common.OpenAPIDefinition { 2240 return common.OpenAPIDefinition{ 2241 Schema: spec.Schema{ 2242 SchemaProps: spec.SchemaProps{ 2243 Description: "DockerImage describes an image to build with Docker.", 2244 Type: []string{"object"}, 2245 Properties: map[string]spec.Schema{ 2246 "kind": { 2247 SchemaProps: spec.SchemaProps{ 2248 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/sig-architecture/api-conventions.md#types-kinds", 2249 Type: []string{"string"}, 2250 Format: "", 2251 }, 2252 }, 2253 "apiVersion": { 2254 SchemaProps: spec.SchemaProps{ 2255 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/sig-architecture/api-conventions.md#resources", 2256 Type: []string{"string"}, 2257 Format: "", 2258 }, 2259 }, 2260 "metadata": { 2261 SchemaProps: spec.SchemaProps{ 2262 Default: map[string]interface{}{}, 2263 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2264 }, 2265 }, 2266 "spec": { 2267 SchemaProps: spec.SchemaProps{ 2268 Default: map[string]interface{}{}, 2269 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageSpec"), 2270 }, 2271 }, 2272 "status": { 2273 SchemaProps: spec.SchemaProps{ 2274 Default: map[string]interface{}{}, 2275 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStatus"), 2276 }, 2277 }, 2278 }, 2279 }, 2280 }, 2281 Dependencies: []string{ 2282 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 2283 } 2284 } 2285 2286 func schema_pkg_apis_core_v1alpha1_DockerImageList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2287 return common.OpenAPIDefinition{ 2288 Schema: spec.Schema{ 2289 SchemaProps: spec.SchemaProps{ 2290 Description: "DockerImageList", 2291 Type: []string{"object"}, 2292 Properties: map[string]spec.Schema{ 2293 "kind": { 2294 SchemaProps: spec.SchemaProps{ 2295 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/sig-architecture/api-conventions.md#types-kinds", 2296 Type: []string{"string"}, 2297 Format: "", 2298 }, 2299 }, 2300 "apiVersion": { 2301 SchemaProps: spec.SchemaProps{ 2302 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/sig-architecture/api-conventions.md#resources", 2303 Type: []string{"string"}, 2304 Format: "", 2305 }, 2306 }, 2307 "metadata": { 2308 SchemaProps: spec.SchemaProps{ 2309 Default: map[string]interface{}{}, 2310 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2311 }, 2312 }, 2313 "items": { 2314 SchemaProps: spec.SchemaProps{ 2315 Type: []string{"array"}, 2316 Items: &spec.SchemaOrArray{ 2317 Schema: &spec.Schema{ 2318 SchemaProps: spec.SchemaProps{ 2319 Default: map[string]interface{}{}, 2320 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImage"), 2321 }, 2322 }, 2323 }, 2324 }, 2325 }, 2326 }, 2327 Required: []string{"items"}, 2328 }, 2329 }, 2330 Dependencies: []string{ 2331 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImage", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2332 } 2333 } 2334 2335 func schema_pkg_apis_core_v1alpha1_DockerImageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2336 return common.OpenAPIDefinition{ 2337 Schema: spec.Schema{ 2338 SchemaProps: spec.SchemaProps{ 2339 Description: "DockerImageSpec describes how to build a Docker image with `docker_build`.\n\nMost fields of this spec directly correspond to the Docker CLI.", 2340 Type: []string{"object"}, 2341 Properties: map[string]spec.Schema{ 2342 "ref": { 2343 SchemaProps: spec.SchemaProps{ 2344 Description: "The named reference of the image.", 2345 Default: "", 2346 Type: []string{"string"}, 2347 Format: "", 2348 }, 2349 }, 2350 "dockerfileContents": { 2351 SchemaProps: spec.SchemaProps{ 2352 Description: "Dockerfile contains the complete contents of the Dockerfile.", 2353 Type: []string{"string"}, 2354 Format: "", 2355 }, 2356 }, 2357 "context": { 2358 SchemaProps: spec.SchemaProps{ 2359 Description: "Context specifies the Docker build context.\n\nMust be an absolute path on the local filesystem.", 2360 Type: []string{"string"}, 2361 Format: "", 2362 }, 2363 }, 2364 "contextIgnores": { 2365 SchemaProps: spec.SchemaProps{ 2366 Description: "Ignores are filters on the Docker build context.\n\nThe DockerImage controller will NOT read ignores from .dockerignore files. Instead, all filters must be expressed in this field, which covers .dockerignore files, ignore= lists in the tiltfile, only= lists in the tiltfile, and more.", 2367 Type: []string{"array"}, 2368 Items: &spec.SchemaOrArray{ 2369 Schema: &spec.Schema{ 2370 SchemaProps: spec.SchemaProps{ 2371 Default: map[string]interface{}{}, 2372 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"), 2373 }, 2374 }, 2375 }, 2376 }, 2377 }, 2378 "args": { 2379 SchemaProps: spec.SchemaProps{ 2380 Description: "Args specifies the build arguments to the Dockerfile.\n\nEquivalent to `--build-arg` in the docker CLI.\n\nEach item should take the form \"KEY\" or \"KEY=VALUE\".", 2381 Type: []string{"array"}, 2382 Items: &spec.SchemaOrArray{ 2383 Schema: &spec.Schema{ 2384 SchemaProps: spec.SchemaProps{ 2385 Default: "", 2386 Type: []string{"string"}, 2387 Format: "", 2388 }, 2389 }, 2390 }, 2391 }, 2392 }, 2393 "target": { 2394 SchemaProps: spec.SchemaProps{ 2395 Description: "Target specifies the name of the stage in the Dockerfile to build.\n\nEquivalent to `--target` in the docker CLI.", 2396 Type: []string{"string"}, 2397 Format: "", 2398 }, 2399 }, 2400 "sshAgentConfigs": { 2401 SchemaProps: spec.SchemaProps{ 2402 Description: "Pass SSH secrets to docker so it can clone private repos.\n\nhttps://docs.docker.com/develop/develop-images/build_enhancements/#using-ssh-to-access-private-data-in-builds\n\nEquivalent to `--ssh` in the docker CLI.", 2403 Type: []string{"array"}, 2404 Items: &spec.SchemaOrArray{ 2405 Schema: &spec.Schema{ 2406 SchemaProps: spec.SchemaProps{ 2407 Default: "", 2408 Type: []string{"string"}, 2409 Format: "", 2410 }, 2411 }, 2412 }, 2413 }, 2414 }, 2415 "secrets": { 2416 SchemaProps: spec.SchemaProps{ 2417 Description: "Pass secrets to docker.\n\nhttps://docs.docker.com/develop/develop-images/build_enhancements/#new-docker-build-secret-information\n\nEquivalent to `--secret` in the Docker CLI.", 2418 Type: []string{"array"}, 2419 Items: &spec.SchemaOrArray{ 2420 Schema: &spec.Schema{ 2421 SchemaProps: spec.SchemaProps{ 2422 Default: "", 2423 Type: []string{"string"}, 2424 Format: "", 2425 }, 2426 }, 2427 }, 2428 }, 2429 }, 2430 "network": { 2431 SchemaProps: spec.SchemaProps{ 2432 Description: "Set the networking mode for the RUN instructions in the docker build.\n\nEquivalent to `--network` in the Docker CLI.", 2433 Type: []string{"string"}, 2434 Format: "", 2435 }, 2436 }, 2437 "pull": { 2438 SchemaProps: spec.SchemaProps{ 2439 Description: "Always attempt to pull a new version of the base image.\n\nEquivalent to `--pull` in the Docker CLI.", 2440 Type: []string{"boolean"}, 2441 Format: "", 2442 }, 2443 }, 2444 "cacheFrom": { 2445 SchemaProps: spec.SchemaProps{ 2446 Description: "Images to use as cache sources.\n\nEquivalent to `--cache-from` in the Docker CLI.", 2447 Type: []string{"array"}, 2448 Items: &spec.SchemaOrArray{ 2449 Schema: &spec.Schema{ 2450 SchemaProps: spec.SchemaProps{ 2451 Default: "", 2452 Type: []string{"string"}, 2453 Format: "", 2454 }, 2455 }, 2456 }, 2457 }, 2458 }, 2459 "platform": { 2460 SchemaProps: spec.SchemaProps{ 2461 Description: "Platform specifies architecture information for target image.\n\nhttps://docs.docker.com/desktop/multi-arch/\n\nEquivalent to `--platform` in the Docker CLI.", 2462 Type: []string{"string"}, 2463 Format: "", 2464 }, 2465 }, 2466 "extraTags": { 2467 SchemaProps: spec.SchemaProps{ 2468 Description: "By default, Tilt creates a new temporary image reference for each build. The user can also specify their own reference, to integrate with other tooling (like build IDs for Jenkins build pipelines)\n\nEquivalent to the docker build --tag flag.", 2469 Type: []string{"array"}, 2470 Items: &spec.SchemaOrArray{ 2471 Schema: &spec.Schema{ 2472 SchemaProps: spec.SchemaProps{ 2473 Default: "", 2474 Type: []string{"string"}, 2475 Format: "", 2476 }, 2477 }, 2478 }, 2479 }, 2480 }, 2481 "imageMaps": { 2482 SchemaProps: spec.SchemaProps{ 2483 Description: "Names of image maps that this build depends on.\n\nThe controller will watch all the image maps, rebuild the image if any of the maps resolve to a new image, and inject them into the dockerfile.", 2484 Type: []string{"array"}, 2485 Items: &spec.SchemaOrArray{ 2486 Schema: &spec.Schema{ 2487 SchemaProps: spec.SchemaProps{ 2488 Default: "", 2489 Type: []string{"string"}, 2490 Format: "", 2491 }, 2492 }, 2493 }, 2494 }, 2495 }, 2496 "cluster": { 2497 SchemaProps: spec.SchemaProps{ 2498 Description: "The name of the cluster we're building for.\n\nWe'll use the cluster to determine the architecture of the image to build, and the registry to build it for.\n\nIf no cluster is specified, assumes the default cluster.", 2499 Type: []string{"string"}, 2500 Format: "", 2501 }, 2502 }, 2503 "clusterNeeds": { 2504 SchemaProps: spec.SchemaProps{ 2505 Description: "Whether the cluster needs access to the image.\n\nIf not specified, assumes we have to push up to the cluster.", 2506 Type: []string{"string"}, 2507 Format: "", 2508 }, 2509 }, 2510 "extraHosts": { 2511 SchemaProps: spec.SchemaProps{ 2512 Description: "Other hosts to be added into a container’s /etc/hosts file\n\nhttps://docs.docker.com/engine/reference/commandline/build/#add-host\n\nEquivalent to `--add-host` in the Docker CLI.", 2513 Type: []string{"array"}, 2514 Items: &spec.SchemaOrArray{ 2515 Schema: &spec.Schema{ 2516 SchemaProps: spec.SchemaProps{ 2517 Default: "", 2518 Type: []string{"string"}, 2519 Format: "", 2520 }, 2521 }, 2522 }, 2523 }, 2524 }, 2525 }, 2526 Required: []string{"ref"}, 2527 }, 2528 }, 2529 Dependencies: []string{ 2530 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"}, 2531 } 2532 } 2533 2534 func schema_pkg_apis_core_v1alpha1_DockerImageStageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2535 return common.OpenAPIDefinition{ 2536 Schema: spec.Schema{ 2537 SchemaProps: spec.SchemaProps{ 2538 Description: "DockerImageStageStatus gives detailed report of each stage of the most recent image build.\n\nMost stages are derived from Buildkit's StatusResponse https://github.com/moby/buildkit/blob/35fcb28a009d6454b2915a5c8084b25ad851cf38/api/services/control/control.proto#L108 but Tilt may synthesize its own stages for the steps it owns.\n\nStages may be executed in parallel.", 2539 Type: []string{"object"}, 2540 Properties: map[string]spec.Schema{ 2541 "name": { 2542 SchemaProps: spec.SchemaProps{ 2543 Description: "A human-readable name of the stage.", 2544 Default: "", 2545 Type: []string{"string"}, 2546 Format: "", 2547 }, 2548 }, 2549 "cached": { 2550 SchemaProps: spec.SchemaProps{ 2551 Description: "Whether Buildkit was able to cache the stage based on inputs.", 2552 Type: []string{"boolean"}, 2553 Format: "", 2554 }, 2555 }, 2556 "startedAt": { 2557 SchemaProps: spec.SchemaProps{ 2558 Description: "The timestamp when we started working on the stage.", 2559 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2560 }, 2561 }, 2562 "finishedAt": { 2563 SchemaProps: spec.SchemaProps{ 2564 Description: "The timetsamp when we completed the work on the stage.", 2565 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2566 }, 2567 }, 2568 "error": { 2569 SchemaProps: spec.SchemaProps{ 2570 Description: "Error message if the stage failed. If empty, the stage succeeded.", 2571 Type: []string{"string"}, 2572 Format: "", 2573 }, 2574 }, 2575 }, 2576 Required: []string{"name"}, 2577 }, 2578 }, 2579 Dependencies: []string{ 2580 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2581 } 2582 } 2583 2584 func schema_pkg_apis_core_v1alpha1_DockerImageStateBuilding(ref common.ReferenceCallback) common.OpenAPIDefinition { 2585 return common.OpenAPIDefinition{ 2586 Schema: spec.Schema{ 2587 SchemaProps: spec.SchemaProps{ 2588 Description: "DockerImageStateBuilding expresses that an image build is in-progress.", 2589 Type: []string{"object"}, 2590 Properties: map[string]spec.Schema{ 2591 "reason": { 2592 SchemaProps: spec.SchemaProps{ 2593 Description: "The reason why the image is building.", 2594 Type: []string{"string"}, 2595 Format: "", 2596 }, 2597 }, 2598 "startedAt": { 2599 SchemaProps: spec.SchemaProps{ 2600 Description: "Time when the build started.", 2601 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2602 }, 2603 }, 2604 }, 2605 }, 2606 }, 2607 Dependencies: []string{ 2608 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2609 } 2610 } 2611 2612 func schema_pkg_apis_core_v1alpha1_DockerImageStateCompleted(ref common.ReferenceCallback) common.OpenAPIDefinition { 2613 return common.OpenAPIDefinition{ 2614 Schema: spec.Schema{ 2615 SchemaProps: spec.SchemaProps{ 2616 Description: "DockerImageStateCompleted expresses when the image build is finished and no new images need to be built.", 2617 Type: []string{"object"}, 2618 Properties: map[string]spec.Schema{ 2619 "reason": { 2620 SchemaProps: spec.SchemaProps{ 2621 Description: "The reason why the image was built.", 2622 Type: []string{"string"}, 2623 Format: "", 2624 }, 2625 }, 2626 "error": { 2627 SchemaProps: spec.SchemaProps{ 2628 Description: "Error message if the build failed.", 2629 Type: []string{"string"}, 2630 Format: "", 2631 }, 2632 }, 2633 "startedAt": { 2634 SchemaProps: spec.SchemaProps{ 2635 Description: "Time when we started building an image.", 2636 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2637 }, 2638 }, 2639 "finishedAt": { 2640 SchemaProps: spec.SchemaProps{ 2641 Description: "Time when we finished building an image", 2642 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2643 }, 2644 }, 2645 }, 2646 }, 2647 }, 2648 Dependencies: []string{ 2649 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2650 } 2651 } 2652 2653 func schema_pkg_apis_core_v1alpha1_DockerImageStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 2654 return common.OpenAPIDefinition{ 2655 Schema: spec.Schema{ 2656 SchemaProps: spec.SchemaProps{ 2657 Description: "DockerImageStateWaiting expresses what we're waiting on to build an image.", 2658 Type: []string{"object"}, 2659 Properties: map[string]spec.Schema{ 2660 "reason": { 2661 SchemaProps: spec.SchemaProps{ 2662 Description: "(brief) reason the image build is waiting.", 2663 Type: []string{"string"}, 2664 Format: "", 2665 }, 2666 }, 2667 }, 2668 }, 2669 }, 2670 } 2671 } 2672 2673 func schema_pkg_apis_core_v1alpha1_DockerImageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2674 return common.OpenAPIDefinition{ 2675 Schema: spec.Schema{ 2676 SchemaProps: spec.SchemaProps{ 2677 Description: "DockerImageStatus defines the observed state of DockerImage", 2678 Type: []string{"object"}, 2679 Properties: map[string]spec.Schema{ 2680 "ref": { 2681 SchemaProps: spec.SchemaProps{ 2682 Description: "A fully-qualified image reference of a built image, as seen from the local network.\n\nUsually includes a name and an immutable tag.\n\nNB: If we're building to a particular registry, this may have a different hostname from the Spec `Ref` field.", 2683 Type: []string{"string"}, 2684 Format: "", 2685 }, 2686 }, 2687 "waiting": { 2688 SchemaProps: spec.SchemaProps{ 2689 Description: "Details about a waiting image build.", 2690 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateWaiting"), 2691 }, 2692 }, 2693 "building": { 2694 SchemaProps: spec.SchemaProps{ 2695 Description: "Details about a building image.", 2696 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateBuilding"), 2697 }, 2698 }, 2699 "completed": { 2700 SchemaProps: spec.SchemaProps{ 2701 Description: "Details about a finished image build.", 2702 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateCompleted"), 2703 }, 2704 }, 2705 "stageStatuses": { 2706 SchemaProps: spec.SchemaProps{ 2707 Description: "Status information about each individual build stage of the most recent image build.", 2708 Type: []string{"array"}, 2709 Items: &spec.SchemaOrArray{ 2710 Schema: &spec.Schema{ 2711 SchemaProps: spec.SchemaProps{ 2712 Default: map[string]interface{}{}, 2713 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStageStatus"), 2714 }, 2715 }, 2716 }, 2717 }, 2718 }, 2719 }, 2720 }, 2721 }, 2722 Dependencies: []string{ 2723 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStageStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateBuilding", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateCompleted", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateWaiting"}, 2724 } 2725 } 2726 2727 func schema_pkg_apis_core_v1alpha1_DockerPortBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { 2728 return common.OpenAPIDefinition{ 2729 Schema: spec.Schema{ 2730 SchemaProps: spec.SchemaProps{ 2731 Description: "How docker binds container ports to the host network", 2732 Type: []string{"object"}, 2733 Properties: map[string]spec.Schema{ 2734 "containerPort": { 2735 SchemaProps: spec.SchemaProps{ 2736 Description: "The port inside the container.", 2737 Type: []string{"integer"}, 2738 Format: "int32", 2739 }, 2740 }, 2741 "hostPort": { 2742 SchemaProps: spec.SchemaProps{ 2743 Description: "The port on the host machine where Docker running.", 2744 Type: []string{"integer"}, 2745 Format: "int32", 2746 }, 2747 }, 2748 "hostIP": { 2749 SchemaProps: spec.SchemaProps{ 2750 Description: "The IP on the host machine where Docker is binding the network.", 2751 Type: []string{"string"}, 2752 Format: "", 2753 }, 2754 }, 2755 }, 2756 }, 2757 }, 2758 } 2759 } 2760 2761 func schema_pkg_apis_core_v1alpha1_ExecAction(ref common.ReferenceCallback) common.OpenAPIDefinition { 2762 return common.OpenAPIDefinition{ 2763 Schema: spec.Schema{ 2764 SchemaProps: spec.SchemaProps{ 2765 Description: "ExecAction describes a \"run in container\" action.", 2766 Type: []string{"object"}, 2767 Properties: map[string]spec.Schema{ 2768 "command": { 2769 SchemaProps: spec.SchemaProps{ 2770 Description: "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.", 2771 Type: []string{"array"}, 2772 Items: &spec.SchemaOrArray{ 2773 Schema: &spec.Schema{ 2774 SchemaProps: spec.SchemaProps{ 2775 Default: "", 2776 Type: []string{"string"}, 2777 Format: "", 2778 }, 2779 }, 2780 }, 2781 }, 2782 }, 2783 }, 2784 }, 2785 }, 2786 } 2787 } 2788 2789 func schema_pkg_apis_core_v1alpha1_Extension(ref common.ReferenceCallback) common.OpenAPIDefinition { 2790 return common.OpenAPIDefinition{ 2791 Schema: spec.Schema{ 2792 SchemaProps: spec.SchemaProps{ 2793 Description: "Extension defines an extension that's evaluated on Tilt startup.", 2794 Type: []string{"object"}, 2795 Properties: map[string]spec.Schema{ 2796 "kind": { 2797 SchemaProps: spec.SchemaProps{ 2798 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/sig-architecture/api-conventions.md#types-kinds", 2799 Type: []string{"string"}, 2800 Format: "", 2801 }, 2802 }, 2803 "apiVersion": { 2804 SchemaProps: spec.SchemaProps{ 2805 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/sig-architecture/api-conventions.md#resources", 2806 Type: []string{"string"}, 2807 Format: "", 2808 }, 2809 }, 2810 "metadata": { 2811 SchemaProps: spec.SchemaProps{ 2812 Default: map[string]interface{}{}, 2813 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2814 }, 2815 }, 2816 "spec": { 2817 SchemaProps: spec.SchemaProps{ 2818 Default: map[string]interface{}{}, 2819 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionSpec"), 2820 }, 2821 }, 2822 "status": { 2823 SchemaProps: spec.SchemaProps{ 2824 Default: map[string]interface{}{}, 2825 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionStatus"), 2826 }, 2827 }, 2828 }, 2829 }, 2830 }, 2831 Dependencies: []string{ 2832 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 2833 } 2834 } 2835 2836 func schema_pkg_apis_core_v1alpha1_ExtensionList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2837 return common.OpenAPIDefinition{ 2838 Schema: spec.Schema{ 2839 SchemaProps: spec.SchemaProps{ 2840 Description: "ExtensionList", 2841 Type: []string{"object"}, 2842 Properties: map[string]spec.Schema{ 2843 "kind": { 2844 SchemaProps: spec.SchemaProps{ 2845 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/sig-architecture/api-conventions.md#types-kinds", 2846 Type: []string{"string"}, 2847 Format: "", 2848 }, 2849 }, 2850 "apiVersion": { 2851 SchemaProps: spec.SchemaProps{ 2852 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/sig-architecture/api-conventions.md#resources", 2853 Type: []string{"string"}, 2854 Format: "", 2855 }, 2856 }, 2857 "metadata": { 2858 SchemaProps: spec.SchemaProps{ 2859 Default: map[string]interface{}{}, 2860 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2861 }, 2862 }, 2863 "items": { 2864 SchemaProps: spec.SchemaProps{ 2865 Type: []string{"array"}, 2866 Items: &spec.SchemaOrArray{ 2867 Schema: &spec.Schema{ 2868 SchemaProps: spec.SchemaProps{ 2869 Default: map[string]interface{}{}, 2870 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Extension"), 2871 }, 2872 }, 2873 }, 2874 }, 2875 }, 2876 }, 2877 Required: []string{"items"}, 2878 }, 2879 }, 2880 Dependencies: []string{ 2881 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Extension", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2882 } 2883 } 2884 2885 func schema_pkg_apis_core_v1alpha1_ExtensionRepo(ref common.ReferenceCallback) common.OpenAPIDefinition { 2886 return common.OpenAPIDefinition{ 2887 Schema: spec.Schema{ 2888 SchemaProps: spec.SchemaProps{ 2889 Description: "ExtensionRepo specifies a repo or folder where a set of extensions live.", 2890 Type: []string{"object"}, 2891 Properties: map[string]spec.Schema{ 2892 "kind": { 2893 SchemaProps: spec.SchemaProps{ 2894 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/sig-architecture/api-conventions.md#types-kinds", 2895 Type: []string{"string"}, 2896 Format: "", 2897 }, 2898 }, 2899 "apiVersion": { 2900 SchemaProps: spec.SchemaProps{ 2901 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/sig-architecture/api-conventions.md#resources", 2902 Type: []string{"string"}, 2903 Format: "", 2904 }, 2905 }, 2906 "metadata": { 2907 SchemaProps: spec.SchemaProps{ 2908 Default: map[string]interface{}{}, 2909 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2910 }, 2911 }, 2912 "spec": { 2913 SchemaProps: spec.SchemaProps{ 2914 Default: map[string]interface{}{}, 2915 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoSpec"), 2916 }, 2917 }, 2918 "status": { 2919 SchemaProps: spec.SchemaProps{ 2920 Default: map[string]interface{}{}, 2921 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoStatus"), 2922 }, 2923 }, 2924 }, 2925 }, 2926 }, 2927 Dependencies: []string{ 2928 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 2929 } 2930 } 2931 2932 func schema_pkg_apis_core_v1alpha1_ExtensionRepoList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2933 return common.OpenAPIDefinition{ 2934 Schema: spec.Schema{ 2935 SchemaProps: spec.SchemaProps{ 2936 Description: "ExtensionRepoList", 2937 Type: []string{"object"}, 2938 Properties: map[string]spec.Schema{ 2939 "kind": { 2940 SchemaProps: spec.SchemaProps{ 2941 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/sig-architecture/api-conventions.md#types-kinds", 2942 Type: []string{"string"}, 2943 Format: "", 2944 }, 2945 }, 2946 "apiVersion": { 2947 SchemaProps: spec.SchemaProps{ 2948 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/sig-architecture/api-conventions.md#resources", 2949 Type: []string{"string"}, 2950 Format: "", 2951 }, 2952 }, 2953 "metadata": { 2954 SchemaProps: spec.SchemaProps{ 2955 Default: map[string]interface{}{}, 2956 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2957 }, 2958 }, 2959 "items": { 2960 SchemaProps: spec.SchemaProps{ 2961 Type: []string{"array"}, 2962 Items: &spec.SchemaOrArray{ 2963 Schema: &spec.Schema{ 2964 SchemaProps: spec.SchemaProps{ 2965 Default: map[string]interface{}{}, 2966 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepo"), 2967 }, 2968 }, 2969 }, 2970 }, 2971 }, 2972 }, 2973 Required: []string{"items"}, 2974 }, 2975 }, 2976 Dependencies: []string{ 2977 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepo", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2978 } 2979 } 2980 2981 func schema_pkg_apis_core_v1alpha1_ExtensionRepoSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2982 return common.OpenAPIDefinition{ 2983 Schema: spec.Schema{ 2984 SchemaProps: spec.SchemaProps{ 2985 Description: "ExtensionRepoSpec defines how to access the repo.", 2986 Type: []string{"object"}, 2987 Properties: map[string]spec.Schema{ 2988 "url": { 2989 SchemaProps: spec.SchemaProps{ 2990 Description: "The URL of the repo.\n\nAllowed: https: URLs that point to a public git repo file: URLs that point to a location on disk.", 2991 Default: "", 2992 Type: []string{"string"}, 2993 Format: "", 2994 }, 2995 }, 2996 "ref": { 2997 SchemaProps: spec.SchemaProps{ 2998 Description: "A reference to sync the repo to. If empty, Tilt will always update the repo to the latest version.", 2999 Type: []string{"string"}, 3000 Format: "", 3001 }, 3002 }, 3003 "loadHost": { 3004 SchemaProps: spec.SchemaProps{ 3005 Description: "When set, this allows for automatically registering extensions within this repository in the following conditions:\n - The extension is not already registered\n - The first component of the load path matches the load_host of an extension repository.\nFor example, an extension_repo call with load_host=\"internal\" will support registering an extension at load time that looks like:\n load(\"ext://internal/ext-name\", \"...\")", 3006 Type: []string{"string"}, 3007 Format: "", 3008 }, 3009 }, 3010 "gitSubpath": { 3011 SchemaProps: spec.SchemaProps{ 3012 Description: "A path within the repository root that contains all extensions. By default, all extensions are expected to live at the repository root. Note that it is an error for this to be set for extension repositories using file:// URLs. For directory based extension repositories, you can add the subpath in the URL.", 3013 Type: []string{"string"}, 3014 Format: "", 3015 }, 3016 }, 3017 }, 3018 Required: []string{"url"}, 3019 }, 3020 }, 3021 } 3022 } 3023 3024 func schema_pkg_apis_core_v1alpha1_ExtensionRepoStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3025 return common.OpenAPIDefinition{ 3026 Schema: spec.Schema{ 3027 SchemaProps: spec.SchemaProps{ 3028 Description: "ExtensionRepoStatus defines the observed state of ExtensionRepo", 3029 Type: []string{"object"}, 3030 Properties: map[string]spec.Schema{ 3031 "error": { 3032 SchemaProps: spec.SchemaProps{ 3033 Description: "Contains information about any problems loading the repo.", 3034 Type: []string{"string"}, 3035 Format: "", 3036 }, 3037 }, 3038 "lastFetchedAt": { 3039 SchemaProps: spec.SchemaProps{ 3040 Description: "The last time the repo was fetched and checked for validity.", 3041 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3042 }, 3043 }, 3044 "path": { 3045 SchemaProps: spec.SchemaProps{ 3046 Description: "The path to the repo on local disk.", 3047 Type: []string{"string"}, 3048 Format: "", 3049 }, 3050 }, 3051 "checkoutRef": { 3052 SchemaProps: spec.SchemaProps{ 3053 Description: "The reference that we currently have checked out. On git, this is the commit hash. On file repos, this is empty.", 3054 Type: []string{"string"}, 3055 Format: "", 3056 }, 3057 }, 3058 "staleReason": { 3059 SchemaProps: spec.SchemaProps{ 3060 Description: "If StaleReason is non-empty, that indicates the repo failed to fetch, but we were successfully able to use an on-disk copy.", 3061 Type: []string{"string"}, 3062 Format: "", 3063 }, 3064 }, 3065 }, 3066 }, 3067 }, 3068 Dependencies: []string{ 3069 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3070 } 3071 } 3072 3073 func schema_pkg_apis_core_v1alpha1_ExtensionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3074 return common.OpenAPIDefinition{ 3075 Schema: spec.Schema{ 3076 SchemaProps: spec.SchemaProps{ 3077 Description: "ExtensionSpec defines the desired state of Extension", 3078 Type: []string{"object"}, 3079 Properties: map[string]spec.Schema{ 3080 "repoName": { 3081 SchemaProps: spec.SchemaProps{ 3082 Description: "RepoName specifies the ExtensionRepo object where we should find this extension.\n\nThe Extension controller should watch for changes to this repo, and may update if this repo is deleted or moved.", 3083 Default: "", 3084 Type: []string{"string"}, 3085 Format: "", 3086 }, 3087 }, 3088 "repoPath": { 3089 SchemaProps: spec.SchemaProps{ 3090 Description: "RepoPath specifies the path to the extension directory inside the repo.\n\nOnce the repo is downloaded, this path should point to a directory with a Tiltfile as the main \"entrypoint\" of the extension.", 3091 Default: "", 3092 Type: []string{"string"}, 3093 Format: "", 3094 }, 3095 }, 3096 "args": { 3097 SchemaProps: spec.SchemaProps{ 3098 Description: "Arguments to the Tiltfile loaded by this extension.\n\nArguments can be positional (['a', 'b', 'c']) or flag-based ('--to-edit=a'). By default, a list of arguments indicates the list of services in the tiltfile that should be enabled.", 3099 Type: []string{"array"}, 3100 Items: &spec.SchemaOrArray{ 3101 Schema: &spec.Schema{ 3102 SchemaProps: spec.SchemaProps{ 3103 Default: "", 3104 Type: []string{"string"}, 3105 Format: "", 3106 }, 3107 }, 3108 }, 3109 }, 3110 }, 3111 }, 3112 Required: []string{"repoName", "repoPath"}, 3113 }, 3114 }, 3115 } 3116 } 3117 3118 func schema_pkg_apis_core_v1alpha1_ExtensionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3119 return common.OpenAPIDefinition{ 3120 Schema: spec.Schema{ 3121 SchemaProps: spec.SchemaProps{ 3122 Description: "ExtensionStatus defines the observed state of Extension", 3123 Type: []string{"object"}, 3124 Properties: map[string]spec.Schema{ 3125 "error": { 3126 SchemaProps: spec.SchemaProps{ 3127 Description: "Contains information about any problems loading the extension.", 3128 Type: []string{"string"}, 3129 Format: "", 3130 }, 3131 }, 3132 "path": { 3133 SchemaProps: spec.SchemaProps{ 3134 Description: "The path to the extension on disk. This location should be shared and readable by all Tilt instances.", 3135 Type: []string{"string"}, 3136 Format: "", 3137 }, 3138 }, 3139 }, 3140 }, 3141 }, 3142 } 3143 } 3144 3145 func schema_pkg_apis_core_v1alpha1_FileEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 3146 return common.OpenAPIDefinition{ 3147 Schema: spec.Schema{ 3148 SchemaProps: spec.SchemaProps{ 3149 Type: []string{"object"}, 3150 Properties: map[string]spec.Schema{ 3151 "time": { 3152 SchemaProps: spec.SchemaProps{ 3153 Description: "Time is an approximate timestamp for a batch of file changes.\n\nThis will NOT exactly match any inode attributes (e.g. ctime, mtime) at the filesystem level and is purely informational or for use as an opaque watermark.", 3154 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3155 }, 3156 }, 3157 "seenFiles": { 3158 SchemaProps: spec.SchemaProps{ 3159 Description: "SeenFiles is a list of paths which changed (create, modify, or delete).", 3160 Type: []string{"array"}, 3161 Items: &spec.SchemaOrArray{ 3162 Schema: &spec.Schema{ 3163 SchemaProps: spec.SchemaProps{ 3164 Default: "", 3165 Type: []string{"string"}, 3166 Format: "", 3167 }, 3168 }, 3169 }, 3170 }, 3171 }, 3172 }, 3173 Required: []string{"time", "seenFiles"}, 3174 }, 3175 }, 3176 Dependencies: []string{ 3177 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 3178 } 3179 } 3180 3181 func schema_pkg_apis_core_v1alpha1_FileWatch(ref common.ReferenceCallback) common.OpenAPIDefinition { 3182 return common.OpenAPIDefinition{ 3183 Schema: spec.Schema{ 3184 SchemaProps: spec.SchemaProps{ 3185 Description: "FileWatch", 3186 Type: []string{"object"}, 3187 Properties: map[string]spec.Schema{ 3188 "kind": { 3189 SchemaProps: spec.SchemaProps{ 3190 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/sig-architecture/api-conventions.md#types-kinds", 3191 Type: []string{"string"}, 3192 Format: "", 3193 }, 3194 }, 3195 "apiVersion": { 3196 SchemaProps: spec.SchemaProps{ 3197 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/sig-architecture/api-conventions.md#resources", 3198 Type: []string{"string"}, 3199 Format: "", 3200 }, 3201 }, 3202 "metadata": { 3203 SchemaProps: spec.SchemaProps{ 3204 Default: map[string]interface{}{}, 3205 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3206 }, 3207 }, 3208 "spec": { 3209 SchemaProps: spec.SchemaProps{ 3210 Default: map[string]interface{}{}, 3211 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchSpec"), 3212 }, 3213 }, 3214 "status": { 3215 SchemaProps: spec.SchemaProps{ 3216 Default: map[string]interface{}{}, 3217 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchStatus"), 3218 }, 3219 }, 3220 }, 3221 }, 3222 }, 3223 Dependencies: []string{ 3224 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3225 } 3226 } 3227 3228 func schema_pkg_apis_core_v1alpha1_FileWatchList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3229 return common.OpenAPIDefinition{ 3230 Schema: spec.Schema{ 3231 SchemaProps: spec.SchemaProps{ 3232 Description: "FileWatchList", 3233 Type: []string{"object"}, 3234 Properties: map[string]spec.Schema{ 3235 "kind": { 3236 SchemaProps: spec.SchemaProps{ 3237 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/sig-architecture/api-conventions.md#types-kinds", 3238 Type: []string{"string"}, 3239 Format: "", 3240 }, 3241 }, 3242 "apiVersion": { 3243 SchemaProps: spec.SchemaProps{ 3244 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/sig-architecture/api-conventions.md#resources", 3245 Type: []string{"string"}, 3246 Format: "", 3247 }, 3248 }, 3249 "metadata": { 3250 SchemaProps: spec.SchemaProps{ 3251 Default: map[string]interface{}{}, 3252 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3253 }, 3254 }, 3255 "items": { 3256 SchemaProps: spec.SchemaProps{ 3257 Type: []string{"array"}, 3258 Items: &spec.SchemaOrArray{ 3259 Schema: &spec.Schema{ 3260 SchemaProps: spec.SchemaProps{ 3261 Default: map[string]interface{}{}, 3262 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatch"), 3263 }, 3264 }, 3265 }, 3266 }, 3267 }, 3268 }, 3269 Required: []string{"items"}, 3270 }, 3271 }, 3272 Dependencies: []string{ 3273 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatch", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 3274 } 3275 } 3276 3277 func schema_pkg_apis_core_v1alpha1_FileWatchSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3278 return common.OpenAPIDefinition{ 3279 Schema: spec.Schema{ 3280 SchemaProps: spec.SchemaProps{ 3281 Description: "FileWatchSpec defines the desired state of FileWatch", 3282 Type: []string{"object"}, 3283 Properties: map[string]spec.Schema{ 3284 "watchedPaths": { 3285 SchemaProps: spec.SchemaProps{ 3286 Description: "WatchedPaths are paths of directories or files to watch for changes to. It cannot be empty.", 3287 Type: []string{"array"}, 3288 Items: &spec.SchemaOrArray{ 3289 Schema: &spec.Schema{ 3290 SchemaProps: spec.SchemaProps{ 3291 Default: "", 3292 Type: []string{"string"}, 3293 Format: "", 3294 }, 3295 }, 3296 }, 3297 }, 3298 }, 3299 "ignores": { 3300 SchemaProps: spec.SchemaProps{ 3301 Description: "Ignores are optional rules to filter out a subset of changes matched by WatchedPaths.", 3302 Type: []string{"array"}, 3303 Items: &spec.SchemaOrArray{ 3304 Schema: &spec.Schema{ 3305 SchemaProps: spec.SchemaProps{ 3306 Default: map[string]interface{}{}, 3307 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"), 3308 }, 3309 }, 3310 }, 3311 }, 3312 }, 3313 "disableSource": { 3314 SchemaProps: spec.SchemaProps{ 3315 Description: "Specifies how to disable this.", 3316 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 3317 }, 3318 }, 3319 }, 3320 Required: []string{"watchedPaths"}, 3321 }, 3322 }, 3323 Dependencies: []string{ 3324 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"}, 3325 } 3326 } 3327 3328 func schema_pkg_apis_core_v1alpha1_FileWatchStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3329 return common.OpenAPIDefinition{ 3330 Schema: spec.Schema{ 3331 SchemaProps: spec.SchemaProps{ 3332 Description: "FileWatchStatus defines the observed state of FileWatch", 3333 Type: []string{"object"}, 3334 Properties: map[string]spec.Schema{ 3335 "monitorStartTime": { 3336 SchemaProps: spec.SchemaProps{ 3337 Description: "MonitorStartTime is the timestamp of when filesystem monitor was started. It is zero if the monitor has not been started yet.", 3338 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3339 }, 3340 }, 3341 "lastEventTime": { 3342 SchemaProps: spec.SchemaProps{ 3343 Description: "LastEventTime is the timestamp of the most recent file event. It is zero if no events have been seen yet.\n\nIf the specifics of which files changed are not important, this field can be used as a watermark without needing to inspect FileEvents.", 3344 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3345 }, 3346 }, 3347 "fileEvents": { 3348 SchemaProps: spec.SchemaProps{ 3349 Description: "FileEvents summarizes batches of file changes (create, modify, or delete) that have been seen in ascending chronological order. Only the most recent 20 events are included.", 3350 Type: []string{"array"}, 3351 Items: &spec.SchemaOrArray{ 3352 Schema: &spec.Schema{ 3353 SchemaProps: spec.SchemaProps{ 3354 Default: map[string]interface{}{}, 3355 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileEvent"), 3356 }, 3357 }, 3358 }, 3359 }, 3360 }, 3361 "error": { 3362 SchemaProps: spec.SchemaProps{ 3363 Description: "Error is set if there is a problem with the filesystem watch. If non-empty, consumers should assume that no filesystem events will be seen and that the file watcher is in a failed state.", 3364 Type: []string{"string"}, 3365 Format: "", 3366 }, 3367 }, 3368 "disableStatus": { 3369 SchemaProps: spec.SchemaProps{ 3370 Description: "Details about whether/why this is disabled.", 3371 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 3372 }, 3373 }, 3374 }, 3375 }, 3376 }, 3377 Dependencies: []string{ 3378 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileEvent", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 3379 } 3380 } 3381 3382 func schema_pkg_apis_core_v1alpha1_Forward(ref common.ReferenceCallback) common.OpenAPIDefinition { 3383 return common.OpenAPIDefinition{ 3384 Schema: spec.Schema{ 3385 SchemaProps: spec.SchemaProps{ 3386 Description: "Forward defines a port forward to execute on a given pod.", 3387 Type: []string{"object"}, 3388 Properties: map[string]spec.Schema{ 3389 "localPort": { 3390 SchemaProps: spec.SchemaProps{ 3391 Description: "The port to expose on the current machine.\n\nIf not specified (or 0), a random free port will be chosen and can be discovered via the status once established.", 3392 Type: []string{"integer"}, 3393 Format: "int32", 3394 }, 3395 }, 3396 "containerPort": { 3397 SchemaProps: spec.SchemaProps{ 3398 Description: "The port on the Kubernetes pod to connect to. Required.", 3399 Default: 0, 3400 Type: []string{"integer"}, 3401 Format: "int32", 3402 }, 3403 }, 3404 "host": { 3405 SchemaProps: spec.SchemaProps{ 3406 Description: "Optional host to bind to on the current machine.\n\nIf not explicitly specified, uses the bind host of the tilt web UI (usually localhost).", 3407 Default: "", 3408 Type: []string{"string"}, 3409 Format: "", 3410 }, 3411 }, 3412 "name": { 3413 SchemaProps: spec.SchemaProps{ 3414 Description: "Name to identify this port forward.", 3415 Type: []string{"string"}, 3416 Format: "", 3417 }, 3418 }, 3419 "path": { 3420 SchemaProps: spec.SchemaProps{ 3421 Description: "Path to include as part of generated links for port forward.", 3422 Type: []string{"string"}, 3423 Format: "", 3424 }, 3425 }, 3426 }, 3427 Required: []string{"containerPort"}, 3428 }, 3429 }, 3430 } 3431 } 3432 3433 func schema_pkg_apis_core_v1alpha1_ForwardStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3434 return common.OpenAPIDefinition{ 3435 Schema: spec.Schema{ 3436 SchemaProps: spec.SchemaProps{ 3437 Type: []string{"object"}, 3438 Properties: map[string]spec.Schema{ 3439 "localPort": { 3440 SchemaProps: spec.SchemaProps{ 3441 Description: "LocalPort is the port bound to on the system running Tilt.", 3442 Default: 0, 3443 Type: []string{"integer"}, 3444 Format: "int32", 3445 }, 3446 }, 3447 "containerPort": { 3448 SchemaProps: spec.SchemaProps{ 3449 Description: "ContainerPort is the port in the container being forwarded.", 3450 Default: 0, 3451 Type: []string{"integer"}, 3452 Format: "int32", 3453 }, 3454 }, 3455 "addresses": { 3456 SchemaProps: spec.SchemaProps{ 3457 Description: "Addresses that the forwarder is bound to.\n\nFor example, a `localhost` host will bind to 127.0.0.1 and [::1].", 3458 Type: []string{"array"}, 3459 Items: &spec.SchemaOrArray{ 3460 Schema: &spec.Schema{ 3461 SchemaProps: spec.SchemaProps{ 3462 Default: "", 3463 Type: []string{"string"}, 3464 Format: "", 3465 }, 3466 }, 3467 }, 3468 }, 3469 }, 3470 "startedAt": { 3471 SchemaProps: spec.SchemaProps{ 3472 Description: "StartedAt is the time at which the forward was initiated.\n\nIf the forwarder is not running yet, this will be zero/empty.", 3473 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3474 }, 3475 }, 3476 "error": { 3477 SchemaProps: spec.SchemaProps{ 3478 Description: "Error is a human-readable description if a problem was encountered while initializing the forward.", 3479 Type: []string{"string"}, 3480 Format: "", 3481 }, 3482 }, 3483 }, 3484 Required: []string{"localPort", "containerPort", "addresses"}, 3485 }, 3486 }, 3487 Dependencies: []string{ 3488 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 3489 } 3490 } 3491 3492 func schema_pkg_apis_core_v1alpha1_HTTPGetAction(ref common.ReferenceCallback) common.OpenAPIDefinition { 3493 return common.OpenAPIDefinition{ 3494 Schema: spec.Schema{ 3495 SchemaProps: spec.SchemaProps{ 3496 Description: "HTTPGetAction describes an action based on HTTP Get requests.", 3497 Type: []string{"object"}, 3498 Properties: map[string]spec.Schema{ 3499 "path": { 3500 SchemaProps: spec.SchemaProps{ 3501 Description: "Path to access on the HTTP server.", 3502 Type: []string{"string"}, 3503 Format: "", 3504 }, 3505 }, 3506 "port": { 3507 SchemaProps: spec.SchemaProps{ 3508 Description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535.", 3509 Default: 0, 3510 Type: []string{"integer"}, 3511 Format: "int32", 3512 }, 3513 }, 3514 "host": { 3515 SchemaProps: spec.SchemaProps{ 3516 Description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", 3517 Type: []string{"string"}, 3518 Format: "", 3519 }, 3520 }, 3521 "scheme": { 3522 SchemaProps: spec.SchemaProps{ 3523 Description: "Scheme to use for connecting to the host. Defaults to HTTP.", 3524 Type: []string{"string"}, 3525 Format: "", 3526 }, 3527 }, 3528 "httpHeaders": { 3529 SchemaProps: spec.SchemaProps{ 3530 Description: "Custom headers to set in the request. HTTP allows repeated headers.", 3531 Type: []string{"array"}, 3532 Items: &spec.SchemaOrArray{ 3533 Schema: &spec.Schema{ 3534 SchemaProps: spec.SchemaProps{ 3535 Default: map[string]interface{}{}, 3536 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPHeader"), 3537 }, 3538 }, 3539 }, 3540 }, 3541 }, 3542 }, 3543 Required: []string{"port"}, 3544 }, 3545 }, 3546 Dependencies: []string{ 3547 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPHeader"}, 3548 } 3549 } 3550 3551 func schema_pkg_apis_core_v1alpha1_HTTPHeader(ref common.ReferenceCallback) common.OpenAPIDefinition { 3552 return common.OpenAPIDefinition{ 3553 Schema: spec.Schema{ 3554 SchemaProps: spec.SchemaProps{ 3555 Description: "HTTPHeader describes a custom header to be used in HTTP probes", 3556 Type: []string{"object"}, 3557 Properties: map[string]spec.Schema{ 3558 "name": { 3559 SchemaProps: spec.SchemaProps{ 3560 Description: "The header field name", 3561 Default: "", 3562 Type: []string{"string"}, 3563 Format: "", 3564 }, 3565 }, 3566 "value": { 3567 SchemaProps: spec.SchemaProps{ 3568 Description: "The header field value", 3569 Default: "", 3570 Type: []string{"string"}, 3571 Format: "", 3572 }, 3573 }, 3574 }, 3575 Required: []string{"name", "value"}, 3576 }, 3577 }, 3578 } 3579 } 3580 3581 func schema_pkg_apis_core_v1alpha1_Handler(ref common.ReferenceCallback) common.OpenAPIDefinition { 3582 return common.OpenAPIDefinition{ 3583 Schema: spec.Schema{ 3584 SchemaProps: spec.SchemaProps{ 3585 Description: "Handler defines a specific action that should be taken in a probe.", 3586 Type: []string{"object"}, 3587 Properties: map[string]spec.Schema{ 3588 "exec": { 3589 SchemaProps: spec.SchemaProps{ 3590 Description: "One and only one of the following should be specified. Exec specifies the action to take.", 3591 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExecAction"), 3592 }, 3593 }, 3594 "httpGet": { 3595 SchemaProps: spec.SchemaProps{ 3596 Description: "HTTPGet specifies the http request to perform.", 3597 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPGetAction"), 3598 }, 3599 }, 3600 "tcpSocket": { 3601 SchemaProps: spec.SchemaProps{ 3602 Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", 3603 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TCPSocketAction"), 3604 }, 3605 }, 3606 }, 3607 }, 3608 }, 3609 Dependencies: []string{ 3610 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExecAction", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPGetAction", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TCPSocketAction"}, 3611 } 3612 } 3613 3614 func schema_pkg_apis_core_v1alpha1_IgnoreDef(ref common.ReferenceCallback) common.OpenAPIDefinition { 3615 return common.OpenAPIDefinition{ 3616 Schema: spec.Schema{ 3617 SchemaProps: spec.SchemaProps{ 3618 Description: "Describes sets of file paths that the FileWatch should ignore.", 3619 Type: []string{"object"}, 3620 Properties: map[string]spec.Schema{ 3621 "basePath": { 3622 SchemaProps: spec.SchemaProps{ 3623 Description: "BasePath is the base path for the patterns. It cannot be empty.\n\nIf no patterns are specified, everything under it will be recursively ignored.", 3624 Default: "", 3625 Type: []string{"string"}, 3626 Format: "", 3627 }, 3628 }, 3629 "patterns": { 3630 SchemaProps: spec.SchemaProps{ 3631 Description: "Patterns are dockerignore style rules. Absolute-style patterns will be rooted to the BasePath.\n\nSee https://docs.docker.com/engine/reference/builder/#dockerignore-file.", 3632 Type: []string{"array"}, 3633 Items: &spec.SchemaOrArray{ 3634 Schema: &spec.Schema{ 3635 SchemaProps: spec.SchemaProps{ 3636 Default: "", 3637 Type: []string{"string"}, 3638 Format: "", 3639 }, 3640 }, 3641 }, 3642 }, 3643 }, 3644 }, 3645 Required: []string{"basePath"}, 3646 }, 3647 }, 3648 } 3649 } 3650 3651 func schema_pkg_apis_core_v1alpha1_ImageMap(ref common.ReferenceCallback) common.OpenAPIDefinition { 3652 return common.OpenAPIDefinition{ 3653 Schema: spec.Schema{ 3654 SchemaProps: spec.SchemaProps{ 3655 Description: "ImageMap expresses the mapping from an image reference to a real, pushed image in an image registry that a container runtime can access.\n\nAnother way to think about the ImageMap is that ImageMapSpec is a mutable image reference (where the image might not exist yet), but ImageMapStatus is an immutable image reference (where, if an image is specified, it always exists).\n\nImageMap does not specify how the image is built or who is responsible for building this. But any API that builds images should produce an ImageMap.\n\nFor example, a builder that builds to a local image registry might create a map from: 'my-apiserver:dev' to 'localhost:5000/my-apiserver:content-based-label'.\n\nImageMap doesn't follow the usual Kubernetes-style API semantics (where the Status is the result of running the Spec). It's closer to a ConfigMap. Though the Status does represent a real runtime result (an image in a registry).", 3656 Type: []string{"object"}, 3657 Properties: map[string]spec.Schema{ 3658 "kind": { 3659 SchemaProps: spec.SchemaProps{ 3660 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/sig-architecture/api-conventions.md#types-kinds", 3661 Type: []string{"string"}, 3662 Format: "", 3663 }, 3664 }, 3665 "apiVersion": { 3666 SchemaProps: spec.SchemaProps{ 3667 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/sig-architecture/api-conventions.md#resources", 3668 Type: []string{"string"}, 3669 Format: "", 3670 }, 3671 }, 3672 "metadata": { 3673 SchemaProps: spec.SchemaProps{ 3674 Default: map[string]interface{}{}, 3675 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3676 }, 3677 }, 3678 "spec": { 3679 SchemaProps: spec.SchemaProps{ 3680 Default: map[string]interface{}{}, 3681 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapSpec"), 3682 }, 3683 }, 3684 "status": { 3685 SchemaProps: spec.SchemaProps{ 3686 Default: map[string]interface{}{}, 3687 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapStatus"), 3688 }, 3689 }, 3690 }, 3691 }, 3692 }, 3693 Dependencies: []string{ 3694 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3695 } 3696 } 3697 3698 func schema_pkg_apis_core_v1alpha1_ImageMapList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3699 return common.OpenAPIDefinition{ 3700 Schema: spec.Schema{ 3701 SchemaProps: spec.SchemaProps{ 3702 Description: "ImageMapList", 3703 Type: []string{"object"}, 3704 Properties: map[string]spec.Schema{ 3705 "kind": { 3706 SchemaProps: spec.SchemaProps{ 3707 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/sig-architecture/api-conventions.md#types-kinds", 3708 Type: []string{"string"}, 3709 Format: "", 3710 }, 3711 }, 3712 "apiVersion": { 3713 SchemaProps: spec.SchemaProps{ 3714 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/sig-architecture/api-conventions.md#resources", 3715 Type: []string{"string"}, 3716 Format: "", 3717 }, 3718 }, 3719 "metadata": { 3720 SchemaProps: spec.SchemaProps{ 3721 Default: map[string]interface{}{}, 3722 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3723 }, 3724 }, 3725 "items": { 3726 SchemaProps: spec.SchemaProps{ 3727 Type: []string{"array"}, 3728 Items: &spec.SchemaOrArray{ 3729 Schema: &spec.Schema{ 3730 SchemaProps: spec.SchemaProps{ 3731 Default: map[string]interface{}{}, 3732 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMap"), 3733 }, 3734 }, 3735 }, 3736 }, 3737 }, 3738 }, 3739 Required: []string{"items"}, 3740 }, 3741 }, 3742 Dependencies: []string{ 3743 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 3744 } 3745 } 3746 3747 func schema_pkg_apis_core_v1alpha1_ImageMapOverrideArgs(ref common.ReferenceCallback) common.OpenAPIDefinition { 3748 return common.OpenAPIDefinition{ 3749 Schema: spec.Schema{ 3750 SchemaProps: spec.SchemaProps{ 3751 Description: "ImageMapArgsOverride defines args to inject when the image is injected. Only applies to types that embed a v1.Container with a Command field.\n\nhttps://pkg.go.dev/k8s.io/api/core/v1#Container", 3752 Type: []string{"object"}, 3753 Properties: map[string]spec.Schema{ 3754 "args": { 3755 SchemaProps: spec.SchemaProps{ 3756 Description: "A list of args strings.", 3757 Type: []string{"array"}, 3758 Items: &spec.SchemaOrArray{ 3759 Schema: &spec.Schema{ 3760 SchemaProps: spec.SchemaProps{ 3761 Default: "", 3762 Type: []string{"string"}, 3763 Format: "", 3764 }, 3765 }, 3766 }, 3767 }, 3768 }, 3769 }, 3770 Required: []string{"args"}, 3771 }, 3772 }, 3773 } 3774 } 3775 3776 func schema_pkg_apis_core_v1alpha1_ImageMapOverrideCommand(ref common.ReferenceCallback) common.OpenAPIDefinition { 3777 return common.OpenAPIDefinition{ 3778 Schema: spec.Schema{ 3779 SchemaProps: spec.SchemaProps{ 3780 Description: "ImageMapCommandOverride defines a command to inject when the image is injected. Only applies to types that embed a v1.Container with a Command field.\n\nhttps://pkg.go.dev/k8s.io/api/core/v1#Container", 3781 Type: []string{"object"}, 3782 Properties: map[string]spec.Schema{ 3783 "command": { 3784 SchemaProps: spec.SchemaProps{ 3785 Description: "A list of command strings.", 3786 Type: []string{"array"}, 3787 Items: &spec.SchemaOrArray{ 3788 Schema: &spec.Schema{ 3789 SchemaProps: spec.SchemaProps{ 3790 Default: "", 3791 Type: []string{"string"}, 3792 Format: "", 3793 }, 3794 }, 3795 }, 3796 }, 3797 }, 3798 }, 3799 Required: []string{"command"}, 3800 }, 3801 }, 3802 } 3803 } 3804 3805 func schema_pkg_apis_core_v1alpha1_ImageMapSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3806 return common.OpenAPIDefinition{ 3807 Schema: spec.Schema{ 3808 SchemaProps: spec.SchemaProps{ 3809 Description: "ImageMapSpec defines the desired state of ImageMap", 3810 Type: []string{"object"}, 3811 Properties: map[string]spec.Schema{ 3812 "selector": { 3813 SchemaProps: spec.SchemaProps{ 3814 Description: "A named image reference.\n\nDeployment tools expect this image reference to match an image in the YAML being deployed, and will replace that image reference.\n\nBy default, this selector will match an image if the names match (tags on both the selector and the matched reference are ignored).", 3815 Default: "", 3816 Type: []string{"string"}, 3817 Format: "", 3818 }, 3819 }, 3820 "matchExact": { 3821 SchemaProps: spec.SchemaProps{ 3822 Description: "If specified, then tags on both the selector and the matched reference are used for matching. The selector will only match the reference if the tags match exactly.", 3823 Type: []string{"boolean"}, 3824 Format: "", 3825 }, 3826 }, 3827 "matchInEnvVars": { 3828 SchemaProps: spec.SchemaProps{ 3829 Description: "If specified, then the selector will also match any strings in container env variables.", 3830 Type: []string{"boolean"}, 3831 Format: "", 3832 }, 3833 }, 3834 "overrideCommand": { 3835 SchemaProps: spec.SchemaProps{ 3836 Description: "If specified, the injector will replace the 'command' field in the container when it replaces the image.", 3837 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideCommand"), 3838 }, 3839 }, 3840 "overrideArgs": { 3841 SchemaProps: spec.SchemaProps{ 3842 Description: "If specified, the injector will replace the 'args' field in the container when it replaces the image.", 3843 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideArgs"), 3844 }, 3845 }, 3846 }, 3847 Required: []string{"selector"}, 3848 }, 3849 }, 3850 Dependencies: []string{ 3851 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideArgs", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideCommand"}, 3852 } 3853 } 3854 3855 func schema_pkg_apis_core_v1alpha1_ImageMapStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3856 return common.OpenAPIDefinition{ 3857 Schema: spec.Schema{ 3858 SchemaProps: spec.SchemaProps{ 3859 Description: "ImageMapStatus defines the observed state of ImageMap", 3860 Type: []string{"object"}, 3861 Properties: map[string]spec.Schema{ 3862 "image": { 3863 SchemaProps: spec.SchemaProps{ 3864 Description: "A fully-qualified image reference, including a name and an immutable tag, as seen from the cluster container runtime that we're mapping this image to.\n\nNB: Container images often need to be referenced from different networks, including:\n\n1) The cluster container runtime 2) The local network 3) The cluster network\n\nAnd each of these cases may have distinct URLs. We might deprecate this field and only use fields of the form `ImageFromX`.\n\nFor more details on image references in different networks, see: https://github.com/kubernetes/enhancements/tree/master/keps/sig-cluster-lifecycle/generic/1755-communicating-a-local-registry#specification-for-localregistryhosting-v1", 3865 Type: []string{"string"}, 3866 Format: "", 3867 }, 3868 }, 3869 "imageFromLocal": { 3870 SchemaProps: spec.SchemaProps{ 3871 Description: "A fully-qualified image reference, including a name and an immutable tag, as seen from the local network.", 3872 Type: []string{"string"}, 3873 Format: "", 3874 }, 3875 }, 3876 "imageFromCluster": { 3877 SchemaProps: spec.SchemaProps{ 3878 Description: "A fully-qualified image reference, including a name and an immutable tag, as seen from the cluster container runtime.", 3879 Type: []string{"string"}, 3880 Format: "", 3881 }, 3882 }, 3883 "buildStartTime": { 3884 SchemaProps: spec.SchemaProps{ 3885 Description: "Timestamp indicating when the image started building.\n\nIntended to be used to determine which file changes were picked up by the image build. We can assume that any file changes before this timestamp were definitely included in the image, and any file changes after this timestamp may not be included in the image.", 3886 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3887 }, 3888 }, 3889 }, 3890 }, 3891 }, 3892 Dependencies: []string{ 3893 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 3894 } 3895 } 3896 3897 func schema_pkg_apis_core_v1alpha1_KubernetesApply(ref common.ReferenceCallback) common.OpenAPIDefinition { 3898 return common.OpenAPIDefinition{ 3899 Schema: spec.Schema{ 3900 SchemaProps: spec.SchemaProps{ 3901 Description: "KubernetesApply specifies a blob of YAML to apply, and a set of ImageMaps that the YAML depends on.\n\nThe KubernetesApply controller will resolve the ImageMaps into immutable image references. The controller will process the spec YAML, then apply it to the cluster. Those processing steps might include:\n\n- Injecting the resolved image references. - Adding custom labels so that Tilt can track the progress of the apply. - Modifying image pull rules to ensure the image is pulled correctly.\n\nThe controller won't apply anything until all ImageMaps resolve to real images.\n\nThe controller will watch all the image maps, and redeploy the entire YAML if any of the maps resolve to a new image.\n\nThe status field will contain both the raw applied object, and derived fields to help other controllers figure out how to watch the apply progress.", 3902 Type: []string{"object"}, 3903 Properties: map[string]spec.Schema{ 3904 "kind": { 3905 SchemaProps: spec.SchemaProps{ 3906 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/sig-architecture/api-conventions.md#types-kinds", 3907 Type: []string{"string"}, 3908 Format: "", 3909 }, 3910 }, 3911 "apiVersion": { 3912 SchemaProps: spec.SchemaProps{ 3913 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/sig-architecture/api-conventions.md#resources", 3914 Type: []string{"string"}, 3915 Format: "", 3916 }, 3917 }, 3918 "metadata": { 3919 SchemaProps: spec.SchemaProps{ 3920 Default: map[string]interface{}{}, 3921 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3922 }, 3923 }, 3924 "spec": { 3925 SchemaProps: spec.SchemaProps{ 3926 Default: map[string]interface{}{}, 3927 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplySpec"), 3928 }, 3929 }, 3930 "status": { 3931 SchemaProps: spec.SchemaProps{ 3932 Default: map[string]interface{}{}, 3933 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyStatus"), 3934 }, 3935 }, 3936 }, 3937 }, 3938 }, 3939 Dependencies: []string{ 3940 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplySpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3941 } 3942 } 3943 3944 func schema_pkg_apis_core_v1alpha1_KubernetesApplyCmd(ref common.ReferenceCallback) common.OpenAPIDefinition { 3945 return common.OpenAPIDefinition{ 3946 Schema: spec.Schema{ 3947 SchemaProps: spec.SchemaProps{ 3948 Type: []string{"object"}, 3949 Properties: map[string]spec.Schema{ 3950 "args": { 3951 SchemaProps: spec.SchemaProps{ 3952 Description: "Args are the command-line arguments for the apply command. Must have length >= 1.", 3953 Type: []string{"array"}, 3954 Items: &spec.SchemaOrArray{ 3955 Schema: &spec.Schema{ 3956 SchemaProps: spec.SchemaProps{ 3957 Default: "", 3958 Type: []string{"string"}, 3959 Format: "", 3960 }, 3961 }, 3962 }, 3963 }, 3964 }, 3965 "dir": { 3966 SchemaProps: spec.SchemaProps{ 3967 Description: "Process working directory.\n\nIf not specified, will default to Tilt working directory.", 3968 Default: "", 3969 Type: []string{"string"}, 3970 Format: "", 3971 }, 3972 }, 3973 "env": { 3974 SchemaProps: spec.SchemaProps{ 3975 Description: "Env are additional variables for the process environment.\n\nEnvironment variables are layered on top of the environment variables that Tilt runs with.", 3976 Type: []string{"array"}, 3977 Items: &spec.SchemaOrArray{ 3978 Schema: &spec.Schema{ 3979 SchemaProps: spec.SchemaProps{ 3980 Default: "", 3981 Type: []string{"string"}, 3982 Format: "", 3983 }, 3984 }, 3985 }, 3986 }, 3987 }, 3988 }, 3989 Required: []string{"args"}, 3990 }, 3991 }, 3992 } 3993 } 3994 3995 func schema_pkg_apis_core_v1alpha1_KubernetesApplyList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3996 return common.OpenAPIDefinition{ 3997 Schema: spec.Schema{ 3998 SchemaProps: spec.SchemaProps{ 3999 Description: "KubernetesApplyList", 4000 Type: []string{"object"}, 4001 Properties: map[string]spec.Schema{ 4002 "kind": { 4003 SchemaProps: spec.SchemaProps{ 4004 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/sig-architecture/api-conventions.md#types-kinds", 4005 Type: []string{"string"}, 4006 Format: "", 4007 }, 4008 }, 4009 "apiVersion": { 4010 SchemaProps: spec.SchemaProps{ 4011 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/sig-architecture/api-conventions.md#resources", 4012 Type: []string{"string"}, 4013 Format: "", 4014 }, 4015 }, 4016 "metadata": { 4017 SchemaProps: spec.SchemaProps{ 4018 Default: map[string]interface{}{}, 4019 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 4020 }, 4021 }, 4022 "items": { 4023 SchemaProps: spec.SchemaProps{ 4024 Type: []string{"array"}, 4025 Items: &spec.SchemaOrArray{ 4026 Schema: &spec.Schema{ 4027 SchemaProps: spec.SchemaProps{ 4028 Default: map[string]interface{}{}, 4029 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApply"), 4030 }, 4031 }, 4032 }, 4033 }, 4034 }, 4035 }, 4036 Required: []string{"items"}, 4037 }, 4038 }, 4039 Dependencies: []string{ 4040 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApply", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 4041 } 4042 } 4043 4044 func schema_pkg_apis_core_v1alpha1_KubernetesApplySpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4045 return common.OpenAPIDefinition{ 4046 Schema: spec.Schema{ 4047 SchemaProps: spec.SchemaProps{ 4048 Description: "KubernetesApplySpec defines the desired state of KubernetesApply", 4049 Type: []string{"object"}, 4050 Properties: map[string]spec.Schema{ 4051 "yaml": { 4052 SchemaProps: spec.SchemaProps{ 4053 Description: "YAML to apply to the cluster.\n\nExactly one of YAML OR ApplyCmd MUST be provided.", 4054 Type: []string{"string"}, 4055 Format: "", 4056 }, 4057 }, 4058 "imageMaps": { 4059 SchemaProps: spec.SchemaProps{ 4060 Description: "Names of image maps that this applier depends on.\n\nThe controller will watch all the image maps, and redeploy the entire YAML if any of the maps resolve to a new image.", 4061 Type: []string{"array"}, 4062 Items: &spec.SchemaOrArray{ 4063 Schema: &spec.Schema{ 4064 SchemaProps: spec.SchemaProps{ 4065 Default: "", 4066 Type: []string{"string"}, 4067 Format: "", 4068 }, 4069 }, 4070 }, 4071 }, 4072 }, 4073 "imageLocators": { 4074 SchemaProps: spec.SchemaProps{ 4075 Description: "Descriptors of how to find images in the YAML.\n\nNeeded when injecting images into CRDs.", 4076 Type: []string{"array"}, 4077 Items: &spec.SchemaOrArray{ 4078 Schema: &spec.Schema{ 4079 SchemaProps: spec.SchemaProps{ 4080 Default: map[string]interface{}{}, 4081 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageLocator"), 4082 }, 4083 }, 4084 }, 4085 }, 4086 }, 4087 "timeout": { 4088 SchemaProps: spec.SchemaProps{ 4089 Description: "The timeout on the apply operation.\n\nWe've had problems with both: 1) CRD apiservers that take an arbitrarily long time to apply, and 2) Infinite loops in the apimachinery So we offer the ability to set a timeout on Kubernetes apply operations.\n\nThe default timeout is 30s.", 4090 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), 4091 }, 4092 }, 4093 "kubernetesDiscoveryTemplateSpec": { 4094 SchemaProps: spec.SchemaProps{ 4095 Description: "KubernetesDiscoveryTemplateSpec describes how we discover pods for resources created by this Apply.\n\nIf not specified, the KubernetesDiscovery controller will listen to all pods, and follow owner references to find the pods owned by these resources.", 4096 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryTemplateSpec"), 4097 }, 4098 }, 4099 "portForwardTemplateSpec": { 4100 SchemaProps: spec.SchemaProps{ 4101 Description: "PortForwardTemplateSpec describes the data model for port forwards that KubernetesApply should set up.\n\nUnderneath the hood, we'll create a KubernetesDiscovery object that finds the pods and sets up the port-forwarding. Only one PortForward will be active at a time.", 4102 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardTemplateSpec"), 4103 }, 4104 }, 4105 "podLogStreamTemplateSpec": { 4106 SchemaProps: spec.SchemaProps{ 4107 Description: "PodLogStreamTemplateSpec describes the data model for PodLogStreams that KubernetesApply should set up.\n\nUnderneath the hood, we'll create a KubernetesDiscovery object that finds the pods and sets up the pod log streams.\n\nIf no template is specified, the controller will stream all pod logs available from the apiserver.", 4108 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamTemplateSpec"), 4109 }, 4110 }, 4111 "discoveryStrategy": { 4112 SchemaProps: spec.SchemaProps{ 4113 Description: "DiscoveryStrategy describes how we set up pod watches for the applied resources. This affects all systems that attach to pods, including PortForwards, PodLogStreams, resource readiness, and live-updates.", 4114 Type: []string{"string"}, 4115 Format: "", 4116 }, 4117 }, 4118 "disableSource": { 4119 SchemaProps: spec.SchemaProps{ 4120 Description: "Specifies how to disable this.", 4121 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 4122 }, 4123 }, 4124 "applyCmd": { 4125 SchemaProps: spec.SchemaProps{ 4126 Description: "ApplyCmd is a custom command to execute to deploy entities to the Kubernetes cluster.\n\nThe command must be idempotent, e.g. it must not fail if some or all entities already exist.\n\nThe ApplyCmd MUST return valid Kubernetes YAML for the entities it applied to the cluster.\n\nExactly one of YAML OR ApplyCmd MUST be provided.", 4127 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyCmd"), 4128 }, 4129 }, 4130 "restartOn": { 4131 SchemaProps: spec.SchemaProps{ 4132 Description: "RestartOn determines external triggers that will result in an apply.", 4133 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec"), 4134 }, 4135 }, 4136 "deleteCmd": { 4137 SchemaProps: spec.SchemaProps{ 4138 Description: "DeleteCmd is a custom command to execute to delete entities created by ApplyCmd and clean up any additional state.", 4139 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyCmd"), 4140 }, 4141 }, 4142 "cluster": { 4143 SchemaProps: spec.SchemaProps{ 4144 Description: "Cluster name to determine the Kubernetes cluster.\n\nIf not provided, \"default\" will be used.", 4145 Default: "", 4146 Type: []string{"string"}, 4147 Format: "", 4148 }, 4149 }, 4150 }, 4151 }, 4152 }, 4153 Dependencies: []string{ 4154 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyCmd", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryTemplateSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageLocator", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamTemplateSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardTemplateSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"}, 4155 } 4156 } 4157 4158 func schema_pkg_apis_core_v1alpha1_KubernetesApplyStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4159 return common.OpenAPIDefinition{ 4160 Schema: spec.Schema{ 4161 SchemaProps: spec.SchemaProps{ 4162 Description: "KubernetesApplyStatus defines the observed state of KubernetesApply", 4163 Type: []string{"object"}, 4164 Properties: map[string]spec.Schema{ 4165 "resultYAML": { 4166 SchemaProps: spec.SchemaProps{ 4167 Description: "The result of applying the YAML to the cluster. This should contain UIDs for the applied resources.", 4168 Type: []string{"string"}, 4169 Format: "", 4170 }, 4171 }, 4172 "error": { 4173 SchemaProps: spec.SchemaProps{ 4174 Description: "An error applying the YAML.\n\nIf there was an error, than ResultYAML should be empty (and vice versa).", 4175 Type: []string{"string"}, 4176 Format: "", 4177 }, 4178 }, 4179 "lastApplyTime": { 4180 SchemaProps: spec.SchemaProps{ 4181 Description: "Timestamp of we last finished applying this YAML to the cluster.\n\nWhen populated, must be equal or after the LastApplyStartTime field.\n\nis more consistent with how we name this in other API objects.", 4182 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4183 }, 4184 }, 4185 "lastApplyStartTime": { 4186 SchemaProps: spec.SchemaProps{ 4187 Description: "Timestamp of when we last started applying this YAML to the cluster.", 4188 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4189 }, 4190 }, 4191 "appliedInputHash": { 4192 SchemaProps: spec.SchemaProps{ 4193 Description: "A base64-encoded hash of all the inputs to the apply.\n\nWe added this so that more procedural code can determine whether their updates have been applied yet or not by the reconciler. But any code using it this way should note that the reconciler may \"skip\" an update (e.g., if two images get updated in quick succession before the reconciler injects them into the YAML), so a particular ApplieInputHash might never appear.", 4194 Type: []string{"string"}, 4195 Format: "", 4196 }, 4197 }, 4198 "disableStatus": { 4199 SchemaProps: spec.SchemaProps{ 4200 Description: "Details about whether/why this is disabled.", 4201 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 4202 }, 4203 }, 4204 "conditions": { 4205 SchemaProps: spec.SchemaProps{ 4206 Description: "Conditions based on the result of the apply.", 4207 Type: []string{"array"}, 4208 Items: &spec.SchemaOrArray{ 4209 Schema: &spec.Schema{ 4210 SchemaProps: spec.SchemaProps{ 4211 Default: map[string]interface{}{}, 4212 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Condition"), 4213 }, 4214 }, 4215 }, 4216 }, 4217 }, 4218 }, 4219 }, 4220 }, 4221 Dependencies: []string{ 4222 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Condition", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 4223 } 4224 } 4225 4226 func schema_pkg_apis_core_v1alpha1_KubernetesClusterConnection(ref common.ReferenceCallback) common.OpenAPIDefinition { 4227 return common.OpenAPIDefinition{ 4228 Schema: spec.Schema{ 4229 SchemaProps: spec.SchemaProps{ 4230 Type: []string{"object"}, 4231 Properties: map[string]spec.Schema{ 4232 "context": { 4233 SchemaProps: spec.SchemaProps{ 4234 Description: "The name of the kubeconfig context to use.\n\nIf not specified, will use the default context in the kubeconfig.", 4235 Type: []string{"string"}, 4236 Format: "", 4237 }, 4238 }, 4239 "namespace": { 4240 SchemaProps: spec.SchemaProps{ 4241 Description: "The default namespace to use.\n\nIf not specified, will use the namespace in the kubeconfig.", 4242 Type: []string{"string"}, 4243 Format: "", 4244 }, 4245 }, 4246 }, 4247 }, 4248 }, 4249 } 4250 } 4251 4252 func schema_pkg_apis_core_v1alpha1_KubernetesClusterConnectionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4253 return common.OpenAPIDefinition{ 4254 Schema: spec.Schema{ 4255 SchemaProps: spec.SchemaProps{ 4256 Description: "Kubernetes-specific fields for connection status", 4257 Type: []string{"object"}, 4258 Properties: map[string]spec.Schema{ 4259 "context": { 4260 SchemaProps: spec.SchemaProps{ 4261 Description: "The resolved kubeconfig context.", 4262 Default: "", 4263 Type: []string{"string"}, 4264 Format: "", 4265 }, 4266 }, 4267 "namespace": { 4268 SchemaProps: spec.SchemaProps{ 4269 Description: "The resolved default namespace.", 4270 Default: "", 4271 Type: []string{"string"}, 4272 Format: "", 4273 }, 4274 }, 4275 "cluster": { 4276 SchemaProps: spec.SchemaProps{ 4277 Description: "The resolved cluster name (as determined by the kubeconfig context).", 4278 Default: "", 4279 Type: []string{"string"}, 4280 Format: "", 4281 }, 4282 }, 4283 "product": { 4284 SchemaProps: spec.SchemaProps{ 4285 Description: "The product name for this cluster.\n\nFor a complete list of possible product names, see: https://pkg.go.dev/github.com/tilt-dev/clusterid#Product", 4286 Type: []string{"string"}, 4287 Format: "", 4288 }, 4289 }, 4290 "configPath": { 4291 SchemaProps: spec.SchemaProps{ 4292 Description: "The resolved config path.\n\nTilt will freeze the config and write it to a temporary directory. Subprocesses that depend on this cluster can find this file by reading the KUBECONFIG env var.", 4293 Type: []string{"string"}, 4294 Format: "", 4295 }, 4296 }, 4297 }, 4298 Required: []string{"context", "namespace", "cluster"}, 4299 }, 4300 }, 4301 } 4302 } 4303 4304 func schema_pkg_apis_core_v1alpha1_KubernetesDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition { 4305 return common.OpenAPIDefinition{ 4306 Schema: spec.Schema{ 4307 SchemaProps: spec.SchemaProps{ 4308 Description: "KubernetesDiscovery", 4309 Type: []string{"object"}, 4310 Properties: map[string]spec.Schema{ 4311 "kind": { 4312 SchemaProps: spec.SchemaProps{ 4313 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/sig-architecture/api-conventions.md#types-kinds", 4314 Type: []string{"string"}, 4315 Format: "", 4316 }, 4317 }, 4318 "apiVersion": { 4319 SchemaProps: spec.SchemaProps{ 4320 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/sig-architecture/api-conventions.md#resources", 4321 Type: []string{"string"}, 4322 Format: "", 4323 }, 4324 }, 4325 "metadata": { 4326 SchemaProps: spec.SchemaProps{ 4327 Default: map[string]interface{}{}, 4328 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4329 }, 4330 }, 4331 "spec": { 4332 SchemaProps: spec.SchemaProps{ 4333 Default: map[string]interface{}{}, 4334 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoverySpec"), 4335 }, 4336 }, 4337 "status": { 4338 SchemaProps: spec.SchemaProps{ 4339 Default: map[string]interface{}{}, 4340 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStatus"), 4341 }, 4342 }, 4343 }, 4344 }, 4345 }, 4346 Dependencies: []string{ 4347 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoverySpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 4348 } 4349 } 4350 4351 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryList(ref common.ReferenceCallback) common.OpenAPIDefinition { 4352 return common.OpenAPIDefinition{ 4353 Schema: spec.Schema{ 4354 SchemaProps: spec.SchemaProps{ 4355 Description: "KubernetesDiscoveryList", 4356 Type: []string{"object"}, 4357 Properties: map[string]spec.Schema{ 4358 "kind": { 4359 SchemaProps: spec.SchemaProps{ 4360 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/sig-architecture/api-conventions.md#types-kinds", 4361 Type: []string{"string"}, 4362 Format: "", 4363 }, 4364 }, 4365 "apiVersion": { 4366 SchemaProps: spec.SchemaProps{ 4367 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/sig-architecture/api-conventions.md#resources", 4368 Type: []string{"string"}, 4369 Format: "", 4370 }, 4371 }, 4372 "metadata": { 4373 SchemaProps: spec.SchemaProps{ 4374 Default: map[string]interface{}{}, 4375 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 4376 }, 4377 }, 4378 "items": { 4379 SchemaProps: spec.SchemaProps{ 4380 Type: []string{"array"}, 4381 Items: &spec.SchemaOrArray{ 4382 Schema: &spec.Schema{ 4383 SchemaProps: spec.SchemaProps{ 4384 Default: map[string]interface{}{}, 4385 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscovery"), 4386 }, 4387 }, 4388 }, 4389 }, 4390 }, 4391 }, 4392 Required: []string{"items"}, 4393 }, 4394 }, 4395 Dependencies: []string{ 4396 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 4397 } 4398 } 4399 4400 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoverySpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4401 return common.OpenAPIDefinition{ 4402 Schema: spec.Schema{ 4403 SchemaProps: spec.SchemaProps{ 4404 Description: "KubernetesDiscoverySpec defines the desired state of KubernetesDiscovery", 4405 Type: []string{"object"}, 4406 Properties: map[string]spec.Schema{ 4407 "watches": { 4408 SchemaProps: spec.SchemaProps{ 4409 Description: "Watches determine what resources are discovered.\n\nIf a discovered resource (e.g. Pod) matches the KubernetesWatchRef UID exactly, it will be reported. If a discovered resource is transitively owned by the KubernetesWatchRef UID, it will be reported.", 4410 Type: []string{"array"}, 4411 Items: &spec.SchemaOrArray{ 4412 Schema: &spec.Schema{ 4413 SchemaProps: spec.SchemaProps{ 4414 Default: map[string]interface{}{}, 4415 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesWatchRef"), 4416 }, 4417 }, 4418 }, 4419 }, 4420 }, 4421 "extraSelectors": { 4422 SchemaProps: spec.SchemaProps{ 4423 Description: "ExtraSelectors are label selectors that will force discovery of a Pod even if it does not match the AncestorUID.\n\nThis should only be necessary in the event that a CRD creates Pods but does not set an owner reference to itself.", 4424 Type: []string{"array"}, 4425 Items: &spec.SchemaOrArray{ 4426 Schema: &spec.Schema{ 4427 SchemaProps: spec.SchemaProps{ 4428 Default: map[string]interface{}{}, 4429 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), 4430 }, 4431 }, 4432 }, 4433 }, 4434 }, 4435 "portForwardTemplateSpec": { 4436 SchemaProps: spec.SchemaProps{ 4437 Description: "PortForwardTemplateSpec describes the data model for port forwards that KubernetesDiscovery should set up.\n\nThe KubernetesDiscovery controller will choose a \"best\" candidate for attaching the port-forwarding. Only one PortForward will be active at a time.", 4438 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardTemplateSpec"), 4439 }, 4440 }, 4441 "podLogStreamTemplateSpec": { 4442 SchemaProps: spec.SchemaProps{ 4443 Description: "PodLogStreamTemplateSpec describes the data model for PodLogStreams that KubernetesDiscovery should set up.\n\nThe KubernetesDiscovery controller will attach PodLogStream objects to all active pods it discovers.\n\nIf no template is specified, the controller will stream all pod logs available from the apiserver.", 4444 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamTemplateSpec"), 4445 }, 4446 }, 4447 "cluster": { 4448 SchemaProps: spec.SchemaProps{ 4449 Description: "Cluster name to determine the Kubernetes cluster.\n\nIf not provided, \"default\" will be used.", 4450 Default: "", 4451 Type: []string{"string"}, 4452 Format: "", 4453 }, 4454 }, 4455 }, 4456 Required: []string{"watches"}, 4457 }, 4458 }, 4459 Dependencies: []string{ 4460 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesWatchRef", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamTemplateSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardTemplateSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"}, 4461 } 4462 } 4463 4464 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 4465 return common.OpenAPIDefinition{ 4466 Schema: spec.Schema{ 4467 SchemaProps: spec.SchemaProps{ 4468 Type: []string{"object"}, 4469 Properties: map[string]spec.Schema{ 4470 "startTime": { 4471 SchemaProps: spec.SchemaProps{ 4472 Description: "StartTime is when Kubernetes resource discovery began.", 4473 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4474 }, 4475 }, 4476 }, 4477 Required: []string{"startTime"}, 4478 }, 4479 }, 4480 Dependencies: []string{ 4481 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 4482 } 4483 } 4484 4485 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 4486 return common.OpenAPIDefinition{ 4487 Schema: spec.Schema{ 4488 SchemaProps: spec.SchemaProps{ 4489 Type: []string{"object"}, 4490 Properties: map[string]spec.Schema{ 4491 "reason": { 4492 SchemaProps: spec.SchemaProps{ 4493 Description: "Reason the monitor has not yet been started.", 4494 Default: "", 4495 Type: []string{"string"}, 4496 Format: "", 4497 }, 4498 }, 4499 }, 4500 Required: []string{"reason"}, 4501 }, 4502 }, 4503 } 4504 } 4505 4506 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4507 return common.OpenAPIDefinition{ 4508 Schema: spec.Schema{ 4509 SchemaProps: spec.SchemaProps{ 4510 Description: "KubernetesDiscoveryStatus defines the observed state of KubernetesDiscovery", 4511 Type: []string{"object"}, 4512 Properties: map[string]spec.Schema{ 4513 "monitorStartTime": { 4514 SchemaProps: spec.SchemaProps{ 4515 Description: "MonitorStartTime is the timestamp of when Kubernetes resource discovery was started.\n\nIt is zero if discovery has not been started yet.", 4516 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4517 }, 4518 }, 4519 "pods": { 4520 SchemaProps: spec.SchemaProps{ 4521 Description: "Pods that have been discovered based on the criteria in the spec.", 4522 Type: []string{"array"}, 4523 Items: &spec.SchemaOrArray{ 4524 Schema: &spec.Schema{ 4525 SchemaProps: spec.SchemaProps{ 4526 Default: map[string]interface{}{}, 4527 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Pod"), 4528 }, 4529 }, 4530 }, 4531 }, 4532 }, 4533 "waiting": { 4534 SchemaProps: spec.SchemaProps{ 4535 Description: "Waiting contains information about why the monitor has not started.", 4536 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateWaiting"), 4537 }, 4538 }, 4539 "running": { 4540 SchemaProps: spec.SchemaProps{ 4541 Description: "Running contains information about the currently running monitor.", 4542 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateRunning"), 4543 }, 4544 }, 4545 }, 4546 Required: []string{"pods"}, 4547 }, 4548 }, 4549 Dependencies: []string{ 4550 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateRunning", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateWaiting", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Pod", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 4551 } 4552 } 4553 4554 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4555 return common.OpenAPIDefinition{ 4556 Schema: spec.Schema{ 4557 SchemaProps: spec.SchemaProps{ 4558 Type: []string{"object"}, 4559 Properties: map[string]spec.Schema{ 4560 "extraSelectors": { 4561 SchemaProps: spec.SchemaProps{ 4562 Description: "ExtraSelectors are label selectors that will force discovery of a Pod even if it does not match the AncestorUID.\n\nThis should only be necessary in the event that a CRD creates Pods but does not set an owner reference to itself.", 4563 Type: []string{"array"}, 4564 Items: &spec.SchemaOrArray{ 4565 Schema: &spec.Schema{ 4566 SchemaProps: spec.SchemaProps{ 4567 Default: map[string]interface{}{}, 4568 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), 4569 }, 4570 }, 4571 }, 4572 }, 4573 }, 4574 }, 4575 }, 4576 }, 4577 Dependencies: []string{ 4578 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"}, 4579 } 4580 } 4581 4582 func schema_pkg_apis_core_v1alpha1_KubernetesImageLocator(ref common.ReferenceCallback) common.OpenAPIDefinition { 4583 return common.OpenAPIDefinition{ 4584 Schema: spec.Schema{ 4585 SchemaProps: spec.SchemaProps{ 4586 Description: "Finds image references in Kubernetes YAML.", 4587 Type: []string{"object"}, 4588 Properties: map[string]spec.Schema{ 4589 "objectSelector": { 4590 SchemaProps: spec.SchemaProps{ 4591 Description: "Selects which objects to look in.", 4592 Default: map[string]interface{}{}, 4593 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ObjectSelector"), 4594 }, 4595 }, 4596 "path": { 4597 SchemaProps: spec.SchemaProps{ 4598 Description: "A JSON path to the image reference field.\n\nIf Object is empty, the field should be a string.\n\nIf Object is non-empty, the field should be an object with subfields.", 4599 Default: "", 4600 Type: []string{"string"}, 4601 Format: "", 4602 }, 4603 }, 4604 "object": { 4605 SchemaProps: spec.SchemaProps{ 4606 Description: "A descriptor of the path and structure of an object that describes an image reference. This is a common way to describe images in CRDs, breaking them down into an object rather than an image reference string.", 4607 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageObjectDescriptor"), 4608 }, 4609 }, 4610 }, 4611 Required: []string{"objectSelector", "path"}, 4612 }, 4613 }, 4614 Dependencies: []string{ 4615 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageObjectDescriptor", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ObjectSelector"}, 4616 } 4617 } 4618 4619 func schema_pkg_apis_core_v1alpha1_KubernetesImageObjectDescriptor(ref common.ReferenceCallback) common.OpenAPIDefinition { 4620 return common.OpenAPIDefinition{ 4621 Schema: spec.Schema{ 4622 SchemaProps: spec.SchemaProps{ 4623 Type: []string{"object"}, 4624 Properties: map[string]spec.Schema{ 4625 "repoField": { 4626 SchemaProps: spec.SchemaProps{ 4627 Description: "The name of the field that contains the image repository.", 4628 Default: "", 4629 Type: []string{"string"}, 4630 Format: "", 4631 }, 4632 }, 4633 "tagField": { 4634 SchemaProps: spec.SchemaProps{ 4635 Description: "The name of the field that contains the image tag.", 4636 Default: "", 4637 Type: []string{"string"}, 4638 Format: "", 4639 }, 4640 }, 4641 }, 4642 Required: []string{"repoField", "tagField"}, 4643 }, 4644 }, 4645 } 4646 } 4647 4648 func schema_pkg_apis_core_v1alpha1_KubernetesWatchRef(ref common.ReferenceCallback) common.OpenAPIDefinition { 4649 return common.OpenAPIDefinition{ 4650 Schema: spec.Schema{ 4651 SchemaProps: spec.SchemaProps{ 4652 Description: "KubernetesWatchRef is similar to v1.ObjectReference from the Kubernetes API and is used to determine what objects should be reported on based on discovery.", 4653 Type: []string{"object"}, 4654 Properties: map[string]spec.Schema{ 4655 "uid": { 4656 SchemaProps: spec.SchemaProps{ 4657 Description: "UID is a Kubernetes object UID.\n\nIt should either be the exact object UID or the transitive owner.", 4658 Type: []string{"string"}, 4659 Format: "", 4660 }, 4661 }, 4662 "namespace": { 4663 SchemaProps: spec.SchemaProps{ 4664 Description: "Namespace is the Kubernetes namespace for discovery. Required.", 4665 Default: "", 4666 Type: []string{"string"}, 4667 Format: "", 4668 }, 4669 }, 4670 "name": { 4671 SchemaProps: spec.SchemaProps{ 4672 Description: "Name is the Kubernetes object name.\n\nThis is not directly used in discovery; it is extra metadata.", 4673 Type: []string{"string"}, 4674 Format: "", 4675 }, 4676 }, 4677 }, 4678 Required: []string{"namespace"}, 4679 }, 4680 }, 4681 } 4682 } 4683 4684 func schema_pkg_apis_core_v1alpha1_LiveUpdate(ref common.ReferenceCallback) common.OpenAPIDefinition { 4685 return common.OpenAPIDefinition{ 4686 Schema: spec.Schema{ 4687 SchemaProps: spec.SchemaProps{ 4688 Description: "LiveUpdate", 4689 Type: []string{"object"}, 4690 Properties: map[string]spec.Schema{ 4691 "kind": { 4692 SchemaProps: spec.SchemaProps{ 4693 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/sig-architecture/api-conventions.md#types-kinds", 4694 Type: []string{"string"}, 4695 Format: "", 4696 }, 4697 }, 4698 "apiVersion": { 4699 SchemaProps: spec.SchemaProps{ 4700 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/sig-architecture/api-conventions.md#resources", 4701 Type: []string{"string"}, 4702 Format: "", 4703 }, 4704 }, 4705 "metadata": { 4706 SchemaProps: spec.SchemaProps{ 4707 Default: map[string]interface{}{}, 4708 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4709 }, 4710 }, 4711 "spec": { 4712 SchemaProps: spec.SchemaProps{ 4713 Default: map[string]interface{}{}, 4714 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSpec"), 4715 }, 4716 }, 4717 "status": { 4718 SchemaProps: spec.SchemaProps{ 4719 Default: map[string]interface{}{}, 4720 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStatus"), 4721 }, 4722 }, 4723 }, 4724 }, 4725 }, 4726 Dependencies: []string{ 4727 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 4728 } 4729 } 4730 4731 func schema_pkg_apis_core_v1alpha1_LiveUpdateContainerStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 4732 return common.OpenAPIDefinition{ 4733 Schema: spec.Schema{ 4734 SchemaProps: spec.SchemaProps{ 4735 Type: []string{"object"}, 4736 Properties: map[string]spec.Schema{ 4737 "reason": { 4738 SchemaProps: spec.SchemaProps{ 4739 Description: "One word camel-case reason why we're in a waiting state.", 4740 Type: []string{"string"}, 4741 Format: "", 4742 }, 4743 }, 4744 "message": { 4745 SchemaProps: spec.SchemaProps{ 4746 Description: "Human-readable description of what's blocking.", 4747 Type: []string{"string"}, 4748 Format: "", 4749 }, 4750 }, 4751 }, 4752 }, 4753 }, 4754 } 4755 } 4756 4757 func schema_pkg_apis_core_v1alpha1_LiveUpdateContainerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4758 return common.OpenAPIDefinition{ 4759 Schema: spec.Schema{ 4760 SchemaProps: spec.SchemaProps{ 4761 Description: "LiveUpdateContainerStatus defines the observed state of the live-update syncer for a particular container.", 4762 Type: []string{"object"}, 4763 Properties: map[string]spec.Schema{ 4764 "containerName": { 4765 SchemaProps: spec.SchemaProps{ 4766 Description: "The name of the container in the pod.", 4767 Default: "", 4768 Type: []string{"string"}, 4769 Format: "", 4770 }, 4771 }, 4772 "containerID": { 4773 SchemaProps: spec.SchemaProps{ 4774 Description: "The ID of the container in the pod, in the format 'docker://<container_id>'.", 4775 Type: []string{"string"}, 4776 Format: "", 4777 }, 4778 }, 4779 "podName": { 4780 SchemaProps: spec.SchemaProps{ 4781 Description: "The name of the pod this container belongs to.", 4782 Default: "", 4783 Type: []string{"string"}, 4784 Format: "", 4785 }, 4786 }, 4787 "namespace": { 4788 SchemaProps: spec.SchemaProps{ 4789 Description: "The namespace of the pod this container belongs to.", 4790 Default: "", 4791 Type: []string{"string"}, 4792 Format: "", 4793 }, 4794 }, 4795 "lastFileTimeSynced": { 4796 SchemaProps: spec.SchemaProps{ 4797 Description: "The timestamp of the most recent file update successfully synced to the container.\n\nMust match the timestamp in a FileEvent, not the time the sync was performed.", 4798 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4799 }, 4800 }, 4801 "lastExecError": { 4802 SchemaProps: spec.SchemaProps{ 4803 Description: "Contains any error messages from the most recent sequence of Execs.\n\nEmpty if the most recent Execs completed successfully.\n\nAn ExecError is not necessarily a failure state. For example, a linter error in the container is something we'd want to surface to the user, but not an indication that the live-updater did something wrong.", 4804 Type: []string{"string"}, 4805 Format: "", 4806 }, 4807 }, 4808 "waiting": { 4809 SchemaProps: spec.SchemaProps{ 4810 Description: "Details about a waiting live update.\n\nA live update is waiting when the reconciler is aware of file changes that need to be synced to the container, but has decided not to sync them yet.", 4811 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStateWaiting"), 4812 }, 4813 }, 4814 }, 4815 Required: []string{"containerName", "podName", "namespace"}, 4816 }, 4817 }, 4818 Dependencies: []string{ 4819 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStateWaiting", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 4820 } 4821 } 4822 4823 func schema_pkg_apis_core_v1alpha1_LiveUpdateDockerComposeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 4824 return common.OpenAPIDefinition{ 4825 Schema: spec.Schema{ 4826 SchemaProps: spec.SchemaProps{ 4827 Description: "Specifies how to select containers to live update inside Docker Compose.", 4828 Type: []string{"object"}, 4829 Properties: map[string]spec.Schema{ 4830 "service": { 4831 SchemaProps: spec.SchemaProps{ 4832 Description: "The name of a DockerComposeService object.\n\nFor simple projects, this is usually the same as the service name in the docker-compose.yml file. (But it doesn't necessarily have to be.)", 4833 Default: "", 4834 Type: []string{"string"}, 4835 Format: "", 4836 }, 4837 }, 4838 }, 4839 Required: []string{"service"}, 4840 }, 4841 }, 4842 } 4843 } 4844 4845 func schema_pkg_apis_core_v1alpha1_LiveUpdateExec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4846 return common.OpenAPIDefinition{ 4847 Schema: spec.Schema{ 4848 SchemaProps: spec.SchemaProps{ 4849 Description: "Runs a remote command after files have been synced to the container. Commonly used for small in-container changes (like moving files around, or restart processes).", 4850 Type: []string{"object"}, 4851 Properties: map[string]spec.Schema{ 4852 "args": { 4853 SchemaProps: spec.SchemaProps{ 4854 Description: "Command-line arguments to run inside the container. Must have length at least 1.", 4855 Type: []string{"array"}, 4856 Items: &spec.SchemaOrArray{ 4857 Schema: &spec.Schema{ 4858 SchemaProps: spec.SchemaProps{ 4859 Default: "", 4860 Type: []string{"string"}, 4861 Format: "", 4862 }, 4863 }, 4864 }, 4865 }, 4866 }, 4867 "triggerPaths": { 4868 SchemaProps: spec.SchemaProps{ 4869 Description: "A list of relative paths that trigger this command exec.\n\nIf not specified, all file changes seen by the LiveUpdate trigger this exec.\n\nPaths are specified relative to the the BasePath of the LiveUpdate.", 4870 Type: []string{"array"}, 4871 Items: &spec.SchemaOrArray{ 4872 Schema: &spec.Schema{ 4873 SchemaProps: spec.SchemaProps{ 4874 Default: "", 4875 Type: []string{"string"}, 4876 Format: "", 4877 }, 4878 }, 4879 }, 4880 }, 4881 }, 4882 "echoOff": { 4883 SchemaProps: spec.SchemaProps{ 4884 Default: false, 4885 Type: []string{"boolean"}, 4886 Format: "", 4887 }, 4888 }, 4889 }, 4890 Required: []string{"args", "echoOff"}, 4891 }, 4892 }, 4893 } 4894 } 4895 4896 func schema_pkg_apis_core_v1alpha1_LiveUpdateKubernetesSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 4897 return common.OpenAPIDefinition{ 4898 Schema: spec.Schema{ 4899 SchemaProps: spec.SchemaProps{ 4900 Description: "Specifies how to select containers to live update inside K8s.", 4901 Type: []string{"object"}, 4902 Properties: map[string]spec.Schema{ 4903 "discoveryName": { 4904 SchemaProps: spec.SchemaProps{ 4905 Description: "The name of a KubernetesDiscovery object for finding pods.", 4906 Default: "", 4907 Type: []string{"string"}, 4908 Format: "", 4909 }, 4910 }, 4911 "applyName": { 4912 SchemaProps: spec.SchemaProps{ 4913 Description: "ApplyName is the name of a KubernetesApply object for filtering discovered pods to prevent updating old deployments.\n\nIf not provided, no filtering will be applied and all discovered Pods will be eligible for update.", 4914 Type: []string{"string"}, 4915 Format: "", 4916 }, 4917 }, 4918 "image": { 4919 SchemaProps: spec.SchemaProps{ 4920 Description: "Image specifies the name of the image that we're copying files into.\n\nDetermines which containers in a pod to live-update. Matches images by name unless tag is explicitly specified.\n\nExactly one of Image, ContainerName, or ImageMapName MUST be specified.", 4921 Type: []string{"string"}, 4922 Format: "", 4923 }, 4924 }, 4925 "containerName": { 4926 SchemaProps: spec.SchemaProps{ 4927 Description: "ContainerName specifies the name of the container that we're copying files into.\n\nExactly one of Image, ContainerName, or ImageMapName MUST be specified.", 4928 Type: []string{"string"}, 4929 Format: "", 4930 }, 4931 }, 4932 "imageMapName": { 4933 SchemaProps: spec.SchemaProps{ 4934 Description: "ImageMapName specifies the name of an ImageMapName object to use for determining the image we're copying files into.\n\nExactly one of Image, ContainerName, or ImageMapName MUST be specified.", 4935 Type: []string{"string"}, 4936 Format: "", 4937 }, 4938 }, 4939 }, 4940 Required: []string{"discoveryName"}, 4941 }, 4942 }, 4943 } 4944 } 4945 4946 func schema_pkg_apis_core_v1alpha1_LiveUpdateList(ref common.ReferenceCallback) common.OpenAPIDefinition { 4947 return common.OpenAPIDefinition{ 4948 Schema: spec.Schema{ 4949 SchemaProps: spec.SchemaProps{ 4950 Description: "LiveUpdateList", 4951 Type: []string{"object"}, 4952 Properties: map[string]spec.Schema{ 4953 "kind": { 4954 SchemaProps: spec.SchemaProps{ 4955 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/sig-architecture/api-conventions.md#types-kinds", 4956 Type: []string{"string"}, 4957 Format: "", 4958 }, 4959 }, 4960 "apiVersion": { 4961 SchemaProps: spec.SchemaProps{ 4962 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/sig-architecture/api-conventions.md#resources", 4963 Type: []string{"string"}, 4964 Format: "", 4965 }, 4966 }, 4967 "metadata": { 4968 SchemaProps: spec.SchemaProps{ 4969 Default: map[string]interface{}{}, 4970 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 4971 }, 4972 }, 4973 "items": { 4974 SchemaProps: spec.SchemaProps{ 4975 Type: []string{"array"}, 4976 Items: &spec.SchemaOrArray{ 4977 Schema: &spec.Schema{ 4978 SchemaProps: spec.SchemaProps{ 4979 Default: map[string]interface{}{}, 4980 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdate"), 4981 }, 4982 }, 4983 }, 4984 }, 4985 }, 4986 }, 4987 Required: []string{"items"}, 4988 }, 4989 }, 4990 Dependencies: []string{ 4991 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 4992 } 4993 } 4994 4995 func schema_pkg_apis_core_v1alpha1_LiveUpdateSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 4996 return common.OpenAPIDefinition{ 4997 Schema: spec.Schema{ 4998 SchemaProps: spec.SchemaProps{ 4999 Description: "Specifies how to select containers to live update.\n\nEvery live update must be associated with some object for finding containers. In the future, we expect there to be other types of container discovery objects (like Docker Compose container discovery).", 5000 Type: []string{"object"}, 5001 Properties: map[string]spec.Schema{ 5002 "kubernetes": { 5003 SchemaProps: spec.SchemaProps{ 5004 Description: "Finds containers in Kubernetes.", 5005 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateKubernetesSelector"), 5006 }, 5007 }, 5008 "dockerCompose": { 5009 SchemaProps: spec.SchemaProps{ 5010 Description: "Finds containers in Docker Compose.", 5011 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateDockerComposeSelector"), 5012 }, 5013 }, 5014 }, 5015 }, 5016 }, 5017 Dependencies: []string{ 5018 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateDockerComposeSelector", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateKubernetesSelector"}, 5019 } 5020 } 5021 5022 func schema_pkg_apis_core_v1alpha1_LiveUpdateSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 5023 return common.OpenAPIDefinition{ 5024 Schema: spec.Schema{ 5025 SchemaProps: spec.SchemaProps{ 5026 Description: "Specifies how to pull in files.", 5027 Type: []string{"object"}, 5028 Properties: map[string]spec.Schema{ 5029 "fileWatch": { 5030 SchemaProps: spec.SchemaProps{ 5031 Description: "The name of a FileWatch to use as a file source.", 5032 Type: []string{"string"}, 5033 Format: "", 5034 }, 5035 }, 5036 "imageMap": { 5037 SchemaProps: spec.SchemaProps{ 5038 Description: "Name of the ImageMap object to watch for which file changes from this source are included in the container image.\n\nIf not provided, the live-updater will copy any file changes that it's aware of, even if they're already included in the container.", 5039 Type: []string{"string"}, 5040 Format: "", 5041 }, 5042 }, 5043 }, 5044 }, 5045 }, 5046 } 5047 } 5048 5049 func schema_pkg_apis_core_v1alpha1_LiveUpdateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5050 return common.OpenAPIDefinition{ 5051 Schema: spec.Schema{ 5052 SchemaProps: spec.SchemaProps{ 5053 Description: "LiveUpdateSpec defines the desired state of LiveUpdate", 5054 Type: []string{"object"}, 5055 Properties: map[string]spec.Schema{ 5056 "basePath": { 5057 SchemaProps: spec.SchemaProps{ 5058 Description: "An absolute local path that serves as the basis for all path calculations.\n\nRelative paths in this object are calculated relative to the base path. It cannot be empty.", 5059 Default: "", 5060 Type: []string{"string"}, 5061 Format: "", 5062 }, 5063 }, 5064 "selector": { 5065 SchemaProps: spec.SchemaProps{ 5066 Description: "Specifies how this live-updater finds the containers that need live update.", 5067 Default: map[string]interface{}{}, 5068 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSelector"), 5069 }, 5070 }, 5071 "sources": { 5072 SchemaProps: spec.SchemaProps{ 5073 Description: "Sources of files to sync.\n\nEvery live update must be associated with at least one Source object to trigger the update. Usually, Tilt structures it so that there's a Source for each image we depend on.", 5074 Type: []string{"array"}, 5075 Items: &spec.SchemaOrArray{ 5076 Schema: &spec.Schema{ 5077 SchemaProps: spec.SchemaProps{ 5078 Default: map[string]interface{}{}, 5079 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSource"), 5080 }, 5081 }, 5082 }, 5083 }, 5084 }, 5085 "stopPaths": { 5086 SchemaProps: spec.SchemaProps{ 5087 Description: "A list of relative paths that will immediately stop the live-update for the current container.\n\nUsed to detect file changes that invalidate the entire container image, forcing a complete rebuild.", 5088 Type: []string{"array"}, 5089 Items: &spec.SchemaOrArray{ 5090 Schema: &spec.Schema{ 5091 SchemaProps: spec.SchemaProps{ 5092 Default: "", 5093 Type: []string{"string"}, 5094 Format: "", 5095 }, 5096 }, 5097 }, 5098 }, 5099 }, 5100 "syncs": { 5101 SchemaProps: spec.SchemaProps{ 5102 Description: "Specify paths that can be live-updated into the container and their destinations. Any file changes observed that do not match any of these will invalidate the container image and force a complete rebuild.", 5103 Type: []string{"array"}, 5104 Items: &spec.SchemaOrArray{ 5105 Schema: &spec.Schema{ 5106 SchemaProps: spec.SchemaProps{ 5107 Default: map[string]interface{}{}, 5108 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSync"), 5109 }, 5110 }, 5111 }, 5112 }, 5113 }, 5114 "execs": { 5115 SchemaProps: spec.SchemaProps{ 5116 Description: "A list of commands to run inside the container after files are synced.\n\nNB: In some documentation, we call these 'runs'. 'exec' more clearly matches kubectl exec for remote commands.", 5117 Type: []string{"array"}, 5118 Items: &spec.SchemaOrArray{ 5119 Schema: &spec.Schema{ 5120 SchemaProps: spec.SchemaProps{ 5121 Default: map[string]interface{}{}, 5122 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateExec"), 5123 }, 5124 }, 5125 }, 5126 }, 5127 }, 5128 "restart": { 5129 SchemaProps: spec.SchemaProps{ 5130 Description: "Specifies whether Tilt should try to natively restart the container in-place after syncs and execs.\n\nNote that native restarts are only supported by Docker and Docker Compose (and NOT docker-shim or containerd, the most common Kubernetes runtimes).\n\nTo restart on live-update in Kubernetes, see the guide for how to apply extensions to add restart behavior:\n\nhttps://docs.tilt.dev/live_update_reference.html", 5131 Type: []string{"string"}, 5132 Format: "", 5133 }, 5134 }, 5135 }, 5136 Required: []string{"basePath", "selector"}, 5137 }, 5138 }, 5139 Dependencies: []string{ 5140 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateExec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSelector", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSync"}, 5141 } 5142 } 5143 5144 func schema_pkg_apis_core_v1alpha1_LiveUpdateStateFailed(ref common.ReferenceCallback) common.OpenAPIDefinition { 5145 return common.OpenAPIDefinition{ 5146 Schema: spec.Schema{ 5147 SchemaProps: spec.SchemaProps{ 5148 Description: "If any of the containers are currently failing to process updates, the LiveUpdateStateFailed surfaces information about what's happening and what the live-updater is doing to fix the problem.", 5149 Type: []string{"object"}, 5150 Properties: map[string]spec.Schema{ 5151 "reason": { 5152 SchemaProps: spec.SchemaProps{ 5153 Description: "One word camel-case reason why we've reached a failure state.", 5154 Type: []string{"string"}, 5155 Format: "", 5156 }, 5157 }, 5158 "message": { 5159 SchemaProps: spec.SchemaProps{ 5160 Description: "Human-readable description of what's wrong.", 5161 Type: []string{"string"}, 5162 Format: "", 5163 }, 5164 }, 5165 "lastTransitionTime": { 5166 SchemaProps: spec.SchemaProps{ 5167 Description: "When the live-updater transitioned into a Failed state.", 5168 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 5169 }, 5170 }, 5171 }, 5172 }, 5173 }, 5174 Dependencies: []string{ 5175 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 5176 } 5177 } 5178 5179 func schema_pkg_apis_core_v1alpha1_LiveUpdateStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5180 return common.OpenAPIDefinition{ 5181 Schema: spec.Schema{ 5182 SchemaProps: spec.SchemaProps{ 5183 Description: "LiveUpdateStatus defines the observed state of LiveUpdate", 5184 Type: []string{"object"}, 5185 Properties: map[string]spec.Schema{ 5186 "containers": { 5187 SchemaProps: spec.SchemaProps{ 5188 Description: "A list of all containers that the live-updater is currently connected to.", 5189 Type: []string{"array"}, 5190 Items: &spec.SchemaOrArray{ 5191 Schema: &spec.Schema{ 5192 SchemaProps: spec.SchemaProps{ 5193 Default: map[string]interface{}{}, 5194 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStatus"), 5195 }, 5196 }, 5197 }, 5198 }, 5199 }, 5200 "failed": { 5201 SchemaProps: spec.SchemaProps{ 5202 Description: "If any of the containers are currently failing to process updates, the Failed state surfaces information about what's happening and what the live-updater is doing to fix the problem.\n\nIf all containers are updating successfully, Failed will be nil.", 5203 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStateFailed"), 5204 }, 5205 }, 5206 }, 5207 }, 5208 }, 5209 Dependencies: []string{ 5210 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStateFailed"}, 5211 } 5212 } 5213 5214 func schema_pkg_apis_core_v1alpha1_LiveUpdateSync(ref common.ReferenceCallback) common.OpenAPIDefinition { 5215 return common.OpenAPIDefinition{ 5216 Schema: spec.Schema{ 5217 SchemaProps: spec.SchemaProps{ 5218 Description: "Determines how a local path maps into a container image.", 5219 Type: []string{"object"}, 5220 Properties: map[string]spec.Schema{ 5221 "localPath": { 5222 SchemaProps: spec.SchemaProps{ 5223 Description: "A relative path to local files. Required.\n\nComputed relative to the live-update BasePath.", 5224 Default: "", 5225 Type: []string{"string"}, 5226 Format: "", 5227 }, 5228 }, 5229 "containerPath": { 5230 SchemaProps: spec.SchemaProps{ 5231 Description: "An absolute path inside the container. Required.", 5232 Default: "", 5233 Type: []string{"string"}, 5234 Format: "", 5235 }, 5236 }, 5237 }, 5238 Required: []string{"localPath", "containerPath"}, 5239 }, 5240 }, 5241 } 5242 } 5243 5244 func schema_pkg_apis_core_v1alpha1_ObjectSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 5245 return common.OpenAPIDefinition{ 5246 Schema: spec.Schema{ 5247 SchemaProps: spec.SchemaProps{ 5248 Description: "Selector for any Kubernetes-style API.", 5249 Type: []string{"object"}, 5250 Properties: map[string]spec.Schema{ 5251 "apiVersionRegexp": { 5252 SchemaProps: spec.SchemaProps{ 5253 Description: "A regular expression apiVersion match.", 5254 Type: []string{"string"}, 5255 Format: "", 5256 }, 5257 }, 5258 "kindRegexp": { 5259 SchemaProps: spec.SchemaProps{ 5260 Description: "A regular expression kind match.", 5261 Type: []string{"string"}, 5262 Format: "", 5263 }, 5264 }, 5265 "nameRegexp": { 5266 SchemaProps: spec.SchemaProps{ 5267 Description: "A regular expression name match.", 5268 Type: []string{"string"}, 5269 Format: "", 5270 }, 5271 }, 5272 "namespaceRegexp": { 5273 SchemaProps: spec.SchemaProps{ 5274 Description: "A regular expression namespace match.", 5275 Type: []string{"string"}, 5276 Format: "", 5277 }, 5278 }, 5279 }, 5280 }, 5281 }, 5282 } 5283 } 5284 5285 func schema_pkg_apis_core_v1alpha1_Pod(ref common.ReferenceCallback) common.OpenAPIDefinition { 5286 return common.OpenAPIDefinition{ 5287 Schema: spec.Schema{ 5288 SchemaProps: spec.SchemaProps{ 5289 Description: "Pod is a collection of containers that can run on a host.\n\nThe Tilt API representation mirrors the Kubernetes API very closely. Irrelevant data is not included, and some fields might be simplified.\n\nThere might also be Tilt-specific status fields.", 5290 Type: []string{"object"}, 5291 Properties: map[string]spec.Schema{ 5292 "uid": { 5293 SchemaProps: spec.SchemaProps{ 5294 Description: "UID is the unique Pod UID within the K8s cluster.", 5295 Default: "", 5296 Type: []string{"string"}, 5297 Format: "", 5298 }, 5299 }, 5300 "name": { 5301 SchemaProps: spec.SchemaProps{ 5302 Description: "Name is the Pod name within the K8s cluster.", 5303 Default: "", 5304 Type: []string{"string"}, 5305 Format: "", 5306 }, 5307 }, 5308 "namespace": { 5309 SchemaProps: spec.SchemaProps{ 5310 Description: "Namespace is the Pod namespace within the K8s cluster.", 5311 Default: "", 5312 Type: []string{"string"}, 5313 Format: "", 5314 }, 5315 }, 5316 "createdAt": { 5317 SchemaProps: spec.SchemaProps{ 5318 Description: "CreatedAt is when the Pod was created.", 5319 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5320 }, 5321 }, 5322 "phase": { 5323 SchemaProps: spec.SchemaProps{ 5324 Description: "Phase is where the Pod is at in its current lifecycle.\n\nValid values for this are v1.PodPhase values from the Kubernetes API.", 5325 Default: "", 5326 Type: []string{"string"}, 5327 Format: "", 5328 }, 5329 }, 5330 "deleting": { 5331 SchemaProps: spec.SchemaProps{ 5332 Description: "Deleting indicates that the Pod is in the process of being removed.", 5333 Default: false, 5334 Type: []string{"boolean"}, 5335 Format: "", 5336 }, 5337 }, 5338 "conditions": { 5339 SchemaProps: spec.SchemaProps{ 5340 Description: "Conditions are various lifecycle conditions for this Pod.\n\nSee also v1.PodCondition in the Kubernetes API.", 5341 Type: []string{"array"}, 5342 Items: &spec.SchemaOrArray{ 5343 Schema: &spec.Schema{ 5344 SchemaProps: spec.SchemaProps{ 5345 Default: map[string]interface{}{}, 5346 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodCondition"), 5347 }, 5348 }, 5349 }, 5350 }, 5351 }, 5352 "initContainers": { 5353 SchemaProps: spec.SchemaProps{ 5354 Description: "InitContainers are containers executed prior to the Pod containers being executed.", 5355 Type: []string{"array"}, 5356 Items: &spec.SchemaOrArray{ 5357 Schema: &spec.Schema{ 5358 SchemaProps: spec.SchemaProps{ 5359 Default: map[string]interface{}{}, 5360 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Container"), 5361 }, 5362 }, 5363 }, 5364 }, 5365 }, 5366 "containers": { 5367 SchemaProps: spec.SchemaProps{ 5368 Description: "Containers are the containers belonging to the Pod.", 5369 Type: []string{"array"}, 5370 Items: &spec.SchemaOrArray{ 5371 Schema: &spec.Schema{ 5372 SchemaProps: spec.SchemaProps{ 5373 Default: map[string]interface{}{}, 5374 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Container"), 5375 }, 5376 }, 5377 }, 5378 }, 5379 }, 5380 "ancestorUID": { 5381 SchemaProps: spec.SchemaProps{ 5382 Description: "AncestorUID is the UID from the WatchRef that matched this Pod.\n\nIf the Pod matched based on extra label selectors, this will be empty.", 5383 Type: []string{"string"}, 5384 Format: "", 5385 }, 5386 }, 5387 "podTemplateSpecHash": { 5388 SchemaProps: spec.SchemaProps{ 5389 Description: "PodTemplateSpecHash is a hash of the Pod template spec.\n\nTilt uses this to associate Pods with the build that triggered them.", 5390 Type: []string{"string"}, 5391 Format: "", 5392 }, 5393 }, 5394 "status": { 5395 SchemaProps: spec.SchemaProps{ 5396 Description: "Status is a concise description for the Pod's current state.\n\nThis is based off the status output from `kubectl get pod` and is not an \"enum-like\" value.", 5397 Default: "", 5398 Type: []string{"string"}, 5399 Format: "", 5400 }, 5401 }, 5402 "errors": { 5403 SchemaProps: spec.SchemaProps{ 5404 Description: "Errors are aggregated error messages for the Pod and its containers.", 5405 Type: []string{"array"}, 5406 Items: &spec.SchemaOrArray{ 5407 Schema: &spec.Schema{ 5408 SchemaProps: spec.SchemaProps{ 5409 Default: "", 5410 Type: []string{"string"}, 5411 Format: "", 5412 }, 5413 }, 5414 }, 5415 }, 5416 }, 5417 "owner": { 5418 SchemaProps: spec.SchemaProps{ 5419 Description: "Direct owner of this pod, if available.", 5420 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodOwner"), 5421 }, 5422 }, 5423 }, 5424 Required: []string{"uid", "name", "namespace", "createdAt", "phase", "deleting", "containers", "status", "errors"}, 5425 }, 5426 }, 5427 Dependencies: []string{ 5428 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Container", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodCondition", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodOwner", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5429 } 5430 } 5431 5432 func schema_pkg_apis_core_v1alpha1_PodCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 5433 return common.OpenAPIDefinition{ 5434 Schema: spec.Schema{ 5435 SchemaProps: spec.SchemaProps{ 5436 Description: "PodCondition is a lifecycle condition for a Pod.", 5437 Type: []string{"object"}, 5438 Properties: map[string]spec.Schema{ 5439 "type": { 5440 SchemaProps: spec.SchemaProps{ 5441 Description: "Type is the type of condition.\n\nValid values for this are v1.PodConditionType values from the Kubernetes API.", 5442 Default: "", 5443 Type: []string{"string"}, 5444 Format: "", 5445 }, 5446 }, 5447 "status": { 5448 SchemaProps: spec.SchemaProps{ 5449 Description: "Status is the current state of the condition (True, False, or Unknown).\n\nValid values for this are v1.PodConditionStatus values from the Kubernetes API.", 5450 Default: "", 5451 Type: []string{"string"}, 5452 Format: "", 5453 }, 5454 }, 5455 "lastTransitionTime": { 5456 SchemaProps: spec.SchemaProps{ 5457 Description: "LastTransitionTime is the last time the status changed.", 5458 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5459 }, 5460 }, 5461 "reason": { 5462 SchemaProps: spec.SchemaProps{ 5463 Description: "Reason is a unique, one-word, CamelCase value for the cause of the last status change.", 5464 Type: []string{"string"}, 5465 Format: "", 5466 }, 5467 }, 5468 "message": { 5469 SchemaProps: spec.SchemaProps{ 5470 Description: "Message is a human-readable description of the last status change.", 5471 Type: []string{"string"}, 5472 Format: "", 5473 }, 5474 }, 5475 }, 5476 Required: []string{"type", "status"}, 5477 }, 5478 }, 5479 Dependencies: []string{ 5480 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5481 } 5482 } 5483 5484 func schema_pkg_apis_core_v1alpha1_PodLogStream(ref common.ReferenceCallback) common.OpenAPIDefinition { 5485 return common.OpenAPIDefinition{ 5486 Schema: spec.Schema{ 5487 SchemaProps: spec.SchemaProps{ 5488 Description: "PodLogStream\n\nStreams logs from a pod on Kubernetes into the core Tilt engine.", 5489 Type: []string{"object"}, 5490 Properties: map[string]spec.Schema{ 5491 "kind": { 5492 SchemaProps: spec.SchemaProps{ 5493 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/sig-architecture/api-conventions.md#types-kinds", 5494 Type: []string{"string"}, 5495 Format: "", 5496 }, 5497 }, 5498 "apiVersion": { 5499 SchemaProps: spec.SchemaProps{ 5500 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/sig-architecture/api-conventions.md#resources", 5501 Type: []string{"string"}, 5502 Format: "", 5503 }, 5504 }, 5505 "metadata": { 5506 SchemaProps: spec.SchemaProps{ 5507 Default: map[string]interface{}{}, 5508 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 5509 }, 5510 }, 5511 "spec": { 5512 SchemaProps: spec.SchemaProps{ 5513 Default: map[string]interface{}{}, 5514 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamSpec"), 5515 }, 5516 }, 5517 "status": { 5518 SchemaProps: spec.SchemaProps{ 5519 Default: map[string]interface{}{}, 5520 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamStatus"), 5521 }, 5522 }, 5523 }, 5524 }, 5525 }, 5526 Dependencies: []string{ 5527 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 5528 } 5529 } 5530 5531 func schema_pkg_apis_core_v1alpha1_PodLogStreamList(ref common.ReferenceCallback) common.OpenAPIDefinition { 5532 return common.OpenAPIDefinition{ 5533 Schema: spec.Schema{ 5534 SchemaProps: spec.SchemaProps{ 5535 Description: "PodLogStreamList", 5536 Type: []string{"object"}, 5537 Properties: map[string]spec.Schema{ 5538 "kind": { 5539 SchemaProps: spec.SchemaProps{ 5540 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/sig-architecture/api-conventions.md#types-kinds", 5541 Type: []string{"string"}, 5542 Format: "", 5543 }, 5544 }, 5545 "apiVersion": { 5546 SchemaProps: spec.SchemaProps{ 5547 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/sig-architecture/api-conventions.md#resources", 5548 Type: []string{"string"}, 5549 Format: "", 5550 }, 5551 }, 5552 "metadata": { 5553 SchemaProps: spec.SchemaProps{ 5554 Default: map[string]interface{}{}, 5555 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 5556 }, 5557 }, 5558 "items": { 5559 SchemaProps: spec.SchemaProps{ 5560 Type: []string{"array"}, 5561 Items: &spec.SchemaOrArray{ 5562 Schema: &spec.Schema{ 5563 SchemaProps: spec.SchemaProps{ 5564 Default: map[string]interface{}{}, 5565 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStream"), 5566 }, 5567 }, 5568 }, 5569 }, 5570 }, 5571 }, 5572 Required: []string{"items"}, 5573 }, 5574 }, 5575 Dependencies: []string{ 5576 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStream", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 5577 } 5578 } 5579 5580 func schema_pkg_apis_core_v1alpha1_PodLogStreamSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5581 return common.OpenAPIDefinition{ 5582 Schema: spec.Schema{ 5583 SchemaProps: spec.SchemaProps{ 5584 Description: "PodLogStreamSpec defines the desired state of PodLogStream\n\nTranslated into a PodLog query to the current Kubernetes cluster: https://pkg.go.dev/k8s.io/api/core/v1#PodLogOptions\n\nwhich Kubernetes context to use?", 5585 Type: []string{"object"}, 5586 Properties: map[string]spec.Schema{ 5587 "pod": { 5588 SchemaProps: spec.SchemaProps{ 5589 Description: "The name of the pod to watch. Required.", 5590 Type: []string{"string"}, 5591 Format: "", 5592 }, 5593 }, 5594 "namespace": { 5595 SchemaProps: spec.SchemaProps{ 5596 Description: "The namespace of the pod to watch. Defaults to the kubecontext default namespace.", 5597 Type: []string{"string"}, 5598 Format: "", 5599 }, 5600 }, 5601 "sinceTime": { 5602 SchemaProps: spec.SchemaProps{ 5603 Description: "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned.\n\nTranslates directly to the underlying PodLogOptions.", 5604 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5605 }, 5606 }, 5607 "onlyContainers": { 5608 SchemaProps: spec.SchemaProps{ 5609 Description: "The names of containers to include in the stream.\n\nIf `onlyContainers` and `ignoreContainers` are not set, will watch all containers in the pod.", 5610 Type: []string{"array"}, 5611 Items: &spec.SchemaOrArray{ 5612 Schema: &spec.Schema{ 5613 SchemaProps: spec.SchemaProps{ 5614 Default: "", 5615 Type: []string{"string"}, 5616 Format: "", 5617 }, 5618 }, 5619 }, 5620 }, 5621 }, 5622 "ignoreContainers": { 5623 SchemaProps: spec.SchemaProps{ 5624 Description: "The names of containers to exclude from the stream.\n\nIf `onlyContainers` and `ignoreContainers` are not set, will watch all containers in the pod.", 5625 Type: []string{"array"}, 5626 Items: &spec.SchemaOrArray{ 5627 Schema: &spec.Schema{ 5628 SchemaProps: spec.SchemaProps{ 5629 Default: "", 5630 Type: []string{"string"}, 5631 Format: "", 5632 }, 5633 }, 5634 }, 5635 }, 5636 }, 5637 "cluster": { 5638 SchemaProps: spec.SchemaProps{ 5639 Description: "Cluster the Pod belongs to.\n\nIf not provided, \"default\" will be used.", 5640 Default: "", 5641 Type: []string{"string"}, 5642 Format: "", 5643 }, 5644 }, 5645 }, 5646 }, 5647 }, 5648 Dependencies: []string{ 5649 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5650 } 5651 } 5652 5653 func schema_pkg_apis_core_v1alpha1_PodLogStreamStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5654 return common.OpenAPIDefinition{ 5655 Schema: spec.Schema{ 5656 SchemaProps: spec.SchemaProps{ 5657 Description: "PodLogStreamStatus defines the observed state of PodLogStream", 5658 Type: []string{"object"}, 5659 Properties: map[string]spec.Schema{ 5660 "containerStatuses": { 5661 SchemaProps: spec.SchemaProps{ 5662 Description: "A list of containers being watched.", 5663 Type: []string{"array"}, 5664 Items: &spec.SchemaOrArray{ 5665 Schema: &spec.Schema{ 5666 SchemaProps: spec.SchemaProps{ 5667 Default: map[string]interface{}{}, 5668 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerLogStreamStatus"), 5669 }, 5670 }, 5671 }, 5672 }, 5673 }, 5674 "error": { 5675 SchemaProps: spec.SchemaProps{ 5676 Description: "Error message encountered while setting up the stream.", 5677 Type: []string{"string"}, 5678 Format: "", 5679 }, 5680 }, 5681 }, 5682 }, 5683 }, 5684 Dependencies: []string{ 5685 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerLogStreamStatus"}, 5686 } 5687 } 5688 5689 func schema_pkg_apis_core_v1alpha1_PodLogStreamTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5690 return common.OpenAPIDefinition{ 5691 Schema: spec.Schema{ 5692 SchemaProps: spec.SchemaProps{ 5693 Description: "PodLogStreamTemplateSpec describes common attributes for PodLogStreams that can be shared across pods.", 5694 Type: []string{"object"}, 5695 Properties: map[string]spec.Schema{ 5696 "sinceTime": { 5697 SchemaProps: spec.SchemaProps{ 5698 Description: "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned.\n\nTranslates directly to the underlying PodLogOptions.", 5699 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5700 }, 5701 }, 5702 "onlyContainers": { 5703 SchemaProps: spec.SchemaProps{ 5704 Description: "The names of containers to include in the stream.\n\nIf `onlyContainers` and `ignoreContainers` are not set, will watch all containers in the pod.", 5705 Type: []string{"array"}, 5706 Items: &spec.SchemaOrArray{ 5707 Schema: &spec.Schema{ 5708 SchemaProps: spec.SchemaProps{ 5709 Default: "", 5710 Type: []string{"string"}, 5711 Format: "", 5712 }, 5713 }, 5714 }, 5715 }, 5716 }, 5717 "ignoreContainers": { 5718 SchemaProps: spec.SchemaProps{ 5719 Description: "The names of containers to exclude from the stream.\n\nIf `onlyContainers` and `ignoreContainers` are not set, will watch all containers in the pod.", 5720 Type: []string{"array"}, 5721 Items: &spec.SchemaOrArray{ 5722 Schema: &spec.Schema{ 5723 SchemaProps: spec.SchemaProps{ 5724 Default: "", 5725 Type: []string{"string"}, 5726 Format: "", 5727 }, 5728 }, 5729 }, 5730 }, 5731 }, 5732 }, 5733 }, 5734 }, 5735 Dependencies: []string{ 5736 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5737 } 5738 } 5739 5740 func schema_pkg_apis_core_v1alpha1_PodOwner(ref common.ReferenceCallback) common.OpenAPIDefinition { 5741 return common.OpenAPIDefinition{ 5742 Schema: spec.Schema{ 5743 SchemaProps: spec.SchemaProps{ 5744 Description: "PodOwner contains information of the direct owner of the pod, if available.\n\nTools that need to select a most relevant pod or set of pods can use this info to group pods by owner.", 5745 Type: []string{"object"}, 5746 Properties: map[string]spec.Schema{ 5747 "name": { 5748 SchemaProps: spec.SchemaProps{ 5749 Description: "The name of the owner.", 5750 Default: "", 5751 Type: []string{"string"}, 5752 Format: "", 5753 }, 5754 }, 5755 "apiVersion": { 5756 SchemaProps: spec.SchemaProps{ 5757 Description: "API version of the owner.", 5758 Default: "", 5759 Type: []string{"string"}, 5760 Format: "", 5761 }, 5762 }, 5763 "kind": { 5764 SchemaProps: spec.SchemaProps{ 5765 Description: "Kind of the owner More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 5766 Default: "", 5767 Type: []string{"string"}, 5768 Format: "", 5769 }, 5770 }, 5771 "creationTimestamp": { 5772 SchemaProps: spec.SchemaProps{ 5773 Description: "The creation timestamp of the owner.", 5774 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5775 }, 5776 }, 5777 }, 5778 Required: []string{"name", "apiVersion", "kind"}, 5779 }, 5780 }, 5781 Dependencies: []string{ 5782 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5783 } 5784 } 5785 5786 func schema_pkg_apis_core_v1alpha1_PortForward(ref common.ReferenceCallback) common.OpenAPIDefinition { 5787 return common.OpenAPIDefinition{ 5788 Schema: spec.Schema{ 5789 SchemaProps: spec.SchemaProps{ 5790 Description: "PortForward", 5791 Type: []string{"object"}, 5792 Properties: map[string]spec.Schema{ 5793 "kind": { 5794 SchemaProps: spec.SchemaProps{ 5795 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/sig-architecture/api-conventions.md#types-kinds", 5796 Type: []string{"string"}, 5797 Format: "", 5798 }, 5799 }, 5800 "apiVersion": { 5801 SchemaProps: spec.SchemaProps{ 5802 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/sig-architecture/api-conventions.md#resources", 5803 Type: []string{"string"}, 5804 Format: "", 5805 }, 5806 }, 5807 "metadata": { 5808 SchemaProps: spec.SchemaProps{ 5809 Default: map[string]interface{}{}, 5810 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 5811 }, 5812 }, 5813 "spec": { 5814 SchemaProps: spec.SchemaProps{ 5815 Default: map[string]interface{}{}, 5816 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardSpec"), 5817 }, 5818 }, 5819 "status": { 5820 SchemaProps: spec.SchemaProps{ 5821 Default: map[string]interface{}{}, 5822 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardStatus"), 5823 }, 5824 }, 5825 }, 5826 }, 5827 }, 5828 Dependencies: []string{ 5829 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 5830 } 5831 } 5832 5833 func schema_pkg_apis_core_v1alpha1_PortForwardList(ref common.ReferenceCallback) common.OpenAPIDefinition { 5834 return common.OpenAPIDefinition{ 5835 Schema: spec.Schema{ 5836 SchemaProps: spec.SchemaProps{ 5837 Description: "PortForwardList", 5838 Type: []string{"object"}, 5839 Properties: map[string]spec.Schema{ 5840 "kind": { 5841 SchemaProps: spec.SchemaProps{ 5842 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/sig-architecture/api-conventions.md#types-kinds", 5843 Type: []string{"string"}, 5844 Format: "", 5845 }, 5846 }, 5847 "apiVersion": { 5848 SchemaProps: spec.SchemaProps{ 5849 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/sig-architecture/api-conventions.md#resources", 5850 Type: []string{"string"}, 5851 Format: "", 5852 }, 5853 }, 5854 "metadata": { 5855 SchemaProps: spec.SchemaProps{ 5856 Default: map[string]interface{}{}, 5857 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 5858 }, 5859 }, 5860 "items": { 5861 SchemaProps: spec.SchemaProps{ 5862 Type: []string{"array"}, 5863 Items: &spec.SchemaOrArray{ 5864 Schema: &spec.Schema{ 5865 SchemaProps: spec.SchemaProps{ 5866 Default: map[string]interface{}{}, 5867 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForward"), 5868 }, 5869 }, 5870 }, 5871 }, 5872 }, 5873 }, 5874 Required: []string{"items"}, 5875 }, 5876 }, 5877 Dependencies: []string{ 5878 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForward", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 5879 } 5880 } 5881 5882 func schema_pkg_apis_core_v1alpha1_PortForwardSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5883 return common.OpenAPIDefinition{ 5884 Schema: spec.Schema{ 5885 SchemaProps: spec.SchemaProps{ 5886 Description: "PortForwardSpec defines the desired state of PortForward", 5887 Type: []string{"object"}, 5888 Properties: map[string]spec.Schema{ 5889 "podName": { 5890 SchemaProps: spec.SchemaProps{ 5891 Description: "The name of the pod to port forward to/from. Required.", 5892 Default: "", 5893 Type: []string{"string"}, 5894 Format: "", 5895 }, 5896 }, 5897 "namespace": { 5898 SchemaProps: spec.SchemaProps{ 5899 Description: "The namespace of the pod to port forward to/from. Defaults to the kubecontext default namespace.", 5900 Type: []string{"string"}, 5901 Format: "", 5902 }, 5903 }, 5904 "forwards": { 5905 SchemaProps: spec.SchemaProps{ 5906 Description: "One or more port forwards to execute on the given pod. Required.", 5907 Type: []string{"array"}, 5908 Items: &spec.SchemaOrArray{ 5909 Schema: &spec.Schema{ 5910 SchemaProps: spec.SchemaProps{ 5911 Default: map[string]interface{}{}, 5912 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"), 5913 }, 5914 }, 5915 }, 5916 }, 5917 }, 5918 "cluster": { 5919 SchemaProps: spec.SchemaProps{ 5920 Description: "Cluster to forward ports from to the local machine.\n\nIf not specified, the default Kubernetes cluster will be used.", 5921 Default: "", 5922 Type: []string{"string"}, 5923 Format: "", 5924 }, 5925 }, 5926 }, 5927 Required: []string{"podName", "forwards"}, 5928 }, 5929 }, 5930 Dependencies: []string{ 5931 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"}, 5932 } 5933 } 5934 5935 func schema_pkg_apis_core_v1alpha1_PortForwardStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5936 return common.OpenAPIDefinition{ 5937 Schema: spec.Schema{ 5938 SchemaProps: spec.SchemaProps{ 5939 Description: "PortForwardStatus defines the observed state of PortForward", 5940 Type: []string{"object"}, 5941 Properties: map[string]spec.Schema{ 5942 "forwardStatuses": { 5943 SchemaProps: spec.SchemaProps{ 5944 Type: []string{"array"}, 5945 Items: &spec.SchemaOrArray{ 5946 Schema: &spec.Schema{ 5947 SchemaProps: spec.SchemaProps{ 5948 Default: map[string]interface{}{}, 5949 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ForwardStatus"), 5950 }, 5951 }, 5952 }, 5953 }, 5954 }, 5955 }, 5956 }, 5957 }, 5958 Dependencies: []string{ 5959 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ForwardStatus"}, 5960 } 5961 } 5962 5963 func schema_pkg_apis_core_v1alpha1_PortForwardTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5964 return common.OpenAPIDefinition{ 5965 Schema: spec.Schema{ 5966 SchemaProps: spec.SchemaProps{ 5967 Description: "PortForwardTemplateSpec describes common attributes for PortForwards that can be shared across pods.", 5968 Type: []string{"object"}, 5969 Properties: map[string]spec.Schema{ 5970 "forwards": { 5971 SchemaProps: spec.SchemaProps{ 5972 Description: "One or more port forwards to execute on the given pod. Required.", 5973 Type: []string{"array"}, 5974 Items: &spec.SchemaOrArray{ 5975 Schema: &spec.Schema{ 5976 SchemaProps: spec.SchemaProps{ 5977 Default: map[string]interface{}{}, 5978 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"), 5979 }, 5980 }, 5981 }, 5982 }, 5983 }, 5984 }, 5985 Required: []string{"forwards"}, 5986 }, 5987 }, 5988 Dependencies: []string{ 5989 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"}, 5990 } 5991 } 5992 5993 func schema_pkg_apis_core_v1alpha1_Probe(ref common.ReferenceCallback) common.OpenAPIDefinition { 5994 return common.OpenAPIDefinition{ 5995 Schema: spec.Schema{ 5996 SchemaProps: spec.SchemaProps{ 5997 Description: "Probe describes a health check to be performed to determine whether it is alive or ready to receive traffic.", 5998 Type: []string{"object"}, 5999 Properties: map[string]spec.Schema{ 6000 "exec": { 6001 SchemaProps: spec.SchemaProps{ 6002 Description: "One and only one of the following should be specified. Exec specifies the action to take.", 6003 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExecAction"), 6004 }, 6005 }, 6006 "httpGet": { 6007 SchemaProps: spec.SchemaProps{ 6008 Description: "HTTPGet specifies the http request to perform.", 6009 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPGetAction"), 6010 }, 6011 }, 6012 "tcpSocket": { 6013 SchemaProps: spec.SchemaProps{ 6014 Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", 6015 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TCPSocketAction"), 6016 }, 6017 }, 6018 "initialDelaySeconds": { 6019 SchemaProps: spec.SchemaProps{ 6020 Description: "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", 6021 Type: []string{"integer"}, 6022 Format: "int32", 6023 }, 6024 }, 6025 "timeoutSeconds": { 6026 SchemaProps: spec.SchemaProps{ 6027 Description: "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", 6028 Type: []string{"integer"}, 6029 Format: "int32", 6030 }, 6031 }, 6032 "periodSeconds": { 6033 SchemaProps: spec.SchemaProps{ 6034 Description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", 6035 Type: []string{"integer"}, 6036 Format: "int32", 6037 }, 6038 }, 6039 "successThreshold": { 6040 SchemaProps: spec.SchemaProps{ 6041 Description: "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.", 6042 Type: []string{"integer"}, 6043 Format: "int32", 6044 }, 6045 }, 6046 "failureThreshold": { 6047 SchemaProps: spec.SchemaProps{ 6048 Description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", 6049 Type: []string{"integer"}, 6050 Format: "int32", 6051 }, 6052 }, 6053 }, 6054 }, 6055 }, 6056 Dependencies: []string{ 6057 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExecAction", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPGetAction", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TCPSocketAction"}, 6058 } 6059 } 6060 6061 func schema_pkg_apis_core_v1alpha1_RegistryHosting(ref common.ReferenceCallback) common.OpenAPIDefinition { 6062 return common.OpenAPIDefinition{ 6063 Schema: spec.Schema{ 6064 SchemaProps: spec.SchemaProps{ 6065 Type: []string{"object"}, 6066 Properties: map[string]spec.Schema{ 6067 "host": { 6068 SchemaProps: spec.SchemaProps{ 6069 Description: "Host documents the host (hostname and port) of the registry, as seen from outside the cluster.\n\nThis is the registry host that tools outside the cluster should push images to.", 6070 Default: "", 6071 Type: []string{"string"}, 6072 Format: "", 6073 }, 6074 }, 6075 "hostFromClusterNetwork": { 6076 SchemaProps: spec.SchemaProps{ 6077 Description: "HostFromClusterNetwork documents the host (hostname and port) of the registry, as seen from networking inside the container pods.\n\nThis is the registry host that tools running on pods inside the cluster should push images to. If not set, then tools inside the cluster should assume the local registry is not available to them.", 6078 Type: []string{"string"}, 6079 Format: "", 6080 }, 6081 }, 6082 "hostFromContainerRuntime": { 6083 SchemaProps: spec.SchemaProps{ 6084 Description: "HostFromContainerRuntime documents the host (hostname and port) of the registry, as seen from the cluster's container runtime.\n\nWhen tools apply Kubernetes objects to the cluster, this host should be used for image name fields. If not set, users of this field should use the value of Host instead.\n\nNote that it doesn't make sense semantically to define this field, but not define Host or HostFromClusterNetwork. That would imply a way to pull images without a way to push images.", 6085 Type: []string{"string"}, 6086 Format: "", 6087 }, 6088 }, 6089 "help": { 6090 SchemaProps: spec.SchemaProps{ 6091 Description: "Help contains a URL pointing to documentation for users on how to set up and configure a local registry.\n\nTools can use this to nudge users to enable the registry. When possible, the writer should use as permanent a URL as possible to prevent drift (e.g., a version control SHA).\n\nWhen image pushes to a registry host specified in one of the other fields fail, the tool should display this help URL to the user. The help URL should contain instructions on how to diagnose broken or misconfigured registries.", 6092 Type: []string{"string"}, 6093 Format: "", 6094 }, 6095 }, 6096 "singleName": { 6097 SchemaProps: spec.SchemaProps{ 6098 Description: "SingleName uses a shared image name for _all_ Tilt-built images and relies on tags to distinguish between logically distinct images.\n\nThis is most commonly used with Amazon Elastic Container Registry (ECR), which works differently than other image registries.\n\nAn ECR host takes the form https://aws_account_id.dkr.ecr.region.amazonaws.com. Each image name in that registry must be pre-created ಠ_ಠand assigned IAM permissions. For example: https://aws_account_id.dkr.ecr.region.amazonaws.com/my-repo (They call this a repo).\n\nFor this reason, some users using ECR prefer to push all images to a single image name (ECR repo).\n\nA recommended pattern here is to create a \"personal\" image repo for each user during development.\n\nSee: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html https://github.com/tilt-dev/tilt/issues/2419", 6099 Type: []string{"string"}, 6100 Format: "", 6101 }, 6102 }, 6103 }, 6104 Required: []string{"host"}, 6105 }, 6106 }, 6107 } 6108 } 6109 6110 func schema_pkg_apis_core_v1alpha1_RestartOnSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6111 return common.OpenAPIDefinition{ 6112 Schema: spec.Schema{ 6113 SchemaProps: spec.SchemaProps{ 6114 Description: "RestartOnSpec indicates the set of objects that can trigger a restart of this object.", 6115 Type: []string{"object"}, 6116 Properties: map[string]spec.Schema{ 6117 "fileWatches": { 6118 SchemaProps: spec.SchemaProps{ 6119 Description: "FileWatches that can trigger a restart.", 6120 Type: []string{"array"}, 6121 Items: &spec.SchemaOrArray{ 6122 Schema: &spec.Schema{ 6123 SchemaProps: spec.SchemaProps{ 6124 Default: "", 6125 Type: []string{"string"}, 6126 Format: "", 6127 }, 6128 }, 6129 }, 6130 }, 6131 }, 6132 "uiButtons": { 6133 SchemaProps: spec.SchemaProps{ 6134 Description: "UIButtons that can trigger a restart.", 6135 Type: []string{"array"}, 6136 Items: &spec.SchemaOrArray{ 6137 Schema: &spec.Schema{ 6138 SchemaProps: spec.SchemaProps{ 6139 Default: "", 6140 Type: []string{"string"}, 6141 Format: "", 6142 }, 6143 }, 6144 }, 6145 }, 6146 }, 6147 }, 6148 }, 6149 }, 6150 } 6151 } 6152 6153 func schema_pkg_apis_core_v1alpha1_Session(ref common.ReferenceCallback) common.OpenAPIDefinition { 6154 return common.OpenAPIDefinition{ 6155 Schema: spec.Schema{ 6156 SchemaProps: spec.SchemaProps{ 6157 Description: "Session provides introspective data about the status of the Tilt process.", 6158 Type: []string{"object"}, 6159 Properties: map[string]spec.Schema{ 6160 "kind": { 6161 SchemaProps: spec.SchemaProps{ 6162 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/sig-architecture/api-conventions.md#types-kinds", 6163 Type: []string{"string"}, 6164 Format: "", 6165 }, 6166 }, 6167 "apiVersion": { 6168 SchemaProps: spec.SchemaProps{ 6169 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/sig-architecture/api-conventions.md#resources", 6170 Type: []string{"string"}, 6171 Format: "", 6172 }, 6173 }, 6174 "metadata": { 6175 SchemaProps: spec.SchemaProps{ 6176 Default: map[string]interface{}{}, 6177 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 6178 }, 6179 }, 6180 "spec": { 6181 SchemaProps: spec.SchemaProps{ 6182 Default: map[string]interface{}{}, 6183 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionSpec"), 6184 }, 6185 }, 6186 "status": { 6187 SchemaProps: spec.SchemaProps{ 6188 Default: map[string]interface{}{}, 6189 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionStatus"), 6190 }, 6191 }, 6192 }, 6193 }, 6194 }, 6195 Dependencies: []string{ 6196 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 6197 } 6198 } 6199 6200 func schema_pkg_apis_core_v1alpha1_SessionCISpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6201 return common.OpenAPIDefinition{ 6202 Schema: spec.Schema{ 6203 SchemaProps: spec.SchemaProps{ 6204 Type: []string{"object"}, 6205 Properties: map[string]spec.Schema{ 6206 "k8sGracePeriod": { 6207 SchemaProps: spec.SchemaProps{ 6208 Description: "Grace period given for Kubernetes resources to recover after they start failing.\n\nIf omitted, and in exitCondition=ci, the session will exit as soon as we see a pod failure.", 6209 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), 6210 }, 6211 }, 6212 "timeout": { 6213 SchemaProps: spec.SchemaProps{ 6214 Description: "Timeout for the whole CI pipeline. Defaults to 30m.", 6215 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), 6216 }, 6217 }, 6218 "readinessTimeout": { 6219 SchemaProps: spec.SchemaProps{ 6220 Description: "Timeout for a resource to become ready before the CI pipeline fails. Measured from the time the resource is started. Defaults to 5m.", 6221 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), 6222 }, 6223 }, 6224 }, 6225 }, 6226 }, 6227 Dependencies: []string{ 6228 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"}, 6229 } 6230 } 6231 6232 func schema_pkg_apis_core_v1alpha1_SessionList(ref common.ReferenceCallback) common.OpenAPIDefinition { 6233 return common.OpenAPIDefinition{ 6234 Schema: spec.Schema{ 6235 SchemaProps: spec.SchemaProps{ 6236 Description: "SessionList is a list of Session objects.", 6237 Type: []string{"object"}, 6238 Properties: map[string]spec.Schema{ 6239 "kind": { 6240 SchemaProps: spec.SchemaProps{ 6241 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/sig-architecture/api-conventions.md#types-kinds", 6242 Type: []string{"string"}, 6243 Format: "", 6244 }, 6245 }, 6246 "apiVersion": { 6247 SchemaProps: spec.SchemaProps{ 6248 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/sig-architecture/api-conventions.md#resources", 6249 Type: []string{"string"}, 6250 Format: "", 6251 }, 6252 }, 6253 "metadata": { 6254 SchemaProps: spec.SchemaProps{ 6255 Default: map[string]interface{}{}, 6256 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 6257 }, 6258 }, 6259 "items": { 6260 SchemaProps: spec.SchemaProps{ 6261 Type: []string{"array"}, 6262 Items: &spec.SchemaOrArray{ 6263 Schema: &spec.Schema{ 6264 SchemaProps: spec.SchemaProps{ 6265 Default: map[string]interface{}{}, 6266 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Session"), 6267 }, 6268 }, 6269 }, 6270 }, 6271 }, 6272 }, 6273 Required: []string{"items"}, 6274 }, 6275 }, 6276 Dependencies: []string{ 6277 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Session", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 6278 } 6279 } 6280 6281 func schema_pkg_apis_core_v1alpha1_SessionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6282 return common.OpenAPIDefinition{ 6283 Schema: spec.Schema{ 6284 SchemaProps: spec.SchemaProps{ 6285 Description: "SessionSpec defines the desired state of Session", 6286 Type: []string{"object"}, 6287 Properties: map[string]spec.Schema{ 6288 "tiltfilePath": { 6289 SchemaProps: spec.SchemaProps{ 6290 Description: "TiltfilePath is the path to the Tiltfile for the run. It cannot be empty.", 6291 Default: "", 6292 Type: []string{"string"}, 6293 Format: "", 6294 }, 6295 }, 6296 "exitCondition": { 6297 SchemaProps: spec.SchemaProps{ 6298 Description: "ExitCondition defines the criteria for Tilt to exit.", 6299 Default: "", 6300 Type: []string{"string"}, 6301 Format: "", 6302 }, 6303 }, 6304 "ci": { 6305 SchemaProps: spec.SchemaProps{ 6306 Description: "Additional settings when in exitCondition=CI.", 6307 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionCISpec"), 6308 }, 6309 }, 6310 }, 6311 Required: []string{"tiltfilePath", "exitCondition"}, 6312 }, 6313 }, 6314 Dependencies: []string{ 6315 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionCISpec"}, 6316 } 6317 } 6318 6319 func schema_pkg_apis_core_v1alpha1_SessionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 6320 return common.OpenAPIDefinition{ 6321 Schema: spec.Schema{ 6322 SchemaProps: spec.SchemaProps{ 6323 Description: "SessionStatus defines the observed state of Session", 6324 Type: []string{"object"}, 6325 Properties: map[string]spec.Schema{ 6326 "pid": { 6327 SchemaProps: spec.SchemaProps{ 6328 Description: "PID is the process identifier for this instance of Tilt.", 6329 Default: 0, 6330 Type: []string{"integer"}, 6331 Format: "int64", 6332 }, 6333 }, 6334 "startTime": { 6335 SchemaProps: spec.SchemaProps{ 6336 Description: "StartTime is when the Tilt engine was first started.", 6337 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6338 }, 6339 }, 6340 "targets": { 6341 SchemaProps: spec.SchemaProps{ 6342 Description: "Targets are normalized representations of the servers/jobs managed by this Session.\n\nA resource from a Tiltfile might produce one or more targets. A target can also be shared across multiple resources (e.g. an image referenced by multiple K8s pods).", 6343 Type: []string{"array"}, 6344 Items: &spec.SchemaOrArray{ 6345 Schema: &spec.Schema{ 6346 SchemaProps: spec.SchemaProps{ 6347 Default: map[string]interface{}{}, 6348 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Target"), 6349 }, 6350 }, 6351 }, 6352 }, 6353 }, 6354 "done": { 6355 SchemaProps: spec.SchemaProps{ 6356 Description: "Done indicates whether this Session has completed its work and is ready to exit.", 6357 Default: false, 6358 Type: []string{"boolean"}, 6359 Format: "", 6360 }, 6361 }, 6362 "error": { 6363 SchemaProps: spec.SchemaProps{ 6364 Description: "Error is a non-empty string when the Session is Done but encountered a failure as defined by the ExitCondition from the SessionSpec.", 6365 Type: []string{"string"}, 6366 Format: "", 6367 }, 6368 }, 6369 }, 6370 Required: []string{"pid", "startTime", "targets", "done"}, 6371 }, 6372 }, 6373 Dependencies: []string{ 6374 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Target", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6375 } 6376 } 6377 6378 func schema_pkg_apis_core_v1alpha1_StartOnSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6379 return common.OpenAPIDefinition{ 6380 Schema: spec.Schema{ 6381 SchemaProps: spec.SchemaProps{ 6382 Description: "StartOnSpec indicates the set of objects that can trigger a start/restart of this object.", 6383 Type: []string{"object"}, 6384 Properties: map[string]spec.Schema{ 6385 "startAfter": { 6386 SchemaProps: spec.SchemaProps{ 6387 Description: "StartAfter indicates that events before this time should be ignored.", 6388 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 6389 }, 6390 }, 6391 "uiButtons": { 6392 SchemaProps: spec.SchemaProps{ 6393 Description: "UIButtons that can trigger a start/restart.", 6394 Type: []string{"array"}, 6395 Items: &spec.SchemaOrArray{ 6396 Schema: &spec.Schema{ 6397 SchemaProps: spec.SchemaProps{ 6398 Default: "", 6399 Type: []string{"string"}, 6400 Format: "", 6401 }, 6402 }, 6403 }, 6404 }, 6405 }, 6406 }, 6407 Required: []string{"uiButtons"}, 6408 }, 6409 }, 6410 Dependencies: []string{ 6411 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 6412 } 6413 } 6414 6415 func schema_pkg_apis_core_v1alpha1_StateSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 6416 return common.OpenAPIDefinition{ 6417 Schema: spec.Schema{ 6418 SchemaProps: spec.SchemaProps{ 6419 Description: "Describes where a ToggleButton's state is stored. Exactly one type of source must be set.", 6420 Type: []string{"object"}, 6421 Properties: map[string]spec.Schema{ 6422 "configMap": { 6423 SchemaProps: spec.SchemaProps{ 6424 Description: "State is stored in a ConfigMap.", 6425 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapStateSource"), 6426 }, 6427 }, 6428 }, 6429 }, 6430 }, 6431 Dependencies: []string{ 6432 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapStateSource"}, 6433 } 6434 } 6435 6436 func schema_pkg_apis_core_v1alpha1_StopOnSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6437 return common.OpenAPIDefinition{ 6438 Schema: spec.Schema{ 6439 SchemaProps: spec.SchemaProps{ 6440 Type: []string{"object"}, 6441 Properties: map[string]spec.Schema{ 6442 "uiButtons": { 6443 SchemaProps: spec.SchemaProps{ 6444 Description: "UIButtons that can trigger a stop.", 6445 Type: []string{"array"}, 6446 Items: &spec.SchemaOrArray{ 6447 Schema: &spec.Schema{ 6448 SchemaProps: spec.SchemaProps{ 6449 Default: "", 6450 Type: []string{"string"}, 6451 Format: "", 6452 }, 6453 }, 6454 }, 6455 }, 6456 }, 6457 }, 6458 Required: []string{"uiButtons"}, 6459 }, 6460 }, 6461 } 6462 } 6463 6464 func schema_pkg_apis_core_v1alpha1_TCPSocketAction(ref common.ReferenceCallback) common.OpenAPIDefinition { 6465 return common.OpenAPIDefinition{ 6466 Schema: spec.Schema{ 6467 SchemaProps: spec.SchemaProps{ 6468 Description: "TCPSocketAction describes an action based on opening a socket", 6469 Type: []string{"object"}, 6470 Properties: map[string]spec.Schema{ 6471 "port": { 6472 SchemaProps: spec.SchemaProps{ 6473 Description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535.", 6474 Default: 0, 6475 Type: []string{"integer"}, 6476 Format: "int32", 6477 }, 6478 }, 6479 "host": { 6480 SchemaProps: spec.SchemaProps{ 6481 Description: "Optional: Host name to connect to, defaults to the pod IP.", 6482 Type: []string{"string"}, 6483 Format: "", 6484 }, 6485 }, 6486 }, 6487 Required: []string{"port"}, 6488 }, 6489 }, 6490 } 6491 } 6492 6493 func schema_pkg_apis_core_v1alpha1_Target(ref common.ReferenceCallback) common.OpenAPIDefinition { 6494 return common.OpenAPIDefinition{ 6495 Schema: spec.Schema{ 6496 SchemaProps: spec.SchemaProps{ 6497 Description: "Target is a server or job whose execution is managed as part of this Session.", 6498 Type: []string{"object"}, 6499 Properties: map[string]spec.Schema{ 6500 "name": { 6501 SchemaProps: spec.SchemaProps{ 6502 Description: "Name is the name of the target; this is auto-generated from Tiltfile resources.", 6503 Default: "", 6504 Type: []string{"string"}, 6505 Format: "", 6506 }, 6507 }, 6508 "type": { 6509 SchemaProps: spec.SchemaProps{ 6510 Description: "Type is the execution profile for this resource.\n\nJob targets run to completion (e.g. a build script or database migration script). Server targets run indefinitely (e.g. an HTTP server).", 6511 Default: "", 6512 Type: []string{"string"}, 6513 Format: "", 6514 }, 6515 }, 6516 "resources": { 6517 SchemaProps: spec.SchemaProps{ 6518 Description: "Resources are one or more Tiltfile resources that this target is associated with.", 6519 Type: []string{"array"}, 6520 Items: &spec.SchemaOrArray{ 6521 Schema: &spec.Schema{ 6522 SchemaProps: spec.SchemaProps{ 6523 Default: "", 6524 Type: []string{"string"}, 6525 Format: "", 6526 }, 6527 }, 6528 }, 6529 }, 6530 }, 6531 "state": { 6532 SchemaProps: spec.SchemaProps{ 6533 Description: "State provides information about the current status of the target.", 6534 Default: map[string]interface{}{}, 6535 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetState"), 6536 }, 6537 }, 6538 }, 6539 Required: []string{"name", "type", "resources", "state"}, 6540 }, 6541 }, 6542 Dependencies: []string{ 6543 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetState"}, 6544 } 6545 } 6546 6547 func schema_pkg_apis_core_v1alpha1_TargetState(ref common.ReferenceCallback) common.OpenAPIDefinition { 6548 return common.OpenAPIDefinition{ 6549 Schema: spec.Schema{ 6550 SchemaProps: spec.SchemaProps{ 6551 Description: "TargetState describes the current execution status for a target.\n\nEither EXACTLY one of Waiting, Active, Disabled, or Terminated will be populated or NONE of them will be. In the event that all states are null, the target is currently inactive or disabled and should not be expected to execute.", 6552 Type: []string{"object"}, 6553 Properties: map[string]spec.Schema{ 6554 "waiting": { 6555 SchemaProps: spec.SchemaProps{ 6556 Description: "Waiting being non-nil indicates that the next execution of the target has been queued but not yet started.", 6557 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateWaiting"), 6558 }, 6559 }, 6560 "active": { 6561 SchemaProps: spec.SchemaProps{ 6562 Description: "Active being non-nil indicates that the target is currently executing.", 6563 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateActive"), 6564 }, 6565 }, 6566 "terminated": { 6567 SchemaProps: spec.SchemaProps{ 6568 Description: "Terminated being non-nil indicates that the target finished execution either normally or due to failure.", 6569 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateTerminated"), 6570 }, 6571 }, 6572 "disabled": { 6573 SchemaProps: spec.SchemaProps{ 6574 Description: "Disabled being non-nil indicates that the target is disabled.", 6575 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateDisabled"), 6576 }, 6577 }, 6578 }, 6579 }, 6580 }, 6581 Dependencies: []string{ 6582 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateActive", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateDisabled", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateTerminated", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateWaiting"}, 6583 } 6584 } 6585 6586 func schema_pkg_apis_core_v1alpha1_TargetStateActive(ref common.ReferenceCallback) common.OpenAPIDefinition { 6587 return common.OpenAPIDefinition{ 6588 Schema: spec.Schema{ 6589 SchemaProps: spec.SchemaProps{ 6590 Description: "TargetStateActive is a target that is currently running but has not yet finished.", 6591 Type: []string{"object"}, 6592 Properties: map[string]spec.Schema{ 6593 "startTime": { 6594 SchemaProps: spec.SchemaProps{ 6595 Description: "StartTime is when execution began.", 6596 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6597 }, 6598 }, 6599 "ready": { 6600 SchemaProps: spec.SchemaProps{ 6601 Description: "Ready indicates that the target has passed readiness checks.\n\nIf the target does not use or support readiness checks, this is always true.", 6602 Default: false, 6603 Type: []string{"boolean"}, 6604 Format: "", 6605 }, 6606 }, 6607 "lastReadyTime": { 6608 SchemaProps: spec.SchemaProps{ 6609 Description: "LastReadyTime is when the target last passed readiness checks.", 6610 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6611 }, 6612 }, 6613 }, 6614 Required: []string{"startTime", "ready", "lastReadyTime"}, 6615 }, 6616 }, 6617 Dependencies: []string{ 6618 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6619 } 6620 } 6621 6622 func schema_pkg_apis_core_v1alpha1_TargetStateDisabled(ref common.ReferenceCallback) common.OpenAPIDefinition { 6623 return common.OpenAPIDefinition{ 6624 Schema: spec.Schema{ 6625 SchemaProps: spec.SchemaProps{ 6626 Description: "TargetStateDisabled is a target that has been disabled.", 6627 Type: []string{"object"}, 6628 }, 6629 }, 6630 } 6631 } 6632 6633 func schema_pkg_apis_core_v1alpha1_TargetStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 6634 return common.OpenAPIDefinition{ 6635 Schema: spec.Schema{ 6636 SchemaProps: spec.SchemaProps{ 6637 Description: "TargetStateTerminated is a target that finished running, either because it completed successfully or encountered an error.", 6638 Type: []string{"object"}, 6639 Properties: map[string]spec.Schema{ 6640 "startTime": { 6641 SchemaProps: spec.SchemaProps{ 6642 Description: "StartTime is when the target began executing.", 6643 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6644 }, 6645 }, 6646 "finishTime": { 6647 SchemaProps: spec.SchemaProps{ 6648 Description: "FinishTime is when the target stopped executing.", 6649 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6650 }, 6651 }, 6652 "error": { 6653 SchemaProps: spec.SchemaProps{ 6654 Description: "Error is a non-empty string if the target encountered a failure during execution that caused it to stop.\n\nFor targets of type TargetTypeServer, this is always populated, as the target is expected to run indefinitely, and thus any termination is an error.", 6655 Type: []string{"string"}, 6656 Format: "", 6657 }, 6658 }, 6659 "graceStatus": { 6660 SchemaProps: spec.SchemaProps{ 6661 Description: "Errors may be tolerated if the target is still within a grace period set on the session.", 6662 Type: []string{"string"}, 6663 Format: "", 6664 }, 6665 }, 6666 }, 6667 Required: []string{"startTime", "finishTime"}, 6668 }, 6669 }, 6670 Dependencies: []string{ 6671 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6672 } 6673 } 6674 6675 func schema_pkg_apis_core_v1alpha1_TargetStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 6676 return common.OpenAPIDefinition{ 6677 Schema: spec.Schema{ 6678 SchemaProps: spec.SchemaProps{ 6679 Description: "TargetStateWaiting is a target that has been enqueued for execution but has not yet started.", 6680 Type: []string{"object"}, 6681 Properties: map[string]spec.Schema{ 6682 "waitReason": { 6683 SchemaProps: spec.SchemaProps{ 6684 Description: "WaitReason is a description for why the target is waiting and not yet active.\n\nThis is NOT the \"cause\" or \"trigger\" for the target being invoked.", 6685 Default: "", 6686 Type: []string{"string"}, 6687 Format: "", 6688 }, 6689 }, 6690 }, 6691 Required: []string{"waitReason"}, 6692 }, 6693 }, 6694 } 6695 } 6696 6697 func schema_pkg_apis_core_v1alpha1_TiltBuild(ref common.ReferenceCallback) common.OpenAPIDefinition { 6698 return common.OpenAPIDefinition{ 6699 Schema: spec.Schema{ 6700 SchemaProps: spec.SchemaProps{ 6701 Description: "Information about the running tilt binary.", 6702 Type: []string{"object"}, 6703 Properties: map[string]spec.Schema{ 6704 "version": { 6705 SchemaProps: spec.SchemaProps{ 6706 Description: "A semantic version string.", 6707 Type: []string{"string"}, 6708 Format: "", 6709 }, 6710 }, 6711 "commitSHA": { 6712 SchemaProps: spec.SchemaProps{ 6713 Description: "The Git digest of the commit this binary was built at.", 6714 Type: []string{"string"}, 6715 Format: "", 6716 }, 6717 }, 6718 "date": { 6719 SchemaProps: spec.SchemaProps{ 6720 Description: "A human-readable string representing when the binary was built.", 6721 Type: []string{"string"}, 6722 Format: "", 6723 }, 6724 }, 6725 "dev": { 6726 SchemaProps: spec.SchemaProps{ 6727 Description: "Indicates whether this is a development build (true) or an official release (false).", 6728 Type: []string{"boolean"}, 6729 Format: "", 6730 }, 6731 }, 6732 }, 6733 }, 6734 }, 6735 } 6736 } 6737 6738 func schema_pkg_apis_core_v1alpha1_Tiltfile(ref common.ReferenceCallback) common.OpenAPIDefinition { 6739 return common.OpenAPIDefinition{ 6740 Schema: spec.Schema{ 6741 SchemaProps: spec.SchemaProps{ 6742 Description: "Tiltfile is the main way users add services to Tilt.\n\nThe Tiltfile evaluator executes the Tiltfile, then adds all the objects it creates as children of the Tiltfile object.", 6743 Type: []string{"object"}, 6744 Properties: map[string]spec.Schema{ 6745 "kind": { 6746 SchemaProps: spec.SchemaProps{ 6747 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/sig-architecture/api-conventions.md#types-kinds", 6748 Type: []string{"string"}, 6749 Format: "", 6750 }, 6751 }, 6752 "apiVersion": { 6753 SchemaProps: spec.SchemaProps{ 6754 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/sig-architecture/api-conventions.md#resources", 6755 Type: []string{"string"}, 6756 Format: "", 6757 }, 6758 }, 6759 "metadata": { 6760 SchemaProps: spec.SchemaProps{ 6761 Default: map[string]interface{}{}, 6762 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 6763 }, 6764 }, 6765 "spec": { 6766 SchemaProps: spec.SchemaProps{ 6767 Default: map[string]interface{}{}, 6768 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileSpec"), 6769 }, 6770 }, 6771 "status": { 6772 SchemaProps: spec.SchemaProps{ 6773 Default: map[string]interface{}{}, 6774 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStatus"), 6775 }, 6776 }, 6777 }, 6778 }, 6779 }, 6780 Dependencies: []string{ 6781 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 6782 } 6783 } 6784 6785 func schema_pkg_apis_core_v1alpha1_TiltfileList(ref common.ReferenceCallback) common.OpenAPIDefinition { 6786 return common.OpenAPIDefinition{ 6787 Schema: spec.Schema{ 6788 SchemaProps: spec.SchemaProps{ 6789 Description: "TiltfileList", 6790 Type: []string{"object"}, 6791 Properties: map[string]spec.Schema{ 6792 "kind": { 6793 SchemaProps: spec.SchemaProps{ 6794 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/sig-architecture/api-conventions.md#types-kinds", 6795 Type: []string{"string"}, 6796 Format: "", 6797 }, 6798 }, 6799 "apiVersion": { 6800 SchemaProps: spec.SchemaProps{ 6801 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/sig-architecture/api-conventions.md#resources", 6802 Type: []string{"string"}, 6803 Format: "", 6804 }, 6805 }, 6806 "metadata": { 6807 SchemaProps: spec.SchemaProps{ 6808 Default: map[string]interface{}{}, 6809 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 6810 }, 6811 }, 6812 "items": { 6813 SchemaProps: spec.SchemaProps{ 6814 Type: []string{"array"}, 6815 Items: &spec.SchemaOrArray{ 6816 Schema: &spec.Schema{ 6817 SchemaProps: spec.SchemaProps{ 6818 Default: map[string]interface{}{}, 6819 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Tiltfile"), 6820 }, 6821 }, 6822 }, 6823 }, 6824 }, 6825 }, 6826 Required: []string{"items"}, 6827 }, 6828 }, 6829 Dependencies: []string{ 6830 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Tiltfile", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 6831 } 6832 } 6833 6834 func schema_pkg_apis_core_v1alpha1_TiltfileSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6835 return common.OpenAPIDefinition{ 6836 Schema: spec.Schema{ 6837 SchemaProps: spec.SchemaProps{ 6838 Description: "TiltfileSpec defines the desired state of Tiltfile", 6839 Type: []string{"object"}, 6840 Properties: map[string]spec.Schema{ 6841 "path": { 6842 SchemaProps: spec.SchemaProps{ 6843 Description: "The path to the Tiltfile on disk.", 6844 Default: "", 6845 Type: []string{"string"}, 6846 Format: "", 6847 }, 6848 }, 6849 "labels": { 6850 SchemaProps: spec.SchemaProps{ 6851 Description: "A set of labels to apply to all objects owned by this Tiltfile.", 6852 Type: []string{"object"}, 6853 AdditionalProperties: &spec.SchemaOrBool{ 6854 Allows: true, 6855 Schema: &spec.Schema{ 6856 SchemaProps: spec.SchemaProps{ 6857 Default: "", 6858 Type: []string{"string"}, 6859 Format: "", 6860 }, 6861 }, 6862 }, 6863 }, 6864 }, 6865 "restartOn": { 6866 SchemaProps: spec.SchemaProps{ 6867 Description: "Objects that can trigger a re-execution of this Tiltfile.", 6868 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec"), 6869 }, 6870 }, 6871 "args": { 6872 SchemaProps: spec.SchemaProps{ 6873 Description: "Arguments to the Tiltfile.\n\nArguments can be positional (['a', 'b', 'c']) or flag-based ('--to-edit=a'). By default, a list of arguments indicates the list of services in the tiltfile that should be enabled.", 6874 Type: []string{"array"}, 6875 Items: &spec.SchemaOrArray{ 6876 Schema: &spec.Schema{ 6877 SchemaProps: spec.SchemaProps{ 6878 Default: "", 6879 Type: []string{"string"}, 6880 Format: "", 6881 }, 6882 }, 6883 }, 6884 }, 6885 }, 6886 "stopOn": { 6887 SchemaProps: spec.SchemaProps{ 6888 Description: "Objects that can stop execution of this Tiltfile.", 6889 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StopOnSpec"), 6890 }, 6891 }, 6892 }, 6893 Required: []string{"path"}, 6894 }, 6895 }, 6896 Dependencies: []string{ 6897 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StopOnSpec"}, 6898 } 6899 } 6900 6901 func schema_pkg_apis_core_v1alpha1_TiltfileStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 6902 return common.OpenAPIDefinition{ 6903 Schema: spec.Schema{ 6904 SchemaProps: spec.SchemaProps{ 6905 Description: "TiltfileStateRunning is a running state of a tiltfile execution.", 6906 Type: []string{"object"}, 6907 Properties: map[string]spec.Schema{ 6908 "reasons": { 6909 SchemaProps: spec.SchemaProps{ 6910 Description: "The reason why this tiltfile was built. May contain more than one reason.", 6911 Type: []string{"array"}, 6912 Items: &spec.SchemaOrArray{ 6913 Schema: &spec.Schema{ 6914 SchemaProps: spec.SchemaProps{ 6915 Default: "", 6916 Type: []string{"string"}, 6917 Format: "", 6918 }, 6919 }, 6920 }, 6921 }, 6922 }, 6923 "startedAt": { 6924 SchemaProps: spec.SchemaProps{ 6925 Description: "Time at which previous execution of the command started.", 6926 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6927 }, 6928 }, 6929 }, 6930 }, 6931 }, 6932 Dependencies: []string{ 6933 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6934 } 6935 } 6936 6937 func schema_pkg_apis_core_v1alpha1_TiltfileStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 6938 return common.OpenAPIDefinition{ 6939 Schema: spec.Schema{ 6940 SchemaProps: spec.SchemaProps{ 6941 Description: "TiltfileStateTerminated is a terminated state of a tiltfile execution.", 6942 Type: []string{"object"}, 6943 Properties: map[string]spec.Schema{ 6944 "reasons": { 6945 SchemaProps: spec.SchemaProps{ 6946 Description: "The reasons why this tiltfile was built. May contain more than one reason.", 6947 Type: []string{"array"}, 6948 Items: &spec.SchemaOrArray{ 6949 Schema: &spec.Schema{ 6950 SchemaProps: spec.SchemaProps{ 6951 Default: "", 6952 Type: []string{"string"}, 6953 Format: "", 6954 }, 6955 }, 6956 }, 6957 }, 6958 }, 6959 "error": { 6960 SchemaProps: spec.SchemaProps{ 6961 Description: "Error message if this tiltfile execution failed.", 6962 Type: []string{"string"}, 6963 Format: "", 6964 }, 6965 }, 6966 "startedAt": { 6967 SchemaProps: spec.SchemaProps{ 6968 Description: "Time at which previous execution of the command started.", 6969 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6970 }, 6971 }, 6972 "finishedAt": { 6973 SchemaProps: spec.SchemaProps{ 6974 Description: "Time at which the command last terminated.", 6975 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6976 }, 6977 }, 6978 "warningCount": { 6979 SchemaProps: spec.SchemaProps{ 6980 Description: "Number of warnings generated by this Tiltfile. (brief) reason the process is terminated", 6981 Type: []string{"integer"}, 6982 Format: "int32", 6983 }, 6984 }, 6985 }, 6986 }, 6987 }, 6988 Dependencies: []string{ 6989 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6990 } 6991 } 6992 6993 func schema_pkg_apis_core_v1alpha1_TiltfileStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 6994 return common.OpenAPIDefinition{ 6995 Schema: spec.Schema{ 6996 SchemaProps: spec.SchemaProps{ 6997 Description: "TiltfileStateWaiting is a waiting state of a tiltfile execution.", 6998 Type: []string{"object"}, 6999 Properties: map[string]spec.Schema{ 7000 "reason": { 7001 SchemaProps: spec.SchemaProps{ 7002 Description: "(brief) reason the tiltfile is waiting.", 7003 Type: []string{"string"}, 7004 Format: "", 7005 }, 7006 }, 7007 }, 7008 }, 7009 }, 7010 } 7011 } 7012 7013 func schema_pkg_apis_core_v1alpha1_TiltfileStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7014 return common.OpenAPIDefinition{ 7015 Schema: spec.Schema{ 7016 SchemaProps: spec.SchemaProps{ 7017 Description: "TiltfileStatus defines the observed state of Tiltfile", 7018 Type: []string{"object"}, 7019 Properties: map[string]spec.Schema{ 7020 "waiting": { 7021 SchemaProps: spec.SchemaProps{ 7022 Description: "Details about a waiting tiltfile.", 7023 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateWaiting"), 7024 }, 7025 }, 7026 "running": { 7027 SchemaProps: spec.SchemaProps{ 7028 Description: "Details about a running tiltfile.", 7029 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateRunning"), 7030 }, 7031 }, 7032 "terminated": { 7033 SchemaProps: spec.SchemaProps{ 7034 Description: "Details about a terminated tiltfile.", 7035 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateTerminated"), 7036 }, 7037 }, 7038 }, 7039 }, 7040 }, 7041 Dependencies: []string{ 7042 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateRunning", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateTerminated", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateWaiting"}, 7043 } 7044 } 7045 7046 func schema_pkg_apis_core_v1alpha1_ToggleButton(ref common.ReferenceCallback) common.OpenAPIDefinition { 7047 return common.OpenAPIDefinition{ 7048 Schema: spec.Schema{ 7049 SchemaProps: spec.SchemaProps{ 7050 Description: "ToggleButton", 7051 Type: []string{"object"}, 7052 Properties: map[string]spec.Schema{ 7053 "kind": { 7054 SchemaProps: spec.SchemaProps{ 7055 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/sig-architecture/api-conventions.md#types-kinds", 7056 Type: []string{"string"}, 7057 Format: "", 7058 }, 7059 }, 7060 "apiVersion": { 7061 SchemaProps: spec.SchemaProps{ 7062 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/sig-architecture/api-conventions.md#resources", 7063 Type: []string{"string"}, 7064 Format: "", 7065 }, 7066 }, 7067 "metadata": { 7068 SchemaProps: spec.SchemaProps{ 7069 Default: map[string]interface{}{}, 7070 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 7071 }, 7072 }, 7073 "spec": { 7074 SchemaProps: spec.SchemaProps{ 7075 Default: map[string]interface{}{}, 7076 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonSpec"), 7077 }, 7078 }, 7079 "status": { 7080 SchemaProps: spec.SchemaProps{ 7081 Default: map[string]interface{}{}, 7082 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStatus"), 7083 }, 7084 }, 7085 }, 7086 }, 7087 }, 7088 Dependencies: []string{ 7089 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 7090 } 7091 } 7092 7093 func schema_pkg_apis_core_v1alpha1_ToggleButtonList(ref common.ReferenceCallback) common.OpenAPIDefinition { 7094 return common.OpenAPIDefinition{ 7095 Schema: spec.Schema{ 7096 SchemaProps: spec.SchemaProps{ 7097 Description: "ToggleButtonList", 7098 Type: []string{"object"}, 7099 Properties: map[string]spec.Schema{ 7100 "kind": { 7101 SchemaProps: spec.SchemaProps{ 7102 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/sig-architecture/api-conventions.md#types-kinds", 7103 Type: []string{"string"}, 7104 Format: "", 7105 }, 7106 }, 7107 "apiVersion": { 7108 SchemaProps: spec.SchemaProps{ 7109 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/sig-architecture/api-conventions.md#resources", 7110 Type: []string{"string"}, 7111 Format: "", 7112 }, 7113 }, 7114 "metadata": { 7115 SchemaProps: spec.SchemaProps{ 7116 Default: map[string]interface{}{}, 7117 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 7118 }, 7119 }, 7120 "items": { 7121 SchemaProps: spec.SchemaProps{ 7122 Type: []string{"array"}, 7123 Items: &spec.SchemaOrArray{ 7124 Schema: &spec.Schema{ 7125 SchemaProps: spec.SchemaProps{ 7126 Default: map[string]interface{}{}, 7127 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButton"), 7128 }, 7129 }, 7130 }, 7131 }, 7132 }, 7133 }, 7134 Required: []string{"items"}, 7135 }, 7136 }, 7137 Dependencies: []string{ 7138 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButton", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 7139 } 7140 } 7141 7142 func schema_pkg_apis_core_v1alpha1_ToggleButtonSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7143 return common.OpenAPIDefinition{ 7144 Schema: spec.Schema{ 7145 SchemaProps: spec.SchemaProps{ 7146 Description: "ToggleButtonSpec defines the desired state of ToggleButton", 7147 Type: []string{"object"}, 7148 Properties: map[string]spec.Schema{ 7149 "location": { 7150 SchemaProps: spec.SchemaProps{ 7151 Description: "Where to display the button", 7152 Default: map[string]interface{}{}, 7153 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation"), 7154 }, 7155 }, 7156 "on": { 7157 SchemaProps: spec.SchemaProps{ 7158 Description: "Config for the button when it is \"on\"", 7159 Default: map[string]interface{}{}, 7160 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStateSpec"), 7161 }, 7162 }, 7163 "off": { 7164 SchemaProps: spec.SchemaProps{ 7165 Description: "Config for the button when it is \"off\"", 7166 Default: map[string]interface{}{}, 7167 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStateSpec"), 7168 }, 7169 }, 7170 "defaultOn": { 7171 SchemaProps: spec.SchemaProps{ 7172 Description: "If `StateSource` does not point at a valid value, the initial button state will be \"on\" or \"off\" depending on this bool", 7173 Default: false, 7174 Type: []string{"boolean"}, 7175 Format: "", 7176 }, 7177 }, 7178 "stateSource": { 7179 SchemaProps: spec.SchemaProps{ 7180 Description: "Where the toggle button's state is stored", 7181 Default: map[string]interface{}{}, 7182 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StateSource"), 7183 }, 7184 }, 7185 }, 7186 Required: []string{"location", "on", "off", "defaultOn", "stateSource"}, 7187 }, 7188 }, 7189 Dependencies: []string{ 7190 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StateSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStateSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation"}, 7191 } 7192 } 7193 7194 func schema_pkg_apis_core_v1alpha1_ToggleButtonStateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7195 return common.OpenAPIDefinition{ 7196 Schema: spec.Schema{ 7197 SchemaProps: spec.SchemaProps{ 7198 Description: "Describes a state (on/off) of a ToggleButton", 7199 Type: []string{"object"}, 7200 Properties: map[string]spec.Schema{ 7201 "text": { 7202 SchemaProps: spec.SchemaProps{ 7203 Description: "Text to appear on the button itself or as hover text (depending on button location).", 7204 Default: "", 7205 Type: []string{"string"}, 7206 Format: "", 7207 }, 7208 }, 7209 "iconName": { 7210 SchemaProps: spec.SchemaProps{ 7211 Description: "IconName is a Material Icon to appear next to button text or on the button itself (depending on button location).\n\nValid values are icon font ligature names from the Material Icons set. See https://fonts.google.com/icons for the full list of available icons.\n\nIf both IconSVG and IconName are specified, IconSVG will take precedence.", 7212 Type: []string{"string"}, 7213 Format: "", 7214 }, 7215 }, 7216 "iconSVG": { 7217 SchemaProps: spec.SchemaProps{ 7218 Description: "IconSVG is an SVG to use as the icon to appear next to button text or on the button itself (depending on button location).\n\nThis should be an <svg> element scaled for a 24x24 viewport.\n\nIf both IconSVG and IconName are specified, IconSVG will take precedence.", 7219 Type: []string{"string"}, 7220 Format: "", 7221 }, 7222 }, 7223 "requiresConfirmation": { 7224 SchemaProps: spec.SchemaProps{ 7225 Description: "If true, clicking the button in this state requires a second click to confirm.", 7226 Type: []string{"boolean"}, 7227 Format: "", 7228 }, 7229 }, 7230 }, 7231 Required: []string{"text"}, 7232 }, 7233 }, 7234 } 7235 } 7236 7237 func schema_pkg_apis_core_v1alpha1_ToggleButtonStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7238 return common.OpenAPIDefinition{ 7239 Schema: spec.Schema{ 7240 SchemaProps: spec.SchemaProps{ 7241 Description: "ToggleButtonStatus defines the observed state of ToggleButton", 7242 Type: []string{"object"}, 7243 Properties: map[string]spec.Schema{ 7244 "error": { 7245 SchemaProps: spec.SchemaProps{ 7246 Description: "If healthy, empty. If non-healthy, specifies a problem the ToggleButton encountered", 7247 Default: "", 7248 Type: []string{"string"}, 7249 Format: "", 7250 }, 7251 }, 7252 }, 7253 }, 7254 }, 7255 } 7256 } 7257 7258 func schema_pkg_apis_core_v1alpha1_UIBoolInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7259 return common.OpenAPIDefinition{ 7260 Schema: spec.Schema{ 7261 SchemaProps: spec.SchemaProps{ 7262 Description: "Describes a boolean checkbox input field attached to a button.", 7263 Type: []string{"object"}, 7264 Properties: map[string]spec.Schema{ 7265 "defaultValue": { 7266 SchemaProps: spec.SchemaProps{ 7267 Description: "Whether the input is initially true or false.", 7268 Type: []string{"boolean"}, 7269 Format: "", 7270 }, 7271 }, 7272 "trueString": { 7273 SchemaProps: spec.SchemaProps{ 7274 Description: "If the input's value is converted to a string, use this when the value is true. If unspecified, its string value will be `\"true\"`", 7275 Type: []string{"string"}, 7276 Format: "", 7277 }, 7278 }, 7279 "falseString": { 7280 SchemaProps: spec.SchemaProps{ 7281 Description: "If the input's value is converted to a string, use this when the value is false. If unspecified, its string value will be `\"false\"`", 7282 Type: []string{"string"}, 7283 Format: "", 7284 }, 7285 }, 7286 }, 7287 }, 7288 }, 7289 } 7290 } 7291 7292 func schema_pkg_apis_core_v1alpha1_UIBoolInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7293 return common.OpenAPIDefinition{ 7294 Schema: spec.Schema{ 7295 SchemaProps: spec.SchemaProps{ 7296 Type: []string{"object"}, 7297 Properties: map[string]spec.Schema{ 7298 "value": { 7299 SchemaProps: spec.SchemaProps{ 7300 Default: false, 7301 Type: []string{"boolean"}, 7302 Format: "", 7303 }, 7304 }, 7305 }, 7306 Required: []string{"value"}, 7307 }, 7308 }, 7309 } 7310 } 7311 7312 func schema_pkg_apis_core_v1alpha1_UIBuildRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 7313 return common.OpenAPIDefinition{ 7314 Schema: spec.Schema{ 7315 SchemaProps: spec.SchemaProps{ 7316 Description: "UIBuildRunning represents an in-progress build/update in the user interface.", 7317 Type: []string{"object"}, 7318 Properties: map[string]spec.Schema{ 7319 "startTime": { 7320 SchemaProps: spec.SchemaProps{ 7321 Description: "The time when the build started.", 7322 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7323 }, 7324 }, 7325 "spanID": { 7326 SchemaProps: spec.SchemaProps{ 7327 Description: "The log span where the build logs are stored in the logstore.", 7328 Type: []string{"string"}, 7329 Format: "", 7330 }, 7331 }, 7332 }, 7333 }, 7334 }, 7335 Dependencies: []string{ 7336 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7337 } 7338 } 7339 7340 func schema_pkg_apis_core_v1alpha1_UIBuildTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 7341 return common.OpenAPIDefinition{ 7342 Schema: spec.Schema{ 7343 SchemaProps: spec.SchemaProps{ 7344 Description: "UIBuildRunning represents a finished build/update in the user interface.", 7345 Type: []string{"object"}, 7346 Properties: map[string]spec.Schema{ 7347 "error": { 7348 SchemaProps: spec.SchemaProps{ 7349 Description: "A non-empty string if the build failed with an error.", 7350 Type: []string{"string"}, 7351 Format: "", 7352 }, 7353 }, 7354 "warnings": { 7355 SchemaProps: spec.SchemaProps{ 7356 Description: "A list of warnings encountered while running the build. These warnings will also be printed to the build's log.", 7357 Type: []string{"array"}, 7358 Items: &spec.SchemaOrArray{ 7359 Schema: &spec.Schema{ 7360 SchemaProps: spec.SchemaProps{ 7361 Default: "", 7362 Type: []string{"string"}, 7363 Format: "", 7364 }, 7365 }, 7366 }, 7367 }, 7368 }, 7369 "startTime": { 7370 SchemaProps: spec.SchemaProps{ 7371 Description: "The time when the build started.", 7372 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7373 }, 7374 }, 7375 "finishTime": { 7376 SchemaProps: spec.SchemaProps{ 7377 Description: "The time when the build finished.", 7378 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7379 }, 7380 }, 7381 "spanID": { 7382 SchemaProps: spec.SchemaProps{ 7383 Description: "The log span where the build logs are stored in the logstore.", 7384 Type: []string{"string"}, 7385 Format: "", 7386 }, 7387 }, 7388 "isCrashRebuild": { 7389 SchemaProps: spec.SchemaProps{ 7390 Description: "A crash rebuild happens when Tilt live-updated a container, then the pod crashed, wiping out the live-updates. Tilt does a full build+deploy to reset the pod state to what's on disk.", 7391 Type: []string{"boolean"}, 7392 Format: "", 7393 }, 7394 }, 7395 }, 7396 }, 7397 }, 7398 Dependencies: []string{ 7399 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7400 } 7401 } 7402 7403 func schema_pkg_apis_core_v1alpha1_UIButton(ref common.ReferenceCallback) common.OpenAPIDefinition { 7404 return common.OpenAPIDefinition{ 7405 Schema: spec.Schema{ 7406 SchemaProps: spec.SchemaProps{ 7407 Description: "UIButton", 7408 Type: []string{"object"}, 7409 Properties: map[string]spec.Schema{ 7410 "kind": { 7411 SchemaProps: spec.SchemaProps{ 7412 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/sig-architecture/api-conventions.md#types-kinds", 7413 Type: []string{"string"}, 7414 Format: "", 7415 }, 7416 }, 7417 "apiVersion": { 7418 SchemaProps: spec.SchemaProps{ 7419 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/sig-architecture/api-conventions.md#resources", 7420 Type: []string{"string"}, 7421 Format: "", 7422 }, 7423 }, 7424 "metadata": { 7425 SchemaProps: spec.SchemaProps{ 7426 Default: map[string]interface{}{}, 7427 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 7428 }, 7429 }, 7430 "spec": { 7431 SchemaProps: spec.SchemaProps{ 7432 Default: map[string]interface{}{}, 7433 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonSpec"), 7434 }, 7435 }, 7436 "status": { 7437 SchemaProps: spec.SchemaProps{ 7438 Default: map[string]interface{}{}, 7439 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonStatus"), 7440 }, 7441 }, 7442 }, 7443 }, 7444 }, 7445 Dependencies: []string{ 7446 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 7447 } 7448 } 7449 7450 func schema_pkg_apis_core_v1alpha1_UIButtonList(ref common.ReferenceCallback) common.OpenAPIDefinition { 7451 return common.OpenAPIDefinition{ 7452 Schema: spec.Schema{ 7453 SchemaProps: spec.SchemaProps{ 7454 Description: "UIButtonList", 7455 Type: []string{"object"}, 7456 Properties: map[string]spec.Schema{ 7457 "kind": { 7458 SchemaProps: spec.SchemaProps{ 7459 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/sig-architecture/api-conventions.md#types-kinds", 7460 Type: []string{"string"}, 7461 Format: "", 7462 }, 7463 }, 7464 "apiVersion": { 7465 SchemaProps: spec.SchemaProps{ 7466 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/sig-architecture/api-conventions.md#resources", 7467 Type: []string{"string"}, 7468 Format: "", 7469 }, 7470 }, 7471 "metadata": { 7472 SchemaProps: spec.SchemaProps{ 7473 Default: map[string]interface{}{}, 7474 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 7475 }, 7476 }, 7477 "items": { 7478 SchemaProps: spec.SchemaProps{ 7479 Type: []string{"array"}, 7480 Items: &spec.SchemaOrArray{ 7481 Schema: &spec.Schema{ 7482 SchemaProps: spec.SchemaProps{ 7483 Default: map[string]interface{}{}, 7484 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButton"), 7485 }, 7486 }, 7487 }, 7488 }, 7489 }, 7490 }, 7491 Required: []string{"items"}, 7492 }, 7493 }, 7494 Dependencies: []string{ 7495 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButton", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 7496 } 7497 } 7498 7499 func schema_pkg_apis_core_v1alpha1_UIButtonSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7500 return common.OpenAPIDefinition{ 7501 Schema: spec.Schema{ 7502 SchemaProps: spec.SchemaProps{ 7503 Description: "UIButtonSpec defines the desired state of UIButton", 7504 Type: []string{"object"}, 7505 Properties: map[string]spec.Schema{ 7506 "location": { 7507 SchemaProps: spec.SchemaProps{ 7508 Description: "Location associates the button with another component for layout.", 7509 Default: map[string]interface{}{}, 7510 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation"), 7511 }, 7512 }, 7513 "text": { 7514 SchemaProps: spec.SchemaProps{ 7515 Description: "Text to appear on the button itself or as hover text (depending on button location).", 7516 Default: "", 7517 Type: []string{"string"}, 7518 Format: "", 7519 }, 7520 }, 7521 "iconName": { 7522 SchemaProps: spec.SchemaProps{ 7523 Description: "IconName is a Material Icon to appear next to button text or on the button itself (depending on button location).\n\nValid values are icon font ligature names from the Material Icons set. See https://fonts.google.com/icons for the full list of available icons.\n\nIf both IconSVG and IconName are specified, IconSVG will take precedence.", 7524 Type: []string{"string"}, 7525 Format: "", 7526 }, 7527 }, 7528 "iconSVG": { 7529 SchemaProps: spec.SchemaProps{ 7530 Description: "IconSVG is an SVG to use as the icon to appear next to button text or on the button itself (depending on button location).\n\nThis should be an <svg> element scaled for a 24x24 viewport.\n\nIf both IconSVG and IconName are specified, IconSVG will take precedence.", 7531 Type: []string{"string"}, 7532 Format: "", 7533 }, 7534 }, 7535 "disabled": { 7536 SchemaProps: spec.SchemaProps{ 7537 Description: "If true, the button will be rendered, but with an effect indicating it's disabled. It will also be unclickable.", 7538 Type: []string{"boolean"}, 7539 Format: "", 7540 }, 7541 }, 7542 "requiresConfirmation": { 7543 SchemaProps: spec.SchemaProps{ 7544 Description: "If true, the UI will require the user to click the button a second time to confirm before taking action", 7545 Type: []string{"boolean"}, 7546 Format: "", 7547 }, 7548 }, 7549 "inputs": { 7550 SchemaProps: spec.SchemaProps{ 7551 Description: "Any inputs for this button.", 7552 Type: []string{"array"}, 7553 Items: &spec.SchemaOrArray{ 7554 Schema: &spec.Schema{ 7555 SchemaProps: spec.SchemaProps{ 7556 Default: map[string]interface{}{}, 7557 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputSpec"), 7558 }, 7559 }, 7560 }, 7561 }, 7562 }, 7563 }, 7564 Required: []string{"location", "text"}, 7565 }, 7566 }, 7567 Dependencies: []string{ 7568 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputSpec"}, 7569 } 7570 } 7571 7572 func schema_pkg_apis_core_v1alpha1_UIButtonStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7573 return common.OpenAPIDefinition{ 7574 Schema: spec.Schema{ 7575 SchemaProps: spec.SchemaProps{ 7576 Description: "UIButtonStatus defines the observed state of UIButton", 7577 Type: []string{"object"}, 7578 Properties: map[string]spec.Schema{ 7579 "lastClickedAt": { 7580 SchemaProps: spec.SchemaProps{ 7581 Description: "LastClickedAt is the timestamp of the last time the button was clicked.\n\nIf the button has never clicked before, this will be the zero-value/null.", 7582 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7583 }, 7584 }, 7585 "inputs": { 7586 SchemaProps: spec.SchemaProps{ 7587 Description: "Status of any inputs on this button.", 7588 Type: []string{"array"}, 7589 Items: &spec.SchemaOrArray{ 7590 Schema: &spec.Schema{ 7591 SchemaProps: spec.SchemaProps{ 7592 Default: map[string]interface{}{}, 7593 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputStatus"), 7594 }, 7595 }, 7596 }, 7597 }, 7598 }, 7599 }, 7600 }, 7601 }, 7602 Dependencies: []string{ 7603 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7604 } 7605 } 7606 7607 func schema_pkg_apis_core_v1alpha1_UIChoiceInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7608 return common.OpenAPIDefinition{ 7609 Schema: spec.Schema{ 7610 SchemaProps: spec.SchemaProps{ 7611 Description: "Describes a choice dropdown input field attached to a button", 7612 Type: []string{"object"}, 7613 Properties: map[string]spec.Schema{ 7614 "choices": { 7615 SchemaProps: spec.SchemaProps{ 7616 Description: "The list of valid values for this field", 7617 Type: []string{"array"}, 7618 Items: &spec.SchemaOrArray{ 7619 Schema: &spec.Schema{ 7620 SchemaProps: spec.SchemaProps{ 7621 Default: "", 7622 Type: []string{"string"}, 7623 Format: "", 7624 }, 7625 }, 7626 }, 7627 }, 7628 }, 7629 }, 7630 }, 7631 }, 7632 } 7633 } 7634 7635 func schema_pkg_apis_core_v1alpha1_UIChoiceInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7636 return common.OpenAPIDefinition{ 7637 Schema: spec.Schema{ 7638 SchemaProps: spec.SchemaProps{ 7639 Type: []string{"object"}, 7640 Properties: map[string]spec.Schema{ 7641 "value": { 7642 SchemaProps: spec.SchemaProps{ 7643 Default: "", 7644 Type: []string{"string"}, 7645 Format: "", 7646 }, 7647 }, 7648 }, 7649 Required: []string{"value"}, 7650 }, 7651 }, 7652 } 7653 } 7654 7655 func schema_pkg_apis_core_v1alpha1_UIComponentLocation(ref common.ReferenceCallback) common.OpenAPIDefinition { 7656 return common.OpenAPIDefinition{ 7657 Schema: spec.Schema{ 7658 SchemaProps: spec.SchemaProps{ 7659 Description: "UIComponentLocation specifies where to put a UI component.", 7660 Type: []string{"object"}, 7661 Properties: map[string]spec.Schema{ 7662 "componentID": { 7663 SchemaProps: spec.SchemaProps{ 7664 Description: "ComponentID is the identifier of the parent component to associate this component with.\n\nFor example, this is a resource name if the ComponentType is Resource.", 7665 Default: "", 7666 Type: []string{"string"}, 7667 Format: "", 7668 }, 7669 }, 7670 "componentType": { 7671 SchemaProps: spec.SchemaProps{ 7672 Description: "ComponentType is the type of the parent component.", 7673 Default: "", 7674 Type: []string{"string"}, 7675 Format: "", 7676 }, 7677 }, 7678 }, 7679 Required: []string{"componentID", "componentType"}, 7680 }, 7681 }, 7682 } 7683 } 7684 7685 func schema_pkg_apis_core_v1alpha1_UIComponentLocationResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 7686 return common.OpenAPIDefinition{ 7687 Schema: spec.Schema{ 7688 SchemaProps: spec.SchemaProps{ 7689 Type: []string{"object"}, 7690 Properties: map[string]spec.Schema{ 7691 "resourceName": { 7692 SchemaProps: spec.SchemaProps{ 7693 Default: "", 7694 Type: []string{"string"}, 7695 Format: "", 7696 }, 7697 }, 7698 }, 7699 Required: []string{"resourceName"}, 7700 }, 7701 }, 7702 } 7703 } 7704 7705 func schema_pkg_apis_core_v1alpha1_UIFeatureFlag(ref common.ReferenceCallback) common.OpenAPIDefinition { 7706 return common.OpenAPIDefinition{ 7707 Schema: spec.Schema{ 7708 SchemaProps: spec.SchemaProps{ 7709 Description: "Configures Tilt to enable non-default features (e.g., experimental or deprecated).\n\nThe Tilt features controlled by this are generally in an unfinished state, and not yet documented.\n\nAs a Tilt user, you don’t need to worry about this unless something else directs you to (e.g., an experimental feature doc, or a conversation with a Tilt contributor).", 7710 Type: []string{"object"}, 7711 Properties: map[string]spec.Schema{ 7712 "name": { 7713 SchemaProps: spec.SchemaProps{ 7714 Description: "The name of the flag.", 7715 Type: []string{"string"}, 7716 Format: "", 7717 }, 7718 }, 7719 "value": { 7720 SchemaProps: spec.SchemaProps{ 7721 Description: "The value of the flag.", 7722 Type: []string{"boolean"}, 7723 Format: "", 7724 }, 7725 }, 7726 }, 7727 }, 7728 }, 7729 } 7730 } 7731 7732 func schema_pkg_apis_core_v1alpha1_UIHiddenInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7733 return common.OpenAPIDefinition{ 7734 Schema: spec.Schema{ 7735 SchemaProps: spec.SchemaProps{ 7736 Description: "Describes a hidden input field attached to a button, with a value to pass on any submit.", 7737 Type: []string{"object"}, 7738 Properties: map[string]spec.Schema{ 7739 "value": { 7740 SchemaProps: spec.SchemaProps{ 7741 Default: "", 7742 Type: []string{"string"}, 7743 Format: "", 7744 }, 7745 }, 7746 }, 7747 Required: []string{"value"}, 7748 }, 7749 }, 7750 } 7751 } 7752 7753 func schema_pkg_apis_core_v1alpha1_UIHiddenInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7754 return common.OpenAPIDefinition{ 7755 Schema: spec.Schema{ 7756 SchemaProps: spec.SchemaProps{ 7757 Type: []string{"object"}, 7758 Properties: map[string]spec.Schema{ 7759 "value": { 7760 SchemaProps: spec.SchemaProps{ 7761 Default: "", 7762 Type: []string{"string"}, 7763 Format: "", 7764 }, 7765 }, 7766 }, 7767 Required: []string{"value"}, 7768 }, 7769 }, 7770 } 7771 } 7772 7773 func schema_pkg_apis_core_v1alpha1_UIInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7774 return common.OpenAPIDefinition{ 7775 Schema: spec.Schema{ 7776 SchemaProps: spec.SchemaProps{ 7777 Description: "Defines an Input to render in the UI. If UIButton is analogous to an HTML <form>, UIInput is analogous to an HTML <input>.", 7778 Type: []string{"object"}, 7779 Properties: map[string]spec.Schema{ 7780 "name": { 7781 SchemaProps: spec.SchemaProps{ 7782 Description: "Name of this input. Must be unique within the UIButton.", 7783 Default: "", 7784 Type: []string{"string"}, 7785 Format: "", 7786 }, 7787 }, 7788 "label": { 7789 SchemaProps: spec.SchemaProps{ 7790 Description: "A label to display next to this input in the UI.", 7791 Default: "", 7792 Type: []string{"string"}, 7793 Format: "", 7794 }, 7795 }, 7796 "text": { 7797 SchemaProps: spec.SchemaProps{ 7798 Description: "A Text input that takes a string.", 7799 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputSpec"), 7800 }, 7801 }, 7802 "bool": { 7803 SchemaProps: spec.SchemaProps{ 7804 Description: "A Bool input that is true or false", 7805 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputSpec"), 7806 }, 7807 }, 7808 "hidden": { 7809 SchemaProps: spec.SchemaProps{ 7810 Description: "An input that has a constant value and does not display to the user", 7811 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputSpec"), 7812 }, 7813 }, 7814 "choice": { 7815 SchemaProps: spec.SchemaProps{ 7816 Description: "A Choice input that takes a list of strings", 7817 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputSpec"), 7818 }, 7819 }, 7820 }, 7821 Required: []string{"name"}, 7822 }, 7823 }, 7824 Dependencies: []string{ 7825 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputSpec"}, 7826 } 7827 } 7828 7829 func schema_pkg_apis_core_v1alpha1_UIInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7830 return common.OpenAPIDefinition{ 7831 Schema: spec.Schema{ 7832 SchemaProps: spec.SchemaProps{ 7833 Description: "The status corresponding to a UIInputSpec", 7834 Type: []string{"object"}, 7835 Properties: map[string]spec.Schema{ 7836 "name": { 7837 SchemaProps: spec.SchemaProps{ 7838 Description: "Name of the input whose status this is. Must match the `Name` of a corresponding UIInputSpec.", 7839 Default: "", 7840 Type: []string{"string"}, 7841 Format: "", 7842 }, 7843 }, 7844 "text": { 7845 SchemaProps: spec.SchemaProps{ 7846 Description: "The status of the input, if it's text", 7847 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputStatus"), 7848 }, 7849 }, 7850 "bool": { 7851 SchemaProps: spec.SchemaProps{ 7852 Description: "The status of the input, if it's a bool", 7853 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputStatus"), 7854 }, 7855 }, 7856 "hidden": { 7857 SchemaProps: spec.SchemaProps{ 7858 Description: "The status of the input, if it's a hidden", 7859 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputStatus"), 7860 }, 7861 }, 7862 "choice": { 7863 SchemaProps: spec.SchemaProps{ 7864 Description: "The status of the input, if it's a choice", 7865 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputStatus"), 7866 }, 7867 }, 7868 }, 7869 Required: []string{"name"}, 7870 }, 7871 }, 7872 Dependencies: []string{ 7873 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputStatus"}, 7874 } 7875 } 7876 7877 func schema_pkg_apis_core_v1alpha1_UIResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 7878 return common.OpenAPIDefinition{ 7879 Schema: spec.Schema{ 7880 SchemaProps: spec.SchemaProps{ 7881 Description: "UIResource represents per-resource status data for rendering the web UI.\n\nTreat this as a legacy data structure that's more intended to make transition easier rather than a robust long-term API.", 7882 Type: []string{"object"}, 7883 Properties: map[string]spec.Schema{ 7884 "kind": { 7885 SchemaProps: spec.SchemaProps{ 7886 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/sig-architecture/api-conventions.md#types-kinds", 7887 Type: []string{"string"}, 7888 Format: "", 7889 }, 7890 }, 7891 "apiVersion": { 7892 SchemaProps: spec.SchemaProps{ 7893 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/sig-architecture/api-conventions.md#resources", 7894 Type: []string{"string"}, 7895 Format: "", 7896 }, 7897 }, 7898 "metadata": { 7899 SchemaProps: spec.SchemaProps{ 7900 Default: map[string]interface{}{}, 7901 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 7902 }, 7903 }, 7904 "spec": { 7905 SchemaProps: spec.SchemaProps{ 7906 Default: map[string]interface{}{}, 7907 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceSpec"), 7908 }, 7909 }, 7910 "status": { 7911 SchemaProps: spec.SchemaProps{ 7912 Default: map[string]interface{}{}, 7913 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStatus"), 7914 }, 7915 }, 7916 }, 7917 }, 7918 }, 7919 Dependencies: []string{ 7920 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 7921 } 7922 } 7923 7924 func schema_pkg_apis_core_v1alpha1_UIResourceCompose(ref common.ReferenceCallback) common.OpenAPIDefinition { 7925 return common.OpenAPIDefinition{ 7926 Schema: spec.Schema{ 7927 SchemaProps: spec.SchemaProps{ 7928 Description: "UIResourceCompose contains status information specific to Docker Compose.", 7929 Type: []string{"object"}, 7930 Properties: map[string]spec.Schema{ 7931 "healthStatus": { 7932 SchemaProps: spec.SchemaProps{ 7933 Description: "Status is one of Starting, Healthy or Unhealthy", 7934 Type: []string{"string"}, 7935 Format: "", 7936 }, 7937 }, 7938 }, 7939 }, 7940 }, 7941 } 7942 } 7943 7944 func schema_pkg_apis_core_v1alpha1_UIResourceCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 7945 return common.OpenAPIDefinition{ 7946 Schema: spec.Schema{ 7947 SchemaProps: spec.SchemaProps{ 7948 Type: []string{"object"}, 7949 Properties: map[string]spec.Schema{ 7950 "type": { 7951 SchemaProps: spec.SchemaProps{ 7952 Description: "Type of UI Resource condition.", 7953 Default: "", 7954 Type: []string{"string"}, 7955 Format: "", 7956 }, 7957 }, 7958 "status": { 7959 SchemaProps: spec.SchemaProps{ 7960 Description: "Status of the condition, one of True, False, Unknown.", 7961 Default: "", 7962 Type: []string{"string"}, 7963 Format: "", 7964 }, 7965 }, 7966 "lastTransitionTime": { 7967 SchemaProps: spec.SchemaProps{ 7968 Description: "Last time the condition transitioned from one status to another.", 7969 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7970 }, 7971 }, 7972 "reason": { 7973 SchemaProps: spec.SchemaProps{ 7974 Description: "The reason for the condition's last transition.", 7975 Type: []string{"string"}, 7976 Format: "", 7977 }, 7978 }, 7979 "message": { 7980 SchemaProps: spec.SchemaProps{ 7981 Description: "A human readable message indicating details about the transition.", 7982 Type: []string{"string"}, 7983 Format: "", 7984 }, 7985 }, 7986 }, 7987 Required: []string{"type", "status"}, 7988 }, 7989 }, 7990 Dependencies: []string{ 7991 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7992 } 7993 } 7994 7995 func schema_pkg_apis_core_v1alpha1_UIResourceKubernetes(ref common.ReferenceCallback) common.OpenAPIDefinition { 7996 return common.OpenAPIDefinition{ 7997 Schema: spec.Schema{ 7998 SchemaProps: spec.SchemaProps{ 7999 Description: "UIResourceKubernetes contains status information specific to Kubernetes.", 8000 Type: []string{"object"}, 8001 Properties: map[string]spec.Schema{ 8002 "podName": { 8003 SchemaProps: spec.SchemaProps{ 8004 Description: "The name of the active pod.\n\nThe active pod tends to be what Tilt defaults to for port-forwards, live-updates, etc.", 8005 Type: []string{"string"}, 8006 Format: "", 8007 }, 8008 }, 8009 "podCreationTime": { 8010 SchemaProps: spec.SchemaProps{ 8011 Description: "The creation time of the active pod.", 8012 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 8013 }, 8014 }, 8015 "podUpdateStartTime": { 8016 SchemaProps: spec.SchemaProps{ 8017 Description: "The last update time of the active pod", 8018 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 8019 }, 8020 }, 8021 "podStatus": { 8022 SchemaProps: spec.SchemaProps{ 8023 Description: "The status of the active pod.", 8024 Type: []string{"string"}, 8025 Format: "", 8026 }, 8027 }, 8028 "podStatusMessage": { 8029 SchemaProps: spec.SchemaProps{ 8030 Description: "Extra error messaging around the current status of the active pod.", 8031 Type: []string{"string"}, 8032 Format: "", 8033 }, 8034 }, 8035 "allContainersReady": { 8036 SchemaProps: spec.SchemaProps{ 8037 Description: "Whether all the containers in the pod are currently healthy and have passed readiness checks.", 8038 Type: []string{"boolean"}, 8039 Format: "", 8040 }, 8041 }, 8042 "podRestarts": { 8043 SchemaProps: spec.SchemaProps{ 8044 Description: "The number of pod restarts.", 8045 Type: []string{"integer"}, 8046 Format: "int32", 8047 }, 8048 }, 8049 "spanID": { 8050 SchemaProps: spec.SchemaProps{ 8051 Description: "The span where this pod stores its logs in the Tilt logstore.", 8052 Type: []string{"string"}, 8053 Format: "", 8054 }, 8055 }, 8056 "displayNames": { 8057 SchemaProps: spec.SchemaProps{ 8058 Description: "The list of all resources deployed in the Kubernetes deploy for this resource.", 8059 Type: []string{"array"}, 8060 Items: &spec.SchemaOrArray{ 8061 Schema: &spec.Schema{ 8062 SchemaProps: spec.SchemaProps{ 8063 Default: "", 8064 Type: []string{"string"}, 8065 Format: "", 8066 }, 8067 }, 8068 }, 8069 }, 8070 }, 8071 }, 8072 }, 8073 }, 8074 Dependencies: []string{ 8075 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 8076 } 8077 } 8078 8079 func schema_pkg_apis_core_v1alpha1_UIResourceLink(ref common.ReferenceCallback) common.OpenAPIDefinition { 8080 return common.OpenAPIDefinition{ 8081 Schema: spec.Schema{ 8082 SchemaProps: spec.SchemaProps{ 8083 Description: "UIResourceLink represents a link assocatiated with a UIResource.", 8084 Type: []string{"object"}, 8085 Properties: map[string]spec.Schema{ 8086 "url": { 8087 SchemaProps: spec.SchemaProps{ 8088 Description: "A URL to link to.", 8089 Type: []string{"string"}, 8090 Format: "", 8091 }, 8092 }, 8093 "name": { 8094 SchemaProps: spec.SchemaProps{ 8095 Description: "The display label on a URL.", 8096 Type: []string{"string"}, 8097 Format: "", 8098 }, 8099 }, 8100 }, 8101 }, 8102 }, 8103 } 8104 } 8105 8106 func schema_pkg_apis_core_v1alpha1_UIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 8107 return common.OpenAPIDefinition{ 8108 Schema: spec.Schema{ 8109 SchemaProps: spec.SchemaProps{ 8110 Description: "UIResourceList", 8111 Type: []string{"object"}, 8112 Properties: map[string]spec.Schema{ 8113 "kind": { 8114 SchemaProps: spec.SchemaProps{ 8115 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/sig-architecture/api-conventions.md#types-kinds", 8116 Type: []string{"string"}, 8117 Format: "", 8118 }, 8119 }, 8120 "apiVersion": { 8121 SchemaProps: spec.SchemaProps{ 8122 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/sig-architecture/api-conventions.md#resources", 8123 Type: []string{"string"}, 8124 Format: "", 8125 }, 8126 }, 8127 "metadata": { 8128 SchemaProps: spec.SchemaProps{ 8129 Default: map[string]interface{}{}, 8130 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 8131 }, 8132 }, 8133 "items": { 8134 SchemaProps: spec.SchemaProps{ 8135 Type: []string{"array"}, 8136 Items: &spec.SchemaOrArray{ 8137 Schema: &spec.Schema{ 8138 SchemaProps: spec.SchemaProps{ 8139 Default: map[string]interface{}{}, 8140 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResource"), 8141 }, 8142 }, 8143 }, 8144 }, 8145 }, 8146 }, 8147 Required: []string{"items"}, 8148 }, 8149 }, 8150 Dependencies: []string{ 8151 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResource", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 8152 } 8153 } 8154 8155 func schema_pkg_apis_core_v1alpha1_UIResourceLocal(ref common.ReferenceCallback) common.OpenAPIDefinition { 8156 return common.OpenAPIDefinition{ 8157 Schema: spec.Schema{ 8158 SchemaProps: spec.SchemaProps{ 8159 Description: "UIResourceLocal contains status information specific to local commands.", 8160 Type: []string{"object"}, 8161 Properties: map[string]spec.Schema{ 8162 "pid": { 8163 SchemaProps: spec.SchemaProps{ 8164 Description: "The PID of the actively running local command.", 8165 Type: []string{"integer"}, 8166 Format: "int64", 8167 }, 8168 }, 8169 "isTest": { 8170 SchemaProps: spec.SchemaProps{ 8171 Description: "Whether this represents a test job.\n\nDeprecated: Users should use labels for marking services as tests.", 8172 Type: []string{"boolean"}, 8173 Format: "", 8174 }, 8175 }, 8176 }, 8177 }, 8178 }, 8179 } 8180 } 8181 8182 func schema_pkg_apis_core_v1alpha1_UIResourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8183 return common.OpenAPIDefinition{ 8184 Schema: spec.Schema{ 8185 SchemaProps: spec.SchemaProps{ 8186 Description: "UIResourceSpec is an empty struct. UIResource is a kludge for making Tilt's internal status readable, not for specifying behavior.", 8187 Type: []string{"object"}, 8188 }, 8189 }, 8190 } 8191 } 8192 8193 func schema_pkg_apis_core_v1alpha1_UIResourceStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 8194 return common.OpenAPIDefinition{ 8195 Schema: spec.Schema{ 8196 SchemaProps: spec.SchemaProps{ 8197 Type: []string{"object"}, 8198 Properties: map[string]spec.Schema{ 8199 "reason": { 8200 SchemaProps: spec.SchemaProps{ 8201 Description: "Reason is a unique, one-word reason for why the UIResource update is pending.", 8202 Default: "", 8203 Type: []string{"string"}, 8204 Format: "", 8205 }, 8206 }, 8207 "on": { 8208 SchemaProps: spec.SchemaProps{ 8209 Description: "HoldingOn is the set of objects blocking this resource from updating.\n\nThese objects might NOT be explicit dependencies of the current resource. For example, if an un-parallelizable resource is updating, all other resources with queued updates will be holding on it with a reason of `waiting-for-local`.", 8210 Type: []string{"array"}, 8211 Items: &spec.SchemaOrArray{ 8212 Schema: &spec.Schema{ 8213 SchemaProps: spec.SchemaProps{ 8214 Default: map[string]interface{}{}, 8215 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaitingOnRef"), 8216 }, 8217 }, 8218 }, 8219 }, 8220 }, 8221 }, 8222 Required: []string{"reason"}, 8223 }, 8224 }, 8225 Dependencies: []string{ 8226 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaitingOnRef"}, 8227 } 8228 } 8229 8230 func schema_pkg_apis_core_v1alpha1_UIResourceStateWaitingOnRef(ref common.ReferenceCallback) common.OpenAPIDefinition { 8231 return common.OpenAPIDefinition{ 8232 Schema: spec.Schema{ 8233 SchemaProps: spec.SchemaProps{ 8234 Type: []string{"object"}, 8235 Properties: map[string]spec.Schema{ 8236 "group": { 8237 SchemaProps: spec.SchemaProps{ 8238 Description: "Group for the object type being waited on.", 8239 Default: "", 8240 Type: []string{"string"}, 8241 Format: "", 8242 }, 8243 }, 8244 "apiVersion": { 8245 SchemaProps: spec.SchemaProps{ 8246 Description: "APIVersion for the object type being waited on.", 8247 Default: "", 8248 Type: []string{"string"}, 8249 Format: "", 8250 }, 8251 }, 8252 "kind": { 8253 SchemaProps: spec.SchemaProps{ 8254 Description: "Kind of the object type being waited on.", 8255 Default: "", 8256 Type: []string{"string"}, 8257 Format: "", 8258 }, 8259 }, 8260 "name": { 8261 SchemaProps: spec.SchemaProps{ 8262 Description: "Name of the object being waiting on.", 8263 Default: "", 8264 Type: []string{"string"}, 8265 Format: "", 8266 }, 8267 }, 8268 }, 8269 Required: []string{"group", "apiVersion", "kind", "name"}, 8270 }, 8271 }, 8272 } 8273 } 8274 8275 func schema_pkg_apis_core_v1alpha1_UIResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 8276 return common.OpenAPIDefinition{ 8277 Schema: spec.Schema{ 8278 SchemaProps: spec.SchemaProps{ 8279 Description: "UIResourceStatus defines the observed state of UIResource", 8280 Type: []string{"object"}, 8281 Properties: map[string]spec.Schema{ 8282 "lastDeployTime": { 8283 SchemaProps: spec.SchemaProps{ 8284 Description: "The last time this resource was deployed.", 8285 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 8286 }, 8287 }, 8288 "triggerMode": { 8289 SchemaProps: spec.SchemaProps{ 8290 Description: "Bit mask representing whether this resource is run when: 1) When a file changes 2) When the resource initializes", 8291 Type: []string{"integer"}, 8292 Format: "int32", 8293 }, 8294 }, 8295 "buildHistory": { 8296 SchemaProps: spec.SchemaProps{ 8297 Description: "Past completed builds.", 8298 Type: []string{"array"}, 8299 Items: &spec.SchemaOrArray{ 8300 Schema: &spec.Schema{ 8301 SchemaProps: spec.SchemaProps{ 8302 Default: map[string]interface{}{}, 8303 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildTerminated"), 8304 }, 8305 }, 8306 }, 8307 }, 8308 }, 8309 "currentBuild": { 8310 SchemaProps: spec.SchemaProps{ 8311 Description: "The currently running build, if any.", 8312 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildRunning"), 8313 }, 8314 }, 8315 "pendingBuildSince": { 8316 SchemaProps: spec.SchemaProps{ 8317 Description: "When the build was put in the pending queue.", 8318 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 8319 }, 8320 }, 8321 "hasPendingChanges": { 8322 SchemaProps: spec.SchemaProps{ 8323 Description: "True if the build was put in the pending queue due to file changes.", 8324 Type: []string{"boolean"}, 8325 Format: "", 8326 }, 8327 }, 8328 "endpointLinks": { 8329 SchemaProps: spec.SchemaProps{ 8330 Description: "Links attached to this resource.", 8331 Type: []string{"array"}, 8332 Items: &spec.SchemaOrArray{ 8333 Schema: &spec.Schema{ 8334 SchemaProps: spec.SchemaProps{ 8335 Default: map[string]interface{}{}, 8336 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLink"), 8337 }, 8338 }, 8339 }, 8340 }, 8341 }, 8342 "k8sResourceInfo": { 8343 SchemaProps: spec.SchemaProps{ 8344 Description: "Extra data about Kubernetes resources.", 8345 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceKubernetes"), 8346 }, 8347 }, 8348 "composeResourceInfo": { 8349 SchemaProps: spec.SchemaProps{ 8350 Description: "Extra data about Compose resources.", 8351 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceCompose"), 8352 }, 8353 }, 8354 "localResourceInfo": { 8355 SchemaProps: spec.SchemaProps{ 8356 Description: "Extra data about Local resources", 8357 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLocal"), 8358 }, 8359 }, 8360 "runtimeStatus": { 8361 SchemaProps: spec.SchemaProps{ 8362 Description: "The RuntimeStatus is a simple, high-level summary of the runtime state of a server.\n\nNot all resources run servers.", 8363 Type: []string{"string"}, 8364 Format: "", 8365 }, 8366 }, 8367 "updateStatus": { 8368 SchemaProps: spec.SchemaProps{ 8369 Description: "The UpdateStatus is a simple, high-level summary of any update tasks to bring the resource up-to-date.\n\nIf the resource runs a server, this may include both build tasks and live-update syncing.", 8370 Type: []string{"string"}, 8371 Format: "", 8372 }, 8373 }, 8374 "specs": { 8375 SchemaProps: spec.SchemaProps{ 8376 Description: "Information about all the target specs that this resource summarizes.", 8377 Type: []string{"array"}, 8378 Items: &spec.SchemaOrArray{ 8379 Schema: &spec.Schema{ 8380 SchemaProps: spec.SchemaProps{ 8381 Default: map[string]interface{}{}, 8382 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceTargetSpec"), 8383 }, 8384 }, 8385 }, 8386 }, 8387 }, 8388 "queued": { 8389 SchemaProps: spec.SchemaProps{ 8390 Description: "Queued is a simple indicator of whether the resource is queued for an update.", 8391 Type: []string{"boolean"}, 8392 Format: "", 8393 }, 8394 }, 8395 "order": { 8396 SchemaProps: spec.SchemaProps{ 8397 Description: "Order expresses the relative order of resources in the UI when they're not otherwise sorted. Lower integers go first. When two resources have the same order, they should be sorted by name.\n\nWhen UIResources are generated from the Tiltfile, we use the order they were added to the Tiltfile for the Order field.", 8398 Type: []string{"integer"}, 8399 Format: "int32", 8400 }, 8401 }, 8402 "disableStatus": { 8403 SchemaProps: spec.SchemaProps{ 8404 Description: "Information about the resource's objects' disabled status.", 8405 Default: map[string]interface{}{}, 8406 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableResourceStatus"), 8407 }, 8408 }, 8409 "waiting": { 8410 SchemaProps: spec.SchemaProps{ 8411 Description: "Waiting provides detail on why the resource is currently blocked from updating.", 8412 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaiting"), 8413 }, 8414 }, 8415 "conditions": { 8416 SchemaProps: spec.SchemaProps{ 8417 Description: "Represents the latest available observations of a UIResource's current state.\n\nDesigned for compatibility with 'wait' and cross-resource status reporting. https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", 8418 Type: []string{"array"}, 8419 Items: &spec.SchemaOrArray{ 8420 Schema: &spec.Schema{ 8421 SchemaProps: spec.SchemaProps{ 8422 Default: map[string]interface{}{}, 8423 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceCondition"), 8424 }, 8425 }, 8426 }, 8427 }, 8428 }, 8429 }, 8430 }, 8431 }, 8432 Dependencies: []string{ 8433 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableResourceStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildRunning", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildTerminated", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceCompose", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceCondition", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceKubernetes", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLink", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLocal", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaiting", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceTargetSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 8434 } 8435 } 8436 8437 func schema_pkg_apis_core_v1alpha1_UIResourceTargetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8438 return common.OpenAPIDefinition{ 8439 Schema: spec.Schema{ 8440 SchemaProps: spec.SchemaProps{ 8441 Description: "UIResourceTargetSpec represents the spec of a build or deploy that a resource summarizes.", 8442 Type: []string{"object"}, 8443 Properties: map[string]spec.Schema{ 8444 "id": { 8445 SchemaProps: spec.SchemaProps{ 8446 Description: "The ID of the target.", 8447 Type: []string{"string"}, 8448 Format: "", 8449 }, 8450 }, 8451 "type": { 8452 SchemaProps: spec.SchemaProps{ 8453 Description: "The type of the target.", 8454 Type: []string{"string"}, 8455 Format: "", 8456 }, 8457 }, 8458 "hasLiveUpdate": { 8459 SchemaProps: spec.SchemaProps{ 8460 Description: "Whether the target has a live update associated with it.", 8461 Type: []string{"boolean"}, 8462 Format: "", 8463 }, 8464 }, 8465 }, 8466 }, 8467 }, 8468 } 8469 } 8470 8471 func schema_pkg_apis_core_v1alpha1_UISession(ref common.ReferenceCallback) common.OpenAPIDefinition { 8472 return common.OpenAPIDefinition{ 8473 Schema: spec.Schema{ 8474 SchemaProps: spec.SchemaProps{ 8475 Description: "UISession represents global status data for rendering the web UI.\n\nTreat this as a legacy data structure that's more intended to make transition easier rather than a robust long-term API.\n\nPer-resource status data should be stored in UIResource.", 8476 Type: []string{"object"}, 8477 Properties: map[string]spec.Schema{ 8478 "kind": { 8479 SchemaProps: spec.SchemaProps{ 8480 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/sig-architecture/api-conventions.md#types-kinds", 8481 Type: []string{"string"}, 8482 Format: "", 8483 }, 8484 }, 8485 "apiVersion": { 8486 SchemaProps: spec.SchemaProps{ 8487 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/sig-architecture/api-conventions.md#resources", 8488 Type: []string{"string"}, 8489 Format: "", 8490 }, 8491 }, 8492 "metadata": { 8493 SchemaProps: spec.SchemaProps{ 8494 Default: map[string]interface{}{}, 8495 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 8496 }, 8497 }, 8498 "spec": { 8499 SchemaProps: spec.SchemaProps{ 8500 Default: map[string]interface{}{}, 8501 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionSpec"), 8502 }, 8503 }, 8504 "status": { 8505 SchemaProps: spec.SchemaProps{ 8506 Default: map[string]interface{}{}, 8507 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionStatus"), 8508 }, 8509 }, 8510 }, 8511 }, 8512 }, 8513 Dependencies: []string{ 8514 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 8515 } 8516 } 8517 8518 func schema_pkg_apis_core_v1alpha1_UISessionList(ref common.ReferenceCallback) common.OpenAPIDefinition { 8519 return common.OpenAPIDefinition{ 8520 Schema: spec.Schema{ 8521 SchemaProps: spec.SchemaProps{ 8522 Description: "UISessionList", 8523 Type: []string{"object"}, 8524 Properties: map[string]spec.Schema{ 8525 "kind": { 8526 SchemaProps: spec.SchemaProps{ 8527 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/sig-architecture/api-conventions.md#types-kinds", 8528 Type: []string{"string"}, 8529 Format: "", 8530 }, 8531 }, 8532 "apiVersion": { 8533 SchemaProps: spec.SchemaProps{ 8534 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/sig-architecture/api-conventions.md#resources", 8535 Type: []string{"string"}, 8536 Format: "", 8537 }, 8538 }, 8539 "metadata": { 8540 SchemaProps: spec.SchemaProps{ 8541 Default: map[string]interface{}{}, 8542 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 8543 }, 8544 }, 8545 "items": { 8546 SchemaProps: spec.SchemaProps{ 8547 Type: []string{"array"}, 8548 Items: &spec.SchemaOrArray{ 8549 Schema: &spec.Schema{ 8550 SchemaProps: spec.SchemaProps{ 8551 Default: map[string]interface{}{}, 8552 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISession"), 8553 }, 8554 }, 8555 }, 8556 }, 8557 }, 8558 }, 8559 Required: []string{"items"}, 8560 }, 8561 }, 8562 Dependencies: []string{ 8563 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISession", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 8564 } 8565 } 8566 8567 func schema_pkg_apis_core_v1alpha1_UISessionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8568 return common.OpenAPIDefinition{ 8569 Schema: spec.Schema{ 8570 SchemaProps: spec.SchemaProps{ 8571 Description: "UISessionSpec is an empty struct. UISession is a kludge for making Tilt's internal status readable, not for specifying behavior.", 8572 Type: []string{"object"}, 8573 }, 8574 }, 8575 } 8576 } 8577 8578 func schema_pkg_apis_core_v1alpha1_UISessionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 8579 return common.OpenAPIDefinition{ 8580 Schema: spec.Schema{ 8581 SchemaProps: spec.SchemaProps{ 8582 Description: "UISessionStatus defines the observed state of UISession", 8583 Type: []string{"object"}, 8584 Properties: map[string]spec.Schema{ 8585 "featureFlags": { 8586 SchemaProps: spec.SchemaProps{ 8587 Description: "FeatureFlags reports a list of experimental features that have been enabled.", 8588 Type: []string{"array"}, 8589 Items: &spec.SchemaOrArray{ 8590 Schema: &spec.Schema{ 8591 SchemaProps: spec.SchemaProps{ 8592 Default: map[string]interface{}{}, 8593 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIFeatureFlag"), 8594 }, 8595 }, 8596 }, 8597 }, 8598 }, 8599 "needsAnalyticsNudge": { 8600 SchemaProps: spec.SchemaProps{ 8601 Description: "NeedsAnalyticsNudge reports whether the UI hasn't opted in or out of analytics, and the UI should nudge them to do so.", 8602 Type: []string{"boolean"}, 8603 Format: "", 8604 }, 8605 }, 8606 "runningTiltBuild": { 8607 SchemaProps: spec.SchemaProps{ 8608 Description: "RunningTiltBuild reports the currently running version of tilt that this UI is talking to.", 8609 Default: map[string]interface{}{}, 8610 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltBuild"), 8611 }, 8612 }, 8613 "suggestedTiltVersion": { 8614 SchemaProps: spec.SchemaProps{ 8615 Description: "SuggestedTiltVersion tells the UI the recommended version for this user. If the version is different than what's running, the UI may display a prompt to upgrade.", 8616 Type: []string{"string"}, 8617 Format: "", 8618 }, 8619 }, 8620 "versionSettings": { 8621 SchemaProps: spec.SchemaProps{ 8622 Description: "VersionSettings indicates whether version updates have been enabled/disabled from the Tiltfile.", 8623 Default: map[string]interface{}{}, 8624 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.VersionSettings"), 8625 }, 8626 }, 8627 "tiltCloudUsername": { 8628 SchemaProps: spec.SchemaProps{ 8629 Description: "TiltCloudUsername reports the username if the user is signed into TiltCloud.\n\ndeprecated: no longer populated", 8630 Type: []string{"string"}, 8631 Format: "", 8632 }, 8633 }, 8634 "tiltCloudTeamName": { 8635 SchemaProps: spec.SchemaProps{ 8636 Description: "TiltCloudUsername reports the human-readable team name if the user is signed into TiltCloud and the Tiltfile declares a team.\n\ndeprecated: no longer populated", 8637 Type: []string{"string"}, 8638 Format: "", 8639 }, 8640 }, 8641 "tiltCloudSchemeHost": { 8642 SchemaProps: spec.SchemaProps{ 8643 Description: "TiltCloudSchemeHost reports the base URL of the Tilt Cloud instance associated with this Tilt process. Usually https://cloud.tilt.dev\n\ndeprecated: no longer populated", 8644 Type: []string{"string"}, 8645 Format: "", 8646 }, 8647 }, 8648 "tiltCloudTeamID": { 8649 SchemaProps: spec.SchemaProps{ 8650 Description: "TiltCloudTeamID reports the unique team id if the user is signed into TiltCloud and the Tiltfile declares a team.\n\ndeprecated: no longer populated", 8651 Type: []string{"string"}, 8652 Format: "", 8653 }, 8654 }, 8655 "fatalError": { 8656 SchemaProps: spec.SchemaProps{ 8657 Description: "A FatalError is an error that forces Tilt to stop its control loop. The API server will stay up and continue to serve the UI, but no further builds will happen.", 8658 Type: []string{"string"}, 8659 Format: "", 8660 }, 8661 }, 8662 "tiltStartTime": { 8663 SchemaProps: spec.SchemaProps{ 8664 Description: "The time that this instance of tilt started. Clients can use this to determine if the API server has restarted and all the objects need to be refreshed.", 8665 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 8666 }, 8667 }, 8668 "tiltfileKey": { 8669 SchemaProps: spec.SchemaProps{ 8670 Description: "An identifier for the Tiltfile that is running. Clients can use this to store data associated with a particular project in LocalStorage or other persistent storage.", 8671 Type: []string{"string"}, 8672 Format: "", 8673 }, 8674 }, 8675 }, 8676 }, 8677 }, 8678 Dependencies: []string{ 8679 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltBuild", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIFeatureFlag", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.VersionSettings", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 8680 } 8681 } 8682 8683 func schema_pkg_apis_core_v1alpha1_UITextInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8684 return common.OpenAPIDefinition{ 8685 Schema: spec.Schema{ 8686 SchemaProps: spec.SchemaProps{ 8687 Description: "Describes a text input field attached to a button.", 8688 Type: []string{"object"}, 8689 Properties: map[string]spec.Schema{ 8690 "defaultValue": { 8691 SchemaProps: spec.SchemaProps{ 8692 Description: "Initial value for this field.", 8693 Type: []string{"string"}, 8694 Format: "", 8695 }, 8696 }, 8697 "placeholder": { 8698 SchemaProps: spec.SchemaProps{ 8699 Description: "A short hint that describes the expected input of this field.", 8700 Type: []string{"string"}, 8701 Format: "", 8702 }, 8703 }, 8704 }, 8705 }, 8706 }, 8707 } 8708 } 8709 8710 func schema_pkg_apis_core_v1alpha1_UITextInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 8711 return common.OpenAPIDefinition{ 8712 Schema: spec.Schema{ 8713 SchemaProps: spec.SchemaProps{ 8714 Type: []string{"object"}, 8715 Properties: map[string]spec.Schema{ 8716 "value": { 8717 SchemaProps: spec.SchemaProps{ 8718 Description: "The content of the text input.", 8719 Default: "", 8720 Type: []string{"string"}, 8721 Format: "", 8722 }, 8723 }, 8724 }, 8725 Required: []string{"value"}, 8726 }, 8727 }, 8728 } 8729 } 8730 8731 func schema_pkg_apis_core_v1alpha1_VersionSettings(ref common.ReferenceCallback) common.OpenAPIDefinition { 8732 return common.OpenAPIDefinition{ 8733 Schema: spec.Schema{ 8734 SchemaProps: spec.SchemaProps{ 8735 Description: "Information about how the Tilt binary handles updates.", 8736 Type: []string{"object"}, 8737 Properties: map[string]spec.Schema{ 8738 "checkUpdates": { 8739 SchemaProps: spec.SchemaProps{ 8740 Description: "Whether version updates have been enabled/disabled from the Tiltfile.", 8741 Type: []string{"boolean"}, 8742 Format: "", 8743 }, 8744 }, 8745 }, 8746 }, 8747 }, 8748 } 8749 } 8750 8751 func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { 8752 return common.OpenAPIDefinition{ 8753 Schema: spec.Schema{ 8754 SchemaProps: spec.SchemaProps{ 8755 Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.", 8756 Type: []string{"object"}, 8757 Properties: map[string]spec.Schema{ 8758 "kind": { 8759 SchemaProps: spec.SchemaProps{ 8760 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/sig-architecture/api-conventions.md#types-kinds", 8761 Type: []string{"string"}, 8762 Format: "", 8763 }, 8764 }, 8765 "apiVersion": { 8766 SchemaProps: spec.SchemaProps{ 8767 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/sig-architecture/api-conventions.md#resources", 8768 Type: []string{"string"}, 8769 Format: "", 8770 }, 8771 }, 8772 "name": { 8773 SchemaProps: spec.SchemaProps{ 8774 Description: "name is the name of the group.", 8775 Default: "", 8776 Type: []string{"string"}, 8777 Format: "", 8778 }, 8779 }, 8780 "versions": { 8781 VendorExtensible: spec.VendorExtensible{ 8782 Extensions: spec.Extensions{ 8783 "x-kubernetes-list-type": "atomic", 8784 }, 8785 }, 8786 SchemaProps: spec.SchemaProps{ 8787 Description: "versions are the versions supported in this group.", 8788 Type: []string{"array"}, 8789 Items: &spec.SchemaOrArray{ 8790 Schema: &spec.Schema{ 8791 SchemaProps: spec.SchemaProps{ 8792 Default: map[string]interface{}{}, 8793 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 8794 }, 8795 }, 8796 }, 8797 }, 8798 }, 8799 "preferredVersion": { 8800 SchemaProps: spec.SchemaProps{ 8801 Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.", 8802 Default: map[string]interface{}{}, 8803 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 8804 }, 8805 }, 8806 "serverAddressByClientCIDRs": { 8807 VendorExtensible: spec.VendorExtensible{ 8808 Extensions: spec.Extensions{ 8809 "x-kubernetes-list-type": "atomic", 8810 }, 8811 }, 8812 SchemaProps: spec.SchemaProps{ 8813 Description: "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", 8814 Type: []string{"array"}, 8815 Items: &spec.SchemaOrArray{ 8816 Schema: &spec.Schema{ 8817 SchemaProps: spec.SchemaProps{ 8818 Default: map[string]interface{}{}, 8819 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 8820 }, 8821 }, 8822 }, 8823 }, 8824 }, 8825 }, 8826 Required: []string{"name", "versions"}, 8827 }, 8828 }, 8829 Dependencies: []string{ 8830 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 8831 } 8832 } 8833 8834 func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition { 8835 return common.OpenAPIDefinition{ 8836 Schema: spec.Schema{ 8837 SchemaProps: spec.SchemaProps{ 8838 Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", 8839 Type: []string{"object"}, 8840 Properties: map[string]spec.Schema{ 8841 "kind": { 8842 SchemaProps: spec.SchemaProps{ 8843 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/sig-architecture/api-conventions.md#types-kinds", 8844 Type: []string{"string"}, 8845 Format: "", 8846 }, 8847 }, 8848 "apiVersion": { 8849 SchemaProps: spec.SchemaProps{ 8850 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/sig-architecture/api-conventions.md#resources", 8851 Type: []string{"string"}, 8852 Format: "", 8853 }, 8854 }, 8855 "groups": { 8856 VendorExtensible: spec.VendorExtensible{ 8857 Extensions: spec.Extensions{ 8858 "x-kubernetes-list-type": "atomic", 8859 }, 8860 }, 8861 SchemaProps: spec.SchemaProps{ 8862 Description: "groups is a list of APIGroup.", 8863 Type: []string{"array"}, 8864 Items: &spec.SchemaOrArray{ 8865 Schema: &spec.Schema{ 8866 SchemaProps: spec.SchemaProps{ 8867 Default: map[string]interface{}{}, 8868 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"), 8869 }, 8870 }, 8871 }, 8872 }, 8873 }, 8874 }, 8875 Required: []string{"groups"}, 8876 }, 8877 }, 8878 Dependencies: []string{ 8879 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"}, 8880 } 8881 } 8882 8883 func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 8884 return common.OpenAPIDefinition{ 8885 Schema: spec.Schema{ 8886 SchemaProps: spec.SchemaProps{ 8887 Description: "APIResource specifies the name of a resource and whether it is namespaced.", 8888 Type: []string{"object"}, 8889 Properties: map[string]spec.Schema{ 8890 "name": { 8891 SchemaProps: spec.SchemaProps{ 8892 Description: "name is the plural name of the resource.", 8893 Default: "", 8894 Type: []string{"string"}, 8895 Format: "", 8896 }, 8897 }, 8898 "singularName": { 8899 SchemaProps: spec.SchemaProps{ 8900 Description: "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.", 8901 Default: "", 8902 Type: []string{"string"}, 8903 Format: "", 8904 }, 8905 }, 8906 "namespaced": { 8907 SchemaProps: spec.SchemaProps{ 8908 Description: "namespaced indicates if a resource is namespaced or not.", 8909 Default: false, 8910 Type: []string{"boolean"}, 8911 Format: "", 8912 }, 8913 }, 8914 "group": { 8915 SchemaProps: spec.SchemaProps{ 8916 Description: "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".", 8917 Type: []string{"string"}, 8918 Format: "", 8919 }, 8920 }, 8921 "version": { 8922 SchemaProps: spec.SchemaProps{ 8923 Description: "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".", 8924 Type: []string{"string"}, 8925 Format: "", 8926 }, 8927 }, 8928 "kind": { 8929 SchemaProps: spec.SchemaProps{ 8930 Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", 8931 Default: "", 8932 Type: []string{"string"}, 8933 Format: "", 8934 }, 8935 }, 8936 "verbs": { 8937 SchemaProps: spec.SchemaProps{ 8938 Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", 8939 Type: []string{"array"}, 8940 Items: &spec.SchemaOrArray{ 8941 Schema: &spec.Schema{ 8942 SchemaProps: spec.SchemaProps{ 8943 Default: "", 8944 Type: []string{"string"}, 8945 Format: "", 8946 }, 8947 }, 8948 }, 8949 }, 8950 }, 8951 "shortNames": { 8952 VendorExtensible: spec.VendorExtensible{ 8953 Extensions: spec.Extensions{ 8954 "x-kubernetes-list-type": "atomic", 8955 }, 8956 }, 8957 SchemaProps: spec.SchemaProps{ 8958 Description: "shortNames is a list of suggested short names of the resource.", 8959 Type: []string{"array"}, 8960 Items: &spec.SchemaOrArray{ 8961 Schema: &spec.Schema{ 8962 SchemaProps: spec.SchemaProps{ 8963 Default: "", 8964 Type: []string{"string"}, 8965 Format: "", 8966 }, 8967 }, 8968 }, 8969 }, 8970 }, 8971 "categories": { 8972 VendorExtensible: spec.VendorExtensible{ 8973 Extensions: spec.Extensions{ 8974 "x-kubernetes-list-type": "atomic", 8975 }, 8976 }, 8977 SchemaProps: spec.SchemaProps{ 8978 Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", 8979 Type: []string{"array"}, 8980 Items: &spec.SchemaOrArray{ 8981 Schema: &spec.Schema{ 8982 SchemaProps: spec.SchemaProps{ 8983 Default: "", 8984 Type: []string{"string"}, 8985 Format: "", 8986 }, 8987 }, 8988 }, 8989 }, 8990 }, 8991 "storageVersionHash": { 8992 SchemaProps: spec.SchemaProps{ 8993 Description: "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.", 8994 Type: []string{"string"}, 8995 Format: "", 8996 }, 8997 }, 8998 }, 8999 Required: []string{"name", "singularName", "namespaced", "kind", "verbs"}, 9000 }, 9001 }, 9002 } 9003 } 9004 9005 func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 9006 return common.OpenAPIDefinition{ 9007 Schema: spec.Schema{ 9008 SchemaProps: spec.SchemaProps{ 9009 Description: "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", 9010 Type: []string{"object"}, 9011 Properties: map[string]spec.Schema{ 9012 "kind": { 9013 SchemaProps: spec.SchemaProps{ 9014 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/sig-architecture/api-conventions.md#types-kinds", 9015 Type: []string{"string"}, 9016 Format: "", 9017 }, 9018 }, 9019 "apiVersion": { 9020 SchemaProps: spec.SchemaProps{ 9021 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/sig-architecture/api-conventions.md#resources", 9022 Type: []string{"string"}, 9023 Format: "", 9024 }, 9025 }, 9026 "groupVersion": { 9027 SchemaProps: spec.SchemaProps{ 9028 Description: "groupVersion is the group and version this APIResourceList is for.", 9029 Default: "", 9030 Type: []string{"string"}, 9031 Format: "", 9032 }, 9033 }, 9034 "resources": { 9035 VendorExtensible: spec.VendorExtensible{ 9036 Extensions: spec.Extensions{ 9037 "x-kubernetes-list-type": "atomic", 9038 }, 9039 }, 9040 SchemaProps: spec.SchemaProps{ 9041 Description: "resources contains the name of the resources and if they are namespaced.", 9042 Type: []string{"array"}, 9043 Items: &spec.SchemaOrArray{ 9044 Schema: &spec.Schema{ 9045 SchemaProps: spec.SchemaProps{ 9046 Default: map[string]interface{}{}, 9047 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"), 9048 }, 9049 }, 9050 }, 9051 }, 9052 }, 9053 }, 9054 Required: []string{"groupVersion", "resources"}, 9055 }, 9056 }, 9057 Dependencies: []string{ 9058 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"}, 9059 } 9060 } 9061 9062 func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9063 return common.OpenAPIDefinition{ 9064 Schema: spec.Schema{ 9065 SchemaProps: spec.SchemaProps{ 9066 Description: "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", 9067 Type: []string{"object"}, 9068 Properties: map[string]spec.Schema{ 9069 "kind": { 9070 SchemaProps: spec.SchemaProps{ 9071 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/sig-architecture/api-conventions.md#types-kinds", 9072 Type: []string{"string"}, 9073 Format: "", 9074 }, 9075 }, 9076 "apiVersion": { 9077 SchemaProps: spec.SchemaProps{ 9078 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/sig-architecture/api-conventions.md#resources", 9079 Type: []string{"string"}, 9080 Format: "", 9081 }, 9082 }, 9083 "versions": { 9084 VendorExtensible: spec.VendorExtensible{ 9085 Extensions: spec.Extensions{ 9086 "x-kubernetes-list-type": "atomic", 9087 }, 9088 }, 9089 SchemaProps: spec.SchemaProps{ 9090 Description: "versions are the api versions that are available.", 9091 Type: []string{"array"}, 9092 Items: &spec.SchemaOrArray{ 9093 Schema: &spec.Schema{ 9094 SchemaProps: spec.SchemaProps{ 9095 Default: "", 9096 Type: []string{"string"}, 9097 Format: "", 9098 }, 9099 }, 9100 }, 9101 }, 9102 }, 9103 "serverAddressByClientCIDRs": { 9104 VendorExtensible: spec.VendorExtensible{ 9105 Extensions: spec.Extensions{ 9106 "x-kubernetes-list-type": "atomic", 9107 }, 9108 }, 9109 SchemaProps: spec.SchemaProps{ 9110 Description: "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", 9111 Type: []string{"array"}, 9112 Items: &spec.SchemaOrArray{ 9113 Schema: &spec.Schema{ 9114 SchemaProps: spec.SchemaProps{ 9115 Default: map[string]interface{}{}, 9116 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 9117 }, 9118 }, 9119 }, 9120 }, 9121 }, 9122 }, 9123 Required: []string{"versions", "serverAddressByClientCIDRs"}, 9124 }, 9125 }, 9126 Dependencies: []string{ 9127 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 9128 } 9129 } 9130 9131 func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9132 return common.OpenAPIDefinition{ 9133 Schema: spec.Schema{ 9134 SchemaProps: spec.SchemaProps{ 9135 Description: "ApplyOptions may be provided when applying an API object. FieldManager is required for apply requests. ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation that speaks specifically to how the options fields relate to apply.", 9136 Type: []string{"object"}, 9137 Properties: map[string]spec.Schema{ 9138 "kind": { 9139 SchemaProps: spec.SchemaProps{ 9140 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/sig-architecture/api-conventions.md#types-kinds", 9141 Type: []string{"string"}, 9142 Format: "", 9143 }, 9144 }, 9145 "apiVersion": { 9146 SchemaProps: spec.SchemaProps{ 9147 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/sig-architecture/api-conventions.md#resources", 9148 Type: []string{"string"}, 9149 Format: "", 9150 }, 9151 }, 9152 "dryRun": { 9153 VendorExtensible: spec.VendorExtensible{ 9154 Extensions: spec.Extensions{ 9155 "x-kubernetes-list-type": "atomic", 9156 }, 9157 }, 9158 SchemaProps: spec.SchemaProps{ 9159 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", 9160 Type: []string{"array"}, 9161 Items: &spec.SchemaOrArray{ 9162 Schema: &spec.Schema{ 9163 SchemaProps: spec.SchemaProps{ 9164 Default: "", 9165 Type: []string{"string"}, 9166 Format: "", 9167 }, 9168 }, 9169 }, 9170 }, 9171 }, 9172 "force": { 9173 SchemaProps: spec.SchemaProps{ 9174 Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people.", 9175 Default: false, 9176 Type: []string{"boolean"}, 9177 Format: "", 9178 }, 9179 }, 9180 "fieldManager": { 9181 SchemaProps: spec.SchemaProps{ 9182 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required.", 9183 Default: "", 9184 Type: []string{"string"}, 9185 Format: "", 9186 }, 9187 }, 9188 }, 9189 Required: []string{"force", "fieldManager"}, 9190 }, 9191 }, 9192 } 9193 } 9194 9195 func schema_pkg_apis_meta_v1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition { 9196 return common.OpenAPIDefinition{ 9197 Schema: spec.Schema{ 9198 SchemaProps: spec.SchemaProps{ 9199 Description: "Condition contains details for one aspect of the current state of this API Resource.", 9200 Type: []string{"object"}, 9201 Properties: map[string]spec.Schema{ 9202 "type": { 9203 SchemaProps: spec.SchemaProps{ 9204 Description: "type of condition in CamelCase or in foo.example.com/CamelCase.", 9205 Default: "", 9206 Type: []string{"string"}, 9207 Format: "", 9208 }, 9209 }, 9210 "status": { 9211 SchemaProps: spec.SchemaProps{ 9212 Description: "status of the condition, one of True, False, Unknown.", 9213 Default: "", 9214 Type: []string{"string"}, 9215 Format: "", 9216 }, 9217 }, 9218 "observedGeneration": { 9219 SchemaProps: spec.SchemaProps{ 9220 Description: "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.", 9221 Type: []string{"integer"}, 9222 Format: "int64", 9223 }, 9224 }, 9225 "lastTransitionTime": { 9226 SchemaProps: spec.SchemaProps{ 9227 Description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", 9228 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 9229 }, 9230 }, 9231 "reason": { 9232 SchemaProps: spec.SchemaProps{ 9233 Description: "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.", 9234 Default: "", 9235 Type: []string{"string"}, 9236 Format: "", 9237 }, 9238 }, 9239 "message": { 9240 SchemaProps: spec.SchemaProps{ 9241 Description: "message is a human readable message indicating details about the transition. This may be an empty string.", 9242 Default: "", 9243 Type: []string{"string"}, 9244 Format: "", 9245 }, 9246 }, 9247 }, 9248 Required: []string{"type", "status", "lastTransitionTime", "reason", "message"}, 9249 }, 9250 }, 9251 Dependencies: []string{ 9252 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 9253 } 9254 } 9255 9256 func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9257 return common.OpenAPIDefinition{ 9258 Schema: spec.Schema{ 9259 SchemaProps: spec.SchemaProps{ 9260 Description: "CreateOptions may be provided when creating an API object.", 9261 Type: []string{"object"}, 9262 Properties: map[string]spec.Schema{ 9263 "kind": { 9264 SchemaProps: spec.SchemaProps{ 9265 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/sig-architecture/api-conventions.md#types-kinds", 9266 Type: []string{"string"}, 9267 Format: "", 9268 }, 9269 }, 9270 "apiVersion": { 9271 SchemaProps: spec.SchemaProps{ 9272 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/sig-architecture/api-conventions.md#resources", 9273 Type: []string{"string"}, 9274 Format: "", 9275 }, 9276 }, 9277 "dryRun": { 9278 VendorExtensible: spec.VendorExtensible{ 9279 Extensions: spec.Extensions{ 9280 "x-kubernetes-list-type": "atomic", 9281 }, 9282 }, 9283 SchemaProps: spec.SchemaProps{ 9284 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", 9285 Type: []string{"array"}, 9286 Items: &spec.SchemaOrArray{ 9287 Schema: &spec.Schema{ 9288 SchemaProps: spec.SchemaProps{ 9289 Default: "", 9290 Type: []string{"string"}, 9291 Format: "", 9292 }, 9293 }, 9294 }, 9295 }, 9296 }, 9297 "fieldManager": { 9298 SchemaProps: spec.SchemaProps{ 9299 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", 9300 Type: []string{"string"}, 9301 Format: "", 9302 }, 9303 }, 9304 "fieldValidation": { 9305 SchemaProps: spec.SchemaProps{ 9306 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 9307 Type: []string{"string"}, 9308 Format: "", 9309 }, 9310 }, 9311 }, 9312 }, 9313 }, 9314 } 9315 } 9316 9317 func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9318 return common.OpenAPIDefinition{ 9319 Schema: spec.Schema{ 9320 SchemaProps: spec.SchemaProps{ 9321 Description: "DeleteOptions may be provided when deleting an API object.", 9322 Type: []string{"object"}, 9323 Properties: map[string]spec.Schema{ 9324 "kind": { 9325 SchemaProps: spec.SchemaProps{ 9326 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/sig-architecture/api-conventions.md#types-kinds", 9327 Type: []string{"string"}, 9328 Format: "", 9329 }, 9330 }, 9331 "apiVersion": { 9332 SchemaProps: spec.SchemaProps{ 9333 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/sig-architecture/api-conventions.md#resources", 9334 Type: []string{"string"}, 9335 Format: "", 9336 }, 9337 }, 9338 "gracePeriodSeconds": { 9339 SchemaProps: spec.SchemaProps{ 9340 Description: "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", 9341 Type: []string{"integer"}, 9342 Format: "int64", 9343 }, 9344 }, 9345 "preconditions": { 9346 SchemaProps: spec.SchemaProps{ 9347 Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", 9348 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"), 9349 }, 9350 }, 9351 "orphanDependents": { 9352 SchemaProps: spec.SchemaProps{ 9353 Description: "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", 9354 Type: []string{"boolean"}, 9355 Format: "", 9356 }, 9357 }, 9358 "propagationPolicy": { 9359 SchemaProps: spec.SchemaProps{ 9360 Description: "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", 9361 Type: []string{"string"}, 9362 Format: "", 9363 }, 9364 }, 9365 "dryRun": { 9366 VendorExtensible: spec.VendorExtensible{ 9367 Extensions: spec.Extensions{ 9368 "x-kubernetes-list-type": "atomic", 9369 }, 9370 }, 9371 SchemaProps: spec.SchemaProps{ 9372 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", 9373 Type: []string{"array"}, 9374 Items: &spec.SchemaOrArray{ 9375 Schema: &spec.Schema{ 9376 SchemaProps: spec.SchemaProps{ 9377 Default: "", 9378 Type: []string{"string"}, 9379 Format: "", 9380 }, 9381 }, 9382 }, 9383 }, 9384 }, 9385 "ignoreStoreReadErrorWithClusterBreakingPotential": { 9386 SchemaProps: spec.SchemaProps{ 9387 Description: "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", 9388 Type: []string{"boolean"}, 9389 Format: "", 9390 }, 9391 }, 9392 }, 9393 }, 9394 }, 9395 Dependencies: []string{ 9396 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"}, 9397 } 9398 } 9399 9400 func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition { 9401 return common.OpenAPIDefinition{ 9402 Schema: spec.Schema{ 9403 SchemaProps: spec.SchemaProps{ 9404 Description: "Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.", 9405 Type: v1.Duration{}.OpenAPISchemaType(), 9406 Format: v1.Duration{}.OpenAPISchemaFormat(), 9407 }, 9408 }, 9409 } 9410 } 9411 9412 func schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition { 9413 return common.OpenAPIDefinition{ 9414 Schema: spec.Schema{ 9415 SchemaProps: spec.SchemaProps{ 9416 Description: "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.", 9417 Type: []string{"object"}, 9418 Properties: map[string]spec.Schema{ 9419 "key": { 9420 SchemaProps: spec.SchemaProps{ 9421 Description: "key is the field selector key that the requirement applies to.", 9422 Default: "", 9423 Type: []string{"string"}, 9424 Format: "", 9425 }, 9426 }, 9427 "operator": { 9428 SchemaProps: spec.SchemaProps{ 9429 Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.", 9430 Default: "", 9431 Type: []string{"string"}, 9432 Format: "", 9433 }, 9434 }, 9435 "values": { 9436 VendorExtensible: spec.VendorExtensible{ 9437 Extensions: spec.Extensions{ 9438 "x-kubernetes-list-type": "atomic", 9439 }, 9440 }, 9441 SchemaProps: spec.SchemaProps{ 9442 Description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.", 9443 Type: []string{"array"}, 9444 Items: &spec.SchemaOrArray{ 9445 Schema: &spec.Schema{ 9446 SchemaProps: spec.SchemaProps{ 9447 Default: "", 9448 Type: []string{"string"}, 9449 Format: "", 9450 }, 9451 }, 9452 }, 9453 }, 9454 }, 9455 }, 9456 Required: []string{"key", "operator"}, 9457 }, 9458 }, 9459 } 9460 } 9461 9462 func schema_pkg_apis_meta_v1_FieldsV1(ref common.ReferenceCallback) common.OpenAPIDefinition { 9463 return common.OpenAPIDefinition{ 9464 Schema: spec.Schema{ 9465 SchemaProps: spec.SchemaProps{ 9466 Description: "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", 9467 Type: []string{"object"}, 9468 }, 9469 }, 9470 } 9471 } 9472 9473 func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9474 return common.OpenAPIDefinition{ 9475 Schema: spec.Schema{ 9476 SchemaProps: spec.SchemaProps{ 9477 Description: "GetOptions is the standard query options to the standard REST get call.", 9478 Type: []string{"object"}, 9479 Properties: map[string]spec.Schema{ 9480 "kind": { 9481 SchemaProps: spec.SchemaProps{ 9482 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/sig-architecture/api-conventions.md#types-kinds", 9483 Type: []string{"string"}, 9484 Format: "", 9485 }, 9486 }, 9487 "apiVersion": { 9488 SchemaProps: spec.SchemaProps{ 9489 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/sig-architecture/api-conventions.md#resources", 9490 Type: []string{"string"}, 9491 Format: "", 9492 }, 9493 }, 9494 "resourceVersion": { 9495 SchemaProps: spec.SchemaProps{ 9496 Description: "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", 9497 Type: []string{"string"}, 9498 Format: "", 9499 }, 9500 }, 9501 }, 9502 }, 9503 }, 9504 } 9505 } 9506 9507 func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 9508 return common.OpenAPIDefinition{ 9509 Schema: spec.Schema{ 9510 SchemaProps: spec.SchemaProps{ 9511 Description: "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types", 9512 Type: []string{"object"}, 9513 Properties: map[string]spec.Schema{ 9514 "group": { 9515 SchemaProps: spec.SchemaProps{ 9516 Default: "", 9517 Type: []string{"string"}, 9518 Format: "", 9519 }, 9520 }, 9521 "kind": { 9522 SchemaProps: spec.SchemaProps{ 9523 Default: "", 9524 Type: []string{"string"}, 9525 Format: "", 9526 }, 9527 }, 9528 }, 9529 Required: []string{"group", "kind"}, 9530 }, 9531 }, 9532 } 9533 } 9534 9535 func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 9536 return common.OpenAPIDefinition{ 9537 Schema: spec.Schema{ 9538 SchemaProps: spec.SchemaProps{ 9539 Description: "GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types", 9540 Type: []string{"object"}, 9541 Properties: map[string]spec.Schema{ 9542 "group": { 9543 SchemaProps: spec.SchemaProps{ 9544 Default: "", 9545 Type: []string{"string"}, 9546 Format: "", 9547 }, 9548 }, 9549 "resource": { 9550 SchemaProps: spec.SchemaProps{ 9551 Default: "", 9552 Type: []string{"string"}, 9553 Format: "", 9554 }, 9555 }, 9556 }, 9557 Required: []string{"group", "resource"}, 9558 }, 9559 }, 9560 } 9561 } 9562 9563 func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition { 9564 return common.OpenAPIDefinition{ 9565 Schema: spec.Schema{ 9566 SchemaProps: spec.SchemaProps{ 9567 Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.", 9568 Type: []string{"object"}, 9569 Properties: map[string]spec.Schema{ 9570 "group": { 9571 SchemaProps: spec.SchemaProps{ 9572 Default: "", 9573 Type: []string{"string"}, 9574 Format: "", 9575 }, 9576 }, 9577 "version": { 9578 SchemaProps: spec.SchemaProps{ 9579 Default: "", 9580 Type: []string{"string"}, 9581 Format: "", 9582 }, 9583 }, 9584 }, 9585 Required: []string{"group", "version"}, 9586 }, 9587 }, 9588 } 9589 } 9590 9591 func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition { 9592 return common.OpenAPIDefinition{ 9593 Schema: spec.Schema{ 9594 SchemaProps: spec.SchemaProps{ 9595 Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", 9596 Type: []string{"object"}, 9597 Properties: map[string]spec.Schema{ 9598 "groupVersion": { 9599 SchemaProps: spec.SchemaProps{ 9600 Description: "groupVersion specifies the API group and version in the form \"group/version\"", 9601 Default: "", 9602 Type: []string{"string"}, 9603 Format: "", 9604 }, 9605 }, 9606 "version": { 9607 SchemaProps: spec.SchemaProps{ 9608 Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", 9609 Default: "", 9610 Type: []string{"string"}, 9611 Format: "", 9612 }, 9613 }, 9614 }, 9615 Required: []string{"groupVersion", "version"}, 9616 }, 9617 }, 9618 } 9619 } 9620 9621 func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 9622 return common.OpenAPIDefinition{ 9623 Schema: spec.Schema{ 9624 SchemaProps: spec.SchemaProps{ 9625 Description: "GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling", 9626 Type: []string{"object"}, 9627 Properties: map[string]spec.Schema{ 9628 "group": { 9629 SchemaProps: spec.SchemaProps{ 9630 Default: "", 9631 Type: []string{"string"}, 9632 Format: "", 9633 }, 9634 }, 9635 "version": { 9636 SchemaProps: spec.SchemaProps{ 9637 Default: "", 9638 Type: []string{"string"}, 9639 Format: "", 9640 }, 9641 }, 9642 "kind": { 9643 SchemaProps: spec.SchemaProps{ 9644 Default: "", 9645 Type: []string{"string"}, 9646 Format: "", 9647 }, 9648 }, 9649 }, 9650 Required: []string{"group", "version", "kind"}, 9651 }, 9652 }, 9653 } 9654 } 9655 9656 func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 9657 return common.OpenAPIDefinition{ 9658 Schema: spec.Schema{ 9659 SchemaProps: spec.SchemaProps{ 9660 Description: "GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling", 9661 Type: []string{"object"}, 9662 Properties: map[string]spec.Schema{ 9663 "group": { 9664 SchemaProps: spec.SchemaProps{ 9665 Default: "", 9666 Type: []string{"string"}, 9667 Format: "", 9668 }, 9669 }, 9670 "version": { 9671 SchemaProps: spec.SchemaProps{ 9672 Default: "", 9673 Type: []string{"string"}, 9674 Format: "", 9675 }, 9676 }, 9677 "resource": { 9678 SchemaProps: spec.SchemaProps{ 9679 Default: "", 9680 Type: []string{"string"}, 9681 Format: "", 9682 }, 9683 }, 9684 }, 9685 Required: []string{"group", "version", "resource"}, 9686 }, 9687 }, 9688 } 9689 } 9690 9691 func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 9692 return common.OpenAPIDefinition{ 9693 Schema: spec.Schema{ 9694 SchemaProps: spec.SchemaProps{ 9695 Description: "InternalEvent makes watch.Event versioned", 9696 Type: []string{"object"}, 9697 Properties: map[string]spec.Schema{ 9698 "Type": { 9699 SchemaProps: spec.SchemaProps{ 9700 Default: "", 9701 Type: []string{"string"}, 9702 Format: "", 9703 }, 9704 }, 9705 "Object": { 9706 SchemaProps: spec.SchemaProps{ 9707 Description: "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Bookmark: the object (instance of a type being watched) where\n only ResourceVersion field is set. On successful restart of watch from a\n bookmark resourceVersion, client is guaranteed to not get repeat event\n nor miss any events.\n * If Type is Error: *api.Status is recommended; other types may make sense\n depending on context.", 9708 Ref: ref("k8s.io/apimachinery/pkg/runtime.Object"), 9709 }, 9710 }, 9711 }, 9712 Required: []string{"Type", "Object"}, 9713 }, 9714 }, 9715 Dependencies: []string{ 9716 "k8s.io/apimachinery/pkg/runtime.Object"}, 9717 } 9718 } 9719 9720 func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 9721 return common.OpenAPIDefinition{ 9722 Schema: spec.Schema{ 9723 SchemaProps: spec.SchemaProps{ 9724 Description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", 9725 Type: []string{"object"}, 9726 Properties: map[string]spec.Schema{ 9727 "matchLabels": { 9728 SchemaProps: spec.SchemaProps{ 9729 Description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", 9730 Type: []string{"object"}, 9731 AdditionalProperties: &spec.SchemaOrBool{ 9732 Allows: true, 9733 Schema: &spec.Schema{ 9734 SchemaProps: spec.SchemaProps{ 9735 Default: "", 9736 Type: []string{"string"}, 9737 Format: "", 9738 }, 9739 }, 9740 }, 9741 }, 9742 }, 9743 "matchExpressions": { 9744 VendorExtensible: spec.VendorExtensible{ 9745 Extensions: spec.Extensions{ 9746 "x-kubernetes-list-type": "atomic", 9747 }, 9748 }, 9749 SchemaProps: spec.SchemaProps{ 9750 Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", 9751 Type: []string{"array"}, 9752 Items: &spec.SchemaOrArray{ 9753 Schema: &spec.Schema{ 9754 SchemaProps: spec.SchemaProps{ 9755 Default: map[string]interface{}{}, 9756 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"), 9757 }, 9758 }, 9759 }, 9760 }, 9761 }, 9762 }, 9763 }, 9764 VendorExtensible: spec.VendorExtensible{ 9765 Extensions: spec.Extensions{ 9766 "x-kubernetes-map-type": "atomic", 9767 }, 9768 }, 9769 }, 9770 Dependencies: []string{ 9771 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"}, 9772 } 9773 } 9774 9775 func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition { 9776 return common.OpenAPIDefinition{ 9777 Schema: spec.Schema{ 9778 SchemaProps: spec.SchemaProps{ 9779 Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", 9780 Type: []string{"object"}, 9781 Properties: map[string]spec.Schema{ 9782 "key": { 9783 SchemaProps: spec.SchemaProps{ 9784 Description: "key is the label key that the selector applies to.", 9785 Default: "", 9786 Type: []string{"string"}, 9787 Format: "", 9788 }, 9789 }, 9790 "operator": { 9791 SchemaProps: spec.SchemaProps{ 9792 Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", 9793 Default: "", 9794 Type: []string{"string"}, 9795 Format: "", 9796 }, 9797 }, 9798 "values": { 9799 VendorExtensible: spec.VendorExtensible{ 9800 Extensions: spec.Extensions{ 9801 "x-kubernetes-list-type": "atomic", 9802 }, 9803 }, 9804 SchemaProps: spec.SchemaProps{ 9805 Description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", 9806 Type: []string{"array"}, 9807 Items: &spec.SchemaOrArray{ 9808 Schema: &spec.Schema{ 9809 SchemaProps: spec.SchemaProps{ 9810 Default: "", 9811 Type: []string{"string"}, 9812 Format: "", 9813 }, 9814 }, 9815 }, 9816 }, 9817 }, 9818 }, 9819 Required: []string{"key", "operator"}, 9820 }, 9821 }, 9822 } 9823 } 9824 9825 func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition { 9826 return common.OpenAPIDefinition{ 9827 Schema: spec.Schema{ 9828 SchemaProps: spec.SchemaProps{ 9829 Description: "List holds a list of objects, which may not be known by the server.", 9830 Type: []string{"object"}, 9831 Properties: map[string]spec.Schema{ 9832 "kind": { 9833 SchemaProps: spec.SchemaProps{ 9834 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/sig-architecture/api-conventions.md#types-kinds", 9835 Type: []string{"string"}, 9836 Format: "", 9837 }, 9838 }, 9839 "apiVersion": { 9840 SchemaProps: spec.SchemaProps{ 9841 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/sig-architecture/api-conventions.md#resources", 9842 Type: []string{"string"}, 9843 Format: "", 9844 }, 9845 }, 9846 "metadata": { 9847 SchemaProps: spec.SchemaProps{ 9848 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 9849 Default: map[string]interface{}{}, 9850 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 9851 }, 9852 }, 9853 "items": { 9854 SchemaProps: spec.SchemaProps{ 9855 Description: "List of objects", 9856 Type: []string{"array"}, 9857 Items: &spec.SchemaOrArray{ 9858 Schema: &spec.Schema{ 9859 SchemaProps: spec.SchemaProps{ 9860 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 9861 }, 9862 }, 9863 }, 9864 }, 9865 }, 9866 }, 9867 Required: []string{"items"}, 9868 }, 9869 }, 9870 Dependencies: []string{ 9871 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 9872 } 9873 } 9874 9875 func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 9876 return common.OpenAPIDefinition{ 9877 Schema: spec.Schema{ 9878 SchemaProps: spec.SchemaProps{ 9879 Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", 9880 Type: []string{"object"}, 9881 Properties: map[string]spec.Schema{ 9882 "selfLink": { 9883 SchemaProps: spec.SchemaProps{ 9884 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", 9885 Type: []string{"string"}, 9886 Format: "", 9887 }, 9888 }, 9889 "resourceVersion": { 9890 SchemaProps: spec.SchemaProps{ 9891 Description: "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", 9892 Type: []string{"string"}, 9893 Format: "", 9894 }, 9895 }, 9896 "continue": { 9897 SchemaProps: spec.SchemaProps{ 9898 Description: "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", 9899 Type: []string{"string"}, 9900 Format: "", 9901 }, 9902 }, 9903 "remainingItemCount": { 9904 SchemaProps: spec.SchemaProps{ 9905 Description: "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", 9906 Type: []string{"integer"}, 9907 Format: "int64", 9908 }, 9909 }, 9910 }, 9911 }, 9912 }, 9913 } 9914 } 9915 9916 func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9917 return common.OpenAPIDefinition{ 9918 Schema: spec.Schema{ 9919 SchemaProps: spec.SchemaProps{ 9920 Description: "ListOptions is the query options to a standard REST list call.", 9921 Type: []string{"object"}, 9922 Properties: map[string]spec.Schema{ 9923 "kind": { 9924 SchemaProps: spec.SchemaProps{ 9925 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/sig-architecture/api-conventions.md#types-kinds", 9926 Type: []string{"string"}, 9927 Format: "", 9928 }, 9929 }, 9930 "apiVersion": { 9931 SchemaProps: spec.SchemaProps{ 9932 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/sig-architecture/api-conventions.md#resources", 9933 Type: []string{"string"}, 9934 Format: "", 9935 }, 9936 }, 9937 "labelSelector": { 9938 SchemaProps: spec.SchemaProps{ 9939 Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.", 9940 Type: []string{"string"}, 9941 Format: "", 9942 }, 9943 }, 9944 "fieldSelector": { 9945 SchemaProps: spec.SchemaProps{ 9946 Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.", 9947 Type: []string{"string"}, 9948 Format: "", 9949 }, 9950 }, 9951 "watch": { 9952 SchemaProps: spec.SchemaProps{ 9953 Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", 9954 Type: []string{"boolean"}, 9955 Format: "", 9956 }, 9957 }, 9958 "allowWatchBookmarks": { 9959 SchemaProps: spec.SchemaProps{ 9960 Description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", 9961 Type: []string{"boolean"}, 9962 Format: "", 9963 }, 9964 }, 9965 "resourceVersion": { 9966 SchemaProps: spec.SchemaProps{ 9967 Description: "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", 9968 Type: []string{"string"}, 9969 Format: "", 9970 }, 9971 }, 9972 "resourceVersionMatch": { 9973 SchemaProps: spec.SchemaProps{ 9974 Description: "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", 9975 Type: []string{"string"}, 9976 Format: "", 9977 }, 9978 }, 9979 "timeoutSeconds": { 9980 SchemaProps: spec.SchemaProps{ 9981 Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", 9982 Type: []string{"integer"}, 9983 Format: "int64", 9984 }, 9985 }, 9986 "limit": { 9987 SchemaProps: spec.SchemaProps{ 9988 Description: "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", 9989 Type: []string{"integer"}, 9990 Format: "int64", 9991 }, 9992 }, 9993 "continue": { 9994 SchemaProps: spec.SchemaProps{ 9995 Description: "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", 9996 Type: []string{"string"}, 9997 Format: "", 9998 }, 9999 }, 10000 "sendInitialEvents": { 10001 SchemaProps: spec.SchemaProps{ 10002 Description: "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", 10003 Type: []string{"boolean"}, 10004 Format: "", 10005 }, 10006 }, 10007 }, 10008 }, 10009 }, 10010 } 10011 } 10012 10013 func schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition { 10014 return common.OpenAPIDefinition{ 10015 Schema: spec.Schema{ 10016 SchemaProps: spec.SchemaProps{ 10017 Description: "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", 10018 Type: []string{"object"}, 10019 Properties: map[string]spec.Schema{ 10020 "manager": { 10021 SchemaProps: spec.SchemaProps{ 10022 Description: "Manager is an identifier of the workflow managing these fields.", 10023 Type: []string{"string"}, 10024 Format: "", 10025 }, 10026 }, 10027 "operation": { 10028 SchemaProps: spec.SchemaProps{ 10029 Description: "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", 10030 Type: []string{"string"}, 10031 Format: "", 10032 }, 10033 }, 10034 "apiVersion": { 10035 SchemaProps: spec.SchemaProps{ 10036 Description: "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", 10037 Type: []string{"string"}, 10038 Format: "", 10039 }, 10040 }, 10041 "time": { 10042 SchemaProps: spec.SchemaProps{ 10043 Description: "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.", 10044 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 10045 }, 10046 }, 10047 "fieldsType": { 10048 SchemaProps: spec.SchemaProps{ 10049 Description: "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", 10050 Type: []string{"string"}, 10051 Format: "", 10052 }, 10053 }, 10054 "fieldsV1": { 10055 SchemaProps: spec.SchemaProps{ 10056 Description: "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.", 10057 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1"), 10058 }, 10059 }, 10060 "subresource": { 10061 SchemaProps: spec.SchemaProps{ 10062 Description: "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", 10063 Type: []string{"string"}, 10064 Format: "", 10065 }, 10066 }, 10067 }, 10068 }, 10069 }, 10070 Dependencies: []string{ 10071 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 10072 } 10073 } 10074 10075 func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition { 10076 return common.OpenAPIDefinition{ 10077 Schema: spec.Schema{ 10078 SchemaProps: spec.SchemaProps{ 10079 Description: "MicroTime is version of Time with microsecond level precision.", 10080 Type: v1.MicroTime{}.OpenAPISchemaType(), 10081 Format: v1.MicroTime{}.OpenAPISchemaFormat(), 10082 }, 10083 }, 10084 } 10085 } 10086 10087 func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 10088 return common.OpenAPIDefinition{ 10089 Schema: spec.Schema{ 10090 SchemaProps: spec.SchemaProps{ 10091 Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", 10092 Type: []string{"object"}, 10093 Properties: map[string]spec.Schema{ 10094 "name": { 10095 SchemaProps: spec.SchemaProps{ 10096 Description: "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", 10097 Type: []string{"string"}, 10098 Format: "", 10099 }, 10100 }, 10101 "generateName": { 10102 SchemaProps: spec.SchemaProps{ 10103 Description: "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", 10104 Type: []string{"string"}, 10105 Format: "", 10106 }, 10107 }, 10108 "namespace": { 10109 SchemaProps: spec.SchemaProps{ 10110 Description: "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces", 10111 Type: []string{"string"}, 10112 Format: "", 10113 }, 10114 }, 10115 "selfLink": { 10116 SchemaProps: spec.SchemaProps{ 10117 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", 10118 Type: []string{"string"}, 10119 Format: "", 10120 }, 10121 }, 10122 "uid": { 10123 SchemaProps: spec.SchemaProps{ 10124 Description: "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", 10125 Type: []string{"string"}, 10126 Format: "", 10127 }, 10128 }, 10129 "resourceVersion": { 10130 SchemaProps: spec.SchemaProps{ 10131 Description: "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", 10132 Type: []string{"string"}, 10133 Format: "", 10134 }, 10135 }, 10136 "generation": { 10137 SchemaProps: spec.SchemaProps{ 10138 Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", 10139 Type: []string{"integer"}, 10140 Format: "int64", 10141 }, 10142 }, 10143 "creationTimestamp": { 10144 SchemaProps: spec.SchemaProps{ 10145 Description: "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 10146 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 10147 }, 10148 }, 10149 "deletionTimestamp": { 10150 SchemaProps: spec.SchemaProps{ 10151 Description: "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 10152 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 10153 }, 10154 }, 10155 "deletionGracePeriodSeconds": { 10156 SchemaProps: spec.SchemaProps{ 10157 Description: "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", 10158 Type: []string{"integer"}, 10159 Format: "int64", 10160 }, 10161 }, 10162 "labels": { 10163 SchemaProps: spec.SchemaProps{ 10164 Description: "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels", 10165 Type: []string{"object"}, 10166 AdditionalProperties: &spec.SchemaOrBool{ 10167 Allows: true, 10168 Schema: &spec.Schema{ 10169 SchemaProps: spec.SchemaProps{ 10170 Default: "", 10171 Type: []string{"string"}, 10172 Format: "", 10173 }, 10174 }, 10175 }, 10176 }, 10177 }, 10178 "annotations": { 10179 SchemaProps: spec.SchemaProps{ 10180 Description: "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations", 10181 Type: []string{"object"}, 10182 AdditionalProperties: &spec.SchemaOrBool{ 10183 Allows: true, 10184 Schema: &spec.Schema{ 10185 SchemaProps: spec.SchemaProps{ 10186 Default: "", 10187 Type: []string{"string"}, 10188 Format: "", 10189 }, 10190 }, 10191 }, 10192 }, 10193 }, 10194 "ownerReferences": { 10195 VendorExtensible: spec.VendorExtensible{ 10196 Extensions: spec.Extensions{ 10197 "x-kubernetes-list-map-keys": []interface{}{ 10198 "uid", 10199 }, 10200 "x-kubernetes-list-type": "map", 10201 "x-kubernetes-patch-merge-key": "uid", 10202 "x-kubernetes-patch-strategy": "merge", 10203 }, 10204 }, 10205 SchemaProps: spec.SchemaProps{ 10206 Description: "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", 10207 Type: []string{"array"}, 10208 Items: &spec.SchemaOrArray{ 10209 Schema: &spec.Schema{ 10210 SchemaProps: spec.SchemaProps{ 10211 Default: map[string]interface{}{}, 10212 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"), 10213 }, 10214 }, 10215 }, 10216 }, 10217 }, 10218 "finalizers": { 10219 VendorExtensible: spec.VendorExtensible{ 10220 Extensions: spec.Extensions{ 10221 "x-kubernetes-list-type": "set", 10222 "x-kubernetes-patch-strategy": "merge", 10223 }, 10224 }, 10225 SchemaProps: spec.SchemaProps{ 10226 Description: "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", 10227 Type: []string{"array"}, 10228 Items: &spec.SchemaOrArray{ 10229 Schema: &spec.Schema{ 10230 SchemaProps: spec.SchemaProps{ 10231 Default: "", 10232 Type: []string{"string"}, 10233 Format: "", 10234 }, 10235 }, 10236 }, 10237 }, 10238 }, 10239 "managedFields": { 10240 VendorExtensible: spec.VendorExtensible{ 10241 Extensions: spec.Extensions{ 10242 "x-kubernetes-list-type": "atomic", 10243 }, 10244 }, 10245 SchemaProps: spec.SchemaProps{ 10246 Description: "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", 10247 Type: []string{"array"}, 10248 Items: &spec.SchemaOrArray{ 10249 Schema: &spec.Schema{ 10250 SchemaProps: spec.SchemaProps{ 10251 Default: map[string]interface{}{}, 10252 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry"), 10253 }, 10254 }, 10255 }, 10256 }, 10257 }, 10258 }, 10259 }, 10260 }, 10261 Dependencies: []string{ 10262 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 10263 } 10264 } 10265 10266 func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition { 10267 return common.OpenAPIDefinition{ 10268 Schema: spec.Schema{ 10269 SchemaProps: spec.SchemaProps{ 10270 Description: "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", 10271 Type: []string{"object"}, 10272 Properties: map[string]spec.Schema{ 10273 "apiVersion": { 10274 SchemaProps: spec.SchemaProps{ 10275 Description: "API version of the referent.", 10276 Default: "", 10277 Type: []string{"string"}, 10278 Format: "", 10279 }, 10280 }, 10281 "kind": { 10282 SchemaProps: spec.SchemaProps{ 10283 Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10284 Default: "", 10285 Type: []string{"string"}, 10286 Format: "", 10287 }, 10288 }, 10289 "name": { 10290 SchemaProps: spec.SchemaProps{ 10291 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", 10292 Default: "", 10293 Type: []string{"string"}, 10294 Format: "", 10295 }, 10296 }, 10297 "uid": { 10298 SchemaProps: spec.SchemaProps{ 10299 Description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", 10300 Default: "", 10301 Type: []string{"string"}, 10302 Format: "", 10303 }, 10304 }, 10305 "controller": { 10306 SchemaProps: spec.SchemaProps{ 10307 Description: "If true, this reference points to the managing controller.", 10308 Type: []string{"boolean"}, 10309 Format: "", 10310 }, 10311 }, 10312 "blockOwnerDeletion": { 10313 SchemaProps: spec.SchemaProps{ 10314 Description: "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", 10315 Type: []string{"boolean"}, 10316 Format: "", 10317 }, 10318 }, 10319 }, 10320 Required: []string{"apiVersion", "kind", "name", "uid"}, 10321 }, 10322 VendorExtensible: spec.VendorExtensible{ 10323 Extensions: spec.Extensions{ 10324 "x-kubernetes-map-type": "atomic", 10325 }, 10326 }, 10327 }, 10328 } 10329 } 10330 10331 func schema_pkg_apis_meta_v1_PartialObjectMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition { 10332 return common.OpenAPIDefinition{ 10333 Schema: spec.Schema{ 10334 SchemaProps: spec.SchemaProps{ 10335 Description: "PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients to get access to a particular ObjectMeta schema without knowing the details of the version.", 10336 Type: []string{"object"}, 10337 Properties: map[string]spec.Schema{ 10338 "kind": { 10339 SchemaProps: spec.SchemaProps{ 10340 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/sig-architecture/api-conventions.md#types-kinds", 10341 Type: []string{"string"}, 10342 Format: "", 10343 }, 10344 }, 10345 "apiVersion": { 10346 SchemaProps: spec.SchemaProps{ 10347 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/sig-architecture/api-conventions.md#resources", 10348 Type: []string{"string"}, 10349 Format: "", 10350 }, 10351 }, 10352 "metadata": { 10353 SchemaProps: spec.SchemaProps{ 10354 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 10355 Default: map[string]interface{}{}, 10356 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 10357 }, 10358 }, 10359 }, 10360 }, 10361 }, 10362 Dependencies: []string{ 10363 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 10364 } 10365 } 10366 10367 func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallback) common.OpenAPIDefinition { 10368 return common.OpenAPIDefinition{ 10369 Schema: spec.Schema{ 10370 SchemaProps: spec.SchemaProps{ 10371 Description: "PartialObjectMetadataList contains a list of objects containing only their metadata", 10372 Type: []string{"object"}, 10373 Properties: map[string]spec.Schema{ 10374 "kind": { 10375 SchemaProps: spec.SchemaProps{ 10376 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/sig-architecture/api-conventions.md#types-kinds", 10377 Type: []string{"string"}, 10378 Format: "", 10379 }, 10380 }, 10381 "apiVersion": { 10382 SchemaProps: spec.SchemaProps{ 10383 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/sig-architecture/api-conventions.md#resources", 10384 Type: []string{"string"}, 10385 Format: "", 10386 }, 10387 }, 10388 "metadata": { 10389 SchemaProps: spec.SchemaProps{ 10390 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10391 Default: map[string]interface{}{}, 10392 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 10393 }, 10394 }, 10395 "items": { 10396 SchemaProps: spec.SchemaProps{ 10397 Description: "items contains each of the included items.", 10398 Type: []string{"array"}, 10399 Items: &spec.SchemaOrArray{ 10400 Schema: &spec.Schema{ 10401 SchemaProps: spec.SchemaProps{ 10402 Default: map[string]interface{}{}, 10403 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"), 10404 }, 10405 }, 10406 }, 10407 }, 10408 }, 10409 }, 10410 Required: []string{"items"}, 10411 }, 10412 }, 10413 Dependencies: []string{ 10414 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"}, 10415 } 10416 } 10417 10418 func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition { 10419 return common.OpenAPIDefinition{ 10420 Schema: spec.Schema{ 10421 SchemaProps: spec.SchemaProps{ 10422 Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", 10423 Type: []string{"object"}, 10424 }, 10425 }, 10426 } 10427 } 10428 10429 func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 10430 return common.OpenAPIDefinition{ 10431 Schema: spec.Schema{ 10432 SchemaProps: spec.SchemaProps{ 10433 Description: "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.", 10434 Type: []string{"object"}, 10435 Properties: map[string]spec.Schema{ 10436 "kind": { 10437 SchemaProps: spec.SchemaProps{ 10438 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/sig-architecture/api-conventions.md#types-kinds", 10439 Type: []string{"string"}, 10440 Format: "", 10441 }, 10442 }, 10443 "apiVersion": { 10444 SchemaProps: spec.SchemaProps{ 10445 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/sig-architecture/api-conventions.md#resources", 10446 Type: []string{"string"}, 10447 Format: "", 10448 }, 10449 }, 10450 "dryRun": { 10451 VendorExtensible: spec.VendorExtensible{ 10452 Extensions: spec.Extensions{ 10453 "x-kubernetes-list-type": "atomic", 10454 }, 10455 }, 10456 SchemaProps: spec.SchemaProps{ 10457 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", 10458 Type: []string{"array"}, 10459 Items: &spec.SchemaOrArray{ 10460 Schema: &spec.Schema{ 10461 SchemaProps: spec.SchemaProps{ 10462 Default: "", 10463 Type: []string{"string"}, 10464 Format: "", 10465 }, 10466 }, 10467 }, 10468 }, 10469 }, 10470 "force": { 10471 SchemaProps: spec.SchemaProps{ 10472 Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", 10473 Type: []string{"boolean"}, 10474 Format: "", 10475 }, 10476 }, 10477 "fieldManager": { 10478 SchemaProps: spec.SchemaProps{ 10479 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", 10480 Type: []string{"string"}, 10481 Format: "", 10482 }, 10483 }, 10484 "fieldValidation": { 10485 SchemaProps: spec.SchemaProps{ 10486 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 10487 Type: []string{"string"}, 10488 Format: "", 10489 }, 10490 }, 10491 }, 10492 }, 10493 }, 10494 } 10495 } 10496 10497 func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition { 10498 return common.OpenAPIDefinition{ 10499 Schema: spec.Schema{ 10500 SchemaProps: spec.SchemaProps{ 10501 Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", 10502 Type: []string{"object"}, 10503 Properties: map[string]spec.Schema{ 10504 "uid": { 10505 SchemaProps: spec.SchemaProps{ 10506 Description: "Specifies the target UID.", 10507 Type: []string{"string"}, 10508 Format: "", 10509 }, 10510 }, 10511 "resourceVersion": { 10512 SchemaProps: spec.SchemaProps{ 10513 Description: "Specifies the target ResourceVersion", 10514 Type: []string{"string"}, 10515 Format: "", 10516 }, 10517 }, 10518 }, 10519 }, 10520 }, 10521 } 10522 } 10523 10524 func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition { 10525 return common.OpenAPIDefinition{ 10526 Schema: spec.Schema{ 10527 SchemaProps: spec.SchemaProps{ 10528 Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".", 10529 Type: []string{"object"}, 10530 Properties: map[string]spec.Schema{ 10531 "paths": { 10532 VendorExtensible: spec.VendorExtensible{ 10533 Extensions: spec.Extensions{ 10534 "x-kubernetes-list-type": "atomic", 10535 }, 10536 }, 10537 SchemaProps: spec.SchemaProps{ 10538 Description: "paths are the paths available at root.", 10539 Type: []string{"array"}, 10540 Items: &spec.SchemaOrArray{ 10541 Schema: &spec.Schema{ 10542 SchemaProps: spec.SchemaProps{ 10543 Default: "", 10544 Type: []string{"string"}, 10545 Format: "", 10546 }, 10547 }, 10548 }, 10549 }, 10550 }, 10551 }, 10552 Required: []string{"paths"}, 10553 }, 10554 }, 10555 } 10556 } 10557 10558 func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition { 10559 return common.OpenAPIDefinition{ 10560 Schema: spec.Schema{ 10561 SchemaProps: spec.SchemaProps{ 10562 Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", 10563 Type: []string{"object"}, 10564 Properties: map[string]spec.Schema{ 10565 "clientCIDR": { 10566 SchemaProps: spec.SchemaProps{ 10567 Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.", 10568 Default: "", 10569 Type: []string{"string"}, 10570 Format: "", 10571 }, 10572 }, 10573 "serverAddress": { 10574 SchemaProps: spec.SchemaProps{ 10575 Description: "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", 10576 Default: "", 10577 Type: []string{"string"}, 10578 Format: "", 10579 }, 10580 }, 10581 }, 10582 Required: []string{"clientCIDR", "serverAddress"}, 10583 }, 10584 }, 10585 } 10586 } 10587 10588 func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition { 10589 return common.OpenAPIDefinition{ 10590 Schema: spec.Schema{ 10591 SchemaProps: spec.SchemaProps{ 10592 Description: "Status is a return value for calls that don't return other objects.", 10593 Type: []string{"object"}, 10594 Properties: map[string]spec.Schema{ 10595 "kind": { 10596 SchemaProps: spec.SchemaProps{ 10597 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/sig-architecture/api-conventions.md#types-kinds", 10598 Type: []string{"string"}, 10599 Format: "", 10600 }, 10601 }, 10602 "apiVersion": { 10603 SchemaProps: spec.SchemaProps{ 10604 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/sig-architecture/api-conventions.md#resources", 10605 Type: []string{"string"}, 10606 Format: "", 10607 }, 10608 }, 10609 "metadata": { 10610 SchemaProps: spec.SchemaProps{ 10611 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10612 Default: map[string]interface{}{}, 10613 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 10614 }, 10615 }, 10616 "status": { 10617 SchemaProps: spec.SchemaProps{ 10618 Description: "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", 10619 Type: []string{"string"}, 10620 Format: "", 10621 }, 10622 }, 10623 "message": { 10624 SchemaProps: spec.SchemaProps{ 10625 Description: "A human-readable description of the status of this operation.", 10626 Type: []string{"string"}, 10627 Format: "", 10628 }, 10629 }, 10630 "reason": { 10631 SchemaProps: spec.SchemaProps{ 10632 Description: "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.", 10633 Type: []string{"string"}, 10634 Format: "", 10635 }, 10636 }, 10637 "details": { 10638 VendorExtensible: spec.VendorExtensible{ 10639 Extensions: spec.Extensions{ 10640 "x-kubernetes-list-type": "atomic", 10641 }, 10642 }, 10643 SchemaProps: spec.SchemaProps{ 10644 Description: "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.", 10645 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"), 10646 }, 10647 }, 10648 "code": { 10649 SchemaProps: spec.SchemaProps{ 10650 Description: "Suggested HTTP return code for this status, 0 if not set.", 10651 Type: []string{"integer"}, 10652 Format: "int32", 10653 }, 10654 }, 10655 }, 10656 }, 10657 }, 10658 Dependencies: []string{ 10659 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"}, 10660 } 10661 } 10662 10663 func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition { 10664 return common.OpenAPIDefinition{ 10665 Schema: spec.Schema{ 10666 SchemaProps: spec.SchemaProps{ 10667 Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", 10668 Type: []string{"object"}, 10669 Properties: map[string]spec.Schema{ 10670 "reason": { 10671 SchemaProps: spec.SchemaProps{ 10672 Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.", 10673 Type: []string{"string"}, 10674 Format: "", 10675 }, 10676 }, 10677 "message": { 10678 SchemaProps: spec.SchemaProps{ 10679 Description: "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", 10680 Type: []string{"string"}, 10681 Format: "", 10682 }, 10683 }, 10684 "field": { 10685 SchemaProps: spec.SchemaProps{ 10686 Description: "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", 10687 Type: []string{"string"}, 10688 Format: "", 10689 }, 10690 }, 10691 }, 10692 }, 10693 }, 10694 } 10695 } 10696 10697 func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition { 10698 return common.OpenAPIDefinition{ 10699 Schema: spec.Schema{ 10700 SchemaProps: spec.SchemaProps{ 10701 Description: "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", 10702 Type: []string{"object"}, 10703 Properties: map[string]spec.Schema{ 10704 "name": { 10705 SchemaProps: spec.SchemaProps{ 10706 Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", 10707 Type: []string{"string"}, 10708 Format: "", 10709 }, 10710 }, 10711 "group": { 10712 SchemaProps: spec.SchemaProps{ 10713 Description: "The group attribute of the resource associated with the status StatusReason.", 10714 Type: []string{"string"}, 10715 Format: "", 10716 }, 10717 }, 10718 "kind": { 10719 SchemaProps: spec.SchemaProps{ 10720 Description: "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10721 Type: []string{"string"}, 10722 Format: "", 10723 }, 10724 }, 10725 "uid": { 10726 SchemaProps: spec.SchemaProps{ 10727 Description: "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", 10728 Type: []string{"string"}, 10729 Format: "", 10730 }, 10731 }, 10732 "causes": { 10733 VendorExtensible: spec.VendorExtensible{ 10734 Extensions: spec.Extensions{ 10735 "x-kubernetes-list-type": "atomic", 10736 }, 10737 }, 10738 SchemaProps: spec.SchemaProps{ 10739 Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", 10740 Type: []string{"array"}, 10741 Items: &spec.SchemaOrArray{ 10742 Schema: &spec.Schema{ 10743 SchemaProps: spec.SchemaProps{ 10744 Default: map[string]interface{}{}, 10745 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"), 10746 }, 10747 }, 10748 }, 10749 }, 10750 }, 10751 "retryAfterSeconds": { 10752 SchemaProps: spec.SchemaProps{ 10753 Description: "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", 10754 Type: []string{"integer"}, 10755 Format: "int32", 10756 }, 10757 }, 10758 }, 10759 }, 10760 }, 10761 Dependencies: []string{ 10762 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"}, 10763 } 10764 } 10765 10766 func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPIDefinition { 10767 return common.OpenAPIDefinition{ 10768 Schema: spec.Schema{ 10769 SchemaProps: spec.SchemaProps{ 10770 Description: "Table is a tabular representation of a set of API resources. The server transforms the object into a set of preferred columns for quickly reviewing the objects.", 10771 Type: []string{"object"}, 10772 Properties: map[string]spec.Schema{ 10773 "kind": { 10774 SchemaProps: spec.SchemaProps{ 10775 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/sig-architecture/api-conventions.md#types-kinds", 10776 Type: []string{"string"}, 10777 Format: "", 10778 }, 10779 }, 10780 "apiVersion": { 10781 SchemaProps: spec.SchemaProps{ 10782 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/sig-architecture/api-conventions.md#resources", 10783 Type: []string{"string"}, 10784 Format: "", 10785 }, 10786 }, 10787 "metadata": { 10788 SchemaProps: spec.SchemaProps{ 10789 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10790 Default: map[string]interface{}{}, 10791 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 10792 }, 10793 }, 10794 "columnDefinitions": { 10795 VendorExtensible: spec.VendorExtensible{ 10796 Extensions: spec.Extensions{ 10797 "x-kubernetes-list-type": "atomic", 10798 }, 10799 }, 10800 SchemaProps: spec.SchemaProps{ 10801 Description: "columnDefinitions describes each column in the returned items array. The number of cells per row will always match the number of column definitions.", 10802 Type: []string{"array"}, 10803 Items: &spec.SchemaOrArray{ 10804 Schema: &spec.Schema{ 10805 SchemaProps: spec.SchemaProps{ 10806 Default: map[string]interface{}{}, 10807 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition"), 10808 }, 10809 }, 10810 }, 10811 }, 10812 }, 10813 "rows": { 10814 VendorExtensible: spec.VendorExtensible{ 10815 Extensions: spec.Extensions{ 10816 "x-kubernetes-list-type": "atomic", 10817 }, 10818 }, 10819 SchemaProps: spec.SchemaProps{ 10820 Description: "rows is the list of items in the table.", 10821 Type: []string{"array"}, 10822 Items: &spec.SchemaOrArray{ 10823 Schema: &spec.Schema{ 10824 SchemaProps: spec.SchemaProps{ 10825 Default: map[string]interface{}{}, 10826 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"), 10827 }, 10828 }, 10829 }, 10830 }, 10831 }, 10832 }, 10833 Required: []string{"columnDefinitions", "rows"}, 10834 }, 10835 }, 10836 Dependencies: []string{ 10837 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition", "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"}, 10838 } 10839 } 10840 10841 func schema_pkg_apis_meta_v1_TableColumnDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition { 10842 return common.OpenAPIDefinition{ 10843 Schema: spec.Schema{ 10844 SchemaProps: spec.SchemaProps{ 10845 Description: "TableColumnDefinition contains information about a column returned in the Table.", 10846 Type: []string{"object"}, 10847 Properties: map[string]spec.Schema{ 10848 "name": { 10849 SchemaProps: spec.SchemaProps{ 10850 Description: "name is a human readable name for the column.", 10851 Default: "", 10852 Type: []string{"string"}, 10853 Format: "", 10854 }, 10855 }, 10856 "type": { 10857 SchemaProps: spec.SchemaProps{ 10858 Description: "type is an OpenAPI type definition for this column, such as number, integer, string, or array. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", 10859 Default: "", 10860 Type: []string{"string"}, 10861 Format: "", 10862 }, 10863 }, 10864 "format": { 10865 SchemaProps: spec.SchemaProps{ 10866 Description: "format is an optional OpenAPI type modifier for this column. A format modifies the type and imposes additional rules, like date or time formatting for a string. The 'name' format is applied to the primary identifier column which has type 'string' to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", 10867 Default: "", 10868 Type: []string{"string"}, 10869 Format: "", 10870 }, 10871 }, 10872 "description": { 10873 SchemaProps: spec.SchemaProps{ 10874 Description: "description is a human readable description of this column.", 10875 Default: "", 10876 Type: []string{"string"}, 10877 Format: "", 10878 }, 10879 }, 10880 "priority": { 10881 SchemaProps: spec.SchemaProps{ 10882 Description: "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", 10883 Default: 0, 10884 Type: []string{"integer"}, 10885 Format: "int32", 10886 }, 10887 }, 10888 }, 10889 Required: []string{"name", "type", "format", "description", "priority"}, 10890 }, 10891 }, 10892 } 10893 } 10894 10895 func schema_pkg_apis_meta_v1_TableOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 10896 return common.OpenAPIDefinition{ 10897 Schema: spec.Schema{ 10898 SchemaProps: spec.SchemaProps{ 10899 Description: "TableOptions are used when a Table is requested by the caller.", 10900 Type: []string{"object"}, 10901 Properties: map[string]spec.Schema{ 10902 "kind": { 10903 SchemaProps: spec.SchemaProps{ 10904 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/sig-architecture/api-conventions.md#types-kinds", 10905 Type: []string{"string"}, 10906 Format: "", 10907 }, 10908 }, 10909 "apiVersion": { 10910 SchemaProps: spec.SchemaProps{ 10911 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/sig-architecture/api-conventions.md#resources", 10912 Type: []string{"string"}, 10913 Format: "", 10914 }, 10915 }, 10916 "includeObject": { 10917 SchemaProps: spec.SchemaProps{ 10918 Description: "includeObject decides whether to include each object along with its columnar information. Specifying \"None\" will return no object, specifying \"Object\" will return the full object contents, and specifying \"Metadata\" (the default) will return the object's metadata in the PartialObjectMetadata kind in version v1beta1 of the meta.k8s.io API group.", 10919 Type: []string{"string"}, 10920 Format: "", 10921 }, 10922 }, 10923 }, 10924 }, 10925 }, 10926 } 10927 } 10928 10929 func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenAPIDefinition { 10930 return common.OpenAPIDefinition{ 10931 Schema: spec.Schema{ 10932 SchemaProps: spec.SchemaProps{ 10933 Description: "TableRow is an individual row in a table.", 10934 Type: []string{"object"}, 10935 Properties: map[string]spec.Schema{ 10936 "cells": { 10937 VendorExtensible: spec.VendorExtensible{ 10938 Extensions: spec.Extensions{ 10939 "x-kubernetes-list-type": "atomic", 10940 }, 10941 }, 10942 SchemaProps: spec.SchemaProps{ 10943 Description: "cells will be as wide as the column definitions array and may contain strings, numbers (float64 or int64), booleans, simple maps, lists, or null. See the type field of the column definition for a more detailed description.", 10944 Type: []string{"array"}, 10945 Items: &spec.SchemaOrArray{ 10946 Schema: &spec.Schema{ 10947 SchemaProps: spec.SchemaProps{ 10948 Type: []string{"object"}, 10949 Format: "", 10950 }, 10951 }, 10952 }, 10953 }, 10954 }, 10955 "conditions": { 10956 VendorExtensible: spec.VendorExtensible{ 10957 Extensions: spec.Extensions{ 10958 "x-kubernetes-list-type": "atomic", 10959 }, 10960 }, 10961 SchemaProps: spec.SchemaProps{ 10962 Description: "conditions describe additional status of a row that are relevant for a human user. These conditions apply to the row, not to the object, and will be specific to table output. The only defined condition type is 'Completed', for a row that indicates a resource that has run to completion and can be given less visual priority.", 10963 Type: []string{"array"}, 10964 Items: &spec.SchemaOrArray{ 10965 Schema: &spec.Schema{ 10966 SchemaProps: spec.SchemaProps{ 10967 Default: map[string]interface{}{}, 10968 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition"), 10969 }, 10970 }, 10971 }, 10972 }, 10973 }, 10974 "object": { 10975 SchemaProps: spec.SchemaProps{ 10976 Description: "This field contains the requested additional information about each object based on the includeObject policy when requesting the Table. If \"None\", this field is empty, if \"Object\" this will be the default serialization of the object for the current API version, and if \"Metadata\" (the default) will contain the object metadata. Check the returned kind and apiVersion of the object before parsing. The media type of the object will always match the enclosing list - if this as a JSON table, these will be JSON encoded objects.", 10977 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 10978 }, 10979 }, 10980 }, 10981 Required: []string{"cells"}, 10982 }, 10983 }, 10984 Dependencies: []string{ 10985 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 10986 } 10987 } 10988 10989 func schema_pkg_apis_meta_v1_TableRowCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 10990 return common.OpenAPIDefinition{ 10991 Schema: spec.Schema{ 10992 SchemaProps: spec.SchemaProps{ 10993 Description: "TableRowCondition allows a row to be marked with additional information.", 10994 Type: []string{"object"}, 10995 Properties: map[string]spec.Schema{ 10996 "type": { 10997 SchemaProps: spec.SchemaProps{ 10998 Description: "Type of row condition. The only defined value is 'Completed' indicating that the object this row represents has reached a completed state and may be given less visual priority than other rows. Clients are not required to honor any conditions but should be consistent where possible about handling the conditions.", 10999 Default: "", 11000 Type: []string{"string"}, 11001 Format: "", 11002 }, 11003 }, 11004 "status": { 11005 SchemaProps: spec.SchemaProps{ 11006 Description: "Status of the condition, one of True, False, Unknown.", 11007 Default: "", 11008 Type: []string{"string"}, 11009 Format: "", 11010 }, 11011 }, 11012 "reason": { 11013 SchemaProps: spec.SchemaProps{ 11014 Description: "(brief) machine readable reason for the condition's last transition.", 11015 Type: []string{"string"}, 11016 Format: "", 11017 }, 11018 }, 11019 "message": { 11020 SchemaProps: spec.SchemaProps{ 11021 Description: "Human readable message indicating details about last transition.", 11022 Type: []string{"string"}, 11023 Format: "", 11024 }, 11025 }, 11026 }, 11027 Required: []string{"type", "status"}, 11028 }, 11029 }, 11030 } 11031 } 11032 11033 func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition { 11034 return common.OpenAPIDefinition{ 11035 Schema: spec.Schema{ 11036 SchemaProps: spec.SchemaProps{ 11037 Description: "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", 11038 Type: v1.Time{}.OpenAPISchemaType(), 11039 Format: v1.Time{}.OpenAPISchemaFormat(), 11040 }, 11041 }, 11042 } 11043 } 11044 11045 func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition { 11046 return common.OpenAPIDefinition{ 11047 Schema: spec.Schema{ 11048 SchemaProps: spec.SchemaProps{ 11049 Description: "Timestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.", 11050 Type: []string{"object"}, 11051 Properties: map[string]spec.Schema{ 11052 "seconds": { 11053 SchemaProps: spec.SchemaProps{ 11054 Description: "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.", 11055 Default: 0, 11056 Type: []string{"integer"}, 11057 Format: "int64", 11058 }, 11059 }, 11060 "nanos": { 11061 SchemaProps: spec.SchemaProps{ 11062 Description: "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.", 11063 Default: 0, 11064 Type: []string{"integer"}, 11065 Format: "int32", 11066 }, 11067 }, 11068 }, 11069 Required: []string{"seconds", "nanos"}, 11070 }, 11071 }, 11072 } 11073 } 11074 11075 func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 11076 return common.OpenAPIDefinition{ 11077 Schema: spec.Schema{ 11078 SchemaProps: spec.SchemaProps{ 11079 Description: "TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.", 11080 Type: []string{"object"}, 11081 Properties: map[string]spec.Schema{ 11082 "kind": { 11083 SchemaProps: spec.SchemaProps{ 11084 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/sig-architecture/api-conventions.md#types-kinds", 11085 Type: []string{"string"}, 11086 Format: "", 11087 }, 11088 }, 11089 "apiVersion": { 11090 SchemaProps: spec.SchemaProps{ 11091 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/sig-architecture/api-conventions.md#resources", 11092 Type: []string{"string"}, 11093 Format: "", 11094 }, 11095 }, 11096 }, 11097 }, 11098 }, 11099 } 11100 } 11101 11102 func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 11103 return common.OpenAPIDefinition{ 11104 Schema: spec.Schema{ 11105 SchemaProps: spec.SchemaProps{ 11106 Description: "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.", 11107 Type: []string{"object"}, 11108 Properties: map[string]spec.Schema{ 11109 "kind": { 11110 SchemaProps: spec.SchemaProps{ 11111 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/sig-architecture/api-conventions.md#types-kinds", 11112 Type: []string{"string"}, 11113 Format: "", 11114 }, 11115 }, 11116 "apiVersion": { 11117 SchemaProps: spec.SchemaProps{ 11118 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/sig-architecture/api-conventions.md#resources", 11119 Type: []string{"string"}, 11120 Format: "", 11121 }, 11122 }, 11123 "dryRun": { 11124 VendorExtensible: spec.VendorExtensible{ 11125 Extensions: spec.Extensions{ 11126 "x-kubernetes-list-type": "atomic", 11127 }, 11128 }, 11129 SchemaProps: spec.SchemaProps{ 11130 Description: "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", 11131 Type: []string{"array"}, 11132 Items: &spec.SchemaOrArray{ 11133 Schema: &spec.Schema{ 11134 SchemaProps: spec.SchemaProps{ 11135 Default: "", 11136 Type: []string{"string"}, 11137 Format: "", 11138 }, 11139 }, 11140 }, 11141 }, 11142 }, 11143 "fieldManager": { 11144 SchemaProps: spec.SchemaProps{ 11145 Description: "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", 11146 Type: []string{"string"}, 11147 Format: "", 11148 }, 11149 }, 11150 "fieldValidation": { 11151 SchemaProps: spec.SchemaProps{ 11152 Description: "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 11153 Type: []string{"string"}, 11154 Format: "", 11155 }, 11156 }, 11157 }, 11158 }, 11159 }, 11160 } 11161 } 11162 11163 func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 11164 return common.OpenAPIDefinition{ 11165 Schema: spec.Schema{ 11166 SchemaProps: spec.SchemaProps{ 11167 Description: "Event represents a single event to a watched resource.", 11168 Type: []string{"object"}, 11169 Properties: map[string]spec.Schema{ 11170 "type": { 11171 SchemaProps: spec.SchemaProps{ 11172 Default: "", 11173 Type: []string{"string"}, 11174 Format: "", 11175 }, 11176 }, 11177 "object": { 11178 SchemaProps: spec.SchemaProps{ 11179 Description: "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.", 11180 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 11181 }, 11182 }, 11183 }, 11184 Required: []string{"type", "object"}, 11185 }, 11186 }, 11187 Dependencies: []string{ 11188 "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 11189 } 11190 } 11191 11192 func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCallback) common.OpenAPIDefinition { 11193 return common.OpenAPIDefinition{ 11194 Schema: spec.Schema{ 11195 SchemaProps: spec.SchemaProps{ 11196 Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", 11197 Type: []string{"object"}, 11198 }, 11199 }, 11200 } 11201 } 11202 11203 func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 11204 return common.OpenAPIDefinition{ 11205 Schema: spec.Schema{ 11206 SchemaProps: spec.SchemaProps{ 11207 Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t runtime.TypeMeta `json:\",inline\"`\n\t ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.", 11208 Type: []string{"object"}, 11209 Properties: map[string]spec.Schema{ 11210 "apiVersion": { 11211 SchemaProps: spec.SchemaProps{ 11212 Type: []string{"string"}, 11213 Format: "", 11214 }, 11215 }, 11216 "kind": { 11217 SchemaProps: spec.SchemaProps{ 11218 Type: []string{"string"}, 11219 Format: "", 11220 }, 11221 }, 11222 }, 11223 }, 11224 }, 11225 } 11226 } 11227 11228 func schema_k8sio_apimachinery_pkg_runtime_Unknown(ref common.ReferenceCallback) common.OpenAPIDefinition { 11229 return common.OpenAPIDefinition{ 11230 Schema: spec.Schema{ 11231 SchemaProps: spec.SchemaProps{ 11232 Description: "Unknown allows api objects with unknown types to be passed-through. This can be used to deal with the API objects from a plug-in. Unknown objects still have functioning TypeMeta features-- kind, version, etc. metadata and field mutatation.", 11233 Type: []string{"object"}, 11234 Properties: map[string]spec.Schema{ 11235 "apiVersion": { 11236 SchemaProps: spec.SchemaProps{ 11237 Type: []string{"string"}, 11238 Format: "", 11239 }, 11240 }, 11241 "kind": { 11242 SchemaProps: spec.SchemaProps{ 11243 Type: []string{"string"}, 11244 Format: "", 11245 }, 11246 }, 11247 "ContentEncoding": { 11248 SchemaProps: spec.SchemaProps{ 11249 Description: "ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.", 11250 Default: "", 11251 Type: []string{"string"}, 11252 Format: "", 11253 }, 11254 }, 11255 "ContentType": { 11256 SchemaProps: spec.SchemaProps{ 11257 Description: "ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.", 11258 Default: "", 11259 Type: []string{"string"}, 11260 Format: "", 11261 }, 11262 }, 11263 }, 11264 Required: []string{"ContentEncoding", "ContentType"}, 11265 }, 11266 }, 11267 } 11268 } 11269 11270 func schema_k8sio_apimachinery_pkg_version_Info(ref common.ReferenceCallback) common.OpenAPIDefinition { 11271 return common.OpenAPIDefinition{ 11272 Schema: spec.Schema{ 11273 SchemaProps: spec.SchemaProps{ 11274 Description: "Info contains versioning information. how we'll want to distribute that information.", 11275 Type: []string{"object"}, 11276 Properties: map[string]spec.Schema{ 11277 "major": { 11278 SchemaProps: spec.SchemaProps{ 11279 Description: "Major is the major version of the binary version", 11280 Default: "", 11281 Type: []string{"string"}, 11282 Format: "", 11283 }, 11284 }, 11285 "minor": { 11286 SchemaProps: spec.SchemaProps{ 11287 Description: "Minor is the minor version of the binary version", 11288 Default: "", 11289 Type: []string{"string"}, 11290 Format: "", 11291 }, 11292 }, 11293 "emulationMajor": { 11294 SchemaProps: spec.SchemaProps{ 11295 Description: "EmulationMajor is the major version of the emulation version", 11296 Type: []string{"string"}, 11297 Format: "", 11298 }, 11299 }, 11300 "emulationMinor": { 11301 SchemaProps: spec.SchemaProps{ 11302 Description: "EmulationMinor is the minor version of the emulation version", 11303 Type: []string{"string"}, 11304 Format: "", 11305 }, 11306 }, 11307 "minCompatibilityMajor": { 11308 SchemaProps: spec.SchemaProps{ 11309 Description: "MinCompatibilityMajor is the major version of the minimum compatibility version", 11310 Type: []string{"string"}, 11311 Format: "", 11312 }, 11313 }, 11314 "minCompatibilityMinor": { 11315 SchemaProps: spec.SchemaProps{ 11316 Description: "MinCompatibilityMinor is the minor version of the minimum compatibility version", 11317 Type: []string{"string"}, 11318 Format: "", 11319 }, 11320 }, 11321 "gitVersion": { 11322 SchemaProps: spec.SchemaProps{ 11323 Default: "", 11324 Type: []string{"string"}, 11325 Format: "", 11326 }, 11327 }, 11328 "gitCommit": { 11329 SchemaProps: spec.SchemaProps{ 11330 Default: "", 11331 Type: []string{"string"}, 11332 Format: "", 11333 }, 11334 }, 11335 "gitTreeState": { 11336 SchemaProps: spec.SchemaProps{ 11337 Default: "", 11338 Type: []string{"string"}, 11339 Format: "", 11340 }, 11341 }, 11342 "buildDate": { 11343 SchemaProps: spec.SchemaProps{ 11344 Default: "", 11345 Type: []string{"string"}, 11346 Format: "", 11347 }, 11348 }, 11349 "goVersion": { 11350 SchemaProps: spec.SchemaProps{ 11351 Default: "", 11352 Type: []string{"string"}, 11353 Format: "", 11354 }, 11355 }, 11356 "compiler": { 11357 SchemaProps: spec.SchemaProps{ 11358 Default: "", 11359 Type: []string{"string"}, 11360 Format: "", 11361 }, 11362 }, 11363 "platform": { 11364 SchemaProps: spec.SchemaProps{ 11365 Default: "", 11366 Type: []string{"string"}, 11367 Format: "", 11368 }, 11369 }, 11370 }, 11371 Required: []string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"}, 11372 }, 11373 }, 11374 } 11375 }