github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/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.UIResourceCondition": schema_pkg_apis_core_v1alpha1_UIResourceCondition(ref), 205 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceKubernetes": schema_pkg_apis_core_v1alpha1_UIResourceKubernetes(ref), 206 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLink": schema_pkg_apis_core_v1alpha1_UIResourceLink(ref), 207 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceList": schema_pkg_apis_core_v1alpha1_UIResourceList(ref), 208 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLocal": schema_pkg_apis_core_v1alpha1_UIResourceLocal(ref), 209 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceSpec": schema_pkg_apis_core_v1alpha1_UIResourceSpec(ref), 210 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaiting": schema_pkg_apis_core_v1alpha1_UIResourceStateWaiting(ref), 211 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaitingOnRef": schema_pkg_apis_core_v1alpha1_UIResourceStateWaitingOnRef(ref), 212 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStatus": schema_pkg_apis_core_v1alpha1_UIResourceStatus(ref), 213 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceTargetSpec": schema_pkg_apis_core_v1alpha1_UIResourceTargetSpec(ref), 214 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISession": schema_pkg_apis_core_v1alpha1_UISession(ref), 215 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionList": schema_pkg_apis_core_v1alpha1_UISessionList(ref), 216 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionSpec": schema_pkg_apis_core_v1alpha1_UISessionSpec(ref), 217 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionStatus": schema_pkg_apis_core_v1alpha1_UISessionStatus(ref), 218 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputSpec": schema_pkg_apis_core_v1alpha1_UITextInputSpec(ref), 219 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputStatus": schema_pkg_apis_core_v1alpha1_UITextInputStatus(ref), 220 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.VersionSettings": schema_pkg_apis_core_v1alpha1_VersionSettings(ref), 221 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), 222 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), 223 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), 224 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), 225 "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), 226 "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref), 227 "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref), 228 "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), 229 "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), 230 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), 231 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), 232 "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), 233 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), 234 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), 235 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), 236 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), 237 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), 238 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), 239 "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), 240 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), 241 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), 242 "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), 243 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), 244 "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), 245 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), 246 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), 247 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), 248 "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), 249 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), 250 "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), 251 "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), 252 "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), 253 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), 254 "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), 255 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), 256 "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), 257 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), 258 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), 259 "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), 260 "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), 261 "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), 262 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), 263 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), 264 "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), 265 "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), 266 "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), 267 "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), 268 "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), 269 "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), 270 "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), 271 "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), 272 "k8s.io/apimachinery/pkg/version.Info": schema_k8sio_apimachinery_pkg_version_Info(ref), 273 } 274 } 275 276 func schema_pkg_apis_core_v1alpha1_Cluster(ref common.ReferenceCallback) common.OpenAPIDefinition { 277 return common.OpenAPIDefinition{ 278 Schema: spec.Schema{ 279 SchemaProps: spec.SchemaProps{ 280 Description: "Cluster defines any runtime for running containers, in the broadest sense of the word \"runtime\".", 281 Type: []string{"object"}, 282 Properties: map[string]spec.Schema{ 283 "kind": { 284 SchemaProps: spec.SchemaProps{ 285 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", 286 Type: []string{"string"}, 287 Format: "", 288 }, 289 }, 290 "apiVersion": { 291 SchemaProps: spec.SchemaProps{ 292 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", 293 Type: []string{"string"}, 294 Format: "", 295 }, 296 }, 297 "metadata": { 298 SchemaProps: spec.SchemaProps{ 299 Default: map[string]interface{}{}, 300 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 301 }, 302 }, 303 "spec": { 304 SchemaProps: spec.SchemaProps{ 305 Default: map[string]interface{}{}, 306 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterSpec"), 307 }, 308 }, 309 "status": { 310 SchemaProps: spec.SchemaProps{ 311 Default: map[string]interface{}{}, 312 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterStatus"), 313 }, 314 }, 315 }, 316 }, 317 }, 318 Dependencies: []string{ 319 "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"}, 320 } 321 } 322 323 func schema_pkg_apis_core_v1alpha1_ClusterConnection(ref common.ReferenceCallback) common.OpenAPIDefinition { 324 return common.OpenAPIDefinition{ 325 Schema: spec.Schema{ 326 SchemaProps: spec.SchemaProps{ 327 Description: "Connection spec for an existing cluster.", 328 Type: []string{"object"}, 329 Properties: map[string]spec.Schema{ 330 "kubernetes": { 331 SchemaProps: spec.SchemaProps{ 332 Description: "Defines connection to a Kubernetes cluster.", 333 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnection"), 334 }, 335 }, 336 "docker": { 337 SchemaProps: spec.SchemaProps{ 338 Description: "Defines connection to a Docker daemon.", 339 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerClusterConnection"), 340 }, 341 }, 342 }, 343 }, 344 }, 345 Dependencies: []string{ 346 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerClusterConnection", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnection"}, 347 } 348 } 349 350 func schema_pkg_apis_core_v1alpha1_ClusterConnectionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 351 return common.OpenAPIDefinition{ 352 Schema: spec.Schema{ 353 SchemaProps: spec.SchemaProps{ 354 Description: "Connection spec for an existing cluster.", 355 Type: []string{"object"}, 356 Properties: map[string]spec.Schema{ 357 "kubernetes": { 358 SchemaProps: spec.SchemaProps{ 359 Description: "Defines connection to a Kubernetes cluster.", 360 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnectionStatus"), 361 }, 362 }, 363 }, 364 }, 365 }, 366 Dependencies: []string{ 367 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesClusterConnectionStatus"}, 368 } 369 } 370 371 func schema_pkg_apis_core_v1alpha1_ClusterList(ref common.ReferenceCallback) common.OpenAPIDefinition { 372 return common.OpenAPIDefinition{ 373 Schema: spec.Schema{ 374 SchemaProps: spec.SchemaProps{ 375 Description: "ClusterList", 376 Type: []string{"object"}, 377 Properties: map[string]spec.Schema{ 378 "kind": { 379 SchemaProps: spec.SchemaProps{ 380 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", 381 Type: []string{"string"}, 382 Format: "", 383 }, 384 }, 385 "apiVersion": { 386 SchemaProps: spec.SchemaProps{ 387 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", 388 Type: []string{"string"}, 389 Format: "", 390 }, 391 }, 392 "metadata": { 393 SchemaProps: spec.SchemaProps{ 394 Default: map[string]interface{}{}, 395 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 396 }, 397 }, 398 "items": { 399 SchemaProps: spec.SchemaProps{ 400 Type: []string{"array"}, 401 Items: &spec.SchemaOrArray{ 402 Schema: &spec.Schema{ 403 SchemaProps: spec.SchemaProps{ 404 Default: map[string]interface{}{}, 405 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cluster"), 406 }, 407 }, 408 }, 409 }, 410 }, 411 }, 412 Required: []string{"items"}, 413 }, 414 }, 415 Dependencies: []string{ 416 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cluster", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 417 } 418 } 419 420 func schema_pkg_apis_core_v1alpha1_ClusterSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 421 return common.OpenAPIDefinition{ 422 Schema: spec.Schema{ 423 SchemaProps: spec.SchemaProps{ 424 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).", 425 Type: []string{"object"}, 426 Properties: map[string]spec.Schema{ 427 "connection": { 428 SchemaProps: spec.SchemaProps{ 429 Description: "Connection spec for an existing cluster.", 430 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnection"), 431 }, 432 }, 433 "defaultRegistry": { 434 SchemaProps: spec.SchemaProps{ 435 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`).", 436 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting"), 437 }, 438 }, 439 }, 440 }, 441 }, 442 Dependencies: []string{ 443 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnection", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting"}, 444 } 445 } 446 447 func schema_pkg_apis_core_v1alpha1_ClusterStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 448 return common.OpenAPIDefinition{ 449 Schema: spec.Schema{ 450 SchemaProps: spec.SchemaProps{ 451 Description: "ClusterStatus defines the observed state of Cluster", 452 Type: []string{"object"}, 453 Properties: map[string]spec.Schema{ 454 "arch": { 455 SchemaProps: spec.SchemaProps{ 456 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.", 457 Type: []string{"string"}, 458 Format: "", 459 }, 460 }, 461 "error": { 462 SchemaProps: spec.SchemaProps{ 463 Description: "An unrecoverable error connecting to the cluster.", 464 Type: []string{"string"}, 465 Format: "", 466 }, 467 }, 468 "connectedAt": { 469 SchemaProps: spec.SchemaProps{ 470 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.", 471 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 472 }, 473 }, 474 "registry": { 475 SchemaProps: spec.SchemaProps{ 476 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.", 477 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RegistryHosting"), 478 }, 479 }, 480 "connection": { 481 SchemaProps: spec.SchemaProps{ 482 Description: "Connection status for an existing cluster.", 483 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ClusterConnectionStatus"), 484 }, 485 }, 486 "version": { 487 SchemaProps: spec.SchemaProps{ 488 Description: "Version is a cluster-provided, human-readable version string.", 489 Type: []string{"string"}, 490 Format: "", 491 }, 492 }, 493 }, 494 }, 495 }, 496 Dependencies: []string{ 497 "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"}, 498 } 499 } 500 501 func schema_pkg_apis_core_v1alpha1_Cmd(ref common.ReferenceCallback) common.OpenAPIDefinition { 502 return common.OpenAPIDefinition{ 503 Schema: spec.Schema{ 504 SchemaProps: spec.SchemaProps{ 505 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.", 506 Type: []string{"object"}, 507 Properties: map[string]spec.Schema{ 508 "kind": { 509 SchemaProps: spec.SchemaProps{ 510 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", 511 Type: []string{"string"}, 512 Format: "", 513 }, 514 }, 515 "apiVersion": { 516 SchemaProps: spec.SchemaProps{ 517 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", 518 Type: []string{"string"}, 519 Format: "", 520 }, 521 }, 522 "metadata": { 523 SchemaProps: spec.SchemaProps{ 524 Default: map[string]interface{}{}, 525 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 526 }, 527 }, 528 "spec": { 529 SchemaProps: spec.SchemaProps{ 530 Default: map[string]interface{}{}, 531 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdSpec"), 532 }, 533 }, 534 "status": { 535 SchemaProps: spec.SchemaProps{ 536 Default: map[string]interface{}{}, 537 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStatus"), 538 }, 539 }, 540 }, 541 }, 542 }, 543 Dependencies: []string{ 544 "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"}, 545 } 546 } 547 548 func schema_pkg_apis_core_v1alpha1_CmdImage(ref common.ReferenceCallback) common.OpenAPIDefinition { 549 return common.OpenAPIDefinition{ 550 Schema: spec.Schema{ 551 SchemaProps: spec.SchemaProps{ 552 Description: "CmdImage describes an image to build with an arbitrary shell command.", 553 Type: []string{"object"}, 554 Properties: map[string]spec.Schema{ 555 "kind": { 556 SchemaProps: spec.SchemaProps{ 557 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", 558 Type: []string{"string"}, 559 Format: "", 560 }, 561 }, 562 "apiVersion": { 563 SchemaProps: spec.SchemaProps{ 564 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", 565 Type: []string{"string"}, 566 Format: "", 567 }, 568 }, 569 "metadata": { 570 SchemaProps: spec.SchemaProps{ 571 Default: map[string]interface{}{}, 572 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 573 }, 574 }, 575 "spec": { 576 SchemaProps: spec.SchemaProps{ 577 Default: map[string]interface{}{}, 578 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageSpec"), 579 }, 580 }, 581 "status": { 582 SchemaProps: spec.SchemaProps{ 583 Default: map[string]interface{}{}, 584 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStatus"), 585 }, 586 }, 587 }, 588 }, 589 }, 590 Dependencies: []string{ 591 "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"}, 592 } 593 } 594 595 func schema_pkg_apis_core_v1alpha1_CmdImageList(ref common.ReferenceCallback) common.OpenAPIDefinition { 596 return common.OpenAPIDefinition{ 597 Schema: spec.Schema{ 598 SchemaProps: spec.SchemaProps{ 599 Description: "CmdImageList", 600 Type: []string{"object"}, 601 Properties: map[string]spec.Schema{ 602 "kind": { 603 SchemaProps: spec.SchemaProps{ 604 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", 605 Type: []string{"string"}, 606 Format: "", 607 }, 608 }, 609 "apiVersion": { 610 SchemaProps: spec.SchemaProps{ 611 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", 612 Type: []string{"string"}, 613 Format: "", 614 }, 615 }, 616 "metadata": { 617 SchemaProps: spec.SchemaProps{ 618 Default: map[string]interface{}{}, 619 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 620 }, 621 }, 622 "items": { 623 SchemaProps: spec.SchemaProps{ 624 Type: []string{"array"}, 625 Items: &spec.SchemaOrArray{ 626 Schema: &spec.Schema{ 627 SchemaProps: spec.SchemaProps{ 628 Default: map[string]interface{}{}, 629 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImage"), 630 }, 631 }, 632 }, 633 }, 634 }, 635 }, 636 Required: []string{"items"}, 637 }, 638 }, 639 Dependencies: []string{ 640 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImage", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 641 } 642 } 643 644 func schema_pkg_apis_core_v1alpha1_CmdImageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 645 return common.OpenAPIDefinition{ 646 Schema: spec.Schema{ 647 SchemaProps: spec.SchemaProps{ 648 Description: "CmdImageSpec describes how the custom script builds images and where it puts them.", 649 Type: []string{"object"}, 650 Properties: map[string]spec.Schema{ 651 "ref": { 652 SchemaProps: spec.SchemaProps{ 653 Description: "The named reference of the image.", 654 Default: "", 655 Type: []string{"string"}, 656 Format: "", 657 }, 658 }, 659 "args": { 660 SchemaProps: spec.SchemaProps{ 661 Description: "Command-line arguments. Must have length at least 1.", 662 Type: []string{"array"}, 663 Items: &spec.SchemaOrArray{ 664 Schema: &spec.Schema{ 665 SchemaProps: spec.SchemaProps{ 666 Default: "", 667 Type: []string{"string"}, 668 Format: "", 669 }, 670 }, 671 }, 672 }, 673 }, 674 "dir": { 675 SchemaProps: spec.SchemaProps{ 676 Description: "Process working directory.\n\nIf the working directory is not specified, the command is run in the default Tilt working directory.", 677 Type: []string{"string"}, 678 Format: "", 679 }, 680 }, 681 "env": { 682 SchemaProps: spec.SchemaProps{ 683 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.", 684 Type: []string{"array"}, 685 Items: &spec.SchemaOrArray{ 686 Schema: &spec.Schema{ 687 SchemaProps: spec.SchemaProps{ 688 Default: "", 689 Type: []string{"string"}, 690 Format: "", 691 }, 692 }, 693 }, 694 }, 695 }, 696 "imageMaps": { 697 SchemaProps: spec.SchemaProps{ 698 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.", 699 Type: []string{"array"}, 700 Items: &spec.SchemaOrArray{ 701 Schema: &spec.Schema{ 702 SchemaProps: spec.SchemaProps{ 703 Default: "", 704 Type: []string{"string"}, 705 Format: "", 706 }, 707 }, 708 }, 709 }, 710 }, 711 "outputMode": { 712 SchemaProps: spec.SchemaProps{ 713 Description: "Specifies where the image is built. If not specified, we assume the image was built to the local Docker image store.", 714 Type: []string{"string"}, 715 Format: "", 716 }, 717 }, 718 "outputTag": { 719 SchemaProps: spec.SchemaProps{ 720 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 )", 721 Type: []string{"string"}, 722 Format: "", 723 }, 724 }, 725 "outputsImageRefTo": { 726 SchemaProps: spec.SchemaProps{ 727 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.", 728 Type: []string{"string"}, 729 Format: "", 730 }, 731 }, 732 "cluster": { 733 SchemaProps: spec.SchemaProps{ 734 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.", 735 Type: []string{"string"}, 736 Format: "", 737 }, 738 }, 739 "clusterNeeds": { 740 SchemaProps: spec.SchemaProps{ 741 Description: "Whether the cluster needs access to the image.\n\nIf not specified, assumes we have to push up to the cluster.", 742 Type: []string{"string"}, 743 Format: "", 744 }, 745 }, 746 }, 747 Required: []string{"ref"}, 748 }, 749 }, 750 } 751 } 752 753 func schema_pkg_apis_core_v1alpha1_CmdImageStateBuilding(ref common.ReferenceCallback) common.OpenAPIDefinition { 754 return common.OpenAPIDefinition{ 755 Schema: spec.Schema{ 756 SchemaProps: spec.SchemaProps{ 757 Description: "CmdImageStateBuilding expresses that an image build is in-progress.", 758 Type: []string{"object"}, 759 Properties: map[string]spec.Schema{ 760 "reason": { 761 SchemaProps: spec.SchemaProps{ 762 Description: "The reason why the image is building.", 763 Type: []string{"string"}, 764 Format: "", 765 }, 766 }, 767 "startedAt": { 768 SchemaProps: spec.SchemaProps{ 769 Description: "Time when the build started.", 770 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 771 }, 772 }, 773 }, 774 }, 775 }, 776 Dependencies: []string{ 777 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 778 } 779 } 780 781 func schema_pkg_apis_core_v1alpha1_CmdImageStateCompleted(ref common.ReferenceCallback) common.OpenAPIDefinition { 782 return common.OpenAPIDefinition{ 783 Schema: spec.Schema{ 784 SchemaProps: spec.SchemaProps{ 785 Description: "CmdImageStateCompleted expresses when the image build is finished and no new images need to be built.", 786 Type: []string{"object"}, 787 Properties: map[string]spec.Schema{ 788 "reason": { 789 SchemaProps: spec.SchemaProps{ 790 Description: "The reason why the image was built.", 791 Type: []string{"string"}, 792 Format: "", 793 }, 794 }, 795 "error": { 796 SchemaProps: spec.SchemaProps{ 797 Description: "Error message if the build failed.", 798 Type: []string{"string"}, 799 Format: "", 800 }, 801 }, 802 "startedAt": { 803 SchemaProps: spec.SchemaProps{ 804 Description: "Time when we started building an image.", 805 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 806 }, 807 }, 808 "finishedAt": { 809 SchemaProps: spec.SchemaProps{ 810 Description: "Time when we finished building an image", 811 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 812 }, 813 }, 814 }, 815 }, 816 }, 817 Dependencies: []string{ 818 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 819 } 820 } 821 822 func schema_pkg_apis_core_v1alpha1_CmdImageStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 823 return common.OpenAPIDefinition{ 824 Schema: spec.Schema{ 825 SchemaProps: spec.SchemaProps{ 826 Description: "CmdImageStateWaiting expresses what we're waiting on to build an image.", 827 Type: []string{"object"}, 828 Properties: map[string]spec.Schema{ 829 "reason": { 830 SchemaProps: spec.SchemaProps{ 831 Description: "(brief) reason the image build is waiting.", 832 Type: []string{"string"}, 833 Format: "", 834 }, 835 }, 836 }, 837 }, 838 }, 839 } 840 } 841 842 func schema_pkg_apis_core_v1alpha1_CmdImageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 843 return common.OpenAPIDefinition{ 844 Schema: spec.Schema{ 845 SchemaProps: spec.SchemaProps{ 846 Description: "CmdImageStatus describes the result of the image build.", 847 Type: []string{"object"}, 848 Properties: map[string]spec.Schema{ 849 "ref": { 850 SchemaProps: spec.SchemaProps{ 851 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.", 852 Type: []string{"string"}, 853 Format: "", 854 }, 855 }, 856 "waiting": { 857 SchemaProps: spec.SchemaProps{ 858 Description: "Details about a waiting image build.", 859 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateWaiting"), 860 }, 861 }, 862 "building": { 863 SchemaProps: spec.SchemaProps{ 864 Description: "Details about a building image.", 865 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateBuilding"), 866 }, 867 }, 868 "completed": { 869 SchemaProps: spec.SchemaProps{ 870 Description: "Details about a finished image build.", 871 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdImageStateCompleted"), 872 }, 873 }, 874 }, 875 }, 876 }, 877 Dependencies: []string{ 878 "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"}, 879 } 880 } 881 882 func schema_pkg_apis_core_v1alpha1_CmdList(ref common.ReferenceCallback) common.OpenAPIDefinition { 883 return common.OpenAPIDefinition{ 884 Schema: spec.Schema{ 885 SchemaProps: spec.SchemaProps{ 886 Description: "CmdList", 887 Type: []string{"object"}, 888 Properties: map[string]spec.Schema{ 889 "kind": { 890 SchemaProps: spec.SchemaProps{ 891 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", 892 Type: []string{"string"}, 893 Format: "", 894 }, 895 }, 896 "apiVersion": { 897 SchemaProps: spec.SchemaProps{ 898 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", 899 Type: []string{"string"}, 900 Format: "", 901 }, 902 }, 903 "metadata": { 904 SchemaProps: spec.SchemaProps{ 905 Default: map[string]interface{}{}, 906 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 907 }, 908 }, 909 "items": { 910 SchemaProps: spec.SchemaProps{ 911 Type: []string{"array"}, 912 Items: &spec.SchemaOrArray{ 913 Schema: &spec.Schema{ 914 SchemaProps: spec.SchemaProps{ 915 Default: map[string]interface{}{}, 916 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cmd"), 917 }, 918 }, 919 }, 920 }, 921 }, 922 }, 923 Required: []string{"items"}, 924 }, 925 }, 926 Dependencies: []string{ 927 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Cmd", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 928 } 929 } 930 931 func schema_pkg_apis_core_v1alpha1_CmdSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 932 return common.OpenAPIDefinition{ 933 Schema: spec.Schema{ 934 SchemaProps: spec.SchemaProps{ 935 Description: "CmdSpec defines how to run a local command.", 936 Type: []string{"object"}, 937 Properties: map[string]spec.Schema{ 938 "args": { 939 SchemaProps: spec.SchemaProps{ 940 Description: "Command-line arguments. Must have length at least 1.", 941 Type: []string{"array"}, 942 Items: &spec.SchemaOrArray{ 943 Schema: &spec.Schema{ 944 SchemaProps: spec.SchemaProps{ 945 Default: "", 946 Type: []string{"string"}, 947 Format: "", 948 }, 949 }, 950 }, 951 }, 952 }, 953 "dir": { 954 SchemaProps: spec.SchemaProps{ 955 Description: "Process working directory.\n\nIf the working directory is not specified, the command is run in the default Tilt working directory.", 956 Type: []string{"string"}, 957 Format: "", 958 }, 959 }, 960 "env": { 961 SchemaProps: spec.SchemaProps{ 962 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.", 963 Type: []string{"array"}, 964 Items: &spec.SchemaOrArray{ 965 Schema: &spec.Schema{ 966 SchemaProps: spec.SchemaProps{ 967 Default: "", 968 Type: []string{"string"}, 969 Format: "", 970 }, 971 }, 972 }, 973 }, 974 }, 975 "readinessProbe": { 976 SchemaProps: spec.SchemaProps{ 977 Description: "Periodic probe of service readiness.", 978 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Probe"), 979 }, 980 }, 981 "restartOn": { 982 SchemaProps: spec.SchemaProps{ 983 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.", 984 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec"), 985 }, 986 }, 987 "startOn": { 988 SchemaProps: spec.SchemaProps{ 989 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.", 990 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StartOnSpec"), 991 }, 992 }, 993 "disableSource": { 994 SchemaProps: spec.SchemaProps{ 995 Description: "Specifies how to disable this.", 996 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 997 }, 998 }, 999 }, 1000 }, 1001 }, 1002 Dependencies: []string{ 1003 "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"}, 1004 } 1005 } 1006 1007 func schema_pkg_apis_core_v1alpha1_CmdStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 1008 return common.OpenAPIDefinition{ 1009 Schema: spec.Schema{ 1010 SchemaProps: spec.SchemaProps{ 1011 Description: "CmdStateRunning is a running state of a local command.", 1012 Type: []string{"object"}, 1013 Properties: map[string]spec.Schema{ 1014 "pid": { 1015 SchemaProps: spec.SchemaProps{ 1016 Description: "The process id of the command.", 1017 Default: 0, 1018 Type: []string{"integer"}, 1019 Format: "int32", 1020 }, 1021 }, 1022 "startedAt": { 1023 SchemaProps: spec.SchemaProps{ 1024 Description: "Time at which the command was last started.", 1025 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1026 }, 1027 }, 1028 }, 1029 Required: []string{"pid"}, 1030 }, 1031 }, 1032 Dependencies: []string{ 1033 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 1034 } 1035 } 1036 1037 func schema_pkg_apis_core_v1alpha1_CmdStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 1038 return common.OpenAPIDefinition{ 1039 Schema: spec.Schema{ 1040 SchemaProps: spec.SchemaProps{ 1041 Description: "CmdStateTerminated is a terminated state of a local command.", 1042 Type: []string{"object"}, 1043 Properties: map[string]spec.Schema{ 1044 "pid": { 1045 SchemaProps: spec.SchemaProps{ 1046 Description: "The process id of the command.", 1047 Default: 0, 1048 Type: []string{"integer"}, 1049 Format: "int32", 1050 }, 1051 }, 1052 "exitCode": { 1053 SchemaProps: spec.SchemaProps{ 1054 Description: "Exit status from the last termination of the command", 1055 Default: 0, 1056 Type: []string{"integer"}, 1057 Format: "int32", 1058 }, 1059 }, 1060 "startedAt": { 1061 SchemaProps: spec.SchemaProps{ 1062 Description: "Time at which previous execution of the command started", 1063 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1064 }, 1065 }, 1066 "finishedAt": { 1067 SchemaProps: spec.SchemaProps{ 1068 Description: "Time at which the command last terminated", 1069 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1070 }, 1071 }, 1072 "reason": { 1073 SchemaProps: spec.SchemaProps{ 1074 Description: "(brief) reason the process is terminated", 1075 Type: []string{"string"}, 1076 Format: "", 1077 }, 1078 }, 1079 }, 1080 Required: []string{"pid", "exitCode"}, 1081 }, 1082 }, 1083 Dependencies: []string{ 1084 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 1085 } 1086 } 1087 1088 func schema_pkg_apis_core_v1alpha1_CmdStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 1089 return common.OpenAPIDefinition{ 1090 Schema: spec.Schema{ 1091 SchemaProps: spec.SchemaProps{ 1092 Description: "CmdStateWaiting is a waiting state of a local command.", 1093 Type: []string{"object"}, 1094 Properties: map[string]spec.Schema{ 1095 "reason": { 1096 SchemaProps: spec.SchemaProps{ 1097 Description: "(brief) reason the process is not yet running.", 1098 Type: []string{"string"}, 1099 Format: "", 1100 }, 1101 }, 1102 }, 1103 }, 1104 }, 1105 } 1106 } 1107 1108 func schema_pkg_apis_core_v1alpha1_CmdStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1109 return common.OpenAPIDefinition{ 1110 Schema: spec.Schema{ 1111 SchemaProps: spec.SchemaProps{ 1112 Description: "CmdStatus defines the observed state of Cmd\n\nBased loosely on ContainerStatus in Kubernetes", 1113 Type: []string{"object"}, 1114 Properties: map[string]spec.Schema{ 1115 "waiting": { 1116 SchemaProps: spec.SchemaProps{ 1117 Description: "Details about a waiting process.", 1118 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateWaiting"), 1119 }, 1120 }, 1121 "running": { 1122 SchemaProps: spec.SchemaProps{ 1123 Description: "Details about a running process.", 1124 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateRunning"), 1125 }, 1126 }, 1127 "terminated": { 1128 SchemaProps: spec.SchemaProps{ 1129 Description: "Details about a terminated process.", 1130 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.CmdStateTerminated"), 1131 }, 1132 }, 1133 "ready": { 1134 SchemaProps: spec.SchemaProps{ 1135 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.", 1136 Type: []string{"boolean"}, 1137 Format: "", 1138 }, 1139 }, 1140 "disableStatus": { 1141 SchemaProps: spec.SchemaProps{ 1142 Description: "Details about whether/why this is disabled.", 1143 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 1144 }, 1145 }, 1146 }, 1147 }, 1148 }, 1149 Dependencies: []string{ 1150 "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"}, 1151 } 1152 } 1153 1154 func schema_pkg_apis_core_v1alpha1_ConfigMap(ref common.ReferenceCallback) common.OpenAPIDefinition { 1155 return common.OpenAPIDefinition{ 1156 Schema: spec.Schema{ 1157 SchemaProps: spec.SchemaProps{ 1158 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.", 1159 Type: []string{"object"}, 1160 Properties: map[string]spec.Schema{ 1161 "kind": { 1162 SchemaProps: spec.SchemaProps{ 1163 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", 1164 Type: []string{"string"}, 1165 Format: "", 1166 }, 1167 }, 1168 "apiVersion": { 1169 SchemaProps: spec.SchemaProps{ 1170 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", 1171 Type: []string{"string"}, 1172 Format: "", 1173 }, 1174 }, 1175 "metadata": { 1176 SchemaProps: spec.SchemaProps{ 1177 Default: map[string]interface{}{}, 1178 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1179 }, 1180 }, 1181 "data": { 1182 SchemaProps: spec.SchemaProps{ 1183 Description: "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.", 1184 Type: []string{"object"}, 1185 AdditionalProperties: &spec.SchemaOrBool{ 1186 Allows: true, 1187 Schema: &spec.Schema{ 1188 SchemaProps: spec.SchemaProps{ 1189 Default: "", 1190 Type: []string{"string"}, 1191 Format: "", 1192 }, 1193 }, 1194 }, 1195 }, 1196 }, 1197 }, 1198 }, 1199 }, 1200 Dependencies: []string{ 1201 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1202 } 1203 } 1204 1205 func schema_pkg_apis_core_v1alpha1_ConfigMapDisableSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 1206 return common.OpenAPIDefinition{ 1207 Schema: spec.Schema{ 1208 SchemaProps: spec.SchemaProps{ 1209 Description: "Specifies a ConfigMap to control a DisableSource", 1210 Type: []string{"object"}, 1211 Properties: map[string]spec.Schema{ 1212 "name": { 1213 SchemaProps: spec.SchemaProps{ 1214 Description: "The name of the ConfigMap", 1215 Default: "", 1216 Type: []string{"string"}, 1217 Format: "", 1218 }, 1219 }, 1220 "key": { 1221 SchemaProps: spec.SchemaProps{ 1222 Description: "The key where the enable/disable state is stored.", 1223 Default: "", 1224 Type: []string{"string"}, 1225 Format: "", 1226 }, 1227 }, 1228 }, 1229 Required: []string{"name", "key"}, 1230 }, 1231 }, 1232 } 1233 } 1234 1235 func schema_pkg_apis_core_v1alpha1_ConfigMapList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1236 return common.OpenAPIDefinition{ 1237 Schema: spec.Schema{ 1238 SchemaProps: spec.SchemaProps{ 1239 Description: "ConfigMapList", 1240 Type: []string{"object"}, 1241 Properties: map[string]spec.Schema{ 1242 "kind": { 1243 SchemaProps: spec.SchemaProps{ 1244 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", 1245 Type: []string{"string"}, 1246 Format: "", 1247 }, 1248 }, 1249 "apiVersion": { 1250 SchemaProps: spec.SchemaProps{ 1251 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", 1252 Type: []string{"string"}, 1253 Format: "", 1254 }, 1255 }, 1256 "metadata": { 1257 SchemaProps: spec.SchemaProps{ 1258 Default: map[string]interface{}{}, 1259 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1260 }, 1261 }, 1262 "items": { 1263 SchemaProps: spec.SchemaProps{ 1264 Type: []string{"array"}, 1265 Items: &spec.SchemaOrArray{ 1266 Schema: &spec.Schema{ 1267 SchemaProps: spec.SchemaProps{ 1268 Default: map[string]interface{}{}, 1269 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMap"), 1270 }, 1271 }, 1272 }, 1273 }, 1274 }, 1275 }, 1276 Required: []string{"items"}, 1277 }, 1278 }, 1279 Dependencies: []string{ 1280 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 1281 } 1282 } 1283 1284 func schema_pkg_apis_core_v1alpha1_ConfigMapStateSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 1285 return common.OpenAPIDefinition{ 1286 Schema: spec.Schema{ 1287 SchemaProps: spec.SchemaProps{ 1288 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.", 1289 Type: []string{"object"}, 1290 Properties: map[string]spec.Schema{ 1291 "name": { 1292 SchemaProps: spec.SchemaProps{ 1293 Description: "Name of the ConfigMap", 1294 Default: "", 1295 Type: []string{"string"}, 1296 Format: "", 1297 }, 1298 }, 1299 "key": { 1300 SchemaProps: spec.SchemaProps{ 1301 Description: "Key within the ConfigMap", 1302 Default: "", 1303 Type: []string{"string"}, 1304 Format: "", 1305 }, 1306 }, 1307 "onValue": { 1308 SchemaProps: spec.SchemaProps{ 1309 Description: "ConfigMap value corresponding to the button's \"on\" state. If not specified, \"true\" will be used.", 1310 Type: []string{"string"}, 1311 Format: "", 1312 }, 1313 }, 1314 "offValue": { 1315 SchemaProps: spec.SchemaProps{ 1316 Description: "ConfigMap value corresponding to the button's \"off\" state If not specified, \"false\" will be used.", 1317 Type: []string{"string"}, 1318 Format: "", 1319 }, 1320 }, 1321 }, 1322 Required: []string{"name", "key"}, 1323 }, 1324 }, 1325 } 1326 } 1327 1328 func schema_pkg_apis_core_v1alpha1_Container(ref common.ReferenceCallback) common.OpenAPIDefinition { 1329 return common.OpenAPIDefinition{ 1330 Schema: spec.Schema{ 1331 SchemaProps: spec.SchemaProps{ 1332 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.", 1333 Type: []string{"object"}, 1334 Properties: map[string]spec.Schema{ 1335 "name": { 1336 SchemaProps: spec.SchemaProps{ 1337 Description: "Name is the name of the container as defined in Kubernetes.", 1338 Default: "", 1339 Type: []string{"string"}, 1340 Format: "", 1341 }, 1342 }, 1343 "id": { 1344 SchemaProps: spec.SchemaProps{ 1345 Description: "ID is the normalized container ID (the `docker://` prefix is stripped).", 1346 Default: "", 1347 Type: []string{"string"}, 1348 Format: "", 1349 }, 1350 }, 1351 "ready": { 1352 SchemaProps: spec.SchemaProps{ 1353 Description: "Ready is true if the container is passing readiness checks (or has none defined).", 1354 Default: false, 1355 Type: []string{"boolean"}, 1356 Format: "", 1357 }, 1358 }, 1359 "image": { 1360 SchemaProps: spec.SchemaProps{ 1361 Description: "Image is the image the container is running.", 1362 Default: "", 1363 Type: []string{"string"}, 1364 Format: "", 1365 }, 1366 }, 1367 "restarts": { 1368 SchemaProps: spec.SchemaProps{ 1369 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.", 1370 Default: 0, 1371 Type: []string{"integer"}, 1372 Format: "int32", 1373 }, 1374 }, 1375 "state": { 1376 SchemaProps: spec.SchemaProps{ 1377 Description: "State provides details about the container's current condition.", 1378 Default: map[string]interface{}{}, 1379 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerState"), 1380 }, 1381 }, 1382 "ports": { 1383 SchemaProps: spec.SchemaProps{ 1384 Description: "Ports are exposed ports as extracted from the Pod spec.\n\nThis is added by Tilt for convenience when managing port forwards.", 1385 Type: []string{"array"}, 1386 Items: &spec.SchemaOrArray{ 1387 Schema: &spec.Schema{ 1388 SchemaProps: spec.SchemaProps{ 1389 Default: 0, 1390 Type: []string{"integer"}, 1391 Format: "int32", 1392 }, 1393 }, 1394 }, 1395 }, 1396 }, 1397 }, 1398 Required: []string{"name", "id", "ready", "image", "restarts", "state", "ports"}, 1399 }, 1400 }, 1401 Dependencies: []string{ 1402 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerState"}, 1403 } 1404 } 1405 1406 func schema_pkg_apis_core_v1alpha1_ContainerLogStreamStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1407 return common.OpenAPIDefinition{ 1408 Schema: spec.Schema{ 1409 SchemaProps: spec.SchemaProps{ 1410 Description: "ContainerLogStreamStatus defines the current status of each individual container log stream.", 1411 Type: []string{"object"}, 1412 Properties: map[string]spec.Schema{ 1413 "name": { 1414 SchemaProps: spec.SchemaProps{ 1415 Description: "The name of the container.", 1416 Type: []string{"string"}, 1417 Format: "", 1418 }, 1419 }, 1420 "active": { 1421 SchemaProps: spec.SchemaProps{ 1422 Description: "True when the stream is set up and streaming logs properly.", 1423 Type: []string{"boolean"}, 1424 Format: "", 1425 }, 1426 }, 1427 "terminated": { 1428 SchemaProps: spec.SchemaProps{ 1429 Description: "True when the logs are done stream and the container is terminated.", 1430 Type: []string{"boolean"}, 1431 Format: "", 1432 }, 1433 }, 1434 "error": { 1435 SchemaProps: spec.SchemaProps{ 1436 Description: "The last error message encountered while streaming.\n\nEmpty when the stream is actively streaming or successfully terminated.", 1437 Type: []string{"string"}, 1438 Format: "", 1439 }, 1440 }, 1441 }, 1442 }, 1443 }, 1444 } 1445 } 1446 1447 func schema_pkg_apis_core_v1alpha1_ContainerState(ref common.ReferenceCallback) common.OpenAPIDefinition { 1448 return common.OpenAPIDefinition{ 1449 Schema: spec.Schema{ 1450 SchemaProps: spec.SchemaProps{ 1451 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.", 1452 Type: []string{"object"}, 1453 Properties: map[string]spec.Schema{ 1454 "waiting": { 1455 SchemaProps: spec.SchemaProps{ 1456 Description: "Waiting provides details about a container that is not yet running.", 1457 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateWaiting"), 1458 }, 1459 }, 1460 "running": { 1461 SchemaProps: spec.SchemaProps{ 1462 Description: "Running provides details about a currently executing container.", 1463 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateRunning"), 1464 }, 1465 }, 1466 "terminated": { 1467 SchemaProps: spec.SchemaProps{ 1468 Description: "Terminated provides details about an exited container.", 1469 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerStateTerminated"), 1470 }, 1471 }, 1472 }, 1473 Required: []string{"waiting", "running", "terminated"}, 1474 }, 1475 }, 1476 Dependencies: []string{ 1477 "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"}, 1478 } 1479 } 1480 1481 func schema_pkg_apis_core_v1alpha1_ContainerStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 1482 return common.OpenAPIDefinition{ 1483 Schema: spec.Schema{ 1484 SchemaProps: spec.SchemaProps{ 1485 Description: "ContainerStateRunning is a running state of a container.", 1486 Type: []string{"object"}, 1487 Properties: map[string]spec.Schema{ 1488 "startedAt": { 1489 SchemaProps: spec.SchemaProps{ 1490 Description: "StartedAt is the time the container began running.", 1491 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1492 }, 1493 }, 1494 }, 1495 Required: []string{"startedAt"}, 1496 }, 1497 }, 1498 Dependencies: []string{ 1499 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1500 } 1501 } 1502 1503 func schema_pkg_apis_core_v1alpha1_ContainerStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 1504 return common.OpenAPIDefinition{ 1505 Schema: spec.Schema{ 1506 SchemaProps: spec.SchemaProps{ 1507 Description: "ContainerStateTerminated is a terminated state of a container.", 1508 Type: []string{"object"}, 1509 Properties: map[string]spec.Schema{ 1510 "startedAt": { 1511 SchemaProps: spec.SchemaProps{ 1512 Description: "StartedAt is the time the container began running.", 1513 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1514 }, 1515 }, 1516 "finishedAt": { 1517 SchemaProps: spec.SchemaProps{ 1518 Description: "FinishedAt is the time the container stopped running.", 1519 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1520 }, 1521 }, 1522 "reason": { 1523 SchemaProps: spec.SchemaProps{ 1524 Description: "Reason is a (brief) reason the container stopped running.", 1525 Type: []string{"string"}, 1526 Format: "", 1527 }, 1528 }, 1529 "exitCode": { 1530 SchemaProps: spec.SchemaProps{ 1531 Description: "ExitCode is the exit status from the termination of the container.\n\nAny non-zero value indicates an error during termination.", 1532 Default: 0, 1533 Type: []string{"integer"}, 1534 Format: "int32", 1535 }, 1536 }, 1537 }, 1538 Required: []string{"startedAt", "finishedAt", "exitCode"}, 1539 }, 1540 }, 1541 Dependencies: []string{ 1542 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1543 } 1544 } 1545 1546 func schema_pkg_apis_core_v1alpha1_ContainerStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 1547 return common.OpenAPIDefinition{ 1548 Schema: spec.Schema{ 1549 SchemaProps: spec.SchemaProps{ 1550 Description: "ContainerStateWaiting is a waiting state of a container.", 1551 Type: []string{"object"}, 1552 Properties: map[string]spec.Schema{ 1553 "reason": { 1554 SchemaProps: spec.SchemaProps{ 1555 Description: "Reason is a (brief) reason the container is not yet running.", 1556 Default: "", 1557 Type: []string{"string"}, 1558 Format: "", 1559 }, 1560 }, 1561 }, 1562 Required: []string{"reason"}, 1563 }, 1564 }, 1565 } 1566 } 1567 1568 func schema_pkg_apis_core_v1alpha1_DisableResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1569 return common.OpenAPIDefinition{ 1570 Schema: spec.Schema{ 1571 SchemaProps: spec.SchemaProps{ 1572 Description: "Aggregated disable status of DisableSources that belong to a resource.", 1573 Type: []string{"object"}, 1574 Properties: map[string]spec.Schema{ 1575 "enabledCount": { 1576 SchemaProps: spec.SchemaProps{ 1577 Description: "How many of the resource's sources are enabled.", 1578 Default: 0, 1579 Type: []string{"integer"}, 1580 Format: "int32", 1581 }, 1582 }, 1583 "disabledCount": { 1584 SchemaProps: spec.SchemaProps{ 1585 Description: "How many of the resource's sources are disabled.", 1586 Default: 0, 1587 Type: []string{"integer"}, 1588 Format: "int32", 1589 }, 1590 }, 1591 "state": { 1592 SchemaProps: spec.SchemaProps{ 1593 Description: "Whether this is currently disabled (if known)", 1594 Default: "", 1595 Type: []string{"string"}, 1596 Format: "", 1597 }, 1598 }, 1599 "sources": { 1600 SchemaProps: spec.SchemaProps{ 1601 Description: "All unique sources that control the resource's objects' disable status.", 1602 Type: []string{"array"}, 1603 Items: &spec.SchemaOrArray{ 1604 Schema: &spec.Schema{ 1605 SchemaProps: spec.SchemaProps{ 1606 Default: map[string]interface{}{}, 1607 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 1608 }, 1609 }, 1610 }, 1611 }, 1612 }, 1613 }, 1614 Required: []string{"enabledCount", "disabledCount", "state", "sources"}, 1615 }, 1616 }, 1617 Dependencies: []string{ 1618 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"}, 1619 } 1620 } 1621 1622 func schema_pkg_apis_core_v1alpha1_DisableSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 1623 return common.OpenAPIDefinition{ 1624 Schema: spec.Schema{ 1625 SchemaProps: spec.SchemaProps{ 1626 Description: "Points at a thing that can control whether something is disabled", 1627 Type: []string{"object"}, 1628 Properties: map[string]spec.Schema{ 1629 "configMap": { 1630 SchemaProps: spec.SchemaProps{ 1631 Description: "Disabled by single ConfigMap value.", 1632 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapDisableSource"), 1633 }, 1634 }, 1635 "everyConfigMap": { 1636 SchemaProps: spec.SchemaProps{ 1637 Description: "Disabled by multiple ConfigMap values, which must all be set to disabled to disable the object.", 1638 Type: []string{"array"}, 1639 Items: &spec.SchemaOrArray{ 1640 Schema: &spec.Schema{ 1641 SchemaProps: spec.SchemaProps{ 1642 Default: map[string]interface{}{}, 1643 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapDisableSource"), 1644 }, 1645 }, 1646 }, 1647 }, 1648 }, 1649 }, 1650 }, 1651 }, 1652 Dependencies: []string{ 1653 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapDisableSource"}, 1654 } 1655 } 1656 1657 func schema_pkg_apis_core_v1alpha1_DisableStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1658 return common.OpenAPIDefinition{ 1659 Schema: spec.Schema{ 1660 SchemaProps: spec.SchemaProps{ 1661 Type: []string{"object"}, 1662 Properties: map[string]spec.Schema{ 1663 "disabled": { 1664 SchemaProps: spec.SchemaProps{ 1665 Description: "Whether this is currently disabled. Deprecated in favor of `State`.", 1666 Default: false, 1667 Type: []string{"boolean"}, 1668 Format: "", 1669 }, 1670 }, 1671 "lastUpdateTime": { 1672 SchemaProps: spec.SchemaProps{ 1673 Description: "The last time this status was updated.", 1674 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1675 }, 1676 }, 1677 "reason": { 1678 SchemaProps: spec.SchemaProps{ 1679 Description: "The reason this status was updated.", 1680 Default: "", 1681 Type: []string{"string"}, 1682 Format: "", 1683 }, 1684 }, 1685 "state": { 1686 SchemaProps: spec.SchemaProps{ 1687 Description: "Whether this is currently disabled (if known)", 1688 Default: "", 1689 Type: []string{"string"}, 1690 Format: "", 1691 }, 1692 }, 1693 }, 1694 Required: []string{"disabled", "lastUpdateTime", "reason", "state"}, 1695 }, 1696 }, 1697 Dependencies: []string{ 1698 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1699 } 1700 } 1701 1702 func schema_pkg_apis_core_v1alpha1_DockerClusterConnection(ref common.ReferenceCallback) common.OpenAPIDefinition { 1703 return common.OpenAPIDefinition{ 1704 Schema: spec.Schema{ 1705 SchemaProps: spec.SchemaProps{ 1706 Type: []string{"object"}, 1707 Properties: map[string]spec.Schema{ 1708 "host": { 1709 SchemaProps: spec.SchemaProps{ 1710 Description: "The docker host to use.\n\nIf not specified, will read the DOCKER_HOST env or use the default docker host.", 1711 Type: []string{"string"}, 1712 Format: "", 1713 }, 1714 }, 1715 }, 1716 }, 1717 }, 1718 } 1719 } 1720 1721 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStream(ref common.ReferenceCallback) common.OpenAPIDefinition { 1722 return common.OpenAPIDefinition{ 1723 Schema: spec.Schema{ 1724 SchemaProps: spec.SchemaProps{ 1725 Description: "DockerComposeLogStream", 1726 Type: []string{"object"}, 1727 Properties: map[string]spec.Schema{ 1728 "kind": { 1729 SchemaProps: spec.SchemaProps{ 1730 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", 1731 Type: []string{"string"}, 1732 Format: "", 1733 }, 1734 }, 1735 "apiVersion": { 1736 SchemaProps: spec.SchemaProps{ 1737 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", 1738 Type: []string{"string"}, 1739 Format: "", 1740 }, 1741 }, 1742 "metadata": { 1743 SchemaProps: spec.SchemaProps{ 1744 Default: map[string]interface{}{}, 1745 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1746 }, 1747 }, 1748 "spec": { 1749 SchemaProps: spec.SchemaProps{ 1750 Default: map[string]interface{}{}, 1751 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamSpec"), 1752 }, 1753 }, 1754 "status": { 1755 SchemaProps: spec.SchemaProps{ 1756 Default: map[string]interface{}{}, 1757 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStreamStatus"), 1758 }, 1759 }, 1760 }, 1761 }, 1762 }, 1763 Dependencies: []string{ 1764 "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"}, 1765 } 1766 } 1767 1768 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1769 return common.OpenAPIDefinition{ 1770 Schema: spec.Schema{ 1771 SchemaProps: spec.SchemaProps{ 1772 Description: "DockerComposeLogStreamList", 1773 Type: []string{"object"}, 1774 Properties: map[string]spec.Schema{ 1775 "kind": { 1776 SchemaProps: spec.SchemaProps{ 1777 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", 1778 Type: []string{"string"}, 1779 Format: "", 1780 }, 1781 }, 1782 "apiVersion": { 1783 SchemaProps: spec.SchemaProps{ 1784 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", 1785 Type: []string{"string"}, 1786 Format: "", 1787 }, 1788 }, 1789 "metadata": { 1790 SchemaProps: spec.SchemaProps{ 1791 Default: map[string]interface{}{}, 1792 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1793 }, 1794 }, 1795 "items": { 1796 SchemaProps: spec.SchemaProps{ 1797 Type: []string{"array"}, 1798 Items: &spec.SchemaOrArray{ 1799 Schema: &spec.Schema{ 1800 SchemaProps: spec.SchemaProps{ 1801 Default: map[string]interface{}{}, 1802 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStream"), 1803 }, 1804 }, 1805 }, 1806 }, 1807 }, 1808 }, 1809 Required: []string{"items"}, 1810 }, 1811 }, 1812 Dependencies: []string{ 1813 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeLogStream", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 1814 } 1815 } 1816 1817 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1818 return common.OpenAPIDefinition{ 1819 Schema: spec.Schema{ 1820 SchemaProps: spec.SchemaProps{ 1821 Description: "DockerComposeLogStreamSpec defines the desired state of DockerComposeLogStream", 1822 Type: []string{"object"}, 1823 Properties: map[string]spec.Schema{ 1824 "service": { 1825 SchemaProps: spec.SchemaProps{ 1826 Description: "The name of the service to stream from.", 1827 Default: "", 1828 Type: []string{"string"}, 1829 Format: "", 1830 }, 1831 }, 1832 "project": { 1833 SchemaProps: spec.SchemaProps{ 1834 Description: "A specification of the project the service belongs to.\n\nEach service spec keeps its own copy of the project spec.", 1835 Default: map[string]interface{}{}, 1836 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"), 1837 }, 1838 }, 1839 }, 1840 Required: []string{"service", "project"}, 1841 }, 1842 }, 1843 Dependencies: []string{ 1844 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"}, 1845 } 1846 } 1847 1848 func schema_pkg_apis_core_v1alpha1_DockerComposeLogStreamStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1849 return common.OpenAPIDefinition{ 1850 Schema: spec.Schema{ 1851 SchemaProps: spec.SchemaProps{ 1852 Description: "DockerComposeLogStreamStatus defines the observed state of DockerComposeLogStream", 1853 Type: []string{"object"}, 1854 Properties: map[string]spec.Schema{ 1855 "startedAt": { 1856 SchemaProps: spec.SchemaProps{ 1857 Description: "When we last started the log streamer.", 1858 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 1859 }, 1860 }, 1861 "error": { 1862 SchemaProps: spec.SchemaProps{ 1863 Description: "Contains an error message when the log streamer is in an error state.", 1864 Type: []string{"string"}, 1865 Format: "", 1866 }, 1867 }, 1868 }, 1869 }, 1870 }, 1871 Dependencies: []string{ 1872 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 1873 } 1874 } 1875 1876 func schema_pkg_apis_core_v1alpha1_DockerComposeProject(ref common.ReferenceCallback) common.OpenAPIDefinition { 1877 return common.OpenAPIDefinition{ 1878 Schema: spec.Schema{ 1879 SchemaProps: spec.SchemaProps{ 1880 Type: []string{"object"}, 1881 Properties: map[string]spec.Schema{ 1882 "configPaths": { 1883 SchemaProps: spec.SchemaProps{ 1884 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.", 1885 Type: []string{"array"}, 1886 Items: &spec.SchemaOrArray{ 1887 Schema: &spec.Schema{ 1888 SchemaProps: spec.SchemaProps{ 1889 Default: "", 1890 Type: []string{"string"}, 1891 Format: "", 1892 }, 1893 }, 1894 }, 1895 }, 1896 }, 1897 "projectPath": { 1898 SchemaProps: spec.SchemaProps{ 1899 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.", 1900 Type: []string{"string"}, 1901 Format: "", 1902 }, 1903 }, 1904 "yaml": { 1905 SchemaProps: spec.SchemaProps{ 1906 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`.", 1907 Type: []string{"string"}, 1908 Format: "", 1909 }, 1910 }, 1911 "name": { 1912 SchemaProps: spec.SchemaProps{ 1913 Description: "The docker-compose project name.\n\nIf omitted, the default is to use the NormalizedName of the ProjectPath base name.", 1914 Type: []string{"string"}, 1915 Format: "", 1916 }, 1917 }, 1918 "envFile": { 1919 SchemaProps: spec.SchemaProps{ 1920 Description: "Path to an env file to use. Passed to docker-compose as `--env-file FILE`.", 1921 Type: []string{"string"}, 1922 Format: "", 1923 }, 1924 }, 1925 "profiles": { 1926 SchemaProps: spec.SchemaProps{ 1927 Description: "Optional docker-compose profiles to use.\n\nServices with defined profiles will only be included if their profile matches one in this list.", 1928 Type: []string{"array"}, 1929 Items: &spec.SchemaOrArray{ 1930 Schema: &spec.Schema{ 1931 SchemaProps: spec.SchemaProps{ 1932 Default: "", 1933 Type: []string{"string"}, 1934 Format: "", 1935 }, 1936 }, 1937 }, 1938 }, 1939 }, 1940 "wait": { 1941 SchemaProps: spec.SchemaProps{ 1942 Description: "Optionally, pass --wait to docker compose up", 1943 Type: []string{"boolean"}, 1944 Format: "", 1945 }, 1946 }, 1947 }, 1948 }, 1949 }, 1950 } 1951 } 1952 1953 func schema_pkg_apis_core_v1alpha1_DockerComposeService(ref common.ReferenceCallback) common.OpenAPIDefinition { 1954 return common.OpenAPIDefinition{ 1955 Schema: spec.Schema{ 1956 SchemaProps: spec.SchemaProps{ 1957 Description: "DockerComposeService represents a container orchestrated by Docker Compose.", 1958 Type: []string{"object"}, 1959 Properties: map[string]spec.Schema{ 1960 "kind": { 1961 SchemaProps: spec.SchemaProps{ 1962 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", 1963 Type: []string{"string"}, 1964 Format: "", 1965 }, 1966 }, 1967 "apiVersion": { 1968 SchemaProps: spec.SchemaProps{ 1969 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", 1970 Type: []string{"string"}, 1971 Format: "", 1972 }, 1973 }, 1974 "metadata": { 1975 SchemaProps: spec.SchemaProps{ 1976 Default: map[string]interface{}{}, 1977 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1978 }, 1979 }, 1980 "spec": { 1981 SchemaProps: spec.SchemaProps{ 1982 Default: map[string]interface{}{}, 1983 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceSpec"), 1984 }, 1985 }, 1986 "status": { 1987 SchemaProps: spec.SchemaProps{ 1988 Default: map[string]interface{}{}, 1989 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeServiceStatus"), 1990 }, 1991 }, 1992 }, 1993 }, 1994 }, 1995 Dependencies: []string{ 1996 "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"}, 1997 } 1998 } 1999 2000 func schema_pkg_apis_core_v1alpha1_DockerComposeServiceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2001 return common.OpenAPIDefinition{ 2002 Schema: spec.Schema{ 2003 SchemaProps: spec.SchemaProps{ 2004 Description: "DockerComposeServiceList", 2005 Type: []string{"object"}, 2006 Properties: map[string]spec.Schema{ 2007 "kind": { 2008 SchemaProps: spec.SchemaProps{ 2009 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", 2010 Type: []string{"string"}, 2011 Format: "", 2012 }, 2013 }, 2014 "apiVersion": { 2015 SchemaProps: spec.SchemaProps{ 2016 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", 2017 Type: []string{"string"}, 2018 Format: "", 2019 }, 2020 }, 2021 "metadata": { 2022 SchemaProps: spec.SchemaProps{ 2023 Default: map[string]interface{}{}, 2024 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2025 }, 2026 }, 2027 "items": { 2028 SchemaProps: spec.SchemaProps{ 2029 Type: []string{"array"}, 2030 Items: &spec.SchemaOrArray{ 2031 Schema: &spec.Schema{ 2032 SchemaProps: spec.SchemaProps{ 2033 Default: map[string]interface{}{}, 2034 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeService"), 2035 }, 2036 }, 2037 }, 2038 }, 2039 }, 2040 }, 2041 Required: []string{"items"}, 2042 }, 2043 }, 2044 Dependencies: []string{ 2045 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeService", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2046 } 2047 } 2048 2049 func schema_pkg_apis_core_v1alpha1_DockerComposeServiceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2050 return common.OpenAPIDefinition{ 2051 Schema: spec.Schema{ 2052 SchemaProps: spec.SchemaProps{ 2053 Description: "DockerComposeServiceSpec defines the desired state a Docker Compose container.", 2054 Type: []string{"object"}, 2055 Properties: map[string]spec.Schema{ 2056 "service": { 2057 SchemaProps: spec.SchemaProps{ 2058 Description: "The name of the service to create.", 2059 Default: "", 2060 Type: []string{"string"}, 2061 Format: "", 2062 }, 2063 }, 2064 "project": { 2065 SchemaProps: spec.SchemaProps{ 2066 Description: "A specification of the project the service belongs to.\n\nEach service spec keeps its own copy of the project spec.", 2067 Default: map[string]interface{}{}, 2068 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"), 2069 }, 2070 }, 2071 "imageMaps": { 2072 SchemaProps: spec.SchemaProps{ 2073 Description: "The image maps that this deploy depends on.", 2074 Type: []string{"array"}, 2075 Items: &spec.SchemaOrArray{ 2076 Schema: &spec.Schema{ 2077 SchemaProps: spec.SchemaProps{ 2078 Default: "", 2079 Type: []string{"string"}, 2080 Format: "", 2081 }, 2082 }, 2083 }, 2084 }, 2085 }, 2086 "disableSource": { 2087 SchemaProps: spec.SchemaProps{ 2088 Description: "Specifies how to disable this.", 2089 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 2090 }, 2091 }, 2092 }, 2093 Required: []string{"service", "project"}, 2094 }, 2095 }, 2096 Dependencies: []string{ 2097 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerComposeProject"}, 2098 } 2099 } 2100 2101 func schema_pkg_apis_core_v1alpha1_DockerComposeServiceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2102 return common.OpenAPIDefinition{ 2103 Schema: spec.Schema{ 2104 SchemaProps: spec.SchemaProps{ 2105 Description: "DockerComposeServiceStatus defines the observed state of DockerComposeService, continuing to watch the container after it starts.", 2106 Type: []string{"object"}, 2107 Properties: map[string]spec.Schema{ 2108 "disableStatus": { 2109 SchemaProps: spec.SchemaProps{ 2110 Description: "Details about whether/why this is disabled.", 2111 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 2112 }, 2113 }, 2114 "portBindings": { 2115 SchemaProps: spec.SchemaProps{ 2116 Description: "How docker binds container ports to the host network for this service.", 2117 Type: []string{"array"}, 2118 Items: &spec.SchemaOrArray{ 2119 Schema: &spec.Schema{ 2120 SchemaProps: spec.SchemaProps{ 2121 Default: map[string]interface{}{}, 2122 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerPortBinding"), 2123 }, 2124 }, 2125 }, 2126 }, 2127 }, 2128 "containerState": { 2129 SchemaProps: spec.SchemaProps{ 2130 Description: "Current state of the container for this service.", 2131 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerContainerState"), 2132 }, 2133 }, 2134 "containerID": { 2135 SchemaProps: spec.SchemaProps{ 2136 Description: "Current container ID.", 2137 Type: []string{"string"}, 2138 Format: "", 2139 }, 2140 }, 2141 "containerName": { 2142 SchemaProps: spec.SchemaProps{ 2143 Description: "Current container name.", 2144 Type: []string{"string"}, 2145 Format: "", 2146 }, 2147 }, 2148 "applyError": { 2149 SchemaProps: spec.SchemaProps{ 2150 Description: "An error bringing up the container.", 2151 Type: []string{"string"}, 2152 Format: "", 2153 }, 2154 }, 2155 "lastApplyStartTime": { 2156 SchemaProps: spec.SchemaProps{ 2157 Description: "Timestamp of when we last started bringing up this service in Docker Compose.", 2158 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2159 }, 2160 }, 2161 "lastApplyFinishTime": { 2162 SchemaProps: spec.SchemaProps{ 2163 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.", 2164 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2165 }, 2166 }, 2167 }, 2168 }, 2169 }, 2170 Dependencies: []string{ 2171 "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"}, 2172 } 2173 } 2174 2175 func schema_pkg_apis_core_v1alpha1_DockerContainerState(ref common.ReferenceCallback) common.OpenAPIDefinition { 2176 return common.OpenAPIDefinition{ 2177 Schema: spec.Schema{ 2178 SchemaProps: spec.SchemaProps{ 2179 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", 2180 Type: []string{"object"}, 2181 Properties: map[string]spec.Schema{ 2182 "status": { 2183 SchemaProps: spec.SchemaProps{ 2184 Description: "String representation of the container state. Can be one of \"created\", \"running\", \"paused\", \"restarting\", \"removing\", \"exited\", or \"dead\".", 2185 Type: []string{"string"}, 2186 Format: "", 2187 }, 2188 }, 2189 "running": { 2190 SchemaProps: spec.SchemaProps{ 2191 Description: "Whether the container is running.", 2192 Type: []string{"boolean"}, 2193 Format: "", 2194 }, 2195 }, 2196 "error": { 2197 SchemaProps: spec.SchemaProps{ 2198 Description: "Whether the container is in an error state.", 2199 Type: []string{"string"}, 2200 Format: "", 2201 }, 2202 }, 2203 "exitCode": { 2204 SchemaProps: spec.SchemaProps{ 2205 Description: "The exit code, if the container has exited.", 2206 Type: []string{"integer"}, 2207 Format: "int32", 2208 }, 2209 }, 2210 "startedAt": { 2211 SchemaProps: spec.SchemaProps{ 2212 Description: "When the container process started.", 2213 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2214 }, 2215 }, 2216 "finishedAt": { 2217 SchemaProps: spec.SchemaProps{ 2218 Description: "When the container process finished.", 2219 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2220 }, 2221 }, 2222 }, 2223 }, 2224 }, 2225 Dependencies: []string{ 2226 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2227 } 2228 } 2229 2230 func schema_pkg_apis_core_v1alpha1_DockerImage(ref common.ReferenceCallback) common.OpenAPIDefinition { 2231 return common.OpenAPIDefinition{ 2232 Schema: spec.Schema{ 2233 SchemaProps: spec.SchemaProps{ 2234 Description: "DockerImage describes an image to build with Docker.", 2235 Type: []string{"object"}, 2236 Properties: map[string]spec.Schema{ 2237 "kind": { 2238 SchemaProps: spec.SchemaProps{ 2239 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", 2240 Type: []string{"string"}, 2241 Format: "", 2242 }, 2243 }, 2244 "apiVersion": { 2245 SchemaProps: spec.SchemaProps{ 2246 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", 2247 Type: []string{"string"}, 2248 Format: "", 2249 }, 2250 }, 2251 "metadata": { 2252 SchemaProps: spec.SchemaProps{ 2253 Default: map[string]interface{}{}, 2254 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2255 }, 2256 }, 2257 "spec": { 2258 SchemaProps: spec.SchemaProps{ 2259 Default: map[string]interface{}{}, 2260 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageSpec"), 2261 }, 2262 }, 2263 "status": { 2264 SchemaProps: spec.SchemaProps{ 2265 Default: map[string]interface{}{}, 2266 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStatus"), 2267 }, 2268 }, 2269 }, 2270 }, 2271 }, 2272 Dependencies: []string{ 2273 "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"}, 2274 } 2275 } 2276 2277 func schema_pkg_apis_core_v1alpha1_DockerImageList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2278 return common.OpenAPIDefinition{ 2279 Schema: spec.Schema{ 2280 SchemaProps: spec.SchemaProps{ 2281 Description: "DockerImageList", 2282 Type: []string{"object"}, 2283 Properties: map[string]spec.Schema{ 2284 "kind": { 2285 SchemaProps: spec.SchemaProps{ 2286 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", 2287 Type: []string{"string"}, 2288 Format: "", 2289 }, 2290 }, 2291 "apiVersion": { 2292 SchemaProps: spec.SchemaProps{ 2293 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", 2294 Type: []string{"string"}, 2295 Format: "", 2296 }, 2297 }, 2298 "metadata": { 2299 SchemaProps: spec.SchemaProps{ 2300 Default: map[string]interface{}{}, 2301 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2302 }, 2303 }, 2304 "items": { 2305 SchemaProps: spec.SchemaProps{ 2306 Type: []string{"array"}, 2307 Items: &spec.SchemaOrArray{ 2308 Schema: &spec.Schema{ 2309 SchemaProps: spec.SchemaProps{ 2310 Default: map[string]interface{}{}, 2311 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImage"), 2312 }, 2313 }, 2314 }, 2315 }, 2316 }, 2317 }, 2318 Required: []string{"items"}, 2319 }, 2320 }, 2321 Dependencies: []string{ 2322 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImage", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2323 } 2324 } 2325 2326 func schema_pkg_apis_core_v1alpha1_DockerImageSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2327 return common.OpenAPIDefinition{ 2328 Schema: spec.Schema{ 2329 SchemaProps: spec.SchemaProps{ 2330 Description: "DockerImageSpec describes how to build a Docker image with `docker_build`.\n\nMost fields of this spec directly correspond to the Docker CLI.", 2331 Type: []string{"object"}, 2332 Properties: map[string]spec.Schema{ 2333 "ref": { 2334 SchemaProps: spec.SchemaProps{ 2335 Description: "The named reference of the image.", 2336 Default: "", 2337 Type: []string{"string"}, 2338 Format: "", 2339 }, 2340 }, 2341 "dockerfileContents": { 2342 SchemaProps: spec.SchemaProps{ 2343 Description: "Dockerfile contains the complete contents of the Dockerfile.", 2344 Type: []string{"string"}, 2345 Format: "", 2346 }, 2347 }, 2348 "context": { 2349 SchemaProps: spec.SchemaProps{ 2350 Description: "Context specifies the Docker build context.\n\nMust be an absolute path on the local filesystem.", 2351 Type: []string{"string"}, 2352 Format: "", 2353 }, 2354 }, 2355 "contextIgnores": { 2356 SchemaProps: spec.SchemaProps{ 2357 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.", 2358 Type: []string{"array"}, 2359 Items: &spec.SchemaOrArray{ 2360 Schema: &spec.Schema{ 2361 SchemaProps: spec.SchemaProps{ 2362 Default: map[string]interface{}{}, 2363 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"), 2364 }, 2365 }, 2366 }, 2367 }, 2368 }, 2369 "args": { 2370 SchemaProps: spec.SchemaProps{ 2371 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\".", 2372 Type: []string{"array"}, 2373 Items: &spec.SchemaOrArray{ 2374 Schema: &spec.Schema{ 2375 SchemaProps: spec.SchemaProps{ 2376 Default: "", 2377 Type: []string{"string"}, 2378 Format: "", 2379 }, 2380 }, 2381 }, 2382 }, 2383 }, 2384 "target": { 2385 SchemaProps: spec.SchemaProps{ 2386 Description: "Target specifies the name of the stage in the Dockerfile to build.\n\nEquivalent to `--target` in the docker CLI.", 2387 Type: []string{"string"}, 2388 Format: "", 2389 }, 2390 }, 2391 "sshAgentConfigs": { 2392 SchemaProps: spec.SchemaProps{ 2393 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.", 2394 Type: []string{"array"}, 2395 Items: &spec.SchemaOrArray{ 2396 Schema: &spec.Schema{ 2397 SchemaProps: spec.SchemaProps{ 2398 Default: "", 2399 Type: []string{"string"}, 2400 Format: "", 2401 }, 2402 }, 2403 }, 2404 }, 2405 }, 2406 "secrets": { 2407 SchemaProps: spec.SchemaProps{ 2408 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.", 2409 Type: []string{"array"}, 2410 Items: &spec.SchemaOrArray{ 2411 Schema: &spec.Schema{ 2412 SchemaProps: spec.SchemaProps{ 2413 Default: "", 2414 Type: []string{"string"}, 2415 Format: "", 2416 }, 2417 }, 2418 }, 2419 }, 2420 }, 2421 "network": { 2422 SchemaProps: spec.SchemaProps{ 2423 Description: "Set the networking mode for the RUN instructions in the docker build.\n\nEquivalent to `--network` in the Docker CLI.", 2424 Type: []string{"string"}, 2425 Format: "", 2426 }, 2427 }, 2428 "pull": { 2429 SchemaProps: spec.SchemaProps{ 2430 Description: "Always attempt to pull a new version of the base image.\n\nEquivalent to `--pull` in the Docker CLI.", 2431 Type: []string{"boolean"}, 2432 Format: "", 2433 }, 2434 }, 2435 "cacheFrom": { 2436 SchemaProps: spec.SchemaProps{ 2437 Description: "Images to use as cache sources.\n\nEquivalent to `--cache-from` in the Docker CLI.", 2438 Type: []string{"array"}, 2439 Items: &spec.SchemaOrArray{ 2440 Schema: &spec.Schema{ 2441 SchemaProps: spec.SchemaProps{ 2442 Default: "", 2443 Type: []string{"string"}, 2444 Format: "", 2445 }, 2446 }, 2447 }, 2448 }, 2449 }, 2450 "platform": { 2451 SchemaProps: spec.SchemaProps{ 2452 Description: "Platform specifies architecture information for target image.\n\nhttps://docs.docker.com/desktop/multi-arch/\n\nEquivalent to `--platform` in the Docker CLI.", 2453 Type: []string{"string"}, 2454 Format: "", 2455 }, 2456 }, 2457 "extraTags": { 2458 SchemaProps: spec.SchemaProps{ 2459 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.", 2460 Type: []string{"array"}, 2461 Items: &spec.SchemaOrArray{ 2462 Schema: &spec.Schema{ 2463 SchemaProps: spec.SchemaProps{ 2464 Default: "", 2465 Type: []string{"string"}, 2466 Format: "", 2467 }, 2468 }, 2469 }, 2470 }, 2471 }, 2472 "imageMaps": { 2473 SchemaProps: spec.SchemaProps{ 2474 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.", 2475 Type: []string{"array"}, 2476 Items: &spec.SchemaOrArray{ 2477 Schema: &spec.Schema{ 2478 SchemaProps: spec.SchemaProps{ 2479 Default: "", 2480 Type: []string{"string"}, 2481 Format: "", 2482 }, 2483 }, 2484 }, 2485 }, 2486 }, 2487 "cluster": { 2488 SchemaProps: spec.SchemaProps{ 2489 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.", 2490 Type: []string{"string"}, 2491 Format: "", 2492 }, 2493 }, 2494 "clusterNeeds": { 2495 SchemaProps: spec.SchemaProps{ 2496 Description: "Whether the cluster needs access to the image.\n\nIf not specified, assumes we have to push up to the cluster.", 2497 Type: []string{"string"}, 2498 Format: "", 2499 }, 2500 }, 2501 "extraHosts": { 2502 SchemaProps: spec.SchemaProps{ 2503 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.", 2504 Type: []string{"array"}, 2505 Items: &spec.SchemaOrArray{ 2506 Schema: &spec.Schema{ 2507 SchemaProps: spec.SchemaProps{ 2508 Default: "", 2509 Type: []string{"string"}, 2510 Format: "", 2511 }, 2512 }, 2513 }, 2514 }, 2515 }, 2516 }, 2517 Required: []string{"ref"}, 2518 }, 2519 }, 2520 Dependencies: []string{ 2521 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"}, 2522 } 2523 } 2524 2525 func schema_pkg_apis_core_v1alpha1_DockerImageStageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2526 return common.OpenAPIDefinition{ 2527 Schema: spec.Schema{ 2528 SchemaProps: spec.SchemaProps{ 2529 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.", 2530 Type: []string{"object"}, 2531 Properties: map[string]spec.Schema{ 2532 "name": { 2533 SchemaProps: spec.SchemaProps{ 2534 Description: "A human-readable name of the stage.", 2535 Default: "", 2536 Type: []string{"string"}, 2537 Format: "", 2538 }, 2539 }, 2540 "cached": { 2541 SchemaProps: spec.SchemaProps{ 2542 Description: "Whether Buildkit was able to cache the stage based on inputs.", 2543 Type: []string{"boolean"}, 2544 Format: "", 2545 }, 2546 }, 2547 "startedAt": { 2548 SchemaProps: spec.SchemaProps{ 2549 Description: "The timestamp when we started working on the stage.", 2550 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2551 }, 2552 }, 2553 "finishedAt": { 2554 SchemaProps: spec.SchemaProps{ 2555 Description: "The timetsamp when we completed the work on the stage.", 2556 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2557 }, 2558 }, 2559 "error": { 2560 SchemaProps: spec.SchemaProps{ 2561 Description: "Error message if the stage failed. If empty, the stage succeeded.", 2562 Type: []string{"string"}, 2563 Format: "", 2564 }, 2565 }, 2566 }, 2567 Required: []string{"name"}, 2568 }, 2569 }, 2570 Dependencies: []string{ 2571 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2572 } 2573 } 2574 2575 func schema_pkg_apis_core_v1alpha1_DockerImageStateBuilding(ref common.ReferenceCallback) common.OpenAPIDefinition { 2576 return common.OpenAPIDefinition{ 2577 Schema: spec.Schema{ 2578 SchemaProps: spec.SchemaProps{ 2579 Description: "DockerImageStateBuilding expresses that an image build is in-progress.", 2580 Type: []string{"object"}, 2581 Properties: map[string]spec.Schema{ 2582 "reason": { 2583 SchemaProps: spec.SchemaProps{ 2584 Description: "The reason why the image is building.", 2585 Type: []string{"string"}, 2586 Format: "", 2587 }, 2588 }, 2589 "startedAt": { 2590 SchemaProps: spec.SchemaProps{ 2591 Description: "Time when the build started.", 2592 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2593 }, 2594 }, 2595 }, 2596 }, 2597 }, 2598 Dependencies: []string{ 2599 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2600 } 2601 } 2602 2603 func schema_pkg_apis_core_v1alpha1_DockerImageStateCompleted(ref common.ReferenceCallback) common.OpenAPIDefinition { 2604 return common.OpenAPIDefinition{ 2605 Schema: spec.Schema{ 2606 SchemaProps: spec.SchemaProps{ 2607 Description: "DockerImageStateCompleted expresses when the image build is finished and no new images need to be built.", 2608 Type: []string{"object"}, 2609 Properties: map[string]spec.Schema{ 2610 "reason": { 2611 SchemaProps: spec.SchemaProps{ 2612 Description: "The reason why the image was built.", 2613 Type: []string{"string"}, 2614 Format: "", 2615 }, 2616 }, 2617 "error": { 2618 SchemaProps: spec.SchemaProps{ 2619 Description: "Error message if the build failed.", 2620 Type: []string{"string"}, 2621 Format: "", 2622 }, 2623 }, 2624 "startedAt": { 2625 SchemaProps: spec.SchemaProps{ 2626 Description: "Time when we started building an image.", 2627 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2628 }, 2629 }, 2630 "finishedAt": { 2631 SchemaProps: spec.SchemaProps{ 2632 Description: "Time when we finished building an image", 2633 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 2634 }, 2635 }, 2636 }, 2637 }, 2638 }, 2639 Dependencies: []string{ 2640 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 2641 } 2642 } 2643 2644 func schema_pkg_apis_core_v1alpha1_DockerImageStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 2645 return common.OpenAPIDefinition{ 2646 Schema: spec.Schema{ 2647 SchemaProps: spec.SchemaProps{ 2648 Description: "DockerImageStateWaiting expresses what we're waiting on to build an image.", 2649 Type: []string{"object"}, 2650 Properties: map[string]spec.Schema{ 2651 "reason": { 2652 SchemaProps: spec.SchemaProps{ 2653 Description: "(brief) reason the image build is waiting.", 2654 Type: []string{"string"}, 2655 Format: "", 2656 }, 2657 }, 2658 }, 2659 }, 2660 }, 2661 } 2662 } 2663 2664 func schema_pkg_apis_core_v1alpha1_DockerImageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2665 return common.OpenAPIDefinition{ 2666 Schema: spec.Schema{ 2667 SchemaProps: spec.SchemaProps{ 2668 Description: "DockerImageStatus defines the observed state of DockerImage", 2669 Type: []string{"object"}, 2670 Properties: map[string]spec.Schema{ 2671 "ref": { 2672 SchemaProps: spec.SchemaProps{ 2673 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.", 2674 Type: []string{"string"}, 2675 Format: "", 2676 }, 2677 }, 2678 "waiting": { 2679 SchemaProps: spec.SchemaProps{ 2680 Description: "Details about a waiting image build.", 2681 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateWaiting"), 2682 }, 2683 }, 2684 "building": { 2685 SchemaProps: spec.SchemaProps{ 2686 Description: "Details about a building image.", 2687 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateBuilding"), 2688 }, 2689 }, 2690 "completed": { 2691 SchemaProps: spec.SchemaProps{ 2692 Description: "Details about a finished image build.", 2693 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStateCompleted"), 2694 }, 2695 }, 2696 "stageStatuses": { 2697 SchemaProps: spec.SchemaProps{ 2698 Description: "Status information about each individual build stage of the most recent image build.", 2699 Type: []string{"array"}, 2700 Items: &spec.SchemaOrArray{ 2701 Schema: &spec.Schema{ 2702 SchemaProps: spec.SchemaProps{ 2703 Default: map[string]interface{}{}, 2704 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DockerImageStageStatus"), 2705 }, 2706 }, 2707 }, 2708 }, 2709 }, 2710 }, 2711 }, 2712 }, 2713 Dependencies: []string{ 2714 "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"}, 2715 } 2716 } 2717 2718 func schema_pkg_apis_core_v1alpha1_DockerPortBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { 2719 return common.OpenAPIDefinition{ 2720 Schema: spec.Schema{ 2721 SchemaProps: spec.SchemaProps{ 2722 Description: "How docker binds container ports to the host network", 2723 Type: []string{"object"}, 2724 Properties: map[string]spec.Schema{ 2725 "containerPort": { 2726 SchemaProps: spec.SchemaProps{ 2727 Description: "The port inside the container.", 2728 Type: []string{"integer"}, 2729 Format: "int32", 2730 }, 2731 }, 2732 "hostPort": { 2733 SchemaProps: spec.SchemaProps{ 2734 Description: "The port on the host machine where Docker running.", 2735 Type: []string{"integer"}, 2736 Format: "int32", 2737 }, 2738 }, 2739 "hostIP": { 2740 SchemaProps: spec.SchemaProps{ 2741 Description: "The IP on the host machine where Docker is binding the network.", 2742 Type: []string{"string"}, 2743 Format: "", 2744 }, 2745 }, 2746 }, 2747 }, 2748 }, 2749 } 2750 } 2751 2752 func schema_pkg_apis_core_v1alpha1_ExecAction(ref common.ReferenceCallback) common.OpenAPIDefinition { 2753 return common.OpenAPIDefinition{ 2754 Schema: spec.Schema{ 2755 SchemaProps: spec.SchemaProps{ 2756 Description: "ExecAction describes a \"run in container\" action.", 2757 Type: []string{"object"}, 2758 Properties: map[string]spec.Schema{ 2759 "command": { 2760 SchemaProps: spec.SchemaProps{ 2761 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.", 2762 Type: []string{"array"}, 2763 Items: &spec.SchemaOrArray{ 2764 Schema: &spec.Schema{ 2765 SchemaProps: spec.SchemaProps{ 2766 Default: "", 2767 Type: []string{"string"}, 2768 Format: "", 2769 }, 2770 }, 2771 }, 2772 }, 2773 }, 2774 }, 2775 }, 2776 }, 2777 } 2778 } 2779 2780 func schema_pkg_apis_core_v1alpha1_Extension(ref common.ReferenceCallback) common.OpenAPIDefinition { 2781 return common.OpenAPIDefinition{ 2782 Schema: spec.Schema{ 2783 SchemaProps: spec.SchemaProps{ 2784 Description: "Extension defines an extension that's evaluated on Tilt startup.", 2785 Type: []string{"object"}, 2786 Properties: map[string]spec.Schema{ 2787 "kind": { 2788 SchemaProps: spec.SchemaProps{ 2789 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", 2790 Type: []string{"string"}, 2791 Format: "", 2792 }, 2793 }, 2794 "apiVersion": { 2795 SchemaProps: spec.SchemaProps{ 2796 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", 2797 Type: []string{"string"}, 2798 Format: "", 2799 }, 2800 }, 2801 "metadata": { 2802 SchemaProps: spec.SchemaProps{ 2803 Default: map[string]interface{}{}, 2804 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2805 }, 2806 }, 2807 "spec": { 2808 SchemaProps: spec.SchemaProps{ 2809 Default: map[string]interface{}{}, 2810 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionSpec"), 2811 }, 2812 }, 2813 "status": { 2814 SchemaProps: spec.SchemaProps{ 2815 Default: map[string]interface{}{}, 2816 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionStatus"), 2817 }, 2818 }, 2819 }, 2820 }, 2821 }, 2822 Dependencies: []string{ 2823 "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"}, 2824 } 2825 } 2826 2827 func schema_pkg_apis_core_v1alpha1_ExtensionList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2828 return common.OpenAPIDefinition{ 2829 Schema: spec.Schema{ 2830 SchemaProps: spec.SchemaProps{ 2831 Description: "ExtensionList", 2832 Type: []string{"object"}, 2833 Properties: map[string]spec.Schema{ 2834 "kind": { 2835 SchemaProps: spec.SchemaProps{ 2836 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", 2837 Type: []string{"string"}, 2838 Format: "", 2839 }, 2840 }, 2841 "apiVersion": { 2842 SchemaProps: spec.SchemaProps{ 2843 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", 2844 Type: []string{"string"}, 2845 Format: "", 2846 }, 2847 }, 2848 "metadata": { 2849 SchemaProps: spec.SchemaProps{ 2850 Default: map[string]interface{}{}, 2851 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2852 }, 2853 }, 2854 "items": { 2855 SchemaProps: spec.SchemaProps{ 2856 Type: []string{"array"}, 2857 Items: &spec.SchemaOrArray{ 2858 Schema: &spec.Schema{ 2859 SchemaProps: spec.SchemaProps{ 2860 Default: map[string]interface{}{}, 2861 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Extension"), 2862 }, 2863 }, 2864 }, 2865 }, 2866 }, 2867 }, 2868 Required: []string{"items"}, 2869 }, 2870 }, 2871 Dependencies: []string{ 2872 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Extension", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2873 } 2874 } 2875 2876 func schema_pkg_apis_core_v1alpha1_ExtensionRepo(ref common.ReferenceCallback) common.OpenAPIDefinition { 2877 return common.OpenAPIDefinition{ 2878 Schema: spec.Schema{ 2879 SchemaProps: spec.SchemaProps{ 2880 Description: "ExtensionRepo specifies a repo or folder where a set of extensions live.", 2881 Type: []string{"object"}, 2882 Properties: map[string]spec.Schema{ 2883 "kind": { 2884 SchemaProps: spec.SchemaProps{ 2885 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", 2886 Type: []string{"string"}, 2887 Format: "", 2888 }, 2889 }, 2890 "apiVersion": { 2891 SchemaProps: spec.SchemaProps{ 2892 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", 2893 Type: []string{"string"}, 2894 Format: "", 2895 }, 2896 }, 2897 "metadata": { 2898 SchemaProps: spec.SchemaProps{ 2899 Default: map[string]interface{}{}, 2900 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2901 }, 2902 }, 2903 "spec": { 2904 SchemaProps: spec.SchemaProps{ 2905 Default: map[string]interface{}{}, 2906 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoSpec"), 2907 }, 2908 }, 2909 "status": { 2910 SchemaProps: spec.SchemaProps{ 2911 Default: map[string]interface{}{}, 2912 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepoStatus"), 2913 }, 2914 }, 2915 }, 2916 }, 2917 }, 2918 Dependencies: []string{ 2919 "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"}, 2920 } 2921 } 2922 2923 func schema_pkg_apis_core_v1alpha1_ExtensionRepoList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2924 return common.OpenAPIDefinition{ 2925 Schema: spec.Schema{ 2926 SchemaProps: spec.SchemaProps{ 2927 Description: "ExtensionRepoList", 2928 Type: []string{"object"}, 2929 Properties: map[string]spec.Schema{ 2930 "kind": { 2931 SchemaProps: spec.SchemaProps{ 2932 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", 2933 Type: []string{"string"}, 2934 Format: "", 2935 }, 2936 }, 2937 "apiVersion": { 2938 SchemaProps: spec.SchemaProps{ 2939 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", 2940 Type: []string{"string"}, 2941 Format: "", 2942 }, 2943 }, 2944 "metadata": { 2945 SchemaProps: spec.SchemaProps{ 2946 Default: map[string]interface{}{}, 2947 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2948 }, 2949 }, 2950 "items": { 2951 SchemaProps: spec.SchemaProps{ 2952 Type: []string{"array"}, 2953 Items: &spec.SchemaOrArray{ 2954 Schema: &spec.Schema{ 2955 SchemaProps: spec.SchemaProps{ 2956 Default: map[string]interface{}{}, 2957 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepo"), 2958 }, 2959 }, 2960 }, 2961 }, 2962 }, 2963 }, 2964 Required: []string{"items"}, 2965 }, 2966 }, 2967 Dependencies: []string{ 2968 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExtensionRepo", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2969 } 2970 } 2971 2972 func schema_pkg_apis_core_v1alpha1_ExtensionRepoSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2973 return common.OpenAPIDefinition{ 2974 Schema: spec.Schema{ 2975 SchemaProps: spec.SchemaProps{ 2976 Description: "ExtensionRepoSpec defines how to access the repo.", 2977 Type: []string{"object"}, 2978 Properties: map[string]spec.Schema{ 2979 "url": { 2980 SchemaProps: spec.SchemaProps{ 2981 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.", 2982 Default: "", 2983 Type: []string{"string"}, 2984 Format: "", 2985 }, 2986 }, 2987 "ref": { 2988 SchemaProps: spec.SchemaProps{ 2989 Description: "A reference to sync the repo to. If empty, Tilt will always update the repo to the latest version.", 2990 Type: []string{"string"}, 2991 Format: "", 2992 }, 2993 }, 2994 }, 2995 Required: []string{"url"}, 2996 }, 2997 }, 2998 } 2999 } 3000 3001 func schema_pkg_apis_core_v1alpha1_ExtensionRepoStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3002 return common.OpenAPIDefinition{ 3003 Schema: spec.Schema{ 3004 SchemaProps: spec.SchemaProps{ 3005 Description: "ExtensionRepoStatus defines the observed state of ExtensionRepo", 3006 Type: []string{"object"}, 3007 Properties: map[string]spec.Schema{ 3008 "error": { 3009 SchemaProps: spec.SchemaProps{ 3010 Description: "Contains information about any problems loading the repo.", 3011 Type: []string{"string"}, 3012 Format: "", 3013 }, 3014 }, 3015 "lastFetchedAt": { 3016 SchemaProps: spec.SchemaProps{ 3017 Description: "The last time the repo was fetched and checked for validity.", 3018 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3019 }, 3020 }, 3021 "path": { 3022 SchemaProps: spec.SchemaProps{ 3023 Description: "The path to the repo on local disk.", 3024 Type: []string{"string"}, 3025 Format: "", 3026 }, 3027 }, 3028 "checkoutRef": { 3029 SchemaProps: spec.SchemaProps{ 3030 Description: "The reference that we currently have checked out. On git, this is the commit hash. On file repos, this is empty.", 3031 Type: []string{"string"}, 3032 Format: "", 3033 }, 3034 }, 3035 "staleReason": { 3036 SchemaProps: spec.SchemaProps{ 3037 Description: "If StaleReason is non-empty, that indicates the repo failed to fetch, but we were successfully able to use an on-disk copy.", 3038 Type: []string{"string"}, 3039 Format: "", 3040 }, 3041 }, 3042 }, 3043 }, 3044 }, 3045 Dependencies: []string{ 3046 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3047 } 3048 } 3049 3050 func schema_pkg_apis_core_v1alpha1_ExtensionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3051 return common.OpenAPIDefinition{ 3052 Schema: spec.Schema{ 3053 SchemaProps: spec.SchemaProps{ 3054 Description: "ExtensionSpec defines the desired state of Extension", 3055 Type: []string{"object"}, 3056 Properties: map[string]spec.Schema{ 3057 "repoName": { 3058 SchemaProps: spec.SchemaProps{ 3059 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.", 3060 Default: "", 3061 Type: []string{"string"}, 3062 Format: "", 3063 }, 3064 }, 3065 "repoPath": { 3066 SchemaProps: spec.SchemaProps{ 3067 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.", 3068 Default: "", 3069 Type: []string{"string"}, 3070 Format: "", 3071 }, 3072 }, 3073 "args": { 3074 SchemaProps: spec.SchemaProps{ 3075 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.", 3076 Type: []string{"array"}, 3077 Items: &spec.SchemaOrArray{ 3078 Schema: &spec.Schema{ 3079 SchemaProps: spec.SchemaProps{ 3080 Default: "", 3081 Type: []string{"string"}, 3082 Format: "", 3083 }, 3084 }, 3085 }, 3086 }, 3087 }, 3088 }, 3089 Required: []string{"repoName", "repoPath"}, 3090 }, 3091 }, 3092 } 3093 } 3094 3095 func schema_pkg_apis_core_v1alpha1_ExtensionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3096 return common.OpenAPIDefinition{ 3097 Schema: spec.Schema{ 3098 SchemaProps: spec.SchemaProps{ 3099 Description: "ExtensionStatus defines the observed state of Extension", 3100 Type: []string{"object"}, 3101 Properties: map[string]spec.Schema{ 3102 "error": { 3103 SchemaProps: spec.SchemaProps{ 3104 Description: "Contains information about any problems loading the extension.", 3105 Type: []string{"string"}, 3106 Format: "", 3107 }, 3108 }, 3109 "path": { 3110 SchemaProps: spec.SchemaProps{ 3111 Description: "The path to the extension on disk. This location should be shared and readable by all Tilt instances.", 3112 Type: []string{"string"}, 3113 Format: "", 3114 }, 3115 }, 3116 }, 3117 }, 3118 }, 3119 } 3120 } 3121 3122 func schema_pkg_apis_core_v1alpha1_FileEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 3123 return common.OpenAPIDefinition{ 3124 Schema: spec.Schema{ 3125 SchemaProps: spec.SchemaProps{ 3126 Type: []string{"object"}, 3127 Properties: map[string]spec.Schema{ 3128 "time": { 3129 SchemaProps: spec.SchemaProps{ 3130 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.", 3131 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3132 }, 3133 }, 3134 "seenFiles": { 3135 SchemaProps: spec.SchemaProps{ 3136 Description: "SeenFiles is a list of paths which changed (create, modify, or delete).", 3137 Type: []string{"array"}, 3138 Items: &spec.SchemaOrArray{ 3139 Schema: &spec.Schema{ 3140 SchemaProps: spec.SchemaProps{ 3141 Default: "", 3142 Type: []string{"string"}, 3143 Format: "", 3144 }, 3145 }, 3146 }, 3147 }, 3148 }, 3149 }, 3150 Required: []string{"time", "seenFiles"}, 3151 }, 3152 }, 3153 Dependencies: []string{ 3154 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 3155 } 3156 } 3157 3158 func schema_pkg_apis_core_v1alpha1_FileWatch(ref common.ReferenceCallback) common.OpenAPIDefinition { 3159 return common.OpenAPIDefinition{ 3160 Schema: spec.Schema{ 3161 SchemaProps: spec.SchemaProps{ 3162 Description: "FileWatch", 3163 Type: []string{"object"}, 3164 Properties: map[string]spec.Schema{ 3165 "kind": { 3166 SchemaProps: spec.SchemaProps{ 3167 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", 3168 Type: []string{"string"}, 3169 Format: "", 3170 }, 3171 }, 3172 "apiVersion": { 3173 SchemaProps: spec.SchemaProps{ 3174 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", 3175 Type: []string{"string"}, 3176 Format: "", 3177 }, 3178 }, 3179 "metadata": { 3180 SchemaProps: spec.SchemaProps{ 3181 Default: map[string]interface{}{}, 3182 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3183 }, 3184 }, 3185 "spec": { 3186 SchemaProps: spec.SchemaProps{ 3187 Default: map[string]interface{}{}, 3188 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchSpec"), 3189 }, 3190 }, 3191 "status": { 3192 SchemaProps: spec.SchemaProps{ 3193 Default: map[string]interface{}{}, 3194 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatchStatus"), 3195 }, 3196 }, 3197 }, 3198 }, 3199 }, 3200 Dependencies: []string{ 3201 "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"}, 3202 } 3203 } 3204 3205 func schema_pkg_apis_core_v1alpha1_FileWatchList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3206 return common.OpenAPIDefinition{ 3207 Schema: spec.Schema{ 3208 SchemaProps: spec.SchemaProps{ 3209 Description: "FileWatchList", 3210 Type: []string{"object"}, 3211 Properties: map[string]spec.Schema{ 3212 "kind": { 3213 SchemaProps: spec.SchemaProps{ 3214 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", 3215 Type: []string{"string"}, 3216 Format: "", 3217 }, 3218 }, 3219 "apiVersion": { 3220 SchemaProps: spec.SchemaProps{ 3221 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", 3222 Type: []string{"string"}, 3223 Format: "", 3224 }, 3225 }, 3226 "metadata": { 3227 SchemaProps: spec.SchemaProps{ 3228 Default: map[string]interface{}{}, 3229 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3230 }, 3231 }, 3232 "items": { 3233 SchemaProps: spec.SchemaProps{ 3234 Type: []string{"array"}, 3235 Items: &spec.SchemaOrArray{ 3236 Schema: &spec.Schema{ 3237 SchemaProps: spec.SchemaProps{ 3238 Default: map[string]interface{}{}, 3239 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatch"), 3240 }, 3241 }, 3242 }, 3243 }, 3244 }, 3245 }, 3246 Required: []string{"items"}, 3247 }, 3248 }, 3249 Dependencies: []string{ 3250 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileWatch", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 3251 } 3252 } 3253 3254 func schema_pkg_apis_core_v1alpha1_FileWatchSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3255 return common.OpenAPIDefinition{ 3256 Schema: spec.Schema{ 3257 SchemaProps: spec.SchemaProps{ 3258 Description: "FileWatchSpec defines the desired state of FileWatch", 3259 Type: []string{"object"}, 3260 Properties: map[string]spec.Schema{ 3261 "watchedPaths": { 3262 SchemaProps: spec.SchemaProps{ 3263 Description: "WatchedPaths are paths of directories or files to watch for changes to. It cannot be empty.", 3264 Type: []string{"array"}, 3265 Items: &spec.SchemaOrArray{ 3266 Schema: &spec.Schema{ 3267 SchemaProps: spec.SchemaProps{ 3268 Default: "", 3269 Type: []string{"string"}, 3270 Format: "", 3271 }, 3272 }, 3273 }, 3274 }, 3275 }, 3276 "ignores": { 3277 SchemaProps: spec.SchemaProps{ 3278 Description: "Ignores are optional rules to filter out a subset of changes matched by WatchedPaths.", 3279 Type: []string{"array"}, 3280 Items: &spec.SchemaOrArray{ 3281 Schema: &spec.Schema{ 3282 SchemaProps: spec.SchemaProps{ 3283 Default: map[string]interface{}{}, 3284 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"), 3285 }, 3286 }, 3287 }, 3288 }, 3289 }, 3290 "disableSource": { 3291 SchemaProps: spec.SchemaProps{ 3292 Description: "Specifies how to disable this.", 3293 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 3294 }, 3295 }, 3296 }, 3297 Required: []string{"watchedPaths"}, 3298 }, 3299 }, 3300 Dependencies: []string{ 3301 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.IgnoreDef"}, 3302 } 3303 } 3304 3305 func schema_pkg_apis_core_v1alpha1_FileWatchStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3306 return common.OpenAPIDefinition{ 3307 Schema: spec.Schema{ 3308 SchemaProps: spec.SchemaProps{ 3309 Description: "FileWatchStatus defines the observed state of FileWatch", 3310 Type: []string{"object"}, 3311 Properties: map[string]spec.Schema{ 3312 "monitorStartTime": { 3313 SchemaProps: spec.SchemaProps{ 3314 Description: "MonitorStartTime is the timestamp of when filesystem monitor was started. It is zero if the monitor has not been started yet.", 3315 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3316 }, 3317 }, 3318 "lastEventTime": { 3319 SchemaProps: spec.SchemaProps{ 3320 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.", 3321 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3322 }, 3323 }, 3324 "fileEvents": { 3325 SchemaProps: spec.SchemaProps{ 3326 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.", 3327 Type: []string{"array"}, 3328 Items: &spec.SchemaOrArray{ 3329 Schema: &spec.Schema{ 3330 SchemaProps: spec.SchemaProps{ 3331 Default: map[string]interface{}{}, 3332 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.FileEvent"), 3333 }, 3334 }, 3335 }, 3336 }, 3337 }, 3338 "error": { 3339 SchemaProps: spec.SchemaProps{ 3340 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.", 3341 Type: []string{"string"}, 3342 Format: "", 3343 }, 3344 }, 3345 "disableStatus": { 3346 SchemaProps: spec.SchemaProps{ 3347 Description: "Details about whether/why this is disabled.", 3348 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 3349 }, 3350 }, 3351 }, 3352 }, 3353 }, 3354 Dependencies: []string{ 3355 "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"}, 3356 } 3357 } 3358 3359 func schema_pkg_apis_core_v1alpha1_Forward(ref common.ReferenceCallback) common.OpenAPIDefinition { 3360 return common.OpenAPIDefinition{ 3361 Schema: spec.Schema{ 3362 SchemaProps: spec.SchemaProps{ 3363 Description: "Forward defines a port forward to execute on a given pod.", 3364 Type: []string{"object"}, 3365 Properties: map[string]spec.Schema{ 3366 "localPort": { 3367 SchemaProps: spec.SchemaProps{ 3368 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.", 3369 Type: []string{"integer"}, 3370 Format: "int32", 3371 }, 3372 }, 3373 "containerPort": { 3374 SchemaProps: spec.SchemaProps{ 3375 Description: "The port on the Kubernetes pod to connect to. Required.", 3376 Default: 0, 3377 Type: []string{"integer"}, 3378 Format: "int32", 3379 }, 3380 }, 3381 "host": { 3382 SchemaProps: spec.SchemaProps{ 3383 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).", 3384 Default: "", 3385 Type: []string{"string"}, 3386 Format: "", 3387 }, 3388 }, 3389 "name": { 3390 SchemaProps: spec.SchemaProps{ 3391 Description: "Name to identify this port forward.", 3392 Type: []string{"string"}, 3393 Format: "", 3394 }, 3395 }, 3396 "path": { 3397 SchemaProps: spec.SchemaProps{ 3398 Description: "Path to include as part of generated links for port forward.", 3399 Type: []string{"string"}, 3400 Format: "", 3401 }, 3402 }, 3403 }, 3404 Required: []string{"containerPort"}, 3405 }, 3406 }, 3407 } 3408 } 3409 3410 func schema_pkg_apis_core_v1alpha1_ForwardStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3411 return common.OpenAPIDefinition{ 3412 Schema: spec.Schema{ 3413 SchemaProps: spec.SchemaProps{ 3414 Type: []string{"object"}, 3415 Properties: map[string]spec.Schema{ 3416 "localPort": { 3417 SchemaProps: spec.SchemaProps{ 3418 Description: "LocalPort is the port bound to on the system running Tilt.", 3419 Default: 0, 3420 Type: []string{"integer"}, 3421 Format: "int32", 3422 }, 3423 }, 3424 "containerPort": { 3425 SchemaProps: spec.SchemaProps{ 3426 Description: "ContainerPort is the port in the container being forwarded.", 3427 Default: 0, 3428 Type: []string{"integer"}, 3429 Format: "int32", 3430 }, 3431 }, 3432 "addresses": { 3433 SchemaProps: spec.SchemaProps{ 3434 Description: "Addresses that the forwarder is bound to.\n\nFor example, a `localhost` host will bind to 127.0.0.1 and [::1].", 3435 Type: []string{"array"}, 3436 Items: &spec.SchemaOrArray{ 3437 Schema: &spec.Schema{ 3438 SchemaProps: spec.SchemaProps{ 3439 Default: "", 3440 Type: []string{"string"}, 3441 Format: "", 3442 }, 3443 }, 3444 }, 3445 }, 3446 }, 3447 "startedAt": { 3448 SchemaProps: spec.SchemaProps{ 3449 Description: "StartedAt is the time at which the forward was initiated.\n\nIf the forwarder is not running yet, this will be zero/empty.", 3450 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3451 }, 3452 }, 3453 "error": { 3454 SchemaProps: spec.SchemaProps{ 3455 Description: "Error is a human-readable description if a problem was encountered while initializing the forward.", 3456 Type: []string{"string"}, 3457 Format: "", 3458 }, 3459 }, 3460 }, 3461 Required: []string{"localPort", "containerPort", "addresses"}, 3462 }, 3463 }, 3464 Dependencies: []string{ 3465 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 3466 } 3467 } 3468 3469 func schema_pkg_apis_core_v1alpha1_HTTPGetAction(ref common.ReferenceCallback) common.OpenAPIDefinition { 3470 return common.OpenAPIDefinition{ 3471 Schema: spec.Schema{ 3472 SchemaProps: spec.SchemaProps{ 3473 Description: "HTTPGetAction describes an action based on HTTP Get requests.", 3474 Type: []string{"object"}, 3475 Properties: map[string]spec.Schema{ 3476 "path": { 3477 SchemaProps: spec.SchemaProps{ 3478 Description: "Path to access on the HTTP server.", 3479 Type: []string{"string"}, 3480 Format: "", 3481 }, 3482 }, 3483 "port": { 3484 SchemaProps: spec.SchemaProps{ 3485 Description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535.", 3486 Default: 0, 3487 Type: []string{"integer"}, 3488 Format: "int32", 3489 }, 3490 }, 3491 "host": { 3492 SchemaProps: spec.SchemaProps{ 3493 Description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", 3494 Type: []string{"string"}, 3495 Format: "", 3496 }, 3497 }, 3498 "scheme": { 3499 SchemaProps: spec.SchemaProps{ 3500 Description: "Scheme to use for connecting to the host. Defaults to HTTP.", 3501 Type: []string{"string"}, 3502 Format: "", 3503 }, 3504 }, 3505 "httpHeaders": { 3506 SchemaProps: spec.SchemaProps{ 3507 Description: "Custom headers to set in the request. HTTP allows repeated headers.", 3508 Type: []string{"array"}, 3509 Items: &spec.SchemaOrArray{ 3510 Schema: &spec.Schema{ 3511 SchemaProps: spec.SchemaProps{ 3512 Default: map[string]interface{}{}, 3513 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPHeader"), 3514 }, 3515 }, 3516 }, 3517 }, 3518 }, 3519 }, 3520 Required: []string{"port"}, 3521 }, 3522 }, 3523 Dependencies: []string{ 3524 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPHeader"}, 3525 } 3526 } 3527 3528 func schema_pkg_apis_core_v1alpha1_HTTPHeader(ref common.ReferenceCallback) common.OpenAPIDefinition { 3529 return common.OpenAPIDefinition{ 3530 Schema: spec.Schema{ 3531 SchemaProps: spec.SchemaProps{ 3532 Description: "HTTPHeader describes a custom header to be used in HTTP probes", 3533 Type: []string{"object"}, 3534 Properties: map[string]spec.Schema{ 3535 "name": { 3536 SchemaProps: spec.SchemaProps{ 3537 Description: "The header field name", 3538 Default: "", 3539 Type: []string{"string"}, 3540 Format: "", 3541 }, 3542 }, 3543 "value": { 3544 SchemaProps: spec.SchemaProps{ 3545 Description: "The header field value", 3546 Default: "", 3547 Type: []string{"string"}, 3548 Format: "", 3549 }, 3550 }, 3551 }, 3552 Required: []string{"name", "value"}, 3553 }, 3554 }, 3555 } 3556 } 3557 3558 func schema_pkg_apis_core_v1alpha1_Handler(ref common.ReferenceCallback) common.OpenAPIDefinition { 3559 return common.OpenAPIDefinition{ 3560 Schema: spec.Schema{ 3561 SchemaProps: spec.SchemaProps{ 3562 Description: "Handler defines a specific action that should be taken in a probe.", 3563 Type: []string{"object"}, 3564 Properties: map[string]spec.Schema{ 3565 "exec": { 3566 SchemaProps: spec.SchemaProps{ 3567 Description: "One and only one of the following should be specified. Exec specifies the action to take.", 3568 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExecAction"), 3569 }, 3570 }, 3571 "httpGet": { 3572 SchemaProps: spec.SchemaProps{ 3573 Description: "HTTPGet specifies the http request to perform.", 3574 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPGetAction"), 3575 }, 3576 }, 3577 "tcpSocket": { 3578 SchemaProps: spec.SchemaProps{ 3579 Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", 3580 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TCPSocketAction"), 3581 }, 3582 }, 3583 }, 3584 }, 3585 }, 3586 Dependencies: []string{ 3587 "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"}, 3588 } 3589 } 3590 3591 func schema_pkg_apis_core_v1alpha1_IgnoreDef(ref common.ReferenceCallback) common.OpenAPIDefinition { 3592 return common.OpenAPIDefinition{ 3593 Schema: spec.Schema{ 3594 SchemaProps: spec.SchemaProps{ 3595 Description: "Describes sets of file paths that the FileWatch should ignore.", 3596 Type: []string{"object"}, 3597 Properties: map[string]spec.Schema{ 3598 "basePath": { 3599 SchemaProps: spec.SchemaProps{ 3600 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.", 3601 Default: "", 3602 Type: []string{"string"}, 3603 Format: "", 3604 }, 3605 }, 3606 "patterns": { 3607 SchemaProps: spec.SchemaProps{ 3608 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.", 3609 Type: []string{"array"}, 3610 Items: &spec.SchemaOrArray{ 3611 Schema: &spec.Schema{ 3612 SchemaProps: spec.SchemaProps{ 3613 Default: "", 3614 Type: []string{"string"}, 3615 Format: "", 3616 }, 3617 }, 3618 }, 3619 }, 3620 }, 3621 }, 3622 Required: []string{"basePath"}, 3623 }, 3624 }, 3625 } 3626 } 3627 3628 func schema_pkg_apis_core_v1alpha1_ImageMap(ref common.ReferenceCallback) common.OpenAPIDefinition { 3629 return common.OpenAPIDefinition{ 3630 Schema: spec.Schema{ 3631 SchemaProps: spec.SchemaProps{ 3632 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).", 3633 Type: []string{"object"}, 3634 Properties: map[string]spec.Schema{ 3635 "kind": { 3636 SchemaProps: spec.SchemaProps{ 3637 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", 3638 Type: []string{"string"}, 3639 Format: "", 3640 }, 3641 }, 3642 "apiVersion": { 3643 SchemaProps: spec.SchemaProps{ 3644 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", 3645 Type: []string{"string"}, 3646 Format: "", 3647 }, 3648 }, 3649 "metadata": { 3650 SchemaProps: spec.SchemaProps{ 3651 Default: map[string]interface{}{}, 3652 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3653 }, 3654 }, 3655 "spec": { 3656 SchemaProps: spec.SchemaProps{ 3657 Default: map[string]interface{}{}, 3658 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapSpec"), 3659 }, 3660 }, 3661 "status": { 3662 SchemaProps: spec.SchemaProps{ 3663 Default: map[string]interface{}{}, 3664 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapStatus"), 3665 }, 3666 }, 3667 }, 3668 }, 3669 }, 3670 Dependencies: []string{ 3671 "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"}, 3672 } 3673 } 3674 3675 func schema_pkg_apis_core_v1alpha1_ImageMapList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3676 return common.OpenAPIDefinition{ 3677 Schema: spec.Schema{ 3678 SchemaProps: spec.SchemaProps{ 3679 Description: "ImageMapList", 3680 Type: []string{"object"}, 3681 Properties: map[string]spec.Schema{ 3682 "kind": { 3683 SchemaProps: spec.SchemaProps{ 3684 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", 3685 Type: []string{"string"}, 3686 Format: "", 3687 }, 3688 }, 3689 "apiVersion": { 3690 SchemaProps: spec.SchemaProps{ 3691 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", 3692 Type: []string{"string"}, 3693 Format: "", 3694 }, 3695 }, 3696 "metadata": { 3697 SchemaProps: spec.SchemaProps{ 3698 Default: map[string]interface{}{}, 3699 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3700 }, 3701 }, 3702 "items": { 3703 SchemaProps: spec.SchemaProps{ 3704 Type: []string{"array"}, 3705 Items: &spec.SchemaOrArray{ 3706 Schema: &spec.Schema{ 3707 SchemaProps: spec.SchemaProps{ 3708 Default: map[string]interface{}{}, 3709 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMap"), 3710 }, 3711 }, 3712 }, 3713 }, 3714 }, 3715 }, 3716 Required: []string{"items"}, 3717 }, 3718 }, 3719 Dependencies: []string{ 3720 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMap", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 3721 } 3722 } 3723 3724 func schema_pkg_apis_core_v1alpha1_ImageMapOverrideArgs(ref common.ReferenceCallback) common.OpenAPIDefinition { 3725 return common.OpenAPIDefinition{ 3726 Schema: spec.Schema{ 3727 SchemaProps: spec.SchemaProps{ 3728 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", 3729 Type: []string{"object"}, 3730 Properties: map[string]spec.Schema{ 3731 "args": { 3732 SchemaProps: spec.SchemaProps{ 3733 Description: "A list of args strings.", 3734 Type: []string{"array"}, 3735 Items: &spec.SchemaOrArray{ 3736 Schema: &spec.Schema{ 3737 SchemaProps: spec.SchemaProps{ 3738 Default: "", 3739 Type: []string{"string"}, 3740 Format: "", 3741 }, 3742 }, 3743 }, 3744 }, 3745 }, 3746 }, 3747 Required: []string{"args"}, 3748 }, 3749 }, 3750 } 3751 } 3752 3753 func schema_pkg_apis_core_v1alpha1_ImageMapOverrideCommand(ref common.ReferenceCallback) common.OpenAPIDefinition { 3754 return common.OpenAPIDefinition{ 3755 Schema: spec.Schema{ 3756 SchemaProps: spec.SchemaProps{ 3757 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", 3758 Type: []string{"object"}, 3759 Properties: map[string]spec.Schema{ 3760 "command": { 3761 SchemaProps: spec.SchemaProps{ 3762 Description: "A list of command strings.", 3763 Type: []string{"array"}, 3764 Items: &spec.SchemaOrArray{ 3765 Schema: &spec.Schema{ 3766 SchemaProps: spec.SchemaProps{ 3767 Default: "", 3768 Type: []string{"string"}, 3769 Format: "", 3770 }, 3771 }, 3772 }, 3773 }, 3774 }, 3775 }, 3776 Required: []string{"command"}, 3777 }, 3778 }, 3779 } 3780 } 3781 3782 func schema_pkg_apis_core_v1alpha1_ImageMapSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3783 return common.OpenAPIDefinition{ 3784 Schema: spec.Schema{ 3785 SchemaProps: spec.SchemaProps{ 3786 Description: "ImageMapSpec defines the desired state of ImageMap", 3787 Type: []string{"object"}, 3788 Properties: map[string]spec.Schema{ 3789 "selector": { 3790 SchemaProps: spec.SchemaProps{ 3791 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).", 3792 Default: "", 3793 Type: []string{"string"}, 3794 Format: "", 3795 }, 3796 }, 3797 "matchExact": { 3798 SchemaProps: spec.SchemaProps{ 3799 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.", 3800 Type: []string{"boolean"}, 3801 Format: "", 3802 }, 3803 }, 3804 "matchInEnvVars": { 3805 SchemaProps: spec.SchemaProps{ 3806 Description: "If specified, then the selector will also match any strings in container env variables.", 3807 Type: []string{"boolean"}, 3808 Format: "", 3809 }, 3810 }, 3811 "overrideCommand": { 3812 SchemaProps: spec.SchemaProps{ 3813 Description: "If specified, the injector will replace the 'command' field in the container when it replaces the image.", 3814 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideCommand"), 3815 }, 3816 }, 3817 "overrideArgs": { 3818 SchemaProps: spec.SchemaProps{ 3819 Description: "If specified, the injector will replace the 'args' field in the container when it replaces the image.", 3820 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideArgs"), 3821 }, 3822 }, 3823 }, 3824 Required: []string{"selector"}, 3825 }, 3826 }, 3827 Dependencies: []string{ 3828 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideArgs", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ImageMapOverrideCommand"}, 3829 } 3830 } 3831 3832 func schema_pkg_apis_core_v1alpha1_ImageMapStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3833 return common.OpenAPIDefinition{ 3834 Schema: spec.Schema{ 3835 SchemaProps: spec.SchemaProps{ 3836 Description: "ImageMapStatus defines the observed state of ImageMap", 3837 Type: []string{"object"}, 3838 Properties: map[string]spec.Schema{ 3839 "image": { 3840 SchemaProps: spec.SchemaProps{ 3841 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", 3842 Type: []string{"string"}, 3843 Format: "", 3844 }, 3845 }, 3846 "imageFromLocal": { 3847 SchemaProps: spec.SchemaProps{ 3848 Description: "A fully-qualified image reference, including a name and an immutable tag, as seen from the local network.", 3849 Type: []string{"string"}, 3850 Format: "", 3851 }, 3852 }, 3853 "imageFromCluster": { 3854 SchemaProps: spec.SchemaProps{ 3855 Description: "A fully-qualified image reference, including a name and an immutable tag, as seen from the cluster container runtime.", 3856 Type: []string{"string"}, 3857 Format: "", 3858 }, 3859 }, 3860 "buildStartTime": { 3861 SchemaProps: spec.SchemaProps{ 3862 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.", 3863 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 3864 }, 3865 }, 3866 }, 3867 }, 3868 }, 3869 Dependencies: []string{ 3870 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 3871 } 3872 } 3873 3874 func schema_pkg_apis_core_v1alpha1_KubernetesApply(ref common.ReferenceCallback) common.OpenAPIDefinition { 3875 return common.OpenAPIDefinition{ 3876 Schema: spec.Schema{ 3877 SchemaProps: spec.SchemaProps{ 3878 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.", 3879 Type: []string{"object"}, 3880 Properties: map[string]spec.Schema{ 3881 "kind": { 3882 SchemaProps: spec.SchemaProps{ 3883 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", 3884 Type: []string{"string"}, 3885 Format: "", 3886 }, 3887 }, 3888 "apiVersion": { 3889 SchemaProps: spec.SchemaProps{ 3890 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", 3891 Type: []string{"string"}, 3892 Format: "", 3893 }, 3894 }, 3895 "metadata": { 3896 SchemaProps: spec.SchemaProps{ 3897 Default: map[string]interface{}{}, 3898 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3899 }, 3900 }, 3901 "spec": { 3902 SchemaProps: spec.SchemaProps{ 3903 Default: map[string]interface{}{}, 3904 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplySpec"), 3905 }, 3906 }, 3907 "status": { 3908 SchemaProps: spec.SchemaProps{ 3909 Default: map[string]interface{}{}, 3910 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyStatus"), 3911 }, 3912 }, 3913 }, 3914 }, 3915 }, 3916 Dependencies: []string{ 3917 "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"}, 3918 } 3919 } 3920 3921 func schema_pkg_apis_core_v1alpha1_KubernetesApplyCmd(ref common.ReferenceCallback) common.OpenAPIDefinition { 3922 return common.OpenAPIDefinition{ 3923 Schema: spec.Schema{ 3924 SchemaProps: spec.SchemaProps{ 3925 Type: []string{"object"}, 3926 Properties: map[string]spec.Schema{ 3927 "args": { 3928 SchemaProps: spec.SchemaProps{ 3929 Description: "Args are the command-line arguments for the apply command. Must have length >= 1.", 3930 Type: []string{"array"}, 3931 Items: &spec.SchemaOrArray{ 3932 Schema: &spec.Schema{ 3933 SchemaProps: spec.SchemaProps{ 3934 Default: "", 3935 Type: []string{"string"}, 3936 Format: "", 3937 }, 3938 }, 3939 }, 3940 }, 3941 }, 3942 "dir": { 3943 SchemaProps: spec.SchemaProps{ 3944 Description: "Process working directory.\n\nIf not specified, will default to Tilt working directory.", 3945 Default: "", 3946 Type: []string{"string"}, 3947 Format: "", 3948 }, 3949 }, 3950 "env": { 3951 SchemaProps: spec.SchemaProps{ 3952 Description: "Env are additional variables for the process environment.\n\nEnvironment variables are layered on top of the environment variables that Tilt runs with.", 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 }, 3966 Required: []string{"args"}, 3967 }, 3968 }, 3969 } 3970 } 3971 3972 func schema_pkg_apis_core_v1alpha1_KubernetesApplyList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3973 return common.OpenAPIDefinition{ 3974 Schema: spec.Schema{ 3975 SchemaProps: spec.SchemaProps{ 3976 Description: "KubernetesApplyList", 3977 Type: []string{"object"}, 3978 Properties: map[string]spec.Schema{ 3979 "kind": { 3980 SchemaProps: spec.SchemaProps{ 3981 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", 3982 Type: []string{"string"}, 3983 Format: "", 3984 }, 3985 }, 3986 "apiVersion": { 3987 SchemaProps: spec.SchemaProps{ 3988 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", 3989 Type: []string{"string"}, 3990 Format: "", 3991 }, 3992 }, 3993 "metadata": { 3994 SchemaProps: spec.SchemaProps{ 3995 Default: map[string]interface{}{}, 3996 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3997 }, 3998 }, 3999 "items": { 4000 SchemaProps: spec.SchemaProps{ 4001 Type: []string{"array"}, 4002 Items: &spec.SchemaOrArray{ 4003 Schema: &spec.Schema{ 4004 SchemaProps: spec.SchemaProps{ 4005 Default: map[string]interface{}{}, 4006 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApply"), 4007 }, 4008 }, 4009 }, 4010 }, 4011 }, 4012 }, 4013 Required: []string{"items"}, 4014 }, 4015 }, 4016 Dependencies: []string{ 4017 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApply", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 4018 } 4019 } 4020 4021 func schema_pkg_apis_core_v1alpha1_KubernetesApplySpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4022 return common.OpenAPIDefinition{ 4023 Schema: spec.Schema{ 4024 SchemaProps: spec.SchemaProps{ 4025 Description: "KubernetesApplySpec defines the desired state of KubernetesApply", 4026 Type: []string{"object"}, 4027 Properties: map[string]spec.Schema{ 4028 "yaml": { 4029 SchemaProps: spec.SchemaProps{ 4030 Description: "YAML to apply to the cluster.\n\nExactly one of YAML OR ApplyCmd MUST be provided.", 4031 Type: []string{"string"}, 4032 Format: "", 4033 }, 4034 }, 4035 "imageMaps": { 4036 SchemaProps: spec.SchemaProps{ 4037 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.", 4038 Type: []string{"array"}, 4039 Items: &spec.SchemaOrArray{ 4040 Schema: &spec.Schema{ 4041 SchemaProps: spec.SchemaProps{ 4042 Default: "", 4043 Type: []string{"string"}, 4044 Format: "", 4045 }, 4046 }, 4047 }, 4048 }, 4049 }, 4050 "imageLocators": { 4051 SchemaProps: spec.SchemaProps{ 4052 Description: "Descriptors of how to find images in the YAML.\n\nNeeded when injecting images into CRDs.", 4053 Type: []string{"array"}, 4054 Items: &spec.SchemaOrArray{ 4055 Schema: &spec.Schema{ 4056 SchemaProps: spec.SchemaProps{ 4057 Default: map[string]interface{}{}, 4058 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageLocator"), 4059 }, 4060 }, 4061 }, 4062 }, 4063 }, 4064 "timeout": { 4065 SchemaProps: spec.SchemaProps{ 4066 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.", 4067 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), 4068 }, 4069 }, 4070 "kubernetesDiscoveryTemplateSpec": { 4071 SchemaProps: spec.SchemaProps{ 4072 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.", 4073 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryTemplateSpec"), 4074 }, 4075 }, 4076 "portForwardTemplateSpec": { 4077 SchemaProps: spec.SchemaProps{ 4078 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.", 4079 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardTemplateSpec"), 4080 }, 4081 }, 4082 "podLogStreamTemplateSpec": { 4083 SchemaProps: spec.SchemaProps{ 4084 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.", 4085 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamTemplateSpec"), 4086 }, 4087 }, 4088 "discoveryStrategy": { 4089 SchemaProps: spec.SchemaProps{ 4090 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.", 4091 Type: []string{"string"}, 4092 Format: "", 4093 }, 4094 }, 4095 "disableSource": { 4096 SchemaProps: spec.SchemaProps{ 4097 Description: "Specifies how to disable this.", 4098 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableSource"), 4099 }, 4100 }, 4101 "applyCmd": { 4102 SchemaProps: spec.SchemaProps{ 4103 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.", 4104 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyCmd"), 4105 }, 4106 }, 4107 "restartOn": { 4108 SchemaProps: spec.SchemaProps{ 4109 Description: "RestartOn determines external triggers that will result in an apply.", 4110 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec"), 4111 }, 4112 }, 4113 "deleteCmd": { 4114 SchemaProps: spec.SchemaProps{ 4115 Description: "DeleteCmd is a custom command to execute to delete entities created by ApplyCmd and clean up any additional state.", 4116 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesApplyCmd"), 4117 }, 4118 }, 4119 "cluster": { 4120 SchemaProps: spec.SchemaProps{ 4121 Description: "Cluster name to determine the Kubernetes cluster.\n\nIf not provided, \"default\" will be used.", 4122 Default: "", 4123 Type: []string{"string"}, 4124 Format: "", 4125 }, 4126 }, 4127 }, 4128 }, 4129 }, 4130 Dependencies: []string{ 4131 "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"}, 4132 } 4133 } 4134 4135 func schema_pkg_apis_core_v1alpha1_KubernetesApplyStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4136 return common.OpenAPIDefinition{ 4137 Schema: spec.Schema{ 4138 SchemaProps: spec.SchemaProps{ 4139 Description: "KubernetesApplyStatus defines the observed state of KubernetesApply", 4140 Type: []string{"object"}, 4141 Properties: map[string]spec.Schema{ 4142 "resultYAML": { 4143 SchemaProps: spec.SchemaProps{ 4144 Description: "The result of applying the YAML to the cluster. This should contain UIDs for the applied resources.", 4145 Type: []string{"string"}, 4146 Format: "", 4147 }, 4148 }, 4149 "error": { 4150 SchemaProps: spec.SchemaProps{ 4151 Description: "An error applying the YAML.\n\nIf there was an error, than ResultYAML should be empty (and vice versa).", 4152 Type: []string{"string"}, 4153 Format: "", 4154 }, 4155 }, 4156 "lastApplyTime": { 4157 SchemaProps: spec.SchemaProps{ 4158 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.", 4159 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4160 }, 4161 }, 4162 "lastApplyStartTime": { 4163 SchemaProps: spec.SchemaProps{ 4164 Description: "Timestamp of when we last started applying this YAML to the cluster.", 4165 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4166 }, 4167 }, 4168 "appliedInputHash": { 4169 SchemaProps: spec.SchemaProps{ 4170 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.", 4171 Type: []string{"string"}, 4172 Format: "", 4173 }, 4174 }, 4175 "disableStatus": { 4176 SchemaProps: spec.SchemaProps{ 4177 Description: "Details about whether/why this is disabled.", 4178 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableStatus"), 4179 }, 4180 }, 4181 "conditions": { 4182 SchemaProps: spec.SchemaProps{ 4183 Description: "Conditions based on the result of the apply.", 4184 Type: []string{"array"}, 4185 Items: &spec.SchemaOrArray{ 4186 Schema: &spec.Schema{ 4187 SchemaProps: spec.SchemaProps{ 4188 Default: map[string]interface{}{}, 4189 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Condition"), 4190 }, 4191 }, 4192 }, 4193 }, 4194 }, 4195 }, 4196 }, 4197 }, 4198 Dependencies: []string{ 4199 "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"}, 4200 } 4201 } 4202 4203 func schema_pkg_apis_core_v1alpha1_KubernetesClusterConnection(ref common.ReferenceCallback) common.OpenAPIDefinition { 4204 return common.OpenAPIDefinition{ 4205 Schema: spec.Schema{ 4206 SchemaProps: spec.SchemaProps{ 4207 Type: []string{"object"}, 4208 Properties: map[string]spec.Schema{ 4209 "context": { 4210 SchemaProps: spec.SchemaProps{ 4211 Description: "The name of the kubeconfig context to use.\n\nIf not specified, will use the default context in the kubeconfig.", 4212 Type: []string{"string"}, 4213 Format: "", 4214 }, 4215 }, 4216 "namespace": { 4217 SchemaProps: spec.SchemaProps{ 4218 Description: "The default namespace to use.\n\nIf not specified, will use the namespace in the kubeconfig.", 4219 Type: []string{"string"}, 4220 Format: "", 4221 }, 4222 }, 4223 }, 4224 }, 4225 }, 4226 } 4227 } 4228 4229 func schema_pkg_apis_core_v1alpha1_KubernetesClusterConnectionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4230 return common.OpenAPIDefinition{ 4231 Schema: spec.Schema{ 4232 SchemaProps: spec.SchemaProps{ 4233 Description: "Kubernetes-specific fields for connection status", 4234 Type: []string{"object"}, 4235 Properties: map[string]spec.Schema{ 4236 "context": { 4237 SchemaProps: spec.SchemaProps{ 4238 Description: "The resolved kubeconfig context.", 4239 Default: "", 4240 Type: []string{"string"}, 4241 Format: "", 4242 }, 4243 }, 4244 "namespace": { 4245 SchemaProps: spec.SchemaProps{ 4246 Description: "The resolved default namespace.", 4247 Default: "", 4248 Type: []string{"string"}, 4249 Format: "", 4250 }, 4251 }, 4252 "cluster": { 4253 SchemaProps: spec.SchemaProps{ 4254 Description: "The resolved cluster name (as determined by the kubeconfig context).", 4255 Default: "", 4256 Type: []string{"string"}, 4257 Format: "", 4258 }, 4259 }, 4260 "product": { 4261 SchemaProps: spec.SchemaProps{ 4262 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", 4263 Type: []string{"string"}, 4264 Format: "", 4265 }, 4266 }, 4267 "configPath": { 4268 SchemaProps: spec.SchemaProps{ 4269 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.", 4270 Type: []string{"string"}, 4271 Format: "", 4272 }, 4273 }, 4274 }, 4275 Required: []string{"context", "namespace", "cluster"}, 4276 }, 4277 }, 4278 } 4279 } 4280 4281 func schema_pkg_apis_core_v1alpha1_KubernetesDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition { 4282 return common.OpenAPIDefinition{ 4283 Schema: spec.Schema{ 4284 SchemaProps: spec.SchemaProps{ 4285 Description: "KubernetesDiscovery", 4286 Type: []string{"object"}, 4287 Properties: map[string]spec.Schema{ 4288 "kind": { 4289 SchemaProps: spec.SchemaProps{ 4290 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", 4291 Type: []string{"string"}, 4292 Format: "", 4293 }, 4294 }, 4295 "apiVersion": { 4296 SchemaProps: spec.SchemaProps{ 4297 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", 4298 Type: []string{"string"}, 4299 Format: "", 4300 }, 4301 }, 4302 "metadata": { 4303 SchemaProps: spec.SchemaProps{ 4304 Default: map[string]interface{}{}, 4305 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4306 }, 4307 }, 4308 "spec": { 4309 SchemaProps: spec.SchemaProps{ 4310 Default: map[string]interface{}{}, 4311 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoverySpec"), 4312 }, 4313 }, 4314 "status": { 4315 SchemaProps: spec.SchemaProps{ 4316 Default: map[string]interface{}{}, 4317 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStatus"), 4318 }, 4319 }, 4320 }, 4321 }, 4322 }, 4323 Dependencies: []string{ 4324 "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"}, 4325 } 4326 } 4327 4328 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryList(ref common.ReferenceCallback) common.OpenAPIDefinition { 4329 return common.OpenAPIDefinition{ 4330 Schema: spec.Schema{ 4331 SchemaProps: spec.SchemaProps{ 4332 Description: "KubernetesDiscoveryList", 4333 Type: []string{"object"}, 4334 Properties: map[string]spec.Schema{ 4335 "kind": { 4336 SchemaProps: spec.SchemaProps{ 4337 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", 4338 Type: []string{"string"}, 4339 Format: "", 4340 }, 4341 }, 4342 "apiVersion": { 4343 SchemaProps: spec.SchemaProps{ 4344 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", 4345 Type: []string{"string"}, 4346 Format: "", 4347 }, 4348 }, 4349 "metadata": { 4350 SchemaProps: spec.SchemaProps{ 4351 Default: map[string]interface{}{}, 4352 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 4353 }, 4354 }, 4355 "items": { 4356 SchemaProps: spec.SchemaProps{ 4357 Type: []string{"array"}, 4358 Items: &spec.SchemaOrArray{ 4359 Schema: &spec.Schema{ 4360 SchemaProps: spec.SchemaProps{ 4361 Default: map[string]interface{}{}, 4362 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscovery"), 4363 }, 4364 }, 4365 }, 4366 }, 4367 }, 4368 }, 4369 Required: []string{"items"}, 4370 }, 4371 }, 4372 Dependencies: []string{ 4373 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 4374 } 4375 } 4376 4377 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoverySpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4378 return common.OpenAPIDefinition{ 4379 Schema: spec.Schema{ 4380 SchemaProps: spec.SchemaProps{ 4381 Description: "KubernetesDiscoverySpec defines the desired state of KubernetesDiscovery", 4382 Type: []string{"object"}, 4383 Properties: map[string]spec.Schema{ 4384 "watches": { 4385 SchemaProps: spec.SchemaProps{ 4386 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.", 4387 Type: []string{"array"}, 4388 Items: &spec.SchemaOrArray{ 4389 Schema: &spec.Schema{ 4390 SchemaProps: spec.SchemaProps{ 4391 Default: map[string]interface{}{}, 4392 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesWatchRef"), 4393 }, 4394 }, 4395 }, 4396 }, 4397 }, 4398 "extraSelectors": { 4399 SchemaProps: spec.SchemaProps{ 4400 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.", 4401 Type: []string{"array"}, 4402 Items: &spec.SchemaOrArray{ 4403 Schema: &spec.Schema{ 4404 SchemaProps: spec.SchemaProps{ 4405 Default: map[string]interface{}{}, 4406 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), 4407 }, 4408 }, 4409 }, 4410 }, 4411 }, 4412 "portForwardTemplateSpec": { 4413 SchemaProps: spec.SchemaProps{ 4414 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.", 4415 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardTemplateSpec"), 4416 }, 4417 }, 4418 "podLogStreamTemplateSpec": { 4419 SchemaProps: spec.SchemaProps{ 4420 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.", 4421 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamTemplateSpec"), 4422 }, 4423 }, 4424 "cluster": { 4425 SchemaProps: spec.SchemaProps{ 4426 Description: "Cluster name to determine the Kubernetes cluster.\n\nIf not provided, \"default\" will be used.", 4427 Default: "", 4428 Type: []string{"string"}, 4429 Format: "", 4430 }, 4431 }, 4432 }, 4433 Required: []string{"watches"}, 4434 }, 4435 }, 4436 Dependencies: []string{ 4437 "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"}, 4438 } 4439 } 4440 4441 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 4442 return common.OpenAPIDefinition{ 4443 Schema: spec.Schema{ 4444 SchemaProps: spec.SchemaProps{ 4445 Type: []string{"object"}, 4446 Properties: map[string]spec.Schema{ 4447 "startTime": { 4448 SchemaProps: spec.SchemaProps{ 4449 Description: "StartTime is when Kubernetes resource discovery began.", 4450 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4451 }, 4452 }, 4453 }, 4454 Required: []string{"startTime"}, 4455 }, 4456 }, 4457 Dependencies: []string{ 4458 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 4459 } 4460 } 4461 4462 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 4463 return common.OpenAPIDefinition{ 4464 Schema: spec.Schema{ 4465 SchemaProps: spec.SchemaProps{ 4466 Type: []string{"object"}, 4467 Properties: map[string]spec.Schema{ 4468 "reason": { 4469 SchemaProps: spec.SchemaProps{ 4470 Description: "Reason the monitor has not yet been started.", 4471 Default: "", 4472 Type: []string{"string"}, 4473 Format: "", 4474 }, 4475 }, 4476 }, 4477 Required: []string{"reason"}, 4478 }, 4479 }, 4480 } 4481 } 4482 4483 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4484 return common.OpenAPIDefinition{ 4485 Schema: spec.Schema{ 4486 SchemaProps: spec.SchemaProps{ 4487 Description: "KubernetesDiscoveryStatus defines the observed state of KubernetesDiscovery", 4488 Type: []string{"object"}, 4489 Properties: map[string]spec.Schema{ 4490 "monitorStartTime": { 4491 SchemaProps: spec.SchemaProps{ 4492 Description: "MonitorStartTime is the timestamp of when Kubernetes resource discovery was started.\n\nIt is zero if discovery has not been started yet.", 4493 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4494 }, 4495 }, 4496 "pods": { 4497 SchemaProps: spec.SchemaProps{ 4498 Description: "Pods that have been discovered based on the criteria in the spec.", 4499 Type: []string{"array"}, 4500 Items: &spec.SchemaOrArray{ 4501 Schema: &spec.Schema{ 4502 SchemaProps: spec.SchemaProps{ 4503 Default: map[string]interface{}{}, 4504 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Pod"), 4505 }, 4506 }, 4507 }, 4508 }, 4509 }, 4510 "waiting": { 4511 SchemaProps: spec.SchemaProps{ 4512 Description: "Waiting contains information about why the monitor has not started.", 4513 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateWaiting"), 4514 }, 4515 }, 4516 "running": { 4517 SchemaProps: spec.SchemaProps{ 4518 Description: "Running contains information about the currently running monitor.", 4519 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesDiscoveryStateRunning"), 4520 }, 4521 }, 4522 }, 4523 Required: []string{"pods"}, 4524 }, 4525 }, 4526 Dependencies: []string{ 4527 "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"}, 4528 } 4529 } 4530 4531 func schema_pkg_apis_core_v1alpha1_KubernetesDiscoveryTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4532 return common.OpenAPIDefinition{ 4533 Schema: spec.Schema{ 4534 SchemaProps: spec.SchemaProps{ 4535 Type: []string{"object"}, 4536 Properties: map[string]spec.Schema{ 4537 "extraSelectors": { 4538 SchemaProps: spec.SchemaProps{ 4539 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.", 4540 Type: []string{"array"}, 4541 Items: &spec.SchemaOrArray{ 4542 Schema: &spec.Schema{ 4543 SchemaProps: spec.SchemaProps{ 4544 Default: map[string]interface{}{}, 4545 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), 4546 }, 4547 }, 4548 }, 4549 }, 4550 }, 4551 }, 4552 }, 4553 }, 4554 Dependencies: []string{ 4555 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"}, 4556 } 4557 } 4558 4559 func schema_pkg_apis_core_v1alpha1_KubernetesImageLocator(ref common.ReferenceCallback) common.OpenAPIDefinition { 4560 return common.OpenAPIDefinition{ 4561 Schema: spec.Schema{ 4562 SchemaProps: spec.SchemaProps{ 4563 Description: "Finds image references in Kubernetes YAML.", 4564 Type: []string{"object"}, 4565 Properties: map[string]spec.Schema{ 4566 "objectSelector": { 4567 SchemaProps: spec.SchemaProps{ 4568 Description: "Selects which objects to look in.", 4569 Default: map[string]interface{}{}, 4570 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ObjectSelector"), 4571 }, 4572 }, 4573 "path": { 4574 SchemaProps: spec.SchemaProps{ 4575 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.", 4576 Default: "", 4577 Type: []string{"string"}, 4578 Format: "", 4579 }, 4580 }, 4581 "object": { 4582 SchemaProps: spec.SchemaProps{ 4583 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.", 4584 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageObjectDescriptor"), 4585 }, 4586 }, 4587 }, 4588 Required: []string{"objectSelector", "path"}, 4589 }, 4590 }, 4591 Dependencies: []string{ 4592 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.KubernetesImageObjectDescriptor", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ObjectSelector"}, 4593 } 4594 } 4595 4596 func schema_pkg_apis_core_v1alpha1_KubernetesImageObjectDescriptor(ref common.ReferenceCallback) common.OpenAPIDefinition { 4597 return common.OpenAPIDefinition{ 4598 Schema: spec.Schema{ 4599 SchemaProps: spec.SchemaProps{ 4600 Type: []string{"object"}, 4601 Properties: map[string]spec.Schema{ 4602 "repoField": { 4603 SchemaProps: spec.SchemaProps{ 4604 Description: "The name of the field that contains the image repository.", 4605 Default: "", 4606 Type: []string{"string"}, 4607 Format: "", 4608 }, 4609 }, 4610 "tagField": { 4611 SchemaProps: spec.SchemaProps{ 4612 Description: "The name of the field that contains the image tag.", 4613 Default: "", 4614 Type: []string{"string"}, 4615 Format: "", 4616 }, 4617 }, 4618 }, 4619 Required: []string{"repoField", "tagField"}, 4620 }, 4621 }, 4622 } 4623 } 4624 4625 func schema_pkg_apis_core_v1alpha1_KubernetesWatchRef(ref common.ReferenceCallback) common.OpenAPIDefinition { 4626 return common.OpenAPIDefinition{ 4627 Schema: spec.Schema{ 4628 SchemaProps: spec.SchemaProps{ 4629 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.", 4630 Type: []string{"object"}, 4631 Properties: map[string]spec.Schema{ 4632 "uid": { 4633 SchemaProps: spec.SchemaProps{ 4634 Description: "UID is a Kubernetes object UID.\n\nIt should either be the exact object UID or the transitive owner.", 4635 Type: []string{"string"}, 4636 Format: "", 4637 }, 4638 }, 4639 "namespace": { 4640 SchemaProps: spec.SchemaProps{ 4641 Description: "Namespace is the Kubernetes namespace for discovery. Required.", 4642 Default: "", 4643 Type: []string{"string"}, 4644 Format: "", 4645 }, 4646 }, 4647 "name": { 4648 SchemaProps: spec.SchemaProps{ 4649 Description: "Name is the Kubernetes object name.\n\nThis is not directly used in discovery; it is extra metadata.", 4650 Type: []string{"string"}, 4651 Format: "", 4652 }, 4653 }, 4654 }, 4655 Required: []string{"namespace"}, 4656 }, 4657 }, 4658 } 4659 } 4660 4661 func schema_pkg_apis_core_v1alpha1_LiveUpdate(ref common.ReferenceCallback) common.OpenAPIDefinition { 4662 return common.OpenAPIDefinition{ 4663 Schema: spec.Schema{ 4664 SchemaProps: spec.SchemaProps{ 4665 Description: "LiveUpdate", 4666 Type: []string{"object"}, 4667 Properties: map[string]spec.Schema{ 4668 "kind": { 4669 SchemaProps: spec.SchemaProps{ 4670 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", 4671 Type: []string{"string"}, 4672 Format: "", 4673 }, 4674 }, 4675 "apiVersion": { 4676 SchemaProps: spec.SchemaProps{ 4677 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", 4678 Type: []string{"string"}, 4679 Format: "", 4680 }, 4681 }, 4682 "metadata": { 4683 SchemaProps: spec.SchemaProps{ 4684 Default: map[string]interface{}{}, 4685 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4686 }, 4687 }, 4688 "spec": { 4689 SchemaProps: spec.SchemaProps{ 4690 Default: map[string]interface{}{}, 4691 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSpec"), 4692 }, 4693 }, 4694 "status": { 4695 SchemaProps: spec.SchemaProps{ 4696 Default: map[string]interface{}{}, 4697 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStatus"), 4698 }, 4699 }, 4700 }, 4701 }, 4702 }, 4703 Dependencies: []string{ 4704 "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"}, 4705 } 4706 } 4707 4708 func schema_pkg_apis_core_v1alpha1_LiveUpdateContainerStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 4709 return common.OpenAPIDefinition{ 4710 Schema: spec.Schema{ 4711 SchemaProps: spec.SchemaProps{ 4712 Type: []string{"object"}, 4713 Properties: map[string]spec.Schema{ 4714 "reason": { 4715 SchemaProps: spec.SchemaProps{ 4716 Description: "One word camel-case reason why we're in a waiting state.", 4717 Type: []string{"string"}, 4718 Format: "", 4719 }, 4720 }, 4721 "message": { 4722 SchemaProps: spec.SchemaProps{ 4723 Description: "Human-readable description of what's blocking.", 4724 Type: []string{"string"}, 4725 Format: "", 4726 }, 4727 }, 4728 }, 4729 }, 4730 }, 4731 } 4732 } 4733 4734 func schema_pkg_apis_core_v1alpha1_LiveUpdateContainerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4735 return common.OpenAPIDefinition{ 4736 Schema: spec.Schema{ 4737 SchemaProps: spec.SchemaProps{ 4738 Description: "LiveUpdateContainerStatus defines the observed state of the live-update syncer for a particular container.", 4739 Type: []string{"object"}, 4740 Properties: map[string]spec.Schema{ 4741 "containerName": { 4742 SchemaProps: spec.SchemaProps{ 4743 Description: "The name of the container in the pod.", 4744 Default: "", 4745 Type: []string{"string"}, 4746 Format: "", 4747 }, 4748 }, 4749 "containerID": { 4750 SchemaProps: spec.SchemaProps{ 4751 Description: "The ID of the container in the pod, in the format 'docker://<container_id>'.", 4752 Type: []string{"string"}, 4753 Format: "", 4754 }, 4755 }, 4756 "podName": { 4757 SchemaProps: spec.SchemaProps{ 4758 Description: "The name of the pod this container belongs to.", 4759 Default: "", 4760 Type: []string{"string"}, 4761 Format: "", 4762 }, 4763 }, 4764 "namespace": { 4765 SchemaProps: spec.SchemaProps{ 4766 Description: "The namespace of the pod this container belongs to.", 4767 Default: "", 4768 Type: []string{"string"}, 4769 Format: "", 4770 }, 4771 }, 4772 "lastFileTimeSynced": { 4773 SchemaProps: spec.SchemaProps{ 4774 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.", 4775 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 4776 }, 4777 }, 4778 "lastExecError": { 4779 SchemaProps: spec.SchemaProps{ 4780 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.", 4781 Type: []string{"string"}, 4782 Format: "", 4783 }, 4784 }, 4785 "waiting": { 4786 SchemaProps: spec.SchemaProps{ 4787 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.", 4788 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStateWaiting"), 4789 }, 4790 }, 4791 }, 4792 Required: []string{"containerName", "podName", "namespace"}, 4793 }, 4794 }, 4795 Dependencies: []string{ 4796 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStateWaiting", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 4797 } 4798 } 4799 4800 func schema_pkg_apis_core_v1alpha1_LiveUpdateDockerComposeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 4801 return common.OpenAPIDefinition{ 4802 Schema: spec.Schema{ 4803 SchemaProps: spec.SchemaProps{ 4804 Description: "Specifies how to select containers to live update inside Docker Compose.", 4805 Type: []string{"object"}, 4806 Properties: map[string]spec.Schema{ 4807 "service": { 4808 SchemaProps: spec.SchemaProps{ 4809 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.)", 4810 Default: "", 4811 Type: []string{"string"}, 4812 Format: "", 4813 }, 4814 }, 4815 }, 4816 Required: []string{"service"}, 4817 }, 4818 }, 4819 } 4820 } 4821 4822 func schema_pkg_apis_core_v1alpha1_LiveUpdateExec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4823 return common.OpenAPIDefinition{ 4824 Schema: spec.Schema{ 4825 SchemaProps: spec.SchemaProps{ 4826 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).", 4827 Type: []string{"object"}, 4828 Properties: map[string]spec.Schema{ 4829 "args": { 4830 SchemaProps: spec.SchemaProps{ 4831 Description: "Command-line arguments to run inside the container. Must have length at least 1.", 4832 Type: []string{"array"}, 4833 Items: &spec.SchemaOrArray{ 4834 Schema: &spec.Schema{ 4835 SchemaProps: spec.SchemaProps{ 4836 Default: "", 4837 Type: []string{"string"}, 4838 Format: "", 4839 }, 4840 }, 4841 }, 4842 }, 4843 }, 4844 "triggerPaths": { 4845 SchemaProps: spec.SchemaProps{ 4846 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.", 4847 Type: []string{"array"}, 4848 Items: &spec.SchemaOrArray{ 4849 Schema: &spec.Schema{ 4850 SchemaProps: spec.SchemaProps{ 4851 Default: "", 4852 Type: []string{"string"}, 4853 Format: "", 4854 }, 4855 }, 4856 }, 4857 }, 4858 }, 4859 "echoOff": { 4860 SchemaProps: spec.SchemaProps{ 4861 Default: false, 4862 Type: []string{"boolean"}, 4863 Format: "", 4864 }, 4865 }, 4866 }, 4867 Required: []string{"args", "echoOff"}, 4868 }, 4869 }, 4870 } 4871 } 4872 4873 func schema_pkg_apis_core_v1alpha1_LiveUpdateKubernetesSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 4874 return common.OpenAPIDefinition{ 4875 Schema: spec.Schema{ 4876 SchemaProps: spec.SchemaProps{ 4877 Description: "Specifies how to select containers to live update inside K8s.", 4878 Type: []string{"object"}, 4879 Properties: map[string]spec.Schema{ 4880 "discoveryName": { 4881 SchemaProps: spec.SchemaProps{ 4882 Description: "The name of a KubernetesDiscovery object for finding pods.", 4883 Default: "", 4884 Type: []string{"string"}, 4885 Format: "", 4886 }, 4887 }, 4888 "applyName": { 4889 SchemaProps: spec.SchemaProps{ 4890 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.", 4891 Type: []string{"string"}, 4892 Format: "", 4893 }, 4894 }, 4895 "image": { 4896 SchemaProps: spec.SchemaProps{ 4897 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.", 4898 Type: []string{"string"}, 4899 Format: "", 4900 }, 4901 }, 4902 "containerName": { 4903 SchemaProps: spec.SchemaProps{ 4904 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.", 4905 Type: []string{"string"}, 4906 Format: "", 4907 }, 4908 }, 4909 "imageMapName": { 4910 SchemaProps: spec.SchemaProps{ 4911 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.", 4912 Type: []string{"string"}, 4913 Format: "", 4914 }, 4915 }, 4916 }, 4917 Required: []string{"discoveryName"}, 4918 }, 4919 }, 4920 } 4921 } 4922 4923 func schema_pkg_apis_core_v1alpha1_LiveUpdateList(ref common.ReferenceCallback) common.OpenAPIDefinition { 4924 return common.OpenAPIDefinition{ 4925 Schema: spec.Schema{ 4926 SchemaProps: spec.SchemaProps{ 4927 Description: "LiveUpdateList", 4928 Type: []string{"object"}, 4929 Properties: map[string]spec.Schema{ 4930 "kind": { 4931 SchemaProps: spec.SchemaProps{ 4932 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", 4933 Type: []string{"string"}, 4934 Format: "", 4935 }, 4936 }, 4937 "apiVersion": { 4938 SchemaProps: spec.SchemaProps{ 4939 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", 4940 Type: []string{"string"}, 4941 Format: "", 4942 }, 4943 }, 4944 "metadata": { 4945 SchemaProps: spec.SchemaProps{ 4946 Default: map[string]interface{}{}, 4947 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 4948 }, 4949 }, 4950 "items": { 4951 SchemaProps: spec.SchemaProps{ 4952 Type: []string{"array"}, 4953 Items: &spec.SchemaOrArray{ 4954 Schema: &spec.Schema{ 4955 SchemaProps: spec.SchemaProps{ 4956 Default: map[string]interface{}{}, 4957 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdate"), 4958 }, 4959 }, 4960 }, 4961 }, 4962 }, 4963 }, 4964 Required: []string{"items"}, 4965 }, 4966 }, 4967 Dependencies: []string{ 4968 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 4969 } 4970 } 4971 4972 func schema_pkg_apis_core_v1alpha1_LiveUpdateSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 4973 return common.OpenAPIDefinition{ 4974 Schema: spec.Schema{ 4975 SchemaProps: spec.SchemaProps{ 4976 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).", 4977 Type: []string{"object"}, 4978 Properties: map[string]spec.Schema{ 4979 "kubernetes": { 4980 SchemaProps: spec.SchemaProps{ 4981 Description: "Finds containers in Kubernetes.", 4982 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateKubernetesSelector"), 4983 }, 4984 }, 4985 "dockerCompose": { 4986 SchemaProps: spec.SchemaProps{ 4987 Description: "Finds containers in Docker Compose.", 4988 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateDockerComposeSelector"), 4989 }, 4990 }, 4991 }, 4992 }, 4993 }, 4994 Dependencies: []string{ 4995 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateDockerComposeSelector", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateKubernetesSelector"}, 4996 } 4997 } 4998 4999 func schema_pkg_apis_core_v1alpha1_LiveUpdateSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 5000 return common.OpenAPIDefinition{ 5001 Schema: spec.Schema{ 5002 SchemaProps: spec.SchemaProps{ 5003 Description: "Specifies how to pull in files.", 5004 Type: []string{"object"}, 5005 Properties: map[string]spec.Schema{ 5006 "fileWatch": { 5007 SchemaProps: spec.SchemaProps{ 5008 Description: "The name of a FileWatch to use as a file source.", 5009 Type: []string{"string"}, 5010 Format: "", 5011 }, 5012 }, 5013 "imageMap": { 5014 SchemaProps: spec.SchemaProps{ 5015 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.", 5016 Type: []string{"string"}, 5017 Format: "", 5018 }, 5019 }, 5020 }, 5021 }, 5022 }, 5023 } 5024 } 5025 5026 func schema_pkg_apis_core_v1alpha1_LiveUpdateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5027 return common.OpenAPIDefinition{ 5028 Schema: spec.Schema{ 5029 SchemaProps: spec.SchemaProps{ 5030 Description: "LiveUpdateSpec defines the desired state of LiveUpdate", 5031 Type: []string{"object"}, 5032 Properties: map[string]spec.Schema{ 5033 "basePath": { 5034 SchemaProps: spec.SchemaProps{ 5035 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.", 5036 Default: "", 5037 Type: []string{"string"}, 5038 Format: "", 5039 }, 5040 }, 5041 "selector": { 5042 SchemaProps: spec.SchemaProps{ 5043 Description: "Specifies how this live-updater finds the containers that need live update.", 5044 Default: map[string]interface{}{}, 5045 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSelector"), 5046 }, 5047 }, 5048 "sources": { 5049 SchemaProps: spec.SchemaProps{ 5050 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.", 5051 Type: []string{"array"}, 5052 Items: &spec.SchemaOrArray{ 5053 Schema: &spec.Schema{ 5054 SchemaProps: spec.SchemaProps{ 5055 Default: map[string]interface{}{}, 5056 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSource"), 5057 }, 5058 }, 5059 }, 5060 }, 5061 }, 5062 "stopPaths": { 5063 SchemaProps: spec.SchemaProps{ 5064 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.", 5065 Type: []string{"array"}, 5066 Items: &spec.SchemaOrArray{ 5067 Schema: &spec.Schema{ 5068 SchemaProps: spec.SchemaProps{ 5069 Default: "", 5070 Type: []string{"string"}, 5071 Format: "", 5072 }, 5073 }, 5074 }, 5075 }, 5076 }, 5077 "syncs": { 5078 SchemaProps: spec.SchemaProps{ 5079 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.", 5080 Type: []string{"array"}, 5081 Items: &spec.SchemaOrArray{ 5082 Schema: &spec.Schema{ 5083 SchemaProps: spec.SchemaProps{ 5084 Default: map[string]interface{}{}, 5085 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateSync"), 5086 }, 5087 }, 5088 }, 5089 }, 5090 }, 5091 "execs": { 5092 SchemaProps: spec.SchemaProps{ 5093 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.", 5094 Type: []string{"array"}, 5095 Items: &spec.SchemaOrArray{ 5096 Schema: &spec.Schema{ 5097 SchemaProps: spec.SchemaProps{ 5098 Default: map[string]interface{}{}, 5099 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateExec"), 5100 }, 5101 }, 5102 }, 5103 }, 5104 }, 5105 "restart": { 5106 SchemaProps: spec.SchemaProps{ 5107 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", 5108 Type: []string{"string"}, 5109 Format: "", 5110 }, 5111 }, 5112 }, 5113 Required: []string{"basePath", "selector"}, 5114 }, 5115 }, 5116 Dependencies: []string{ 5117 "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"}, 5118 } 5119 } 5120 5121 func schema_pkg_apis_core_v1alpha1_LiveUpdateStateFailed(ref common.ReferenceCallback) common.OpenAPIDefinition { 5122 return common.OpenAPIDefinition{ 5123 Schema: spec.Schema{ 5124 SchemaProps: spec.SchemaProps{ 5125 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.", 5126 Type: []string{"object"}, 5127 Properties: map[string]spec.Schema{ 5128 "reason": { 5129 SchemaProps: spec.SchemaProps{ 5130 Description: "One word camel-case reason why we've reached a failure state.", 5131 Type: []string{"string"}, 5132 Format: "", 5133 }, 5134 }, 5135 "message": { 5136 SchemaProps: spec.SchemaProps{ 5137 Description: "Human-readable description of what's wrong.", 5138 Type: []string{"string"}, 5139 Format: "", 5140 }, 5141 }, 5142 "lastTransitionTime": { 5143 SchemaProps: spec.SchemaProps{ 5144 Description: "When the live-updater transitioned into a Failed state.", 5145 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 5146 }, 5147 }, 5148 }, 5149 }, 5150 }, 5151 Dependencies: []string{ 5152 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 5153 } 5154 } 5155 5156 func schema_pkg_apis_core_v1alpha1_LiveUpdateStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5157 return common.OpenAPIDefinition{ 5158 Schema: spec.Schema{ 5159 SchemaProps: spec.SchemaProps{ 5160 Description: "LiveUpdateStatus defines the observed state of LiveUpdate", 5161 Type: []string{"object"}, 5162 Properties: map[string]spec.Schema{ 5163 "containers": { 5164 SchemaProps: spec.SchemaProps{ 5165 Description: "A list of all containers that the live-updater is currently connected to.", 5166 Type: []string{"array"}, 5167 Items: &spec.SchemaOrArray{ 5168 Schema: &spec.Schema{ 5169 SchemaProps: spec.SchemaProps{ 5170 Default: map[string]interface{}{}, 5171 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStatus"), 5172 }, 5173 }, 5174 }, 5175 }, 5176 }, 5177 "failed": { 5178 SchemaProps: spec.SchemaProps{ 5179 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.", 5180 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStateFailed"), 5181 }, 5182 }, 5183 }, 5184 }, 5185 }, 5186 Dependencies: []string{ 5187 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateContainerStatus", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.LiveUpdateStateFailed"}, 5188 } 5189 } 5190 5191 func schema_pkg_apis_core_v1alpha1_LiveUpdateSync(ref common.ReferenceCallback) common.OpenAPIDefinition { 5192 return common.OpenAPIDefinition{ 5193 Schema: spec.Schema{ 5194 SchemaProps: spec.SchemaProps{ 5195 Description: "Determines how a local path maps into a container image.", 5196 Type: []string{"object"}, 5197 Properties: map[string]spec.Schema{ 5198 "localPath": { 5199 SchemaProps: spec.SchemaProps{ 5200 Description: "A relative path to local files. Required.\n\nComputed relative to the live-update BasePath.", 5201 Default: "", 5202 Type: []string{"string"}, 5203 Format: "", 5204 }, 5205 }, 5206 "containerPath": { 5207 SchemaProps: spec.SchemaProps{ 5208 Description: "An absolute path inside the container. Required.", 5209 Default: "", 5210 Type: []string{"string"}, 5211 Format: "", 5212 }, 5213 }, 5214 }, 5215 Required: []string{"localPath", "containerPath"}, 5216 }, 5217 }, 5218 } 5219 } 5220 5221 func schema_pkg_apis_core_v1alpha1_ObjectSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 5222 return common.OpenAPIDefinition{ 5223 Schema: spec.Schema{ 5224 SchemaProps: spec.SchemaProps{ 5225 Description: "Selector for any Kubernetes-style API.", 5226 Type: []string{"object"}, 5227 Properties: map[string]spec.Schema{ 5228 "apiVersionRegexp": { 5229 SchemaProps: spec.SchemaProps{ 5230 Description: "A regular expression apiVersion match.", 5231 Type: []string{"string"}, 5232 Format: "", 5233 }, 5234 }, 5235 "kindRegexp": { 5236 SchemaProps: spec.SchemaProps{ 5237 Description: "A regular expression kind match.", 5238 Type: []string{"string"}, 5239 Format: "", 5240 }, 5241 }, 5242 "nameRegexp": { 5243 SchemaProps: spec.SchemaProps{ 5244 Description: "A regular expression name match.", 5245 Type: []string{"string"}, 5246 Format: "", 5247 }, 5248 }, 5249 "namespaceRegexp": { 5250 SchemaProps: spec.SchemaProps{ 5251 Description: "A regular expression namespace match.", 5252 Type: []string{"string"}, 5253 Format: "", 5254 }, 5255 }, 5256 }, 5257 }, 5258 }, 5259 } 5260 } 5261 5262 func schema_pkg_apis_core_v1alpha1_Pod(ref common.ReferenceCallback) common.OpenAPIDefinition { 5263 return common.OpenAPIDefinition{ 5264 Schema: spec.Schema{ 5265 SchemaProps: spec.SchemaProps{ 5266 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.", 5267 Type: []string{"object"}, 5268 Properties: map[string]spec.Schema{ 5269 "uid": { 5270 SchemaProps: spec.SchemaProps{ 5271 Description: "UID is the unique Pod UID within the K8s cluster.", 5272 Default: "", 5273 Type: []string{"string"}, 5274 Format: "", 5275 }, 5276 }, 5277 "name": { 5278 SchemaProps: spec.SchemaProps{ 5279 Description: "Name is the Pod name within the K8s cluster.", 5280 Default: "", 5281 Type: []string{"string"}, 5282 Format: "", 5283 }, 5284 }, 5285 "namespace": { 5286 SchemaProps: spec.SchemaProps{ 5287 Description: "Namespace is the Pod namespace within the K8s cluster.", 5288 Default: "", 5289 Type: []string{"string"}, 5290 Format: "", 5291 }, 5292 }, 5293 "createdAt": { 5294 SchemaProps: spec.SchemaProps{ 5295 Description: "CreatedAt is when the Pod was created.", 5296 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5297 }, 5298 }, 5299 "phase": { 5300 SchemaProps: spec.SchemaProps{ 5301 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.", 5302 Default: "", 5303 Type: []string{"string"}, 5304 Format: "", 5305 }, 5306 }, 5307 "deleting": { 5308 SchemaProps: spec.SchemaProps{ 5309 Description: "Deleting indicates that the Pod is in the process of being removed.", 5310 Default: false, 5311 Type: []string{"boolean"}, 5312 Format: "", 5313 }, 5314 }, 5315 "conditions": { 5316 SchemaProps: spec.SchemaProps{ 5317 Description: "Conditions are various lifecycle conditions for this Pod.\n\nSee also v1.PodCondition in the Kubernetes API.", 5318 Type: []string{"array"}, 5319 Items: &spec.SchemaOrArray{ 5320 Schema: &spec.Schema{ 5321 SchemaProps: spec.SchemaProps{ 5322 Default: map[string]interface{}{}, 5323 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodCondition"), 5324 }, 5325 }, 5326 }, 5327 }, 5328 }, 5329 "initContainers": { 5330 SchemaProps: spec.SchemaProps{ 5331 Description: "InitContainers are containers executed prior to the Pod containers being executed.", 5332 Type: []string{"array"}, 5333 Items: &spec.SchemaOrArray{ 5334 Schema: &spec.Schema{ 5335 SchemaProps: spec.SchemaProps{ 5336 Default: map[string]interface{}{}, 5337 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Container"), 5338 }, 5339 }, 5340 }, 5341 }, 5342 }, 5343 "containers": { 5344 SchemaProps: spec.SchemaProps{ 5345 Description: "Containers are the containers belonging to the Pod.", 5346 Type: []string{"array"}, 5347 Items: &spec.SchemaOrArray{ 5348 Schema: &spec.Schema{ 5349 SchemaProps: spec.SchemaProps{ 5350 Default: map[string]interface{}{}, 5351 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Container"), 5352 }, 5353 }, 5354 }, 5355 }, 5356 }, 5357 "ancestorUID": { 5358 SchemaProps: spec.SchemaProps{ 5359 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.", 5360 Type: []string{"string"}, 5361 Format: "", 5362 }, 5363 }, 5364 "podTemplateSpecHash": { 5365 SchemaProps: spec.SchemaProps{ 5366 Description: "PodTemplateSpecHash is a hash of the Pod template spec.\n\nTilt uses this to associate Pods with the build that triggered them.", 5367 Type: []string{"string"}, 5368 Format: "", 5369 }, 5370 }, 5371 "status": { 5372 SchemaProps: spec.SchemaProps{ 5373 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.", 5374 Default: "", 5375 Type: []string{"string"}, 5376 Format: "", 5377 }, 5378 }, 5379 "errors": { 5380 SchemaProps: spec.SchemaProps{ 5381 Description: "Errors are aggregated error messages for the Pod and its containers.", 5382 Type: []string{"array"}, 5383 Items: &spec.SchemaOrArray{ 5384 Schema: &spec.Schema{ 5385 SchemaProps: spec.SchemaProps{ 5386 Default: "", 5387 Type: []string{"string"}, 5388 Format: "", 5389 }, 5390 }, 5391 }, 5392 }, 5393 }, 5394 "owner": { 5395 SchemaProps: spec.SchemaProps{ 5396 Description: "Direct owner of this pod, if available.", 5397 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodOwner"), 5398 }, 5399 }, 5400 }, 5401 Required: []string{"uid", "name", "namespace", "createdAt", "phase", "deleting", "containers", "status", "errors"}, 5402 }, 5403 }, 5404 Dependencies: []string{ 5405 "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"}, 5406 } 5407 } 5408 5409 func schema_pkg_apis_core_v1alpha1_PodCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 5410 return common.OpenAPIDefinition{ 5411 Schema: spec.Schema{ 5412 SchemaProps: spec.SchemaProps{ 5413 Description: "PodCondition is a lifecycle condition for a Pod.", 5414 Type: []string{"object"}, 5415 Properties: map[string]spec.Schema{ 5416 "type": { 5417 SchemaProps: spec.SchemaProps{ 5418 Description: "Type is the type of condition.\n\nValid values for this are v1.PodConditionType values from the Kubernetes API.", 5419 Default: "", 5420 Type: []string{"string"}, 5421 Format: "", 5422 }, 5423 }, 5424 "status": { 5425 SchemaProps: spec.SchemaProps{ 5426 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.", 5427 Default: "", 5428 Type: []string{"string"}, 5429 Format: "", 5430 }, 5431 }, 5432 "lastTransitionTime": { 5433 SchemaProps: spec.SchemaProps{ 5434 Description: "LastTransitionTime is the last time the status changed.", 5435 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5436 }, 5437 }, 5438 "reason": { 5439 SchemaProps: spec.SchemaProps{ 5440 Description: "Reason is a unique, one-word, CamelCase value for the cause of the last status change.", 5441 Type: []string{"string"}, 5442 Format: "", 5443 }, 5444 }, 5445 "message": { 5446 SchemaProps: spec.SchemaProps{ 5447 Description: "Message is a human-readable description of the last status change.", 5448 Type: []string{"string"}, 5449 Format: "", 5450 }, 5451 }, 5452 }, 5453 Required: []string{"type", "status"}, 5454 }, 5455 }, 5456 Dependencies: []string{ 5457 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5458 } 5459 } 5460 5461 func schema_pkg_apis_core_v1alpha1_PodLogStream(ref common.ReferenceCallback) common.OpenAPIDefinition { 5462 return common.OpenAPIDefinition{ 5463 Schema: spec.Schema{ 5464 SchemaProps: spec.SchemaProps{ 5465 Description: "PodLogStream\n\nStreams logs from a pod on Kubernetes into the core Tilt engine.", 5466 Type: []string{"object"}, 5467 Properties: map[string]spec.Schema{ 5468 "kind": { 5469 SchemaProps: spec.SchemaProps{ 5470 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", 5471 Type: []string{"string"}, 5472 Format: "", 5473 }, 5474 }, 5475 "apiVersion": { 5476 SchemaProps: spec.SchemaProps{ 5477 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", 5478 Type: []string{"string"}, 5479 Format: "", 5480 }, 5481 }, 5482 "metadata": { 5483 SchemaProps: spec.SchemaProps{ 5484 Default: map[string]interface{}{}, 5485 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 5486 }, 5487 }, 5488 "spec": { 5489 SchemaProps: spec.SchemaProps{ 5490 Default: map[string]interface{}{}, 5491 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamSpec"), 5492 }, 5493 }, 5494 "status": { 5495 SchemaProps: spec.SchemaProps{ 5496 Default: map[string]interface{}{}, 5497 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStreamStatus"), 5498 }, 5499 }, 5500 }, 5501 }, 5502 }, 5503 Dependencies: []string{ 5504 "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"}, 5505 } 5506 } 5507 5508 func schema_pkg_apis_core_v1alpha1_PodLogStreamList(ref common.ReferenceCallback) common.OpenAPIDefinition { 5509 return common.OpenAPIDefinition{ 5510 Schema: spec.Schema{ 5511 SchemaProps: spec.SchemaProps{ 5512 Description: "PodLogStreamList", 5513 Type: []string{"object"}, 5514 Properties: map[string]spec.Schema{ 5515 "kind": { 5516 SchemaProps: spec.SchemaProps{ 5517 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", 5518 Type: []string{"string"}, 5519 Format: "", 5520 }, 5521 }, 5522 "apiVersion": { 5523 SchemaProps: spec.SchemaProps{ 5524 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", 5525 Type: []string{"string"}, 5526 Format: "", 5527 }, 5528 }, 5529 "metadata": { 5530 SchemaProps: spec.SchemaProps{ 5531 Default: map[string]interface{}{}, 5532 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 5533 }, 5534 }, 5535 "items": { 5536 SchemaProps: spec.SchemaProps{ 5537 Type: []string{"array"}, 5538 Items: &spec.SchemaOrArray{ 5539 Schema: &spec.Schema{ 5540 SchemaProps: spec.SchemaProps{ 5541 Default: map[string]interface{}{}, 5542 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStream"), 5543 }, 5544 }, 5545 }, 5546 }, 5547 }, 5548 }, 5549 Required: []string{"items"}, 5550 }, 5551 }, 5552 Dependencies: []string{ 5553 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PodLogStream", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 5554 } 5555 } 5556 5557 func schema_pkg_apis_core_v1alpha1_PodLogStreamSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5558 return common.OpenAPIDefinition{ 5559 Schema: spec.Schema{ 5560 SchemaProps: spec.SchemaProps{ 5561 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?", 5562 Type: []string{"object"}, 5563 Properties: map[string]spec.Schema{ 5564 "pod": { 5565 SchemaProps: spec.SchemaProps{ 5566 Description: "The name of the pod to watch. Required.", 5567 Type: []string{"string"}, 5568 Format: "", 5569 }, 5570 }, 5571 "namespace": { 5572 SchemaProps: spec.SchemaProps{ 5573 Description: "The namespace of the pod to watch. Defaults to the kubecontext default namespace.", 5574 Type: []string{"string"}, 5575 Format: "", 5576 }, 5577 }, 5578 "sinceTime": { 5579 SchemaProps: spec.SchemaProps{ 5580 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.", 5581 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5582 }, 5583 }, 5584 "onlyContainers": { 5585 SchemaProps: spec.SchemaProps{ 5586 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.", 5587 Type: []string{"array"}, 5588 Items: &spec.SchemaOrArray{ 5589 Schema: &spec.Schema{ 5590 SchemaProps: spec.SchemaProps{ 5591 Default: "", 5592 Type: []string{"string"}, 5593 Format: "", 5594 }, 5595 }, 5596 }, 5597 }, 5598 }, 5599 "ignoreContainers": { 5600 SchemaProps: spec.SchemaProps{ 5601 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.", 5602 Type: []string{"array"}, 5603 Items: &spec.SchemaOrArray{ 5604 Schema: &spec.Schema{ 5605 SchemaProps: spec.SchemaProps{ 5606 Default: "", 5607 Type: []string{"string"}, 5608 Format: "", 5609 }, 5610 }, 5611 }, 5612 }, 5613 }, 5614 "cluster": { 5615 SchemaProps: spec.SchemaProps{ 5616 Description: "Cluster the Pod belongs to.\n\nIf not provided, \"default\" will be used.", 5617 Default: "", 5618 Type: []string{"string"}, 5619 Format: "", 5620 }, 5621 }, 5622 }, 5623 }, 5624 }, 5625 Dependencies: []string{ 5626 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5627 } 5628 } 5629 5630 func schema_pkg_apis_core_v1alpha1_PodLogStreamStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5631 return common.OpenAPIDefinition{ 5632 Schema: spec.Schema{ 5633 SchemaProps: spec.SchemaProps{ 5634 Description: "PodLogStreamStatus defines the observed state of PodLogStream", 5635 Type: []string{"object"}, 5636 Properties: map[string]spec.Schema{ 5637 "containerStatuses": { 5638 SchemaProps: spec.SchemaProps{ 5639 Description: "A list of containers being watched.", 5640 Type: []string{"array"}, 5641 Items: &spec.SchemaOrArray{ 5642 Schema: &spec.Schema{ 5643 SchemaProps: spec.SchemaProps{ 5644 Default: map[string]interface{}{}, 5645 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerLogStreamStatus"), 5646 }, 5647 }, 5648 }, 5649 }, 5650 }, 5651 "error": { 5652 SchemaProps: spec.SchemaProps{ 5653 Description: "Error message encountered while setting up the stream.", 5654 Type: []string{"string"}, 5655 Format: "", 5656 }, 5657 }, 5658 }, 5659 }, 5660 }, 5661 Dependencies: []string{ 5662 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ContainerLogStreamStatus"}, 5663 } 5664 } 5665 5666 func schema_pkg_apis_core_v1alpha1_PodLogStreamTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5667 return common.OpenAPIDefinition{ 5668 Schema: spec.Schema{ 5669 SchemaProps: spec.SchemaProps{ 5670 Description: "PodLogStreamTemplateSpec describes common attributes for PodLogStreams that can be shared across pods.", 5671 Type: []string{"object"}, 5672 Properties: map[string]spec.Schema{ 5673 "sinceTime": { 5674 SchemaProps: spec.SchemaProps{ 5675 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.", 5676 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5677 }, 5678 }, 5679 "onlyContainers": { 5680 SchemaProps: spec.SchemaProps{ 5681 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.", 5682 Type: []string{"array"}, 5683 Items: &spec.SchemaOrArray{ 5684 Schema: &spec.Schema{ 5685 SchemaProps: spec.SchemaProps{ 5686 Default: "", 5687 Type: []string{"string"}, 5688 Format: "", 5689 }, 5690 }, 5691 }, 5692 }, 5693 }, 5694 "ignoreContainers": { 5695 SchemaProps: spec.SchemaProps{ 5696 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.", 5697 Type: []string{"array"}, 5698 Items: &spec.SchemaOrArray{ 5699 Schema: &spec.Schema{ 5700 SchemaProps: spec.SchemaProps{ 5701 Default: "", 5702 Type: []string{"string"}, 5703 Format: "", 5704 }, 5705 }, 5706 }, 5707 }, 5708 }, 5709 }, 5710 }, 5711 }, 5712 Dependencies: []string{ 5713 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5714 } 5715 } 5716 5717 func schema_pkg_apis_core_v1alpha1_PodOwner(ref common.ReferenceCallback) common.OpenAPIDefinition { 5718 return common.OpenAPIDefinition{ 5719 Schema: spec.Schema{ 5720 SchemaProps: spec.SchemaProps{ 5721 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.", 5722 Type: []string{"object"}, 5723 Properties: map[string]spec.Schema{ 5724 "name": { 5725 SchemaProps: spec.SchemaProps{ 5726 Description: "The name of the owner.", 5727 Default: "", 5728 Type: []string{"string"}, 5729 Format: "", 5730 }, 5731 }, 5732 "apiVersion": { 5733 SchemaProps: spec.SchemaProps{ 5734 Description: "API version of the owner.", 5735 Default: "", 5736 Type: []string{"string"}, 5737 Format: "", 5738 }, 5739 }, 5740 "kind": { 5741 SchemaProps: spec.SchemaProps{ 5742 Description: "Kind of the owner More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 5743 Default: "", 5744 Type: []string{"string"}, 5745 Format: "", 5746 }, 5747 }, 5748 "creationTimestamp": { 5749 SchemaProps: spec.SchemaProps{ 5750 Description: "The creation timestamp of the owner.", 5751 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5752 }, 5753 }, 5754 }, 5755 Required: []string{"name", "apiVersion", "kind"}, 5756 }, 5757 }, 5758 Dependencies: []string{ 5759 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5760 } 5761 } 5762 5763 func schema_pkg_apis_core_v1alpha1_PortForward(ref common.ReferenceCallback) common.OpenAPIDefinition { 5764 return common.OpenAPIDefinition{ 5765 Schema: spec.Schema{ 5766 SchemaProps: spec.SchemaProps{ 5767 Description: "PortForward", 5768 Type: []string{"object"}, 5769 Properties: map[string]spec.Schema{ 5770 "kind": { 5771 SchemaProps: spec.SchemaProps{ 5772 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", 5773 Type: []string{"string"}, 5774 Format: "", 5775 }, 5776 }, 5777 "apiVersion": { 5778 SchemaProps: spec.SchemaProps{ 5779 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", 5780 Type: []string{"string"}, 5781 Format: "", 5782 }, 5783 }, 5784 "metadata": { 5785 SchemaProps: spec.SchemaProps{ 5786 Default: map[string]interface{}{}, 5787 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 5788 }, 5789 }, 5790 "spec": { 5791 SchemaProps: spec.SchemaProps{ 5792 Default: map[string]interface{}{}, 5793 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardSpec"), 5794 }, 5795 }, 5796 "status": { 5797 SchemaProps: spec.SchemaProps{ 5798 Default: map[string]interface{}{}, 5799 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForwardStatus"), 5800 }, 5801 }, 5802 }, 5803 }, 5804 }, 5805 Dependencies: []string{ 5806 "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"}, 5807 } 5808 } 5809 5810 func schema_pkg_apis_core_v1alpha1_PortForwardList(ref common.ReferenceCallback) common.OpenAPIDefinition { 5811 return common.OpenAPIDefinition{ 5812 Schema: spec.Schema{ 5813 SchemaProps: spec.SchemaProps{ 5814 Description: "PortForwardList", 5815 Type: []string{"object"}, 5816 Properties: map[string]spec.Schema{ 5817 "kind": { 5818 SchemaProps: spec.SchemaProps{ 5819 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", 5820 Type: []string{"string"}, 5821 Format: "", 5822 }, 5823 }, 5824 "apiVersion": { 5825 SchemaProps: spec.SchemaProps{ 5826 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", 5827 Type: []string{"string"}, 5828 Format: "", 5829 }, 5830 }, 5831 "metadata": { 5832 SchemaProps: spec.SchemaProps{ 5833 Default: map[string]interface{}{}, 5834 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 5835 }, 5836 }, 5837 "items": { 5838 SchemaProps: spec.SchemaProps{ 5839 Type: []string{"array"}, 5840 Items: &spec.SchemaOrArray{ 5841 Schema: &spec.Schema{ 5842 SchemaProps: spec.SchemaProps{ 5843 Default: map[string]interface{}{}, 5844 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForward"), 5845 }, 5846 }, 5847 }, 5848 }, 5849 }, 5850 }, 5851 Required: []string{"items"}, 5852 }, 5853 }, 5854 Dependencies: []string{ 5855 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.PortForward", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 5856 } 5857 } 5858 5859 func schema_pkg_apis_core_v1alpha1_PortForwardSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5860 return common.OpenAPIDefinition{ 5861 Schema: spec.Schema{ 5862 SchemaProps: spec.SchemaProps{ 5863 Description: "PortForwardSpec defines the desired state of PortForward", 5864 Type: []string{"object"}, 5865 Properties: map[string]spec.Schema{ 5866 "podName": { 5867 SchemaProps: spec.SchemaProps{ 5868 Description: "The name of the pod to port forward to/from. Required.", 5869 Default: "", 5870 Type: []string{"string"}, 5871 Format: "", 5872 }, 5873 }, 5874 "namespace": { 5875 SchemaProps: spec.SchemaProps{ 5876 Description: "The namespace of the pod to port forward to/from. Defaults to the kubecontext default namespace.", 5877 Type: []string{"string"}, 5878 Format: "", 5879 }, 5880 }, 5881 "forwards": { 5882 SchemaProps: spec.SchemaProps{ 5883 Description: "One or more port forwards to execute on the given pod. Required.", 5884 Type: []string{"array"}, 5885 Items: &spec.SchemaOrArray{ 5886 Schema: &spec.Schema{ 5887 SchemaProps: spec.SchemaProps{ 5888 Default: map[string]interface{}{}, 5889 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"), 5890 }, 5891 }, 5892 }, 5893 }, 5894 }, 5895 "cluster": { 5896 SchemaProps: spec.SchemaProps{ 5897 Description: "Cluster to forward ports from to the local machine.\n\nIf not specified, the default Kubernetes cluster will be used.", 5898 Default: "", 5899 Type: []string{"string"}, 5900 Format: "", 5901 }, 5902 }, 5903 }, 5904 Required: []string{"podName", "forwards"}, 5905 }, 5906 }, 5907 Dependencies: []string{ 5908 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"}, 5909 } 5910 } 5911 5912 func schema_pkg_apis_core_v1alpha1_PortForwardStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5913 return common.OpenAPIDefinition{ 5914 Schema: spec.Schema{ 5915 SchemaProps: spec.SchemaProps{ 5916 Description: "PortForwardStatus defines the observed state of PortForward", 5917 Type: []string{"object"}, 5918 Properties: map[string]spec.Schema{ 5919 "forwardStatuses": { 5920 SchemaProps: spec.SchemaProps{ 5921 Type: []string{"array"}, 5922 Items: &spec.SchemaOrArray{ 5923 Schema: &spec.Schema{ 5924 SchemaProps: spec.SchemaProps{ 5925 Default: map[string]interface{}{}, 5926 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ForwardStatus"), 5927 }, 5928 }, 5929 }, 5930 }, 5931 }, 5932 }, 5933 }, 5934 }, 5935 Dependencies: []string{ 5936 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ForwardStatus"}, 5937 } 5938 } 5939 5940 func schema_pkg_apis_core_v1alpha1_PortForwardTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5941 return common.OpenAPIDefinition{ 5942 Schema: spec.Schema{ 5943 SchemaProps: spec.SchemaProps{ 5944 Description: "PortForwardTemplateSpec describes common attributes for PortForwards that can be shared across pods.", 5945 Type: []string{"object"}, 5946 Properties: map[string]spec.Schema{ 5947 "forwards": { 5948 SchemaProps: spec.SchemaProps{ 5949 Description: "One or more port forwards to execute on the given pod. Required.", 5950 Type: []string{"array"}, 5951 Items: &spec.SchemaOrArray{ 5952 Schema: &spec.Schema{ 5953 SchemaProps: spec.SchemaProps{ 5954 Default: map[string]interface{}{}, 5955 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"), 5956 }, 5957 }, 5958 }, 5959 }, 5960 }, 5961 }, 5962 Required: []string{"forwards"}, 5963 }, 5964 }, 5965 Dependencies: []string{ 5966 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Forward"}, 5967 } 5968 } 5969 5970 func schema_pkg_apis_core_v1alpha1_Probe(ref common.ReferenceCallback) common.OpenAPIDefinition { 5971 return common.OpenAPIDefinition{ 5972 Schema: spec.Schema{ 5973 SchemaProps: spec.SchemaProps{ 5974 Description: "Probe describes a health check to be performed to determine whether it is alive or ready to receive traffic.", 5975 Type: []string{"object"}, 5976 Properties: map[string]spec.Schema{ 5977 "exec": { 5978 SchemaProps: spec.SchemaProps{ 5979 Description: "One and only one of the following should be specified. Exec specifies the action to take.", 5980 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ExecAction"), 5981 }, 5982 }, 5983 "httpGet": { 5984 SchemaProps: spec.SchemaProps{ 5985 Description: "HTTPGet specifies the http request to perform.", 5986 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.HTTPGetAction"), 5987 }, 5988 }, 5989 "tcpSocket": { 5990 SchemaProps: spec.SchemaProps{ 5991 Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", 5992 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TCPSocketAction"), 5993 }, 5994 }, 5995 "initialDelaySeconds": { 5996 SchemaProps: spec.SchemaProps{ 5997 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", 5998 Type: []string{"integer"}, 5999 Format: "int32", 6000 }, 6001 }, 6002 "timeoutSeconds": { 6003 SchemaProps: spec.SchemaProps{ 6004 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", 6005 Type: []string{"integer"}, 6006 Format: "int32", 6007 }, 6008 }, 6009 "periodSeconds": { 6010 SchemaProps: spec.SchemaProps{ 6011 Description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", 6012 Type: []string{"integer"}, 6013 Format: "int32", 6014 }, 6015 }, 6016 "successThreshold": { 6017 SchemaProps: spec.SchemaProps{ 6018 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.", 6019 Type: []string{"integer"}, 6020 Format: "int32", 6021 }, 6022 }, 6023 "failureThreshold": { 6024 SchemaProps: spec.SchemaProps{ 6025 Description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", 6026 Type: []string{"integer"}, 6027 Format: "int32", 6028 }, 6029 }, 6030 }, 6031 }, 6032 }, 6033 Dependencies: []string{ 6034 "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"}, 6035 } 6036 } 6037 6038 func schema_pkg_apis_core_v1alpha1_RegistryHosting(ref common.ReferenceCallback) common.OpenAPIDefinition { 6039 return common.OpenAPIDefinition{ 6040 Schema: spec.Schema{ 6041 SchemaProps: spec.SchemaProps{ 6042 Type: []string{"object"}, 6043 Properties: map[string]spec.Schema{ 6044 "host": { 6045 SchemaProps: spec.SchemaProps{ 6046 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.", 6047 Default: "", 6048 Type: []string{"string"}, 6049 Format: "", 6050 }, 6051 }, 6052 "hostFromClusterNetwork": { 6053 SchemaProps: spec.SchemaProps{ 6054 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.", 6055 Type: []string{"string"}, 6056 Format: "", 6057 }, 6058 }, 6059 "hostFromContainerRuntime": { 6060 SchemaProps: spec.SchemaProps{ 6061 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.", 6062 Type: []string{"string"}, 6063 Format: "", 6064 }, 6065 }, 6066 "help": { 6067 SchemaProps: spec.SchemaProps{ 6068 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.", 6069 Type: []string{"string"}, 6070 Format: "", 6071 }, 6072 }, 6073 "singleName": { 6074 SchemaProps: spec.SchemaProps{ 6075 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", 6076 Type: []string{"string"}, 6077 Format: "", 6078 }, 6079 }, 6080 }, 6081 Required: []string{"host"}, 6082 }, 6083 }, 6084 } 6085 } 6086 6087 func schema_pkg_apis_core_v1alpha1_RestartOnSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6088 return common.OpenAPIDefinition{ 6089 Schema: spec.Schema{ 6090 SchemaProps: spec.SchemaProps{ 6091 Description: "RestartOnSpec indicates the set of objects that can trigger a restart of this object.", 6092 Type: []string{"object"}, 6093 Properties: map[string]spec.Schema{ 6094 "fileWatches": { 6095 SchemaProps: spec.SchemaProps{ 6096 Description: "FileWatches that can trigger a restart.", 6097 Type: []string{"array"}, 6098 Items: &spec.SchemaOrArray{ 6099 Schema: &spec.Schema{ 6100 SchemaProps: spec.SchemaProps{ 6101 Default: "", 6102 Type: []string{"string"}, 6103 Format: "", 6104 }, 6105 }, 6106 }, 6107 }, 6108 }, 6109 "uiButtons": { 6110 SchemaProps: spec.SchemaProps{ 6111 Description: "UIButtons that can trigger a restart.", 6112 Type: []string{"array"}, 6113 Items: &spec.SchemaOrArray{ 6114 Schema: &spec.Schema{ 6115 SchemaProps: spec.SchemaProps{ 6116 Default: "", 6117 Type: []string{"string"}, 6118 Format: "", 6119 }, 6120 }, 6121 }, 6122 }, 6123 }, 6124 }, 6125 }, 6126 }, 6127 } 6128 } 6129 6130 func schema_pkg_apis_core_v1alpha1_Session(ref common.ReferenceCallback) common.OpenAPIDefinition { 6131 return common.OpenAPIDefinition{ 6132 Schema: spec.Schema{ 6133 SchemaProps: spec.SchemaProps{ 6134 Description: "Session provides introspective data about the status of the Tilt process.", 6135 Type: []string{"object"}, 6136 Properties: map[string]spec.Schema{ 6137 "kind": { 6138 SchemaProps: spec.SchemaProps{ 6139 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", 6140 Type: []string{"string"}, 6141 Format: "", 6142 }, 6143 }, 6144 "apiVersion": { 6145 SchemaProps: spec.SchemaProps{ 6146 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", 6147 Type: []string{"string"}, 6148 Format: "", 6149 }, 6150 }, 6151 "metadata": { 6152 SchemaProps: spec.SchemaProps{ 6153 Default: map[string]interface{}{}, 6154 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 6155 }, 6156 }, 6157 "spec": { 6158 SchemaProps: spec.SchemaProps{ 6159 Default: map[string]interface{}{}, 6160 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionSpec"), 6161 }, 6162 }, 6163 "status": { 6164 SchemaProps: spec.SchemaProps{ 6165 Default: map[string]interface{}{}, 6166 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionStatus"), 6167 }, 6168 }, 6169 }, 6170 }, 6171 }, 6172 Dependencies: []string{ 6173 "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"}, 6174 } 6175 } 6176 6177 func schema_pkg_apis_core_v1alpha1_SessionCISpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6178 return common.OpenAPIDefinition{ 6179 Schema: spec.Schema{ 6180 SchemaProps: spec.SchemaProps{ 6181 Type: []string{"object"}, 6182 Properties: map[string]spec.Schema{ 6183 "k8sGracePeriod": { 6184 SchemaProps: spec.SchemaProps{ 6185 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.", 6186 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), 6187 }, 6188 }, 6189 "timeout": { 6190 SchemaProps: spec.SchemaProps{ 6191 Description: "Timeout for the whole CI pipeline. Defaults to 30m.", 6192 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), 6193 }, 6194 }, 6195 }, 6196 }, 6197 }, 6198 Dependencies: []string{ 6199 "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"}, 6200 } 6201 } 6202 6203 func schema_pkg_apis_core_v1alpha1_SessionList(ref common.ReferenceCallback) common.OpenAPIDefinition { 6204 return common.OpenAPIDefinition{ 6205 Schema: spec.Schema{ 6206 SchemaProps: spec.SchemaProps{ 6207 Description: "SessionList is a list of Session objects.", 6208 Type: []string{"object"}, 6209 Properties: map[string]spec.Schema{ 6210 "kind": { 6211 SchemaProps: spec.SchemaProps{ 6212 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", 6213 Type: []string{"string"}, 6214 Format: "", 6215 }, 6216 }, 6217 "apiVersion": { 6218 SchemaProps: spec.SchemaProps{ 6219 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", 6220 Type: []string{"string"}, 6221 Format: "", 6222 }, 6223 }, 6224 "metadata": { 6225 SchemaProps: spec.SchemaProps{ 6226 Default: map[string]interface{}{}, 6227 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 6228 }, 6229 }, 6230 "items": { 6231 SchemaProps: spec.SchemaProps{ 6232 Type: []string{"array"}, 6233 Items: &spec.SchemaOrArray{ 6234 Schema: &spec.Schema{ 6235 SchemaProps: spec.SchemaProps{ 6236 Default: map[string]interface{}{}, 6237 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Session"), 6238 }, 6239 }, 6240 }, 6241 }, 6242 }, 6243 }, 6244 Required: []string{"items"}, 6245 }, 6246 }, 6247 Dependencies: []string{ 6248 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Session", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 6249 } 6250 } 6251 6252 func schema_pkg_apis_core_v1alpha1_SessionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6253 return common.OpenAPIDefinition{ 6254 Schema: spec.Schema{ 6255 SchemaProps: spec.SchemaProps{ 6256 Description: "SessionSpec defines the desired state of Session", 6257 Type: []string{"object"}, 6258 Properties: map[string]spec.Schema{ 6259 "tiltfilePath": { 6260 SchemaProps: spec.SchemaProps{ 6261 Description: "TiltfilePath is the path to the Tiltfile for the run. It cannot be empty.", 6262 Default: "", 6263 Type: []string{"string"}, 6264 Format: "", 6265 }, 6266 }, 6267 "exitCondition": { 6268 SchemaProps: spec.SchemaProps{ 6269 Description: "ExitCondition defines the criteria for Tilt to exit.", 6270 Default: "", 6271 Type: []string{"string"}, 6272 Format: "", 6273 }, 6274 }, 6275 "ci": { 6276 SchemaProps: spec.SchemaProps{ 6277 Description: "Additional settings when in exitCondition=CI.", 6278 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionCISpec"), 6279 }, 6280 }, 6281 }, 6282 Required: []string{"tiltfilePath", "exitCondition"}, 6283 }, 6284 }, 6285 Dependencies: []string{ 6286 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.SessionCISpec"}, 6287 } 6288 } 6289 6290 func schema_pkg_apis_core_v1alpha1_SessionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 6291 return common.OpenAPIDefinition{ 6292 Schema: spec.Schema{ 6293 SchemaProps: spec.SchemaProps{ 6294 Description: "SessionStatus defines the observed state of Session", 6295 Type: []string{"object"}, 6296 Properties: map[string]spec.Schema{ 6297 "pid": { 6298 SchemaProps: spec.SchemaProps{ 6299 Description: "PID is the process identifier for this instance of Tilt.", 6300 Default: 0, 6301 Type: []string{"integer"}, 6302 Format: "int64", 6303 }, 6304 }, 6305 "startTime": { 6306 SchemaProps: spec.SchemaProps{ 6307 Description: "StartTime is when the Tilt engine was first started.", 6308 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6309 }, 6310 }, 6311 "targets": { 6312 SchemaProps: spec.SchemaProps{ 6313 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).", 6314 Type: []string{"array"}, 6315 Items: &spec.SchemaOrArray{ 6316 Schema: &spec.Schema{ 6317 SchemaProps: spec.SchemaProps{ 6318 Default: map[string]interface{}{}, 6319 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Target"), 6320 }, 6321 }, 6322 }, 6323 }, 6324 }, 6325 "done": { 6326 SchemaProps: spec.SchemaProps{ 6327 Description: "Done indicates whether this Session has completed its work and is ready to exit.", 6328 Default: false, 6329 Type: []string{"boolean"}, 6330 Format: "", 6331 }, 6332 }, 6333 "error": { 6334 SchemaProps: spec.SchemaProps{ 6335 Description: "Error is a non-empty string when the Session is Done but encountered a failure as defined by the ExitCondition from the SessionSpec.", 6336 Type: []string{"string"}, 6337 Format: "", 6338 }, 6339 }, 6340 }, 6341 Required: []string{"pid", "startTime", "targets", "done"}, 6342 }, 6343 }, 6344 Dependencies: []string{ 6345 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Target", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6346 } 6347 } 6348 6349 func schema_pkg_apis_core_v1alpha1_StartOnSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6350 return common.OpenAPIDefinition{ 6351 Schema: spec.Schema{ 6352 SchemaProps: spec.SchemaProps{ 6353 Description: "StartOnSpec indicates the set of objects that can trigger a start/restart of this object.", 6354 Type: []string{"object"}, 6355 Properties: map[string]spec.Schema{ 6356 "startAfter": { 6357 SchemaProps: spec.SchemaProps{ 6358 Description: "StartAfter indicates that events before this time should be ignored.", 6359 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 6360 }, 6361 }, 6362 "uiButtons": { 6363 SchemaProps: spec.SchemaProps{ 6364 Description: "UIButtons that can trigger a start/restart.", 6365 Type: []string{"array"}, 6366 Items: &spec.SchemaOrArray{ 6367 Schema: &spec.Schema{ 6368 SchemaProps: spec.SchemaProps{ 6369 Default: "", 6370 Type: []string{"string"}, 6371 Format: "", 6372 }, 6373 }, 6374 }, 6375 }, 6376 }, 6377 }, 6378 Required: []string{"uiButtons"}, 6379 }, 6380 }, 6381 Dependencies: []string{ 6382 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 6383 } 6384 } 6385 6386 func schema_pkg_apis_core_v1alpha1_StateSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 6387 return common.OpenAPIDefinition{ 6388 Schema: spec.Schema{ 6389 SchemaProps: spec.SchemaProps{ 6390 Description: "Describes where a ToggleButton's state is stored. Exactly one type of source must be set.", 6391 Type: []string{"object"}, 6392 Properties: map[string]spec.Schema{ 6393 "configMap": { 6394 SchemaProps: spec.SchemaProps{ 6395 Description: "State is stored in a ConfigMap.", 6396 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapStateSource"), 6397 }, 6398 }, 6399 }, 6400 }, 6401 }, 6402 Dependencies: []string{ 6403 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ConfigMapStateSource"}, 6404 } 6405 } 6406 6407 func schema_pkg_apis_core_v1alpha1_StopOnSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6408 return common.OpenAPIDefinition{ 6409 Schema: spec.Schema{ 6410 SchemaProps: spec.SchemaProps{ 6411 Type: []string{"object"}, 6412 Properties: map[string]spec.Schema{ 6413 "uiButtons": { 6414 SchemaProps: spec.SchemaProps{ 6415 Description: "UIButtons that can trigger a stop.", 6416 Type: []string{"array"}, 6417 Items: &spec.SchemaOrArray{ 6418 Schema: &spec.Schema{ 6419 SchemaProps: spec.SchemaProps{ 6420 Default: "", 6421 Type: []string{"string"}, 6422 Format: "", 6423 }, 6424 }, 6425 }, 6426 }, 6427 }, 6428 }, 6429 Required: []string{"uiButtons"}, 6430 }, 6431 }, 6432 } 6433 } 6434 6435 func schema_pkg_apis_core_v1alpha1_TCPSocketAction(ref common.ReferenceCallback) common.OpenAPIDefinition { 6436 return common.OpenAPIDefinition{ 6437 Schema: spec.Schema{ 6438 SchemaProps: spec.SchemaProps{ 6439 Description: "TCPSocketAction describes an action based on opening a socket", 6440 Type: []string{"object"}, 6441 Properties: map[string]spec.Schema{ 6442 "port": { 6443 SchemaProps: spec.SchemaProps{ 6444 Description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535.", 6445 Default: 0, 6446 Type: []string{"integer"}, 6447 Format: "int32", 6448 }, 6449 }, 6450 "host": { 6451 SchemaProps: spec.SchemaProps{ 6452 Description: "Optional: Host name to connect to, defaults to the pod IP.", 6453 Type: []string{"string"}, 6454 Format: "", 6455 }, 6456 }, 6457 }, 6458 Required: []string{"port"}, 6459 }, 6460 }, 6461 } 6462 } 6463 6464 func schema_pkg_apis_core_v1alpha1_Target(ref common.ReferenceCallback) common.OpenAPIDefinition { 6465 return common.OpenAPIDefinition{ 6466 Schema: spec.Schema{ 6467 SchemaProps: spec.SchemaProps{ 6468 Description: "Target is a server or job whose execution is managed as part of this Session.", 6469 Type: []string{"object"}, 6470 Properties: map[string]spec.Schema{ 6471 "name": { 6472 SchemaProps: spec.SchemaProps{ 6473 Description: "Name is the name of the target; this is auto-generated from Tiltfile resources.", 6474 Default: "", 6475 Type: []string{"string"}, 6476 Format: "", 6477 }, 6478 }, 6479 "type": { 6480 SchemaProps: spec.SchemaProps{ 6481 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).", 6482 Default: "", 6483 Type: []string{"string"}, 6484 Format: "", 6485 }, 6486 }, 6487 "resources": { 6488 SchemaProps: spec.SchemaProps{ 6489 Description: "Resources are one or more Tiltfile resources that this target is associated with.", 6490 Type: []string{"array"}, 6491 Items: &spec.SchemaOrArray{ 6492 Schema: &spec.Schema{ 6493 SchemaProps: spec.SchemaProps{ 6494 Default: "", 6495 Type: []string{"string"}, 6496 Format: "", 6497 }, 6498 }, 6499 }, 6500 }, 6501 }, 6502 "state": { 6503 SchemaProps: spec.SchemaProps{ 6504 Description: "State provides information about the current status of the target.", 6505 Default: map[string]interface{}{}, 6506 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetState"), 6507 }, 6508 }, 6509 }, 6510 Required: []string{"name", "type", "resources", "state"}, 6511 }, 6512 }, 6513 Dependencies: []string{ 6514 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetState"}, 6515 } 6516 } 6517 6518 func schema_pkg_apis_core_v1alpha1_TargetState(ref common.ReferenceCallback) common.OpenAPIDefinition { 6519 return common.OpenAPIDefinition{ 6520 Schema: spec.Schema{ 6521 SchemaProps: spec.SchemaProps{ 6522 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.", 6523 Type: []string{"object"}, 6524 Properties: map[string]spec.Schema{ 6525 "waiting": { 6526 SchemaProps: spec.SchemaProps{ 6527 Description: "Waiting being non-nil indicates that the next execution of the target has been queued but not yet started.", 6528 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateWaiting"), 6529 }, 6530 }, 6531 "active": { 6532 SchemaProps: spec.SchemaProps{ 6533 Description: "Active being non-nil indicates that the target is currently executing.", 6534 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateActive"), 6535 }, 6536 }, 6537 "terminated": { 6538 SchemaProps: spec.SchemaProps{ 6539 Description: "Terminated being non-nil indicates that the target finished execution either normally or due to failure.", 6540 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateTerminated"), 6541 }, 6542 }, 6543 "disabled": { 6544 SchemaProps: spec.SchemaProps{ 6545 Description: "Disabled being non-nil indicates that the target is disabled.", 6546 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TargetStateDisabled"), 6547 }, 6548 }, 6549 }, 6550 }, 6551 }, 6552 Dependencies: []string{ 6553 "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"}, 6554 } 6555 } 6556 6557 func schema_pkg_apis_core_v1alpha1_TargetStateActive(ref common.ReferenceCallback) common.OpenAPIDefinition { 6558 return common.OpenAPIDefinition{ 6559 Schema: spec.Schema{ 6560 SchemaProps: spec.SchemaProps{ 6561 Description: "TargetStateActive is a target that is currently running but has not yet finished.", 6562 Type: []string{"object"}, 6563 Properties: map[string]spec.Schema{ 6564 "startTime": { 6565 SchemaProps: spec.SchemaProps{ 6566 Description: "StartTime is when execution began.", 6567 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6568 }, 6569 }, 6570 "ready": { 6571 SchemaProps: spec.SchemaProps{ 6572 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.", 6573 Default: false, 6574 Type: []string{"boolean"}, 6575 Format: "", 6576 }, 6577 }, 6578 }, 6579 Required: []string{"startTime", "ready"}, 6580 }, 6581 }, 6582 Dependencies: []string{ 6583 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6584 } 6585 } 6586 6587 func schema_pkg_apis_core_v1alpha1_TargetStateDisabled(ref common.ReferenceCallback) common.OpenAPIDefinition { 6588 return common.OpenAPIDefinition{ 6589 Schema: spec.Schema{ 6590 SchemaProps: spec.SchemaProps{ 6591 Description: "TargetStateDisabled is a target that has been disabled.", 6592 Type: []string{"object"}, 6593 }, 6594 }, 6595 } 6596 } 6597 6598 func schema_pkg_apis_core_v1alpha1_TargetStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 6599 return common.OpenAPIDefinition{ 6600 Schema: spec.Schema{ 6601 SchemaProps: spec.SchemaProps{ 6602 Description: "TargetStateTerminated is a target that finished running, either because it completed successfully or encountered an error.", 6603 Type: []string{"object"}, 6604 Properties: map[string]spec.Schema{ 6605 "startTime": { 6606 SchemaProps: spec.SchemaProps{ 6607 Description: "StartTime is when the target began executing.", 6608 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6609 }, 6610 }, 6611 "finishTime": { 6612 SchemaProps: spec.SchemaProps{ 6613 Description: "FinishTime is when the target stopped executing.", 6614 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6615 }, 6616 }, 6617 "error": { 6618 SchemaProps: spec.SchemaProps{ 6619 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.", 6620 Type: []string{"string"}, 6621 Format: "", 6622 }, 6623 }, 6624 "graceStatus": { 6625 SchemaProps: spec.SchemaProps{ 6626 Description: "Errors may be tolerated if the target is still within a grace period set on the session.", 6627 Type: []string{"string"}, 6628 Format: "", 6629 }, 6630 }, 6631 }, 6632 Required: []string{"startTime", "finishTime"}, 6633 }, 6634 }, 6635 Dependencies: []string{ 6636 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6637 } 6638 } 6639 6640 func schema_pkg_apis_core_v1alpha1_TargetStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 6641 return common.OpenAPIDefinition{ 6642 Schema: spec.Schema{ 6643 SchemaProps: spec.SchemaProps{ 6644 Description: "TargetStateWaiting is a target that has been enqueued for execution but has not yet started.", 6645 Type: []string{"object"}, 6646 Properties: map[string]spec.Schema{ 6647 "waitReason": { 6648 SchemaProps: spec.SchemaProps{ 6649 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.", 6650 Default: "", 6651 Type: []string{"string"}, 6652 Format: "", 6653 }, 6654 }, 6655 }, 6656 Required: []string{"waitReason"}, 6657 }, 6658 }, 6659 } 6660 } 6661 6662 func schema_pkg_apis_core_v1alpha1_TiltBuild(ref common.ReferenceCallback) common.OpenAPIDefinition { 6663 return common.OpenAPIDefinition{ 6664 Schema: spec.Schema{ 6665 SchemaProps: spec.SchemaProps{ 6666 Description: "Information about the running tilt binary.", 6667 Type: []string{"object"}, 6668 Properties: map[string]spec.Schema{ 6669 "version": { 6670 SchemaProps: spec.SchemaProps{ 6671 Description: "A semantic version string.", 6672 Type: []string{"string"}, 6673 Format: "", 6674 }, 6675 }, 6676 "commitSHA": { 6677 SchemaProps: spec.SchemaProps{ 6678 Description: "The Git digest of the commit this binary was built at.", 6679 Type: []string{"string"}, 6680 Format: "", 6681 }, 6682 }, 6683 "date": { 6684 SchemaProps: spec.SchemaProps{ 6685 Description: "A human-readable string representing when the binary was built.", 6686 Type: []string{"string"}, 6687 Format: "", 6688 }, 6689 }, 6690 "dev": { 6691 SchemaProps: spec.SchemaProps{ 6692 Description: "Indicates whether this is a development build (true) or an official release (false).", 6693 Type: []string{"boolean"}, 6694 Format: "", 6695 }, 6696 }, 6697 }, 6698 }, 6699 }, 6700 } 6701 } 6702 6703 func schema_pkg_apis_core_v1alpha1_Tiltfile(ref common.ReferenceCallback) common.OpenAPIDefinition { 6704 return common.OpenAPIDefinition{ 6705 Schema: spec.Schema{ 6706 SchemaProps: spec.SchemaProps{ 6707 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.", 6708 Type: []string{"object"}, 6709 Properties: map[string]spec.Schema{ 6710 "kind": { 6711 SchemaProps: spec.SchemaProps{ 6712 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", 6713 Type: []string{"string"}, 6714 Format: "", 6715 }, 6716 }, 6717 "apiVersion": { 6718 SchemaProps: spec.SchemaProps{ 6719 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", 6720 Type: []string{"string"}, 6721 Format: "", 6722 }, 6723 }, 6724 "metadata": { 6725 SchemaProps: spec.SchemaProps{ 6726 Default: map[string]interface{}{}, 6727 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 6728 }, 6729 }, 6730 "spec": { 6731 SchemaProps: spec.SchemaProps{ 6732 Default: map[string]interface{}{}, 6733 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileSpec"), 6734 }, 6735 }, 6736 "status": { 6737 SchemaProps: spec.SchemaProps{ 6738 Default: map[string]interface{}{}, 6739 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStatus"), 6740 }, 6741 }, 6742 }, 6743 }, 6744 }, 6745 Dependencies: []string{ 6746 "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"}, 6747 } 6748 } 6749 6750 func schema_pkg_apis_core_v1alpha1_TiltfileList(ref common.ReferenceCallback) common.OpenAPIDefinition { 6751 return common.OpenAPIDefinition{ 6752 Schema: spec.Schema{ 6753 SchemaProps: spec.SchemaProps{ 6754 Description: "TiltfileList", 6755 Type: []string{"object"}, 6756 Properties: map[string]spec.Schema{ 6757 "kind": { 6758 SchemaProps: spec.SchemaProps{ 6759 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", 6760 Type: []string{"string"}, 6761 Format: "", 6762 }, 6763 }, 6764 "apiVersion": { 6765 SchemaProps: spec.SchemaProps{ 6766 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", 6767 Type: []string{"string"}, 6768 Format: "", 6769 }, 6770 }, 6771 "metadata": { 6772 SchemaProps: spec.SchemaProps{ 6773 Default: map[string]interface{}{}, 6774 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 6775 }, 6776 }, 6777 "items": { 6778 SchemaProps: spec.SchemaProps{ 6779 Type: []string{"array"}, 6780 Items: &spec.SchemaOrArray{ 6781 Schema: &spec.Schema{ 6782 SchemaProps: spec.SchemaProps{ 6783 Default: map[string]interface{}{}, 6784 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Tiltfile"), 6785 }, 6786 }, 6787 }, 6788 }, 6789 }, 6790 }, 6791 Required: []string{"items"}, 6792 }, 6793 }, 6794 Dependencies: []string{ 6795 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.Tiltfile", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 6796 } 6797 } 6798 6799 func schema_pkg_apis_core_v1alpha1_TiltfileSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 6800 return common.OpenAPIDefinition{ 6801 Schema: spec.Schema{ 6802 SchemaProps: spec.SchemaProps{ 6803 Description: "TiltfileSpec defines the desired state of Tiltfile", 6804 Type: []string{"object"}, 6805 Properties: map[string]spec.Schema{ 6806 "path": { 6807 SchemaProps: spec.SchemaProps{ 6808 Description: "The path to the Tiltfile on disk.", 6809 Default: "", 6810 Type: []string{"string"}, 6811 Format: "", 6812 }, 6813 }, 6814 "labels": { 6815 SchemaProps: spec.SchemaProps{ 6816 Description: "A set of labels to apply to all objects owned by this Tiltfile.", 6817 Type: []string{"object"}, 6818 AdditionalProperties: &spec.SchemaOrBool{ 6819 Allows: true, 6820 Schema: &spec.Schema{ 6821 SchemaProps: spec.SchemaProps{ 6822 Default: "", 6823 Type: []string{"string"}, 6824 Format: "", 6825 }, 6826 }, 6827 }, 6828 }, 6829 }, 6830 "restartOn": { 6831 SchemaProps: spec.SchemaProps{ 6832 Description: "Objects that can trigger a re-execution of this Tiltfile.", 6833 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec"), 6834 }, 6835 }, 6836 "args": { 6837 SchemaProps: spec.SchemaProps{ 6838 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.", 6839 Type: []string{"array"}, 6840 Items: &spec.SchemaOrArray{ 6841 Schema: &spec.Schema{ 6842 SchemaProps: spec.SchemaProps{ 6843 Default: "", 6844 Type: []string{"string"}, 6845 Format: "", 6846 }, 6847 }, 6848 }, 6849 }, 6850 }, 6851 "stopOn": { 6852 SchemaProps: spec.SchemaProps{ 6853 Description: "Objects that can stop execution of this Tiltfile.", 6854 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StopOnSpec"), 6855 }, 6856 }, 6857 }, 6858 Required: []string{"path"}, 6859 }, 6860 }, 6861 Dependencies: []string{ 6862 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.RestartOnSpec", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StopOnSpec"}, 6863 } 6864 } 6865 6866 func schema_pkg_apis_core_v1alpha1_TiltfileStateRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 6867 return common.OpenAPIDefinition{ 6868 Schema: spec.Schema{ 6869 SchemaProps: spec.SchemaProps{ 6870 Description: "TiltfileStateRunning is a running state of a tiltfile execution.", 6871 Type: []string{"object"}, 6872 Properties: map[string]spec.Schema{ 6873 "reasons": { 6874 SchemaProps: spec.SchemaProps{ 6875 Description: "The reason why this tiltfile was built. May contain more than one reason.", 6876 Type: []string{"array"}, 6877 Items: &spec.SchemaOrArray{ 6878 Schema: &spec.Schema{ 6879 SchemaProps: spec.SchemaProps{ 6880 Default: "", 6881 Type: []string{"string"}, 6882 Format: "", 6883 }, 6884 }, 6885 }, 6886 }, 6887 }, 6888 "startedAt": { 6889 SchemaProps: spec.SchemaProps{ 6890 Description: "Time at which previous execution of the command started.", 6891 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6892 }, 6893 }, 6894 }, 6895 }, 6896 }, 6897 Dependencies: []string{ 6898 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6899 } 6900 } 6901 6902 func schema_pkg_apis_core_v1alpha1_TiltfileStateTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 6903 return common.OpenAPIDefinition{ 6904 Schema: spec.Schema{ 6905 SchemaProps: spec.SchemaProps{ 6906 Description: "TiltfileStateTerminated is a terminated state of a tiltfile execution.", 6907 Type: []string{"object"}, 6908 Properties: map[string]spec.Schema{ 6909 "reasons": { 6910 SchemaProps: spec.SchemaProps{ 6911 Description: "The reasons why this tiltfile was built. May contain more than one reason.", 6912 Type: []string{"array"}, 6913 Items: &spec.SchemaOrArray{ 6914 Schema: &spec.Schema{ 6915 SchemaProps: spec.SchemaProps{ 6916 Default: "", 6917 Type: []string{"string"}, 6918 Format: "", 6919 }, 6920 }, 6921 }, 6922 }, 6923 }, 6924 "error": { 6925 SchemaProps: spec.SchemaProps{ 6926 Description: "Error message if this tiltfile execution failed.", 6927 Type: []string{"string"}, 6928 Format: "", 6929 }, 6930 }, 6931 "startedAt": { 6932 SchemaProps: spec.SchemaProps{ 6933 Description: "Time at which previous execution of the command started.", 6934 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6935 }, 6936 }, 6937 "finishedAt": { 6938 SchemaProps: spec.SchemaProps{ 6939 Description: "Time at which the command last terminated.", 6940 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 6941 }, 6942 }, 6943 "warningCount": { 6944 SchemaProps: spec.SchemaProps{ 6945 Description: "Number of warnings generated by this Tiltfile. (brief) reason the process is terminated", 6946 Type: []string{"integer"}, 6947 Format: "int32", 6948 }, 6949 }, 6950 }, 6951 }, 6952 }, 6953 Dependencies: []string{ 6954 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 6955 } 6956 } 6957 6958 func schema_pkg_apis_core_v1alpha1_TiltfileStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 6959 return common.OpenAPIDefinition{ 6960 Schema: spec.Schema{ 6961 SchemaProps: spec.SchemaProps{ 6962 Description: "TiltfileStateWaiting is a waiting state of a tiltfile execution.", 6963 Type: []string{"object"}, 6964 Properties: map[string]spec.Schema{ 6965 "reason": { 6966 SchemaProps: spec.SchemaProps{ 6967 Description: "(brief) reason the tiltfile is waiting.", 6968 Type: []string{"string"}, 6969 Format: "", 6970 }, 6971 }, 6972 }, 6973 }, 6974 }, 6975 } 6976 } 6977 6978 func schema_pkg_apis_core_v1alpha1_TiltfileStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 6979 return common.OpenAPIDefinition{ 6980 Schema: spec.Schema{ 6981 SchemaProps: spec.SchemaProps{ 6982 Description: "TiltfileStatus defines the observed state of Tiltfile", 6983 Type: []string{"object"}, 6984 Properties: map[string]spec.Schema{ 6985 "waiting": { 6986 SchemaProps: spec.SchemaProps{ 6987 Description: "Details about a waiting tiltfile.", 6988 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateWaiting"), 6989 }, 6990 }, 6991 "running": { 6992 SchemaProps: spec.SchemaProps{ 6993 Description: "Details about a running tiltfile.", 6994 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateRunning"), 6995 }, 6996 }, 6997 "terminated": { 6998 SchemaProps: spec.SchemaProps{ 6999 Description: "Details about a terminated tiltfile.", 7000 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltfileStateTerminated"), 7001 }, 7002 }, 7003 }, 7004 }, 7005 }, 7006 Dependencies: []string{ 7007 "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"}, 7008 } 7009 } 7010 7011 func schema_pkg_apis_core_v1alpha1_ToggleButton(ref common.ReferenceCallback) common.OpenAPIDefinition { 7012 return common.OpenAPIDefinition{ 7013 Schema: spec.Schema{ 7014 SchemaProps: spec.SchemaProps{ 7015 Description: "ToggleButton", 7016 Type: []string{"object"}, 7017 Properties: map[string]spec.Schema{ 7018 "kind": { 7019 SchemaProps: spec.SchemaProps{ 7020 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", 7021 Type: []string{"string"}, 7022 Format: "", 7023 }, 7024 }, 7025 "apiVersion": { 7026 SchemaProps: spec.SchemaProps{ 7027 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", 7028 Type: []string{"string"}, 7029 Format: "", 7030 }, 7031 }, 7032 "metadata": { 7033 SchemaProps: spec.SchemaProps{ 7034 Default: map[string]interface{}{}, 7035 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 7036 }, 7037 }, 7038 "spec": { 7039 SchemaProps: spec.SchemaProps{ 7040 Default: map[string]interface{}{}, 7041 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonSpec"), 7042 }, 7043 }, 7044 "status": { 7045 SchemaProps: spec.SchemaProps{ 7046 Default: map[string]interface{}{}, 7047 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStatus"), 7048 }, 7049 }, 7050 }, 7051 }, 7052 }, 7053 Dependencies: []string{ 7054 "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"}, 7055 } 7056 } 7057 7058 func schema_pkg_apis_core_v1alpha1_ToggleButtonList(ref common.ReferenceCallback) common.OpenAPIDefinition { 7059 return common.OpenAPIDefinition{ 7060 Schema: spec.Schema{ 7061 SchemaProps: spec.SchemaProps{ 7062 Description: "ToggleButtonList", 7063 Type: []string{"object"}, 7064 Properties: map[string]spec.Schema{ 7065 "kind": { 7066 SchemaProps: spec.SchemaProps{ 7067 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", 7068 Type: []string{"string"}, 7069 Format: "", 7070 }, 7071 }, 7072 "apiVersion": { 7073 SchemaProps: spec.SchemaProps{ 7074 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", 7075 Type: []string{"string"}, 7076 Format: "", 7077 }, 7078 }, 7079 "metadata": { 7080 SchemaProps: spec.SchemaProps{ 7081 Default: map[string]interface{}{}, 7082 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 7083 }, 7084 }, 7085 "items": { 7086 SchemaProps: spec.SchemaProps{ 7087 Type: []string{"array"}, 7088 Items: &spec.SchemaOrArray{ 7089 Schema: &spec.Schema{ 7090 SchemaProps: spec.SchemaProps{ 7091 Default: map[string]interface{}{}, 7092 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButton"), 7093 }, 7094 }, 7095 }, 7096 }, 7097 }, 7098 }, 7099 Required: []string{"items"}, 7100 }, 7101 }, 7102 Dependencies: []string{ 7103 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButton", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 7104 } 7105 } 7106 7107 func schema_pkg_apis_core_v1alpha1_ToggleButtonSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7108 return common.OpenAPIDefinition{ 7109 Schema: spec.Schema{ 7110 SchemaProps: spec.SchemaProps{ 7111 Description: "ToggleButtonSpec defines the desired state of ToggleButton", 7112 Type: []string{"object"}, 7113 Properties: map[string]spec.Schema{ 7114 "location": { 7115 SchemaProps: spec.SchemaProps{ 7116 Description: "Where to display the button", 7117 Default: map[string]interface{}{}, 7118 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation"), 7119 }, 7120 }, 7121 "on": { 7122 SchemaProps: spec.SchemaProps{ 7123 Description: "Config for the button when it is \"on\"", 7124 Default: map[string]interface{}{}, 7125 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStateSpec"), 7126 }, 7127 }, 7128 "off": { 7129 SchemaProps: spec.SchemaProps{ 7130 Description: "Config for the button when it is \"off\"", 7131 Default: map[string]interface{}{}, 7132 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.ToggleButtonStateSpec"), 7133 }, 7134 }, 7135 "defaultOn": { 7136 SchemaProps: spec.SchemaProps{ 7137 Description: "If `StateSource` does not point at a valid value, the initial button state will be \"on\" or \"off\" depending on this bool", 7138 Default: false, 7139 Type: []string{"boolean"}, 7140 Format: "", 7141 }, 7142 }, 7143 "stateSource": { 7144 SchemaProps: spec.SchemaProps{ 7145 Description: "Where the toggle button's state is stored", 7146 Default: map[string]interface{}{}, 7147 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.StateSource"), 7148 }, 7149 }, 7150 }, 7151 Required: []string{"location", "on", "off", "defaultOn", "stateSource"}, 7152 }, 7153 }, 7154 Dependencies: []string{ 7155 "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"}, 7156 } 7157 } 7158 7159 func schema_pkg_apis_core_v1alpha1_ToggleButtonStateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7160 return common.OpenAPIDefinition{ 7161 Schema: spec.Schema{ 7162 SchemaProps: spec.SchemaProps{ 7163 Description: "Describes a state (on/off) of a ToggleButton", 7164 Type: []string{"object"}, 7165 Properties: map[string]spec.Schema{ 7166 "text": { 7167 SchemaProps: spec.SchemaProps{ 7168 Description: "Text to appear on the button itself or as hover text (depending on button location).", 7169 Default: "", 7170 Type: []string{"string"}, 7171 Format: "", 7172 }, 7173 }, 7174 "iconName": { 7175 SchemaProps: spec.SchemaProps{ 7176 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.", 7177 Type: []string{"string"}, 7178 Format: "", 7179 }, 7180 }, 7181 "iconSVG": { 7182 SchemaProps: spec.SchemaProps{ 7183 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.", 7184 Type: []string{"string"}, 7185 Format: "", 7186 }, 7187 }, 7188 "requiresConfirmation": { 7189 SchemaProps: spec.SchemaProps{ 7190 Description: "If true, clicking the button in this state requires a second click to confirm.", 7191 Type: []string{"boolean"}, 7192 Format: "", 7193 }, 7194 }, 7195 }, 7196 Required: []string{"text"}, 7197 }, 7198 }, 7199 } 7200 } 7201 7202 func schema_pkg_apis_core_v1alpha1_ToggleButtonStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7203 return common.OpenAPIDefinition{ 7204 Schema: spec.Schema{ 7205 SchemaProps: spec.SchemaProps{ 7206 Description: "ToggleButtonStatus defines the observed state of ToggleButton", 7207 Type: []string{"object"}, 7208 Properties: map[string]spec.Schema{ 7209 "error": { 7210 SchemaProps: spec.SchemaProps{ 7211 Description: "If healthy, empty. If non-healthy, specifies a problem the ToggleButton encountered", 7212 Default: "", 7213 Type: []string{"string"}, 7214 Format: "", 7215 }, 7216 }, 7217 }, 7218 }, 7219 }, 7220 } 7221 } 7222 7223 func schema_pkg_apis_core_v1alpha1_UIBoolInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7224 return common.OpenAPIDefinition{ 7225 Schema: spec.Schema{ 7226 SchemaProps: spec.SchemaProps{ 7227 Description: "Describes a boolean checkbox input field attached to a button.", 7228 Type: []string{"object"}, 7229 Properties: map[string]spec.Schema{ 7230 "defaultValue": { 7231 SchemaProps: spec.SchemaProps{ 7232 Description: "Whether the input is initially true or false.", 7233 Type: []string{"boolean"}, 7234 Format: "", 7235 }, 7236 }, 7237 "trueString": { 7238 SchemaProps: spec.SchemaProps{ 7239 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\"`", 7240 Type: []string{"string"}, 7241 Format: "", 7242 }, 7243 }, 7244 "falseString": { 7245 SchemaProps: spec.SchemaProps{ 7246 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\"`", 7247 Type: []string{"string"}, 7248 Format: "", 7249 }, 7250 }, 7251 }, 7252 }, 7253 }, 7254 } 7255 } 7256 7257 func schema_pkg_apis_core_v1alpha1_UIBoolInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7258 return common.OpenAPIDefinition{ 7259 Schema: spec.Schema{ 7260 SchemaProps: spec.SchemaProps{ 7261 Type: []string{"object"}, 7262 Properties: map[string]spec.Schema{ 7263 "value": { 7264 SchemaProps: spec.SchemaProps{ 7265 Default: false, 7266 Type: []string{"boolean"}, 7267 Format: "", 7268 }, 7269 }, 7270 }, 7271 Required: []string{"value"}, 7272 }, 7273 }, 7274 } 7275 } 7276 7277 func schema_pkg_apis_core_v1alpha1_UIBuildRunning(ref common.ReferenceCallback) common.OpenAPIDefinition { 7278 return common.OpenAPIDefinition{ 7279 Schema: spec.Schema{ 7280 SchemaProps: spec.SchemaProps{ 7281 Description: "UIBuildRunning represents an in-progress build/update in the user interface.", 7282 Type: []string{"object"}, 7283 Properties: map[string]spec.Schema{ 7284 "startTime": { 7285 SchemaProps: spec.SchemaProps{ 7286 Description: "The time when the build started.", 7287 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7288 }, 7289 }, 7290 "spanID": { 7291 SchemaProps: spec.SchemaProps{ 7292 Description: "The log span where the build logs are stored in the logstore.", 7293 Type: []string{"string"}, 7294 Format: "", 7295 }, 7296 }, 7297 }, 7298 }, 7299 }, 7300 Dependencies: []string{ 7301 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7302 } 7303 } 7304 7305 func schema_pkg_apis_core_v1alpha1_UIBuildTerminated(ref common.ReferenceCallback) common.OpenAPIDefinition { 7306 return common.OpenAPIDefinition{ 7307 Schema: spec.Schema{ 7308 SchemaProps: spec.SchemaProps{ 7309 Description: "UIBuildRunning represents a finished build/update in the user interface.", 7310 Type: []string{"object"}, 7311 Properties: map[string]spec.Schema{ 7312 "error": { 7313 SchemaProps: spec.SchemaProps{ 7314 Description: "A non-empty string if the build failed with an error.", 7315 Type: []string{"string"}, 7316 Format: "", 7317 }, 7318 }, 7319 "warnings": { 7320 SchemaProps: spec.SchemaProps{ 7321 Description: "A list of warnings encountered while running the build. These warnings will also be printed to the build's log.", 7322 Type: []string{"array"}, 7323 Items: &spec.SchemaOrArray{ 7324 Schema: &spec.Schema{ 7325 SchemaProps: spec.SchemaProps{ 7326 Default: "", 7327 Type: []string{"string"}, 7328 Format: "", 7329 }, 7330 }, 7331 }, 7332 }, 7333 }, 7334 "startTime": { 7335 SchemaProps: spec.SchemaProps{ 7336 Description: "The time when the build started.", 7337 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7338 }, 7339 }, 7340 "finishTime": { 7341 SchemaProps: spec.SchemaProps{ 7342 Description: "The time when the build finished.", 7343 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7344 }, 7345 }, 7346 "spanID": { 7347 SchemaProps: spec.SchemaProps{ 7348 Description: "The log span where the build logs are stored in the logstore.", 7349 Type: []string{"string"}, 7350 Format: "", 7351 }, 7352 }, 7353 "isCrashRebuild": { 7354 SchemaProps: spec.SchemaProps{ 7355 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.", 7356 Type: []string{"boolean"}, 7357 Format: "", 7358 }, 7359 }, 7360 }, 7361 }, 7362 }, 7363 Dependencies: []string{ 7364 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7365 } 7366 } 7367 7368 func schema_pkg_apis_core_v1alpha1_UIButton(ref common.ReferenceCallback) common.OpenAPIDefinition { 7369 return common.OpenAPIDefinition{ 7370 Schema: spec.Schema{ 7371 SchemaProps: spec.SchemaProps{ 7372 Description: "UIButton", 7373 Type: []string{"object"}, 7374 Properties: map[string]spec.Schema{ 7375 "kind": { 7376 SchemaProps: spec.SchemaProps{ 7377 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", 7378 Type: []string{"string"}, 7379 Format: "", 7380 }, 7381 }, 7382 "apiVersion": { 7383 SchemaProps: spec.SchemaProps{ 7384 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", 7385 Type: []string{"string"}, 7386 Format: "", 7387 }, 7388 }, 7389 "metadata": { 7390 SchemaProps: spec.SchemaProps{ 7391 Default: map[string]interface{}{}, 7392 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 7393 }, 7394 }, 7395 "spec": { 7396 SchemaProps: spec.SchemaProps{ 7397 Default: map[string]interface{}{}, 7398 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonSpec"), 7399 }, 7400 }, 7401 "status": { 7402 SchemaProps: spec.SchemaProps{ 7403 Default: map[string]interface{}{}, 7404 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButtonStatus"), 7405 }, 7406 }, 7407 }, 7408 }, 7409 }, 7410 Dependencies: []string{ 7411 "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"}, 7412 } 7413 } 7414 7415 func schema_pkg_apis_core_v1alpha1_UIButtonList(ref common.ReferenceCallback) common.OpenAPIDefinition { 7416 return common.OpenAPIDefinition{ 7417 Schema: spec.Schema{ 7418 SchemaProps: spec.SchemaProps{ 7419 Description: "UIButtonList", 7420 Type: []string{"object"}, 7421 Properties: map[string]spec.Schema{ 7422 "kind": { 7423 SchemaProps: spec.SchemaProps{ 7424 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", 7425 Type: []string{"string"}, 7426 Format: "", 7427 }, 7428 }, 7429 "apiVersion": { 7430 SchemaProps: spec.SchemaProps{ 7431 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", 7432 Type: []string{"string"}, 7433 Format: "", 7434 }, 7435 }, 7436 "metadata": { 7437 SchemaProps: spec.SchemaProps{ 7438 Default: map[string]interface{}{}, 7439 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 7440 }, 7441 }, 7442 "items": { 7443 SchemaProps: spec.SchemaProps{ 7444 Type: []string{"array"}, 7445 Items: &spec.SchemaOrArray{ 7446 Schema: &spec.Schema{ 7447 SchemaProps: spec.SchemaProps{ 7448 Default: map[string]interface{}{}, 7449 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButton"), 7450 }, 7451 }, 7452 }, 7453 }, 7454 }, 7455 }, 7456 Required: []string{"items"}, 7457 }, 7458 }, 7459 Dependencies: []string{ 7460 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIButton", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 7461 } 7462 } 7463 7464 func schema_pkg_apis_core_v1alpha1_UIButtonSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7465 return common.OpenAPIDefinition{ 7466 Schema: spec.Schema{ 7467 SchemaProps: spec.SchemaProps{ 7468 Description: "UIButtonSpec defines the desired state of UIButton", 7469 Type: []string{"object"}, 7470 Properties: map[string]spec.Schema{ 7471 "location": { 7472 SchemaProps: spec.SchemaProps{ 7473 Description: "Location associates the button with another component for layout.", 7474 Default: map[string]interface{}{}, 7475 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation"), 7476 }, 7477 }, 7478 "text": { 7479 SchemaProps: spec.SchemaProps{ 7480 Description: "Text to appear on the button itself or as hover text (depending on button location).", 7481 Default: "", 7482 Type: []string{"string"}, 7483 Format: "", 7484 }, 7485 }, 7486 "iconName": { 7487 SchemaProps: spec.SchemaProps{ 7488 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.", 7489 Type: []string{"string"}, 7490 Format: "", 7491 }, 7492 }, 7493 "iconSVG": { 7494 SchemaProps: spec.SchemaProps{ 7495 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.", 7496 Type: []string{"string"}, 7497 Format: "", 7498 }, 7499 }, 7500 "disabled": { 7501 SchemaProps: spec.SchemaProps{ 7502 Description: "If true, the button will be rendered, but with an effect indicating it's disabled. It will also be unclickable.", 7503 Type: []string{"boolean"}, 7504 Format: "", 7505 }, 7506 }, 7507 "requiresConfirmation": { 7508 SchemaProps: spec.SchemaProps{ 7509 Description: "If true, the UI will require the user to click the button a second time to confirm before taking action", 7510 Type: []string{"boolean"}, 7511 Format: "", 7512 }, 7513 }, 7514 "inputs": { 7515 SchemaProps: spec.SchemaProps{ 7516 Description: "Any inputs for this button.", 7517 Type: []string{"array"}, 7518 Items: &spec.SchemaOrArray{ 7519 Schema: &spec.Schema{ 7520 SchemaProps: spec.SchemaProps{ 7521 Default: map[string]interface{}{}, 7522 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputSpec"), 7523 }, 7524 }, 7525 }, 7526 }, 7527 }, 7528 }, 7529 Required: []string{"location", "text"}, 7530 }, 7531 }, 7532 Dependencies: []string{ 7533 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIComponentLocation", "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputSpec"}, 7534 } 7535 } 7536 7537 func schema_pkg_apis_core_v1alpha1_UIButtonStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7538 return common.OpenAPIDefinition{ 7539 Schema: spec.Schema{ 7540 SchemaProps: spec.SchemaProps{ 7541 Description: "UIButtonStatus defines the observed state of UIButton", 7542 Type: []string{"object"}, 7543 Properties: map[string]spec.Schema{ 7544 "lastClickedAt": { 7545 SchemaProps: spec.SchemaProps{ 7546 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.", 7547 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7548 }, 7549 }, 7550 "inputs": { 7551 SchemaProps: spec.SchemaProps{ 7552 Description: "Status of any inputs on this button.", 7553 Type: []string{"array"}, 7554 Items: &spec.SchemaOrArray{ 7555 Schema: &spec.Schema{ 7556 SchemaProps: spec.SchemaProps{ 7557 Default: map[string]interface{}{}, 7558 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputStatus"), 7559 }, 7560 }, 7561 }, 7562 }, 7563 }, 7564 }, 7565 }, 7566 }, 7567 Dependencies: []string{ 7568 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIInputStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7569 } 7570 } 7571 7572 func schema_pkg_apis_core_v1alpha1_UIChoiceInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7573 return common.OpenAPIDefinition{ 7574 Schema: spec.Schema{ 7575 SchemaProps: spec.SchemaProps{ 7576 Description: "Describes a choice dropdown input field attached to a button", 7577 Type: []string{"object"}, 7578 Properties: map[string]spec.Schema{ 7579 "choices": { 7580 SchemaProps: spec.SchemaProps{ 7581 Description: "The list of valid values for this field", 7582 Type: []string{"array"}, 7583 Items: &spec.SchemaOrArray{ 7584 Schema: &spec.Schema{ 7585 SchemaProps: spec.SchemaProps{ 7586 Default: "", 7587 Type: []string{"string"}, 7588 Format: "", 7589 }, 7590 }, 7591 }, 7592 }, 7593 }, 7594 }, 7595 }, 7596 }, 7597 } 7598 } 7599 7600 func schema_pkg_apis_core_v1alpha1_UIChoiceInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7601 return common.OpenAPIDefinition{ 7602 Schema: spec.Schema{ 7603 SchemaProps: spec.SchemaProps{ 7604 Type: []string{"object"}, 7605 Properties: map[string]spec.Schema{ 7606 "value": { 7607 SchemaProps: spec.SchemaProps{ 7608 Default: "", 7609 Type: []string{"string"}, 7610 Format: "", 7611 }, 7612 }, 7613 }, 7614 Required: []string{"value"}, 7615 }, 7616 }, 7617 } 7618 } 7619 7620 func schema_pkg_apis_core_v1alpha1_UIComponentLocation(ref common.ReferenceCallback) common.OpenAPIDefinition { 7621 return common.OpenAPIDefinition{ 7622 Schema: spec.Schema{ 7623 SchemaProps: spec.SchemaProps{ 7624 Description: "UIComponentLocation specifies where to put a UI component.", 7625 Type: []string{"object"}, 7626 Properties: map[string]spec.Schema{ 7627 "componentID": { 7628 SchemaProps: spec.SchemaProps{ 7629 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.", 7630 Default: "", 7631 Type: []string{"string"}, 7632 Format: "", 7633 }, 7634 }, 7635 "componentType": { 7636 SchemaProps: spec.SchemaProps{ 7637 Description: "ComponentType is the type of the parent component.", 7638 Default: "", 7639 Type: []string{"string"}, 7640 Format: "", 7641 }, 7642 }, 7643 }, 7644 Required: []string{"componentID", "componentType"}, 7645 }, 7646 }, 7647 } 7648 } 7649 7650 func schema_pkg_apis_core_v1alpha1_UIComponentLocationResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 7651 return common.OpenAPIDefinition{ 7652 Schema: spec.Schema{ 7653 SchemaProps: spec.SchemaProps{ 7654 Type: []string{"object"}, 7655 Properties: map[string]spec.Schema{ 7656 "resourceName": { 7657 SchemaProps: spec.SchemaProps{ 7658 Default: "", 7659 Type: []string{"string"}, 7660 Format: "", 7661 }, 7662 }, 7663 }, 7664 Required: []string{"resourceName"}, 7665 }, 7666 }, 7667 } 7668 } 7669 7670 func schema_pkg_apis_core_v1alpha1_UIFeatureFlag(ref common.ReferenceCallback) common.OpenAPIDefinition { 7671 return common.OpenAPIDefinition{ 7672 Schema: spec.Schema{ 7673 SchemaProps: spec.SchemaProps{ 7674 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).", 7675 Type: []string{"object"}, 7676 Properties: map[string]spec.Schema{ 7677 "name": { 7678 SchemaProps: spec.SchemaProps{ 7679 Description: "The name of the flag.", 7680 Type: []string{"string"}, 7681 Format: "", 7682 }, 7683 }, 7684 "value": { 7685 SchemaProps: spec.SchemaProps{ 7686 Description: "The value of the flag.", 7687 Type: []string{"boolean"}, 7688 Format: "", 7689 }, 7690 }, 7691 }, 7692 }, 7693 }, 7694 } 7695 } 7696 7697 func schema_pkg_apis_core_v1alpha1_UIHiddenInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7698 return common.OpenAPIDefinition{ 7699 Schema: spec.Schema{ 7700 SchemaProps: spec.SchemaProps{ 7701 Description: "Describes a hidden input field attached to a button, with a value to pass on any submit.", 7702 Type: []string{"object"}, 7703 Properties: map[string]spec.Schema{ 7704 "value": { 7705 SchemaProps: spec.SchemaProps{ 7706 Default: "", 7707 Type: []string{"string"}, 7708 Format: "", 7709 }, 7710 }, 7711 }, 7712 Required: []string{"value"}, 7713 }, 7714 }, 7715 } 7716 } 7717 7718 func schema_pkg_apis_core_v1alpha1_UIHiddenInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7719 return common.OpenAPIDefinition{ 7720 Schema: spec.Schema{ 7721 SchemaProps: spec.SchemaProps{ 7722 Type: []string{"object"}, 7723 Properties: map[string]spec.Schema{ 7724 "value": { 7725 SchemaProps: spec.SchemaProps{ 7726 Default: "", 7727 Type: []string{"string"}, 7728 Format: "", 7729 }, 7730 }, 7731 }, 7732 Required: []string{"value"}, 7733 }, 7734 }, 7735 } 7736 } 7737 7738 func schema_pkg_apis_core_v1alpha1_UIInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 7739 return common.OpenAPIDefinition{ 7740 Schema: spec.Schema{ 7741 SchemaProps: spec.SchemaProps{ 7742 Description: "Defines an Input to render in the UI. If UIButton is analogous to an HTML <form>, UIInput is analogous to an HTML <input>.", 7743 Type: []string{"object"}, 7744 Properties: map[string]spec.Schema{ 7745 "name": { 7746 SchemaProps: spec.SchemaProps{ 7747 Description: "Name of this input. Must be unique within the UIButton.", 7748 Default: "", 7749 Type: []string{"string"}, 7750 Format: "", 7751 }, 7752 }, 7753 "label": { 7754 SchemaProps: spec.SchemaProps{ 7755 Description: "A label to display next to this input in the UI.", 7756 Default: "", 7757 Type: []string{"string"}, 7758 Format: "", 7759 }, 7760 }, 7761 "text": { 7762 SchemaProps: spec.SchemaProps{ 7763 Description: "A Text input that takes a string.", 7764 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputSpec"), 7765 }, 7766 }, 7767 "bool": { 7768 SchemaProps: spec.SchemaProps{ 7769 Description: "A Bool input that is true or false", 7770 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputSpec"), 7771 }, 7772 }, 7773 "hidden": { 7774 SchemaProps: spec.SchemaProps{ 7775 Description: "An input that has a constant value and does not display to the user", 7776 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputSpec"), 7777 }, 7778 }, 7779 "choice": { 7780 SchemaProps: spec.SchemaProps{ 7781 Description: "A Choice input that takes a list of strings", 7782 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputSpec"), 7783 }, 7784 }, 7785 }, 7786 Required: []string{"name"}, 7787 }, 7788 }, 7789 Dependencies: []string{ 7790 "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"}, 7791 } 7792 } 7793 7794 func schema_pkg_apis_core_v1alpha1_UIInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 7795 return common.OpenAPIDefinition{ 7796 Schema: spec.Schema{ 7797 SchemaProps: spec.SchemaProps{ 7798 Description: "The status corresponding to a UIInputSpec", 7799 Type: []string{"object"}, 7800 Properties: map[string]spec.Schema{ 7801 "name": { 7802 SchemaProps: spec.SchemaProps{ 7803 Description: "Name of the input whose status this is. Must match the `Name` of a corresponding UIInputSpec.", 7804 Default: "", 7805 Type: []string{"string"}, 7806 Format: "", 7807 }, 7808 }, 7809 "text": { 7810 SchemaProps: spec.SchemaProps{ 7811 Description: "The status of the input, if it's text", 7812 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UITextInputStatus"), 7813 }, 7814 }, 7815 "bool": { 7816 SchemaProps: spec.SchemaProps{ 7817 Description: "The status of the input, if it's a bool", 7818 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBoolInputStatus"), 7819 }, 7820 }, 7821 "hidden": { 7822 SchemaProps: spec.SchemaProps{ 7823 Description: "The status of the input, if it's a hidden", 7824 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIHiddenInputStatus"), 7825 }, 7826 }, 7827 "choice": { 7828 SchemaProps: spec.SchemaProps{ 7829 Description: "The status of the input, if it's a choice", 7830 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIChoiceInputStatus"), 7831 }, 7832 }, 7833 }, 7834 Required: []string{"name"}, 7835 }, 7836 }, 7837 Dependencies: []string{ 7838 "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"}, 7839 } 7840 } 7841 7842 func schema_pkg_apis_core_v1alpha1_UIResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 7843 return common.OpenAPIDefinition{ 7844 Schema: spec.Schema{ 7845 SchemaProps: spec.SchemaProps{ 7846 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.", 7847 Type: []string{"object"}, 7848 Properties: map[string]spec.Schema{ 7849 "kind": { 7850 SchemaProps: spec.SchemaProps{ 7851 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", 7852 Type: []string{"string"}, 7853 Format: "", 7854 }, 7855 }, 7856 "apiVersion": { 7857 SchemaProps: spec.SchemaProps{ 7858 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", 7859 Type: []string{"string"}, 7860 Format: "", 7861 }, 7862 }, 7863 "metadata": { 7864 SchemaProps: spec.SchemaProps{ 7865 Default: map[string]interface{}{}, 7866 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 7867 }, 7868 }, 7869 "spec": { 7870 SchemaProps: spec.SchemaProps{ 7871 Default: map[string]interface{}{}, 7872 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceSpec"), 7873 }, 7874 }, 7875 "status": { 7876 SchemaProps: spec.SchemaProps{ 7877 Default: map[string]interface{}{}, 7878 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStatus"), 7879 }, 7880 }, 7881 }, 7882 }, 7883 }, 7884 Dependencies: []string{ 7885 "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"}, 7886 } 7887 } 7888 7889 func schema_pkg_apis_core_v1alpha1_UIResourceCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 7890 return common.OpenAPIDefinition{ 7891 Schema: spec.Schema{ 7892 SchemaProps: spec.SchemaProps{ 7893 Type: []string{"object"}, 7894 Properties: map[string]spec.Schema{ 7895 "type": { 7896 SchemaProps: spec.SchemaProps{ 7897 Description: "Type of UI Resource condition.", 7898 Default: "", 7899 Type: []string{"string"}, 7900 Format: "", 7901 }, 7902 }, 7903 "status": { 7904 SchemaProps: spec.SchemaProps{ 7905 Description: "Status of the condition, one of True, False, Unknown.", 7906 Default: "", 7907 Type: []string{"string"}, 7908 Format: "", 7909 }, 7910 }, 7911 "lastTransitionTime": { 7912 SchemaProps: spec.SchemaProps{ 7913 Description: "Last time the condition transitioned from one status to another.", 7914 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 7915 }, 7916 }, 7917 "reason": { 7918 SchemaProps: spec.SchemaProps{ 7919 Description: "The reason for the condition's last transition.", 7920 Type: []string{"string"}, 7921 Format: "", 7922 }, 7923 }, 7924 "message": { 7925 SchemaProps: spec.SchemaProps{ 7926 Description: "A human readable message indicating details about the transition.", 7927 Type: []string{"string"}, 7928 Format: "", 7929 }, 7930 }, 7931 }, 7932 Required: []string{"type", "status"}, 7933 }, 7934 }, 7935 Dependencies: []string{ 7936 "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"}, 7937 } 7938 } 7939 7940 func schema_pkg_apis_core_v1alpha1_UIResourceKubernetes(ref common.ReferenceCallback) common.OpenAPIDefinition { 7941 return common.OpenAPIDefinition{ 7942 Schema: spec.Schema{ 7943 SchemaProps: spec.SchemaProps{ 7944 Description: "UIResourceKubernetes contains status information specific to Kubernetes.", 7945 Type: []string{"object"}, 7946 Properties: map[string]spec.Schema{ 7947 "podName": { 7948 SchemaProps: spec.SchemaProps{ 7949 Description: "The name of the active pod.\n\nThe active pod tends to be what Tilt defaults to for port-forwards, live-updates, etc.", 7950 Type: []string{"string"}, 7951 Format: "", 7952 }, 7953 }, 7954 "podCreationTime": { 7955 SchemaProps: spec.SchemaProps{ 7956 Description: "The creation time of the active pod.", 7957 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 7958 }, 7959 }, 7960 "podUpdateStartTime": { 7961 SchemaProps: spec.SchemaProps{ 7962 Description: "The last update time of the active pod", 7963 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 7964 }, 7965 }, 7966 "podStatus": { 7967 SchemaProps: spec.SchemaProps{ 7968 Description: "The status of the active pod.", 7969 Type: []string{"string"}, 7970 Format: "", 7971 }, 7972 }, 7973 "podStatusMessage": { 7974 SchemaProps: spec.SchemaProps{ 7975 Description: "Extra error messaging around the current status of the active pod.", 7976 Type: []string{"string"}, 7977 Format: "", 7978 }, 7979 }, 7980 "allContainersReady": { 7981 SchemaProps: spec.SchemaProps{ 7982 Description: "Whether all the containers in the pod are currently healthy and have passed readiness checks.", 7983 Type: []string{"boolean"}, 7984 Format: "", 7985 }, 7986 }, 7987 "podRestarts": { 7988 SchemaProps: spec.SchemaProps{ 7989 Description: "The number of pod restarts.", 7990 Type: []string{"integer"}, 7991 Format: "int32", 7992 }, 7993 }, 7994 "spanID": { 7995 SchemaProps: spec.SchemaProps{ 7996 Description: "The span where this pod stores its logs in the Tilt logstore.", 7997 Type: []string{"string"}, 7998 Format: "", 7999 }, 8000 }, 8001 "displayNames": { 8002 SchemaProps: spec.SchemaProps{ 8003 Description: "The list of all resources deployed in the Kubernetes deploy for this resource.", 8004 Type: []string{"array"}, 8005 Items: &spec.SchemaOrArray{ 8006 Schema: &spec.Schema{ 8007 SchemaProps: spec.SchemaProps{ 8008 Default: "", 8009 Type: []string{"string"}, 8010 Format: "", 8011 }, 8012 }, 8013 }, 8014 }, 8015 }, 8016 }, 8017 }, 8018 }, 8019 Dependencies: []string{ 8020 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 8021 } 8022 } 8023 8024 func schema_pkg_apis_core_v1alpha1_UIResourceLink(ref common.ReferenceCallback) common.OpenAPIDefinition { 8025 return common.OpenAPIDefinition{ 8026 Schema: spec.Schema{ 8027 SchemaProps: spec.SchemaProps{ 8028 Description: "UIResourceLink represents a link assocatiated with a UIResource.", 8029 Type: []string{"object"}, 8030 Properties: map[string]spec.Schema{ 8031 "url": { 8032 SchemaProps: spec.SchemaProps{ 8033 Description: "A URL to link to.", 8034 Type: []string{"string"}, 8035 Format: "", 8036 }, 8037 }, 8038 "name": { 8039 SchemaProps: spec.SchemaProps{ 8040 Description: "The display label on a URL.", 8041 Type: []string{"string"}, 8042 Format: "", 8043 }, 8044 }, 8045 }, 8046 }, 8047 }, 8048 } 8049 } 8050 8051 func schema_pkg_apis_core_v1alpha1_UIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 8052 return common.OpenAPIDefinition{ 8053 Schema: spec.Schema{ 8054 SchemaProps: spec.SchemaProps{ 8055 Description: "UIResourceList", 8056 Type: []string{"object"}, 8057 Properties: map[string]spec.Schema{ 8058 "kind": { 8059 SchemaProps: spec.SchemaProps{ 8060 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", 8061 Type: []string{"string"}, 8062 Format: "", 8063 }, 8064 }, 8065 "apiVersion": { 8066 SchemaProps: spec.SchemaProps{ 8067 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", 8068 Type: []string{"string"}, 8069 Format: "", 8070 }, 8071 }, 8072 "metadata": { 8073 SchemaProps: spec.SchemaProps{ 8074 Default: map[string]interface{}{}, 8075 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 8076 }, 8077 }, 8078 "items": { 8079 SchemaProps: spec.SchemaProps{ 8080 Type: []string{"array"}, 8081 Items: &spec.SchemaOrArray{ 8082 Schema: &spec.Schema{ 8083 SchemaProps: spec.SchemaProps{ 8084 Default: map[string]interface{}{}, 8085 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResource"), 8086 }, 8087 }, 8088 }, 8089 }, 8090 }, 8091 }, 8092 Required: []string{"items"}, 8093 }, 8094 }, 8095 Dependencies: []string{ 8096 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResource", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 8097 } 8098 } 8099 8100 func schema_pkg_apis_core_v1alpha1_UIResourceLocal(ref common.ReferenceCallback) common.OpenAPIDefinition { 8101 return common.OpenAPIDefinition{ 8102 Schema: spec.Schema{ 8103 SchemaProps: spec.SchemaProps{ 8104 Description: "UIResourceLocal contains status information specific to local commands.", 8105 Type: []string{"object"}, 8106 Properties: map[string]spec.Schema{ 8107 "pid": { 8108 SchemaProps: spec.SchemaProps{ 8109 Description: "The PID of the actively running local command.", 8110 Type: []string{"integer"}, 8111 Format: "int64", 8112 }, 8113 }, 8114 "isTest": { 8115 SchemaProps: spec.SchemaProps{ 8116 Description: "Whether this represents a test job.\n\nDeprecated: Users should use labels for marking services as tests.", 8117 Type: []string{"boolean"}, 8118 Format: "", 8119 }, 8120 }, 8121 }, 8122 }, 8123 }, 8124 } 8125 } 8126 8127 func schema_pkg_apis_core_v1alpha1_UIResourceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8128 return common.OpenAPIDefinition{ 8129 Schema: spec.Schema{ 8130 SchemaProps: spec.SchemaProps{ 8131 Description: "UIResourceSpec is an empty struct. UIResource is a kludge for making Tilt's internal status readable, not for specifying behavior.", 8132 Type: []string{"object"}, 8133 }, 8134 }, 8135 } 8136 } 8137 8138 func schema_pkg_apis_core_v1alpha1_UIResourceStateWaiting(ref common.ReferenceCallback) common.OpenAPIDefinition { 8139 return common.OpenAPIDefinition{ 8140 Schema: spec.Schema{ 8141 SchemaProps: spec.SchemaProps{ 8142 Type: []string{"object"}, 8143 Properties: map[string]spec.Schema{ 8144 "reason": { 8145 SchemaProps: spec.SchemaProps{ 8146 Description: "Reason is a unique, one-word reason for why the UIResource update is pending.", 8147 Default: "", 8148 Type: []string{"string"}, 8149 Format: "", 8150 }, 8151 }, 8152 "on": { 8153 SchemaProps: spec.SchemaProps{ 8154 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`.", 8155 Type: []string{"array"}, 8156 Items: &spec.SchemaOrArray{ 8157 Schema: &spec.Schema{ 8158 SchemaProps: spec.SchemaProps{ 8159 Default: map[string]interface{}{}, 8160 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaitingOnRef"), 8161 }, 8162 }, 8163 }, 8164 }, 8165 }, 8166 }, 8167 Required: []string{"reason"}, 8168 }, 8169 }, 8170 Dependencies: []string{ 8171 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaitingOnRef"}, 8172 } 8173 } 8174 8175 func schema_pkg_apis_core_v1alpha1_UIResourceStateWaitingOnRef(ref common.ReferenceCallback) common.OpenAPIDefinition { 8176 return common.OpenAPIDefinition{ 8177 Schema: spec.Schema{ 8178 SchemaProps: spec.SchemaProps{ 8179 Type: []string{"object"}, 8180 Properties: map[string]spec.Schema{ 8181 "group": { 8182 SchemaProps: spec.SchemaProps{ 8183 Description: "Group for the object type being waited on.", 8184 Default: "", 8185 Type: []string{"string"}, 8186 Format: "", 8187 }, 8188 }, 8189 "apiVersion": { 8190 SchemaProps: spec.SchemaProps{ 8191 Description: "APIVersion for the object type being waited on.", 8192 Default: "", 8193 Type: []string{"string"}, 8194 Format: "", 8195 }, 8196 }, 8197 "kind": { 8198 SchemaProps: spec.SchemaProps{ 8199 Description: "Kind of the object type being waited on.", 8200 Default: "", 8201 Type: []string{"string"}, 8202 Format: "", 8203 }, 8204 }, 8205 "name": { 8206 SchemaProps: spec.SchemaProps{ 8207 Description: "Name of the object being waiting on.", 8208 Default: "", 8209 Type: []string{"string"}, 8210 Format: "", 8211 }, 8212 }, 8213 }, 8214 Required: []string{"group", "apiVersion", "kind", "name"}, 8215 }, 8216 }, 8217 } 8218 } 8219 8220 func schema_pkg_apis_core_v1alpha1_UIResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 8221 return common.OpenAPIDefinition{ 8222 Schema: spec.Schema{ 8223 SchemaProps: spec.SchemaProps{ 8224 Description: "UIResourceStatus defines the observed state of UIResource", 8225 Type: []string{"object"}, 8226 Properties: map[string]spec.Schema{ 8227 "lastDeployTime": { 8228 SchemaProps: spec.SchemaProps{ 8229 Description: "The last time this resource was deployed.", 8230 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 8231 }, 8232 }, 8233 "triggerMode": { 8234 SchemaProps: spec.SchemaProps{ 8235 Description: "Bit mask representing whether this resource is run when: 1) When a file changes 2) When the resource initializes", 8236 Type: []string{"integer"}, 8237 Format: "int32", 8238 }, 8239 }, 8240 "buildHistory": { 8241 SchemaProps: spec.SchemaProps{ 8242 Description: "Past completed builds.", 8243 Type: []string{"array"}, 8244 Items: &spec.SchemaOrArray{ 8245 Schema: &spec.Schema{ 8246 SchemaProps: spec.SchemaProps{ 8247 Default: map[string]interface{}{}, 8248 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildTerminated"), 8249 }, 8250 }, 8251 }, 8252 }, 8253 }, 8254 "currentBuild": { 8255 SchemaProps: spec.SchemaProps{ 8256 Description: "The currently running build, if any.", 8257 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIBuildRunning"), 8258 }, 8259 }, 8260 "pendingBuildSince": { 8261 SchemaProps: spec.SchemaProps{ 8262 Description: "When the build was put in the pending queue.", 8263 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), 8264 }, 8265 }, 8266 "hasPendingChanges": { 8267 SchemaProps: spec.SchemaProps{ 8268 Description: "True if the build was put in the pending queue due to file changes.", 8269 Type: []string{"boolean"}, 8270 Format: "", 8271 }, 8272 }, 8273 "endpointLinks": { 8274 SchemaProps: spec.SchemaProps{ 8275 Description: "Links attached to this resource.", 8276 Type: []string{"array"}, 8277 Items: &spec.SchemaOrArray{ 8278 Schema: &spec.Schema{ 8279 SchemaProps: spec.SchemaProps{ 8280 Default: map[string]interface{}{}, 8281 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLink"), 8282 }, 8283 }, 8284 }, 8285 }, 8286 }, 8287 "k8sResourceInfo": { 8288 SchemaProps: spec.SchemaProps{ 8289 Description: "Extra data about Kubernetes resources.", 8290 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceKubernetes"), 8291 }, 8292 }, 8293 "localResourceInfo": { 8294 SchemaProps: spec.SchemaProps{ 8295 Description: "Extra data about Local resources", 8296 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceLocal"), 8297 }, 8298 }, 8299 "runtimeStatus": { 8300 SchemaProps: spec.SchemaProps{ 8301 Description: "The RuntimeStatus is a simple, high-level summary of the runtime state of a server.\n\nNot all resources run servers.", 8302 Type: []string{"string"}, 8303 Format: "", 8304 }, 8305 }, 8306 "updateStatus": { 8307 SchemaProps: spec.SchemaProps{ 8308 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.", 8309 Type: []string{"string"}, 8310 Format: "", 8311 }, 8312 }, 8313 "specs": { 8314 SchemaProps: spec.SchemaProps{ 8315 Description: "Information about all the target specs that this resource summarizes.", 8316 Type: []string{"array"}, 8317 Items: &spec.SchemaOrArray{ 8318 Schema: &spec.Schema{ 8319 SchemaProps: spec.SchemaProps{ 8320 Default: map[string]interface{}{}, 8321 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceTargetSpec"), 8322 }, 8323 }, 8324 }, 8325 }, 8326 }, 8327 "queued": { 8328 SchemaProps: spec.SchemaProps{ 8329 Description: "Queued is a simple indicator of whether the resource is queued for an update.", 8330 Type: []string{"boolean"}, 8331 Format: "", 8332 }, 8333 }, 8334 "order": { 8335 SchemaProps: spec.SchemaProps{ 8336 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.", 8337 Type: []string{"integer"}, 8338 Format: "int32", 8339 }, 8340 }, 8341 "disableStatus": { 8342 SchemaProps: spec.SchemaProps{ 8343 Description: "Information about the resource's objects' disabled status.", 8344 Default: map[string]interface{}{}, 8345 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.DisableResourceStatus"), 8346 }, 8347 }, 8348 "waiting": { 8349 SchemaProps: spec.SchemaProps{ 8350 Description: "Waiting provides detail on why the resource is currently blocked from updating.", 8351 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceStateWaiting"), 8352 }, 8353 }, 8354 "conditions": { 8355 SchemaProps: spec.SchemaProps{ 8356 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", 8357 Type: []string{"array"}, 8358 Items: &spec.SchemaOrArray{ 8359 Schema: &spec.Schema{ 8360 SchemaProps: spec.SchemaProps{ 8361 Default: map[string]interface{}{}, 8362 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIResourceCondition"), 8363 }, 8364 }, 8365 }, 8366 }, 8367 }, 8368 }, 8369 }, 8370 }, 8371 Dependencies: []string{ 8372 "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.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"}, 8373 } 8374 } 8375 8376 func schema_pkg_apis_core_v1alpha1_UIResourceTargetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8377 return common.OpenAPIDefinition{ 8378 Schema: spec.Schema{ 8379 SchemaProps: spec.SchemaProps{ 8380 Description: "UIResourceTargetSpec represents the spec of a build or deploy that a resource summarizes.", 8381 Type: []string{"object"}, 8382 Properties: map[string]spec.Schema{ 8383 "id": { 8384 SchemaProps: spec.SchemaProps{ 8385 Description: "The ID of the target.", 8386 Type: []string{"string"}, 8387 Format: "", 8388 }, 8389 }, 8390 "type": { 8391 SchemaProps: spec.SchemaProps{ 8392 Description: "The type of the target.", 8393 Type: []string{"string"}, 8394 Format: "", 8395 }, 8396 }, 8397 "hasLiveUpdate": { 8398 SchemaProps: spec.SchemaProps{ 8399 Description: "Whether the target has a live update associated with it.", 8400 Type: []string{"boolean"}, 8401 Format: "", 8402 }, 8403 }, 8404 }, 8405 }, 8406 }, 8407 } 8408 } 8409 8410 func schema_pkg_apis_core_v1alpha1_UISession(ref common.ReferenceCallback) common.OpenAPIDefinition { 8411 return common.OpenAPIDefinition{ 8412 Schema: spec.Schema{ 8413 SchemaProps: spec.SchemaProps{ 8414 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.", 8415 Type: []string{"object"}, 8416 Properties: map[string]spec.Schema{ 8417 "kind": { 8418 SchemaProps: spec.SchemaProps{ 8419 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", 8420 Type: []string{"string"}, 8421 Format: "", 8422 }, 8423 }, 8424 "apiVersion": { 8425 SchemaProps: spec.SchemaProps{ 8426 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", 8427 Type: []string{"string"}, 8428 Format: "", 8429 }, 8430 }, 8431 "metadata": { 8432 SchemaProps: spec.SchemaProps{ 8433 Default: map[string]interface{}{}, 8434 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 8435 }, 8436 }, 8437 "spec": { 8438 SchemaProps: spec.SchemaProps{ 8439 Default: map[string]interface{}{}, 8440 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionSpec"), 8441 }, 8442 }, 8443 "status": { 8444 SchemaProps: spec.SchemaProps{ 8445 Default: map[string]interface{}{}, 8446 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISessionStatus"), 8447 }, 8448 }, 8449 }, 8450 }, 8451 }, 8452 Dependencies: []string{ 8453 "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"}, 8454 } 8455 } 8456 8457 func schema_pkg_apis_core_v1alpha1_UISessionList(ref common.ReferenceCallback) common.OpenAPIDefinition { 8458 return common.OpenAPIDefinition{ 8459 Schema: spec.Schema{ 8460 SchemaProps: spec.SchemaProps{ 8461 Description: "UISessionList", 8462 Type: []string{"object"}, 8463 Properties: map[string]spec.Schema{ 8464 "kind": { 8465 SchemaProps: spec.SchemaProps{ 8466 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", 8467 Type: []string{"string"}, 8468 Format: "", 8469 }, 8470 }, 8471 "apiVersion": { 8472 SchemaProps: spec.SchemaProps{ 8473 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", 8474 Type: []string{"string"}, 8475 Format: "", 8476 }, 8477 }, 8478 "metadata": { 8479 SchemaProps: spec.SchemaProps{ 8480 Default: map[string]interface{}{}, 8481 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 8482 }, 8483 }, 8484 "items": { 8485 SchemaProps: spec.SchemaProps{ 8486 Type: []string{"array"}, 8487 Items: &spec.SchemaOrArray{ 8488 Schema: &spec.Schema{ 8489 SchemaProps: spec.SchemaProps{ 8490 Default: map[string]interface{}{}, 8491 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISession"), 8492 }, 8493 }, 8494 }, 8495 }, 8496 }, 8497 }, 8498 Required: []string{"items"}, 8499 }, 8500 }, 8501 Dependencies: []string{ 8502 "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UISession", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 8503 } 8504 } 8505 8506 func schema_pkg_apis_core_v1alpha1_UISessionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8507 return common.OpenAPIDefinition{ 8508 Schema: spec.Schema{ 8509 SchemaProps: spec.SchemaProps{ 8510 Description: "UISessionSpec is an empty struct. UISession is a kludge for making Tilt's internal status readable, not for specifying behavior.", 8511 Type: []string{"object"}, 8512 }, 8513 }, 8514 } 8515 } 8516 8517 func schema_pkg_apis_core_v1alpha1_UISessionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 8518 return common.OpenAPIDefinition{ 8519 Schema: spec.Schema{ 8520 SchemaProps: spec.SchemaProps{ 8521 Description: "UISessionStatus defines the observed state of UISession", 8522 Type: []string{"object"}, 8523 Properties: map[string]spec.Schema{ 8524 "featureFlags": { 8525 SchemaProps: spec.SchemaProps{ 8526 Description: "FeatureFlags reports a list of experimental features that have been enabled.", 8527 Type: []string{"array"}, 8528 Items: &spec.SchemaOrArray{ 8529 Schema: &spec.Schema{ 8530 SchemaProps: spec.SchemaProps{ 8531 Default: map[string]interface{}{}, 8532 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.UIFeatureFlag"), 8533 }, 8534 }, 8535 }, 8536 }, 8537 }, 8538 "needsAnalyticsNudge": { 8539 SchemaProps: spec.SchemaProps{ 8540 Description: "NeedsAnalyticsNudge reports whether the UI hasn't opted in or out of analytics, and the UI should nudge them to do so.", 8541 Type: []string{"boolean"}, 8542 Format: "", 8543 }, 8544 }, 8545 "runningTiltBuild": { 8546 SchemaProps: spec.SchemaProps{ 8547 Description: "RunningTiltBuild reports the currently running version of tilt that this UI is talking to.", 8548 Default: map[string]interface{}{}, 8549 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.TiltBuild"), 8550 }, 8551 }, 8552 "suggestedTiltVersion": { 8553 SchemaProps: spec.SchemaProps{ 8554 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.", 8555 Type: []string{"string"}, 8556 Format: "", 8557 }, 8558 }, 8559 "versionSettings": { 8560 SchemaProps: spec.SchemaProps{ 8561 Description: "VersionSettings indicates whether version updates have been enabled/disabled from the Tiltfile.", 8562 Default: map[string]interface{}{}, 8563 Ref: ref("github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1.VersionSettings"), 8564 }, 8565 }, 8566 "tiltCloudUsername": { 8567 SchemaProps: spec.SchemaProps{ 8568 Description: "TiltCloudUsername reports the username if the user is signed into TiltCloud.\n\ndeprecated: no longer populated", 8569 Type: []string{"string"}, 8570 Format: "", 8571 }, 8572 }, 8573 "tiltCloudTeamName": { 8574 SchemaProps: spec.SchemaProps{ 8575 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", 8576 Type: []string{"string"}, 8577 Format: "", 8578 }, 8579 }, 8580 "tiltCloudSchemeHost": { 8581 SchemaProps: spec.SchemaProps{ 8582 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", 8583 Type: []string{"string"}, 8584 Format: "", 8585 }, 8586 }, 8587 "tiltCloudTeamID": { 8588 SchemaProps: spec.SchemaProps{ 8589 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", 8590 Type: []string{"string"}, 8591 Format: "", 8592 }, 8593 }, 8594 "fatalError": { 8595 SchemaProps: spec.SchemaProps{ 8596 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.", 8597 Type: []string{"string"}, 8598 Format: "", 8599 }, 8600 }, 8601 "tiltStartTime": { 8602 SchemaProps: spec.SchemaProps{ 8603 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.", 8604 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 8605 }, 8606 }, 8607 "tiltfileKey": { 8608 SchemaProps: spec.SchemaProps{ 8609 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.", 8610 Type: []string{"string"}, 8611 Format: "", 8612 }, 8613 }, 8614 }, 8615 }, 8616 }, 8617 Dependencies: []string{ 8618 "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"}, 8619 } 8620 } 8621 8622 func schema_pkg_apis_core_v1alpha1_UITextInputSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 8623 return common.OpenAPIDefinition{ 8624 Schema: spec.Schema{ 8625 SchemaProps: spec.SchemaProps{ 8626 Description: "Describes a text input field attached to a button.", 8627 Type: []string{"object"}, 8628 Properties: map[string]spec.Schema{ 8629 "defaultValue": { 8630 SchemaProps: spec.SchemaProps{ 8631 Description: "Initial value for this field.", 8632 Type: []string{"string"}, 8633 Format: "", 8634 }, 8635 }, 8636 "placeholder": { 8637 SchemaProps: spec.SchemaProps{ 8638 Description: "A short hint that describes the expected input of this field.", 8639 Type: []string{"string"}, 8640 Format: "", 8641 }, 8642 }, 8643 }, 8644 }, 8645 }, 8646 } 8647 } 8648 8649 func schema_pkg_apis_core_v1alpha1_UITextInputStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 8650 return common.OpenAPIDefinition{ 8651 Schema: spec.Schema{ 8652 SchemaProps: spec.SchemaProps{ 8653 Type: []string{"object"}, 8654 Properties: map[string]spec.Schema{ 8655 "value": { 8656 SchemaProps: spec.SchemaProps{ 8657 Description: "The content of the text input.", 8658 Default: "", 8659 Type: []string{"string"}, 8660 Format: "", 8661 }, 8662 }, 8663 }, 8664 Required: []string{"value"}, 8665 }, 8666 }, 8667 } 8668 } 8669 8670 func schema_pkg_apis_core_v1alpha1_VersionSettings(ref common.ReferenceCallback) common.OpenAPIDefinition { 8671 return common.OpenAPIDefinition{ 8672 Schema: spec.Schema{ 8673 SchemaProps: spec.SchemaProps{ 8674 Description: "Information about how the Tilt binary handles updates.", 8675 Type: []string{"object"}, 8676 Properties: map[string]spec.Schema{ 8677 "checkUpdates": { 8678 SchemaProps: spec.SchemaProps{ 8679 Description: "Whether version updates have been enabled/disabled from the Tiltfile.", 8680 Type: []string{"boolean"}, 8681 Format: "", 8682 }, 8683 }, 8684 }, 8685 }, 8686 }, 8687 } 8688 } 8689 8690 func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { 8691 return common.OpenAPIDefinition{ 8692 Schema: spec.Schema{ 8693 SchemaProps: spec.SchemaProps{ 8694 Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.", 8695 Type: []string{"object"}, 8696 Properties: map[string]spec.Schema{ 8697 "kind": { 8698 SchemaProps: spec.SchemaProps{ 8699 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", 8700 Type: []string{"string"}, 8701 Format: "", 8702 }, 8703 }, 8704 "apiVersion": { 8705 SchemaProps: spec.SchemaProps{ 8706 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", 8707 Type: []string{"string"}, 8708 Format: "", 8709 }, 8710 }, 8711 "name": { 8712 SchemaProps: spec.SchemaProps{ 8713 Description: "name is the name of the group.", 8714 Default: "", 8715 Type: []string{"string"}, 8716 Format: "", 8717 }, 8718 }, 8719 "versions": { 8720 VendorExtensible: spec.VendorExtensible{ 8721 Extensions: spec.Extensions{ 8722 "x-kubernetes-list-type": "atomic", 8723 }, 8724 }, 8725 SchemaProps: spec.SchemaProps{ 8726 Description: "versions are the versions supported in this group.", 8727 Type: []string{"array"}, 8728 Items: &spec.SchemaOrArray{ 8729 Schema: &spec.Schema{ 8730 SchemaProps: spec.SchemaProps{ 8731 Default: map[string]interface{}{}, 8732 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 8733 }, 8734 }, 8735 }, 8736 }, 8737 }, 8738 "preferredVersion": { 8739 SchemaProps: spec.SchemaProps{ 8740 Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.", 8741 Default: map[string]interface{}{}, 8742 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery"), 8743 }, 8744 }, 8745 "serverAddressByClientCIDRs": { 8746 VendorExtensible: spec.VendorExtensible{ 8747 Extensions: spec.Extensions{ 8748 "x-kubernetes-list-type": "atomic", 8749 }, 8750 }, 8751 SchemaProps: spec.SchemaProps{ 8752 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.", 8753 Type: []string{"array"}, 8754 Items: &spec.SchemaOrArray{ 8755 Schema: &spec.Schema{ 8756 SchemaProps: spec.SchemaProps{ 8757 Default: map[string]interface{}{}, 8758 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 8759 }, 8760 }, 8761 }, 8762 }, 8763 }, 8764 }, 8765 Required: []string{"name", "versions"}, 8766 }, 8767 }, 8768 Dependencies: []string{ 8769 "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery", "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 8770 } 8771 } 8772 8773 func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition { 8774 return common.OpenAPIDefinition{ 8775 Schema: spec.Schema{ 8776 SchemaProps: spec.SchemaProps{ 8777 Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", 8778 Type: []string{"object"}, 8779 Properties: map[string]spec.Schema{ 8780 "kind": { 8781 SchemaProps: spec.SchemaProps{ 8782 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", 8783 Type: []string{"string"}, 8784 Format: "", 8785 }, 8786 }, 8787 "apiVersion": { 8788 SchemaProps: spec.SchemaProps{ 8789 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", 8790 Type: []string{"string"}, 8791 Format: "", 8792 }, 8793 }, 8794 "groups": { 8795 VendorExtensible: spec.VendorExtensible{ 8796 Extensions: spec.Extensions{ 8797 "x-kubernetes-list-type": "atomic", 8798 }, 8799 }, 8800 SchemaProps: spec.SchemaProps{ 8801 Description: "groups is a list of APIGroup.", 8802 Type: []string{"array"}, 8803 Items: &spec.SchemaOrArray{ 8804 Schema: &spec.Schema{ 8805 SchemaProps: spec.SchemaProps{ 8806 Default: map[string]interface{}{}, 8807 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"), 8808 }, 8809 }, 8810 }, 8811 }, 8812 }, 8813 }, 8814 Required: []string{"groups"}, 8815 }, 8816 }, 8817 Dependencies: []string{ 8818 "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup"}, 8819 } 8820 } 8821 8822 func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 8823 return common.OpenAPIDefinition{ 8824 Schema: spec.Schema{ 8825 SchemaProps: spec.SchemaProps{ 8826 Description: "APIResource specifies the name of a resource and whether it is namespaced.", 8827 Type: []string{"object"}, 8828 Properties: map[string]spec.Schema{ 8829 "name": { 8830 SchemaProps: spec.SchemaProps{ 8831 Description: "name is the plural name of the resource.", 8832 Default: "", 8833 Type: []string{"string"}, 8834 Format: "", 8835 }, 8836 }, 8837 "singularName": { 8838 SchemaProps: spec.SchemaProps{ 8839 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.", 8840 Default: "", 8841 Type: []string{"string"}, 8842 Format: "", 8843 }, 8844 }, 8845 "namespaced": { 8846 SchemaProps: spec.SchemaProps{ 8847 Description: "namespaced indicates if a resource is namespaced or not.", 8848 Default: false, 8849 Type: []string{"boolean"}, 8850 Format: "", 8851 }, 8852 }, 8853 "group": { 8854 SchemaProps: spec.SchemaProps{ 8855 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\".", 8856 Type: []string{"string"}, 8857 Format: "", 8858 }, 8859 }, 8860 "version": { 8861 SchemaProps: spec.SchemaProps{ 8862 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)\".", 8863 Type: []string{"string"}, 8864 Format: "", 8865 }, 8866 }, 8867 "kind": { 8868 SchemaProps: spec.SchemaProps{ 8869 Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", 8870 Default: "", 8871 Type: []string{"string"}, 8872 Format: "", 8873 }, 8874 }, 8875 "verbs": { 8876 SchemaProps: spec.SchemaProps{ 8877 Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", 8878 Type: []string{"array"}, 8879 Items: &spec.SchemaOrArray{ 8880 Schema: &spec.Schema{ 8881 SchemaProps: spec.SchemaProps{ 8882 Default: "", 8883 Type: []string{"string"}, 8884 Format: "", 8885 }, 8886 }, 8887 }, 8888 }, 8889 }, 8890 "shortNames": { 8891 VendorExtensible: spec.VendorExtensible{ 8892 Extensions: spec.Extensions{ 8893 "x-kubernetes-list-type": "atomic", 8894 }, 8895 }, 8896 SchemaProps: spec.SchemaProps{ 8897 Description: "shortNames is a list of suggested short names of the resource.", 8898 Type: []string{"array"}, 8899 Items: &spec.SchemaOrArray{ 8900 Schema: &spec.Schema{ 8901 SchemaProps: spec.SchemaProps{ 8902 Default: "", 8903 Type: []string{"string"}, 8904 Format: "", 8905 }, 8906 }, 8907 }, 8908 }, 8909 }, 8910 "categories": { 8911 VendorExtensible: spec.VendorExtensible{ 8912 Extensions: spec.Extensions{ 8913 "x-kubernetes-list-type": "atomic", 8914 }, 8915 }, 8916 SchemaProps: spec.SchemaProps{ 8917 Description: "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", 8918 Type: []string{"array"}, 8919 Items: &spec.SchemaOrArray{ 8920 Schema: &spec.Schema{ 8921 SchemaProps: spec.SchemaProps{ 8922 Default: "", 8923 Type: []string{"string"}, 8924 Format: "", 8925 }, 8926 }, 8927 }, 8928 }, 8929 }, 8930 "storageVersionHash": { 8931 SchemaProps: spec.SchemaProps{ 8932 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.", 8933 Type: []string{"string"}, 8934 Format: "", 8935 }, 8936 }, 8937 }, 8938 Required: []string{"name", "singularName", "namespaced", "kind", "verbs"}, 8939 }, 8940 }, 8941 } 8942 } 8943 8944 func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) common.OpenAPIDefinition { 8945 return common.OpenAPIDefinition{ 8946 Schema: spec.Schema{ 8947 SchemaProps: spec.SchemaProps{ 8948 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.", 8949 Type: []string{"object"}, 8950 Properties: map[string]spec.Schema{ 8951 "kind": { 8952 SchemaProps: spec.SchemaProps{ 8953 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", 8954 Type: []string{"string"}, 8955 Format: "", 8956 }, 8957 }, 8958 "apiVersion": { 8959 SchemaProps: spec.SchemaProps{ 8960 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", 8961 Type: []string{"string"}, 8962 Format: "", 8963 }, 8964 }, 8965 "groupVersion": { 8966 SchemaProps: spec.SchemaProps{ 8967 Description: "groupVersion is the group and version this APIResourceList is for.", 8968 Default: "", 8969 Type: []string{"string"}, 8970 Format: "", 8971 }, 8972 }, 8973 "resources": { 8974 VendorExtensible: spec.VendorExtensible{ 8975 Extensions: spec.Extensions{ 8976 "x-kubernetes-list-type": "atomic", 8977 }, 8978 }, 8979 SchemaProps: spec.SchemaProps{ 8980 Description: "resources contains the name of the resources and if they are namespaced.", 8981 Type: []string{"array"}, 8982 Items: &spec.SchemaOrArray{ 8983 Schema: &spec.Schema{ 8984 SchemaProps: spec.SchemaProps{ 8985 Default: map[string]interface{}{}, 8986 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"), 8987 }, 8988 }, 8989 }, 8990 }, 8991 }, 8992 }, 8993 Required: []string{"groupVersion", "resources"}, 8994 }, 8995 }, 8996 Dependencies: []string{ 8997 "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource"}, 8998 } 8999 } 9000 9001 func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9002 return common.OpenAPIDefinition{ 9003 Schema: spec.Schema{ 9004 SchemaProps: spec.SchemaProps{ 9005 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.", 9006 Type: []string{"object"}, 9007 Properties: map[string]spec.Schema{ 9008 "kind": { 9009 SchemaProps: spec.SchemaProps{ 9010 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", 9011 Type: []string{"string"}, 9012 Format: "", 9013 }, 9014 }, 9015 "apiVersion": { 9016 SchemaProps: spec.SchemaProps{ 9017 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", 9018 Type: []string{"string"}, 9019 Format: "", 9020 }, 9021 }, 9022 "versions": { 9023 VendorExtensible: spec.VendorExtensible{ 9024 Extensions: spec.Extensions{ 9025 "x-kubernetes-list-type": "atomic", 9026 }, 9027 }, 9028 SchemaProps: spec.SchemaProps{ 9029 Description: "versions are the api versions that are available.", 9030 Type: []string{"array"}, 9031 Items: &spec.SchemaOrArray{ 9032 Schema: &spec.Schema{ 9033 SchemaProps: spec.SchemaProps{ 9034 Default: "", 9035 Type: []string{"string"}, 9036 Format: "", 9037 }, 9038 }, 9039 }, 9040 }, 9041 }, 9042 "serverAddressByClientCIDRs": { 9043 VendorExtensible: spec.VendorExtensible{ 9044 Extensions: spec.Extensions{ 9045 "x-kubernetes-list-type": "atomic", 9046 }, 9047 }, 9048 SchemaProps: spec.SchemaProps{ 9049 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.", 9050 Type: []string{"array"}, 9051 Items: &spec.SchemaOrArray{ 9052 Schema: &spec.Schema{ 9053 SchemaProps: spec.SchemaProps{ 9054 Default: map[string]interface{}{}, 9055 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"), 9056 }, 9057 }, 9058 }, 9059 }, 9060 }, 9061 }, 9062 Required: []string{"versions", "serverAddressByClientCIDRs"}, 9063 }, 9064 }, 9065 Dependencies: []string{ 9066 "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR"}, 9067 } 9068 } 9069 9070 func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9071 return common.OpenAPIDefinition{ 9072 Schema: spec.Schema{ 9073 SchemaProps: spec.SchemaProps{ 9074 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.", 9075 Type: []string{"object"}, 9076 Properties: map[string]spec.Schema{ 9077 "kind": { 9078 SchemaProps: spec.SchemaProps{ 9079 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", 9080 Type: []string{"string"}, 9081 Format: "", 9082 }, 9083 }, 9084 "apiVersion": { 9085 SchemaProps: spec.SchemaProps{ 9086 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", 9087 Type: []string{"string"}, 9088 Format: "", 9089 }, 9090 }, 9091 "dryRun": { 9092 VendorExtensible: spec.VendorExtensible{ 9093 Extensions: spec.Extensions{ 9094 "x-kubernetes-list-type": "atomic", 9095 }, 9096 }, 9097 SchemaProps: spec.SchemaProps{ 9098 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", 9099 Type: []string{"array"}, 9100 Items: &spec.SchemaOrArray{ 9101 Schema: &spec.Schema{ 9102 SchemaProps: spec.SchemaProps{ 9103 Default: "", 9104 Type: []string{"string"}, 9105 Format: "", 9106 }, 9107 }, 9108 }, 9109 }, 9110 }, 9111 "force": { 9112 SchemaProps: spec.SchemaProps{ 9113 Description: "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people.", 9114 Default: false, 9115 Type: []string{"boolean"}, 9116 Format: "", 9117 }, 9118 }, 9119 "fieldManager": { 9120 SchemaProps: spec.SchemaProps{ 9121 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.", 9122 Default: "", 9123 Type: []string{"string"}, 9124 Format: "", 9125 }, 9126 }, 9127 }, 9128 Required: []string{"force", "fieldManager"}, 9129 }, 9130 }, 9131 } 9132 } 9133 9134 func schema_pkg_apis_meta_v1_Condition(ref common.ReferenceCallback) common.OpenAPIDefinition { 9135 return common.OpenAPIDefinition{ 9136 Schema: spec.Schema{ 9137 SchemaProps: spec.SchemaProps{ 9138 Description: "Condition contains details for one aspect of the current state of this API Resource.", 9139 Type: []string{"object"}, 9140 Properties: map[string]spec.Schema{ 9141 "type": { 9142 SchemaProps: spec.SchemaProps{ 9143 Description: "type of condition in CamelCase or in foo.example.com/CamelCase.", 9144 Default: "", 9145 Type: []string{"string"}, 9146 Format: "", 9147 }, 9148 }, 9149 "status": { 9150 SchemaProps: spec.SchemaProps{ 9151 Description: "status of the condition, one of True, False, Unknown.", 9152 Default: "", 9153 Type: []string{"string"}, 9154 Format: "", 9155 }, 9156 }, 9157 "observedGeneration": { 9158 SchemaProps: spec.SchemaProps{ 9159 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.", 9160 Type: []string{"integer"}, 9161 Format: "int64", 9162 }, 9163 }, 9164 "lastTransitionTime": { 9165 SchemaProps: spec.SchemaProps{ 9166 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.", 9167 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 9168 }, 9169 }, 9170 "reason": { 9171 SchemaProps: spec.SchemaProps{ 9172 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.", 9173 Default: "", 9174 Type: []string{"string"}, 9175 Format: "", 9176 }, 9177 }, 9178 "message": { 9179 SchemaProps: spec.SchemaProps{ 9180 Description: "message is a human readable message indicating details about the transition. This may be an empty string.", 9181 Default: "", 9182 Type: []string{"string"}, 9183 Format: "", 9184 }, 9185 }, 9186 }, 9187 Required: []string{"type", "status", "lastTransitionTime", "reason", "message"}, 9188 }, 9189 }, 9190 Dependencies: []string{ 9191 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 9192 } 9193 } 9194 9195 func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9196 return common.OpenAPIDefinition{ 9197 Schema: spec.Schema{ 9198 SchemaProps: spec.SchemaProps{ 9199 Description: "CreateOptions may be provided when creating an API object.", 9200 Type: []string{"object"}, 9201 Properties: map[string]spec.Schema{ 9202 "kind": { 9203 SchemaProps: spec.SchemaProps{ 9204 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", 9205 Type: []string{"string"}, 9206 Format: "", 9207 }, 9208 }, 9209 "apiVersion": { 9210 SchemaProps: spec.SchemaProps{ 9211 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", 9212 Type: []string{"string"}, 9213 Format: "", 9214 }, 9215 }, 9216 "dryRun": { 9217 VendorExtensible: spec.VendorExtensible{ 9218 Extensions: spec.Extensions{ 9219 "x-kubernetes-list-type": "atomic", 9220 }, 9221 }, 9222 SchemaProps: spec.SchemaProps{ 9223 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", 9224 Type: []string{"array"}, 9225 Items: &spec.SchemaOrArray{ 9226 Schema: &spec.Schema{ 9227 SchemaProps: spec.SchemaProps{ 9228 Default: "", 9229 Type: []string{"string"}, 9230 Format: "", 9231 }, 9232 }, 9233 }, 9234 }, 9235 }, 9236 "fieldManager": { 9237 SchemaProps: spec.SchemaProps{ 9238 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.", 9239 Type: []string{"string"}, 9240 Format: "", 9241 }, 9242 }, 9243 "fieldValidation": { 9244 SchemaProps: spec.SchemaProps{ 9245 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.", 9246 Type: []string{"string"}, 9247 Format: "", 9248 }, 9249 }, 9250 }, 9251 }, 9252 }, 9253 } 9254 } 9255 9256 func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9257 return common.OpenAPIDefinition{ 9258 Schema: spec.Schema{ 9259 SchemaProps: spec.SchemaProps{ 9260 Description: "DeleteOptions may be provided when deleting 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 "gracePeriodSeconds": { 9278 SchemaProps: spec.SchemaProps{ 9279 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.", 9280 Type: []string{"integer"}, 9281 Format: "int64", 9282 }, 9283 }, 9284 "preconditions": { 9285 SchemaProps: spec.SchemaProps{ 9286 Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", 9287 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"), 9288 }, 9289 }, 9290 "orphanDependents": { 9291 SchemaProps: spec.SchemaProps{ 9292 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.", 9293 Type: []string{"boolean"}, 9294 Format: "", 9295 }, 9296 }, 9297 "propagationPolicy": { 9298 SchemaProps: spec.SchemaProps{ 9299 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.", 9300 Type: []string{"string"}, 9301 Format: "", 9302 }, 9303 }, 9304 "dryRun": { 9305 VendorExtensible: spec.VendorExtensible{ 9306 Extensions: spec.Extensions{ 9307 "x-kubernetes-list-type": "atomic", 9308 }, 9309 }, 9310 SchemaProps: spec.SchemaProps{ 9311 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", 9312 Type: []string{"array"}, 9313 Items: &spec.SchemaOrArray{ 9314 Schema: &spec.Schema{ 9315 SchemaProps: spec.SchemaProps{ 9316 Default: "", 9317 Type: []string{"string"}, 9318 Format: "", 9319 }, 9320 }, 9321 }, 9322 }, 9323 }, 9324 }, 9325 }, 9326 }, 9327 Dependencies: []string{ 9328 "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions"}, 9329 } 9330 } 9331 9332 func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition { 9333 return common.OpenAPIDefinition{ 9334 Schema: spec.Schema{ 9335 SchemaProps: spec.SchemaProps{ 9336 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.", 9337 Type: v1.Duration{}.OpenAPISchemaType(), 9338 Format: v1.Duration{}.OpenAPISchemaFormat(), 9339 }, 9340 }, 9341 } 9342 } 9343 9344 func schema_pkg_apis_meta_v1_FieldsV1(ref common.ReferenceCallback) common.OpenAPIDefinition { 9345 return common.OpenAPIDefinition{ 9346 Schema: spec.Schema{ 9347 SchemaProps: spec.SchemaProps{ 9348 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", 9349 Type: []string{"object"}, 9350 }, 9351 }, 9352 } 9353 } 9354 9355 func schema_pkg_apis_meta_v1_GetOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9356 return common.OpenAPIDefinition{ 9357 Schema: spec.Schema{ 9358 SchemaProps: spec.SchemaProps{ 9359 Description: "GetOptions is the standard query options to the standard REST get call.", 9360 Type: []string{"object"}, 9361 Properties: map[string]spec.Schema{ 9362 "kind": { 9363 SchemaProps: spec.SchemaProps{ 9364 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", 9365 Type: []string{"string"}, 9366 Format: "", 9367 }, 9368 }, 9369 "apiVersion": { 9370 SchemaProps: spec.SchemaProps{ 9371 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", 9372 Type: []string{"string"}, 9373 Format: "", 9374 }, 9375 }, 9376 "resourceVersion": { 9377 SchemaProps: spec.SchemaProps{ 9378 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", 9379 Type: []string{"string"}, 9380 Format: "", 9381 }, 9382 }, 9383 }, 9384 }, 9385 }, 9386 } 9387 } 9388 9389 func schema_pkg_apis_meta_v1_GroupKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 9390 return common.OpenAPIDefinition{ 9391 Schema: spec.Schema{ 9392 SchemaProps: spec.SchemaProps{ 9393 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", 9394 Type: []string{"object"}, 9395 Properties: map[string]spec.Schema{ 9396 "group": { 9397 SchemaProps: spec.SchemaProps{ 9398 Default: "", 9399 Type: []string{"string"}, 9400 Format: "", 9401 }, 9402 }, 9403 "kind": { 9404 SchemaProps: spec.SchemaProps{ 9405 Default: "", 9406 Type: []string{"string"}, 9407 Format: "", 9408 }, 9409 }, 9410 }, 9411 Required: []string{"group", "kind"}, 9412 }, 9413 }, 9414 } 9415 } 9416 9417 func schema_pkg_apis_meta_v1_GroupResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 9418 return common.OpenAPIDefinition{ 9419 Schema: spec.Schema{ 9420 SchemaProps: spec.SchemaProps{ 9421 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", 9422 Type: []string{"object"}, 9423 Properties: map[string]spec.Schema{ 9424 "group": { 9425 SchemaProps: spec.SchemaProps{ 9426 Default: "", 9427 Type: []string{"string"}, 9428 Format: "", 9429 }, 9430 }, 9431 "resource": { 9432 SchemaProps: spec.SchemaProps{ 9433 Default: "", 9434 Type: []string{"string"}, 9435 Format: "", 9436 }, 9437 }, 9438 }, 9439 Required: []string{"group", "resource"}, 9440 }, 9441 }, 9442 } 9443 } 9444 9445 func schema_pkg_apis_meta_v1_GroupVersion(ref common.ReferenceCallback) common.OpenAPIDefinition { 9446 return common.OpenAPIDefinition{ 9447 Schema: spec.Schema{ 9448 SchemaProps: spec.SchemaProps{ 9449 Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.", 9450 Type: []string{"object"}, 9451 Properties: map[string]spec.Schema{ 9452 "group": { 9453 SchemaProps: spec.SchemaProps{ 9454 Default: "", 9455 Type: []string{"string"}, 9456 Format: "", 9457 }, 9458 }, 9459 "version": { 9460 SchemaProps: spec.SchemaProps{ 9461 Default: "", 9462 Type: []string{"string"}, 9463 Format: "", 9464 }, 9465 }, 9466 }, 9467 Required: []string{"group", "version"}, 9468 }, 9469 }, 9470 } 9471 } 9472 9473 func schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref common.ReferenceCallback) common.OpenAPIDefinition { 9474 return common.OpenAPIDefinition{ 9475 Schema: spec.Schema{ 9476 SchemaProps: spec.SchemaProps{ 9477 Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", 9478 Type: []string{"object"}, 9479 Properties: map[string]spec.Schema{ 9480 "groupVersion": { 9481 SchemaProps: spec.SchemaProps{ 9482 Description: "groupVersion specifies the API group and version in the form \"group/version\"", 9483 Default: "", 9484 Type: []string{"string"}, 9485 Format: "", 9486 }, 9487 }, 9488 "version": { 9489 SchemaProps: spec.SchemaProps{ 9490 Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", 9491 Default: "", 9492 Type: []string{"string"}, 9493 Format: "", 9494 }, 9495 }, 9496 }, 9497 Required: []string{"groupVersion", "version"}, 9498 }, 9499 }, 9500 } 9501 } 9502 9503 func schema_pkg_apis_meta_v1_GroupVersionKind(ref common.ReferenceCallback) common.OpenAPIDefinition { 9504 return common.OpenAPIDefinition{ 9505 Schema: spec.Schema{ 9506 SchemaProps: spec.SchemaProps{ 9507 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", 9508 Type: []string{"object"}, 9509 Properties: map[string]spec.Schema{ 9510 "group": { 9511 SchemaProps: spec.SchemaProps{ 9512 Default: "", 9513 Type: []string{"string"}, 9514 Format: "", 9515 }, 9516 }, 9517 "version": { 9518 SchemaProps: spec.SchemaProps{ 9519 Default: "", 9520 Type: []string{"string"}, 9521 Format: "", 9522 }, 9523 }, 9524 "kind": { 9525 SchemaProps: spec.SchemaProps{ 9526 Default: "", 9527 Type: []string{"string"}, 9528 Format: "", 9529 }, 9530 }, 9531 }, 9532 Required: []string{"group", "version", "kind"}, 9533 }, 9534 }, 9535 } 9536 } 9537 9538 func schema_pkg_apis_meta_v1_GroupVersionResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 9539 return common.OpenAPIDefinition{ 9540 Schema: spec.Schema{ 9541 SchemaProps: spec.SchemaProps{ 9542 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", 9543 Type: []string{"object"}, 9544 Properties: map[string]spec.Schema{ 9545 "group": { 9546 SchemaProps: spec.SchemaProps{ 9547 Default: "", 9548 Type: []string{"string"}, 9549 Format: "", 9550 }, 9551 }, 9552 "version": { 9553 SchemaProps: spec.SchemaProps{ 9554 Default: "", 9555 Type: []string{"string"}, 9556 Format: "", 9557 }, 9558 }, 9559 "resource": { 9560 SchemaProps: spec.SchemaProps{ 9561 Default: "", 9562 Type: []string{"string"}, 9563 Format: "", 9564 }, 9565 }, 9566 }, 9567 Required: []string{"group", "version", "resource"}, 9568 }, 9569 }, 9570 } 9571 } 9572 9573 func schema_pkg_apis_meta_v1_InternalEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 9574 return common.OpenAPIDefinition{ 9575 Schema: spec.Schema{ 9576 SchemaProps: spec.SchemaProps{ 9577 Description: "InternalEvent makes watch.Event versioned", 9578 Type: []string{"object"}, 9579 Properties: map[string]spec.Schema{ 9580 "Type": { 9581 SchemaProps: spec.SchemaProps{ 9582 Default: "", 9583 Type: []string{"string"}, 9584 Format: "", 9585 }, 9586 }, 9587 "Object": { 9588 SchemaProps: spec.SchemaProps{ 9589 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.", 9590 Ref: ref("k8s.io/apimachinery/pkg/runtime.Object"), 9591 }, 9592 }, 9593 }, 9594 Required: []string{"Type", "Object"}, 9595 }, 9596 }, 9597 Dependencies: []string{ 9598 "k8s.io/apimachinery/pkg/runtime.Object"}, 9599 } 9600 } 9601 9602 func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common.OpenAPIDefinition { 9603 return common.OpenAPIDefinition{ 9604 Schema: spec.Schema{ 9605 SchemaProps: spec.SchemaProps{ 9606 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.", 9607 Type: []string{"object"}, 9608 Properties: map[string]spec.Schema{ 9609 "matchLabels": { 9610 SchemaProps: spec.SchemaProps{ 9611 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.", 9612 Type: []string{"object"}, 9613 AdditionalProperties: &spec.SchemaOrBool{ 9614 Allows: true, 9615 Schema: &spec.Schema{ 9616 SchemaProps: spec.SchemaProps{ 9617 Default: "", 9618 Type: []string{"string"}, 9619 Format: "", 9620 }, 9621 }, 9622 }, 9623 }, 9624 }, 9625 "matchExpressions": { 9626 VendorExtensible: spec.VendorExtensible{ 9627 Extensions: spec.Extensions{ 9628 "x-kubernetes-list-type": "atomic", 9629 }, 9630 }, 9631 SchemaProps: spec.SchemaProps{ 9632 Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", 9633 Type: []string{"array"}, 9634 Items: &spec.SchemaOrArray{ 9635 Schema: &spec.Schema{ 9636 SchemaProps: spec.SchemaProps{ 9637 Default: map[string]interface{}{}, 9638 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"), 9639 }, 9640 }, 9641 }, 9642 }, 9643 }, 9644 }, 9645 }, 9646 VendorExtensible: spec.VendorExtensible{ 9647 Extensions: spec.Extensions{ 9648 "x-kubernetes-map-type": "atomic", 9649 }, 9650 }, 9651 }, 9652 Dependencies: []string{ 9653 "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement"}, 9654 } 9655 } 9656 9657 func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallback) common.OpenAPIDefinition { 9658 return common.OpenAPIDefinition{ 9659 Schema: spec.Schema{ 9660 SchemaProps: spec.SchemaProps{ 9661 Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", 9662 Type: []string{"object"}, 9663 Properties: map[string]spec.Schema{ 9664 "key": { 9665 SchemaProps: spec.SchemaProps{ 9666 Description: "key is the label key that the selector applies to.", 9667 Default: "", 9668 Type: []string{"string"}, 9669 Format: "", 9670 }, 9671 }, 9672 "operator": { 9673 SchemaProps: spec.SchemaProps{ 9674 Description: "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", 9675 Default: "", 9676 Type: []string{"string"}, 9677 Format: "", 9678 }, 9679 }, 9680 "values": { 9681 VendorExtensible: spec.VendorExtensible{ 9682 Extensions: spec.Extensions{ 9683 "x-kubernetes-list-type": "atomic", 9684 }, 9685 }, 9686 SchemaProps: spec.SchemaProps{ 9687 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.", 9688 Type: []string{"array"}, 9689 Items: &spec.SchemaOrArray{ 9690 Schema: &spec.Schema{ 9691 SchemaProps: spec.SchemaProps{ 9692 Default: "", 9693 Type: []string{"string"}, 9694 Format: "", 9695 }, 9696 }, 9697 }, 9698 }, 9699 }, 9700 }, 9701 Required: []string{"key", "operator"}, 9702 }, 9703 }, 9704 } 9705 } 9706 9707 func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDefinition { 9708 return common.OpenAPIDefinition{ 9709 Schema: spec.Schema{ 9710 SchemaProps: spec.SchemaProps{ 9711 Description: "List holds a list of objects, which may not be known by the server.", 9712 Type: []string{"object"}, 9713 Properties: map[string]spec.Schema{ 9714 "kind": { 9715 SchemaProps: spec.SchemaProps{ 9716 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", 9717 Type: []string{"string"}, 9718 Format: "", 9719 }, 9720 }, 9721 "apiVersion": { 9722 SchemaProps: spec.SchemaProps{ 9723 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", 9724 Type: []string{"string"}, 9725 Format: "", 9726 }, 9727 }, 9728 "metadata": { 9729 SchemaProps: spec.SchemaProps{ 9730 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 9731 Default: map[string]interface{}{}, 9732 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 9733 }, 9734 }, 9735 "items": { 9736 SchemaProps: spec.SchemaProps{ 9737 Description: "List of objects", 9738 Type: []string{"array"}, 9739 Items: &spec.SchemaOrArray{ 9740 Schema: &spec.Schema{ 9741 SchemaProps: spec.SchemaProps{ 9742 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 9743 }, 9744 }, 9745 }, 9746 }, 9747 }, 9748 }, 9749 Required: []string{"items"}, 9750 }, 9751 }, 9752 Dependencies: []string{ 9753 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 9754 } 9755 } 9756 9757 func schema_pkg_apis_meta_v1_ListMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 9758 return common.OpenAPIDefinition{ 9759 Schema: spec.Schema{ 9760 SchemaProps: spec.SchemaProps{ 9761 Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", 9762 Type: []string{"object"}, 9763 Properties: map[string]spec.Schema{ 9764 "selfLink": { 9765 SchemaProps: spec.SchemaProps{ 9766 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", 9767 Type: []string{"string"}, 9768 Format: "", 9769 }, 9770 }, 9771 "resourceVersion": { 9772 SchemaProps: spec.SchemaProps{ 9773 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", 9774 Type: []string{"string"}, 9775 Format: "", 9776 }, 9777 }, 9778 "continue": { 9779 SchemaProps: spec.SchemaProps{ 9780 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.", 9781 Type: []string{"string"}, 9782 Format: "", 9783 }, 9784 }, 9785 "remainingItemCount": { 9786 SchemaProps: spec.SchemaProps{ 9787 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.", 9788 Type: []string{"integer"}, 9789 Format: "int64", 9790 }, 9791 }, 9792 }, 9793 }, 9794 }, 9795 } 9796 } 9797 9798 func schema_pkg_apis_meta_v1_ListOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 9799 return common.OpenAPIDefinition{ 9800 Schema: spec.Schema{ 9801 SchemaProps: spec.SchemaProps{ 9802 Description: "ListOptions is the query options to a standard REST list call.", 9803 Type: []string{"object"}, 9804 Properties: map[string]spec.Schema{ 9805 "kind": { 9806 SchemaProps: spec.SchemaProps{ 9807 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", 9808 Type: []string{"string"}, 9809 Format: "", 9810 }, 9811 }, 9812 "apiVersion": { 9813 SchemaProps: spec.SchemaProps{ 9814 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", 9815 Type: []string{"string"}, 9816 Format: "", 9817 }, 9818 }, 9819 "labelSelector": { 9820 SchemaProps: spec.SchemaProps{ 9821 Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.", 9822 Type: []string{"string"}, 9823 Format: "", 9824 }, 9825 }, 9826 "fieldSelector": { 9827 SchemaProps: spec.SchemaProps{ 9828 Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.", 9829 Type: []string{"string"}, 9830 Format: "", 9831 }, 9832 }, 9833 "watch": { 9834 SchemaProps: spec.SchemaProps{ 9835 Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", 9836 Type: []string{"boolean"}, 9837 Format: "", 9838 }, 9839 }, 9840 "allowWatchBookmarks": { 9841 SchemaProps: spec.SchemaProps{ 9842 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.", 9843 Type: []string{"boolean"}, 9844 Format: "", 9845 }, 9846 }, 9847 "resourceVersion": { 9848 SchemaProps: spec.SchemaProps{ 9849 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", 9850 Type: []string{"string"}, 9851 Format: "", 9852 }, 9853 }, 9854 "resourceVersionMatch": { 9855 SchemaProps: spec.SchemaProps{ 9856 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", 9857 Type: []string{"string"}, 9858 Format: "", 9859 }, 9860 }, 9861 "timeoutSeconds": { 9862 SchemaProps: spec.SchemaProps{ 9863 Description: "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", 9864 Type: []string{"integer"}, 9865 Format: "int64", 9866 }, 9867 }, 9868 "limit": { 9869 SchemaProps: spec.SchemaProps{ 9870 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.", 9871 Type: []string{"integer"}, 9872 Format: "int64", 9873 }, 9874 }, 9875 "continue": { 9876 SchemaProps: spec.SchemaProps{ 9877 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.", 9878 Type: []string{"string"}, 9879 Format: "", 9880 }, 9881 }, 9882 "sendInitialEvents": { 9883 SchemaProps: spec.SchemaProps{ 9884 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.", 9885 Type: []string{"boolean"}, 9886 Format: "", 9887 }, 9888 }, 9889 }, 9890 }, 9891 }, 9892 } 9893 } 9894 9895 func schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref common.ReferenceCallback) common.OpenAPIDefinition { 9896 return common.OpenAPIDefinition{ 9897 Schema: spec.Schema{ 9898 SchemaProps: spec.SchemaProps{ 9899 Description: "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", 9900 Type: []string{"object"}, 9901 Properties: map[string]spec.Schema{ 9902 "manager": { 9903 SchemaProps: spec.SchemaProps{ 9904 Description: "Manager is an identifier of the workflow managing these fields.", 9905 Type: []string{"string"}, 9906 Format: "", 9907 }, 9908 }, 9909 "operation": { 9910 SchemaProps: spec.SchemaProps{ 9911 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'.", 9912 Type: []string{"string"}, 9913 Format: "", 9914 }, 9915 }, 9916 "apiVersion": { 9917 SchemaProps: spec.SchemaProps{ 9918 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.", 9919 Type: []string{"string"}, 9920 Format: "", 9921 }, 9922 }, 9923 "time": { 9924 SchemaProps: spec.SchemaProps{ 9925 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.", 9926 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 9927 }, 9928 }, 9929 "fieldsType": { 9930 SchemaProps: spec.SchemaProps{ 9931 Description: "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", 9932 Type: []string{"string"}, 9933 Format: "", 9934 }, 9935 }, 9936 "fieldsV1": { 9937 SchemaProps: spec.SchemaProps{ 9938 Description: "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.", 9939 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1"), 9940 }, 9941 }, 9942 "subresource": { 9943 SchemaProps: spec.SchemaProps{ 9944 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.", 9945 Type: []string{"string"}, 9946 Format: "", 9947 }, 9948 }, 9949 }, 9950 }, 9951 }, 9952 Dependencies: []string{ 9953 "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 9954 } 9955 } 9956 9957 func schema_pkg_apis_meta_v1_MicroTime(ref common.ReferenceCallback) common.OpenAPIDefinition { 9958 return common.OpenAPIDefinition{ 9959 Schema: spec.Schema{ 9960 SchemaProps: spec.SchemaProps{ 9961 Description: "MicroTime is version of Time with microsecond level precision.", 9962 Type: v1.MicroTime{}.OpenAPISchemaType(), 9963 Format: v1.MicroTime{}.OpenAPISchemaFormat(), 9964 }, 9965 }, 9966 } 9967 } 9968 9969 func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 9970 return common.OpenAPIDefinition{ 9971 Schema: spec.Schema{ 9972 SchemaProps: spec.SchemaProps{ 9973 Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", 9974 Type: []string{"object"}, 9975 Properties: map[string]spec.Schema{ 9976 "name": { 9977 SchemaProps: spec.SchemaProps{ 9978 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", 9979 Type: []string{"string"}, 9980 Format: "", 9981 }, 9982 }, 9983 "generateName": { 9984 SchemaProps: spec.SchemaProps{ 9985 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", 9986 Type: []string{"string"}, 9987 Format: "", 9988 }, 9989 }, 9990 "namespace": { 9991 SchemaProps: spec.SchemaProps{ 9992 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", 9993 Type: []string{"string"}, 9994 Format: "", 9995 }, 9996 }, 9997 "selfLink": { 9998 SchemaProps: spec.SchemaProps{ 9999 Description: "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", 10000 Type: []string{"string"}, 10001 Format: "", 10002 }, 10003 }, 10004 "uid": { 10005 SchemaProps: spec.SchemaProps{ 10006 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", 10007 Type: []string{"string"}, 10008 Format: "", 10009 }, 10010 }, 10011 "resourceVersion": { 10012 SchemaProps: spec.SchemaProps{ 10013 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", 10014 Type: []string{"string"}, 10015 Format: "", 10016 }, 10017 }, 10018 "generation": { 10019 SchemaProps: spec.SchemaProps{ 10020 Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", 10021 Type: []string{"integer"}, 10022 Format: "int64", 10023 }, 10024 }, 10025 "creationTimestamp": { 10026 SchemaProps: spec.SchemaProps{ 10027 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", 10028 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 10029 }, 10030 }, 10031 "deletionTimestamp": { 10032 SchemaProps: spec.SchemaProps{ 10033 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", 10034 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 10035 }, 10036 }, 10037 "deletionGracePeriodSeconds": { 10038 SchemaProps: spec.SchemaProps{ 10039 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.", 10040 Type: []string{"integer"}, 10041 Format: "int64", 10042 }, 10043 }, 10044 "labels": { 10045 SchemaProps: spec.SchemaProps{ 10046 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", 10047 Type: []string{"object"}, 10048 AdditionalProperties: &spec.SchemaOrBool{ 10049 Allows: true, 10050 Schema: &spec.Schema{ 10051 SchemaProps: spec.SchemaProps{ 10052 Default: "", 10053 Type: []string{"string"}, 10054 Format: "", 10055 }, 10056 }, 10057 }, 10058 }, 10059 }, 10060 "annotations": { 10061 SchemaProps: spec.SchemaProps{ 10062 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", 10063 Type: []string{"object"}, 10064 AdditionalProperties: &spec.SchemaOrBool{ 10065 Allows: true, 10066 Schema: &spec.Schema{ 10067 SchemaProps: spec.SchemaProps{ 10068 Default: "", 10069 Type: []string{"string"}, 10070 Format: "", 10071 }, 10072 }, 10073 }, 10074 }, 10075 }, 10076 "ownerReferences": { 10077 VendorExtensible: spec.VendorExtensible{ 10078 Extensions: spec.Extensions{ 10079 "x-kubernetes-list-map-keys": []interface{}{ 10080 "uid", 10081 }, 10082 "x-kubernetes-list-type": "map", 10083 "x-kubernetes-patch-merge-key": "uid", 10084 "x-kubernetes-patch-strategy": "merge", 10085 }, 10086 }, 10087 SchemaProps: spec.SchemaProps{ 10088 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.", 10089 Type: []string{"array"}, 10090 Items: &spec.SchemaOrArray{ 10091 Schema: &spec.Schema{ 10092 SchemaProps: spec.SchemaProps{ 10093 Default: map[string]interface{}{}, 10094 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference"), 10095 }, 10096 }, 10097 }, 10098 }, 10099 }, 10100 "finalizers": { 10101 VendorExtensible: spec.VendorExtensible{ 10102 Extensions: spec.Extensions{ 10103 "x-kubernetes-list-type": "set", 10104 "x-kubernetes-patch-strategy": "merge", 10105 }, 10106 }, 10107 SchemaProps: spec.SchemaProps{ 10108 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.", 10109 Type: []string{"array"}, 10110 Items: &spec.SchemaOrArray{ 10111 Schema: &spec.Schema{ 10112 SchemaProps: spec.SchemaProps{ 10113 Default: "", 10114 Type: []string{"string"}, 10115 Format: "", 10116 }, 10117 }, 10118 }, 10119 }, 10120 }, 10121 "managedFields": { 10122 VendorExtensible: spec.VendorExtensible{ 10123 Extensions: spec.Extensions{ 10124 "x-kubernetes-list-type": "atomic", 10125 }, 10126 }, 10127 SchemaProps: spec.SchemaProps{ 10128 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.", 10129 Type: []string{"array"}, 10130 Items: &spec.SchemaOrArray{ 10131 Schema: &spec.Schema{ 10132 SchemaProps: spec.SchemaProps{ 10133 Default: map[string]interface{}{}, 10134 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry"), 10135 }, 10136 }, 10137 }, 10138 }, 10139 }, 10140 }, 10141 }, 10142 }, 10143 Dependencies: []string{ 10144 "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry", "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 10145 } 10146 } 10147 10148 func schema_pkg_apis_meta_v1_OwnerReference(ref common.ReferenceCallback) common.OpenAPIDefinition { 10149 return common.OpenAPIDefinition{ 10150 Schema: spec.Schema{ 10151 SchemaProps: spec.SchemaProps{ 10152 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.", 10153 Type: []string{"object"}, 10154 Properties: map[string]spec.Schema{ 10155 "apiVersion": { 10156 SchemaProps: spec.SchemaProps{ 10157 Description: "API version of the referent.", 10158 Default: "", 10159 Type: []string{"string"}, 10160 Format: "", 10161 }, 10162 }, 10163 "kind": { 10164 SchemaProps: spec.SchemaProps{ 10165 Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10166 Default: "", 10167 Type: []string{"string"}, 10168 Format: "", 10169 }, 10170 }, 10171 "name": { 10172 SchemaProps: spec.SchemaProps{ 10173 Description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", 10174 Default: "", 10175 Type: []string{"string"}, 10176 Format: "", 10177 }, 10178 }, 10179 "uid": { 10180 SchemaProps: spec.SchemaProps{ 10181 Description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", 10182 Default: "", 10183 Type: []string{"string"}, 10184 Format: "", 10185 }, 10186 }, 10187 "controller": { 10188 SchemaProps: spec.SchemaProps{ 10189 Description: "If true, this reference points to the managing controller.", 10190 Type: []string{"boolean"}, 10191 Format: "", 10192 }, 10193 }, 10194 "blockOwnerDeletion": { 10195 SchemaProps: spec.SchemaProps{ 10196 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.", 10197 Type: []string{"boolean"}, 10198 Format: "", 10199 }, 10200 }, 10201 }, 10202 Required: []string{"apiVersion", "kind", "name", "uid"}, 10203 }, 10204 VendorExtensible: spec.VendorExtensible{ 10205 Extensions: spec.Extensions{ 10206 "x-kubernetes-map-type": "atomic", 10207 }, 10208 }, 10209 }, 10210 } 10211 } 10212 10213 func schema_pkg_apis_meta_v1_PartialObjectMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition { 10214 return common.OpenAPIDefinition{ 10215 Schema: spec.Schema{ 10216 SchemaProps: spec.SchemaProps{ 10217 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.", 10218 Type: []string{"object"}, 10219 Properties: map[string]spec.Schema{ 10220 "kind": { 10221 SchemaProps: spec.SchemaProps{ 10222 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", 10223 Type: []string{"string"}, 10224 Format: "", 10225 }, 10226 }, 10227 "apiVersion": { 10228 SchemaProps: spec.SchemaProps{ 10229 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", 10230 Type: []string{"string"}, 10231 Format: "", 10232 }, 10233 }, 10234 "metadata": { 10235 SchemaProps: spec.SchemaProps{ 10236 Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", 10237 Default: map[string]interface{}{}, 10238 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 10239 }, 10240 }, 10241 }, 10242 }, 10243 }, 10244 Dependencies: []string{ 10245 "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 10246 } 10247 } 10248 10249 func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallback) common.OpenAPIDefinition { 10250 return common.OpenAPIDefinition{ 10251 Schema: spec.Schema{ 10252 SchemaProps: spec.SchemaProps{ 10253 Description: "PartialObjectMetadataList contains a list of objects containing only their metadata", 10254 Type: []string{"object"}, 10255 Properties: map[string]spec.Schema{ 10256 "kind": { 10257 SchemaProps: spec.SchemaProps{ 10258 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", 10259 Type: []string{"string"}, 10260 Format: "", 10261 }, 10262 }, 10263 "apiVersion": { 10264 SchemaProps: spec.SchemaProps{ 10265 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", 10266 Type: []string{"string"}, 10267 Format: "", 10268 }, 10269 }, 10270 "metadata": { 10271 SchemaProps: spec.SchemaProps{ 10272 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10273 Default: map[string]interface{}{}, 10274 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 10275 }, 10276 }, 10277 "items": { 10278 SchemaProps: spec.SchemaProps{ 10279 Description: "items contains each of the included items.", 10280 Type: []string{"array"}, 10281 Items: &spec.SchemaOrArray{ 10282 Schema: &spec.Schema{ 10283 SchemaProps: spec.SchemaProps{ 10284 Default: map[string]interface{}{}, 10285 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"), 10286 }, 10287 }, 10288 }, 10289 }, 10290 }, 10291 }, 10292 Required: []string{"items"}, 10293 }, 10294 }, 10295 Dependencies: []string{ 10296 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata"}, 10297 } 10298 } 10299 10300 func schema_pkg_apis_meta_v1_Patch(ref common.ReferenceCallback) common.OpenAPIDefinition { 10301 return common.OpenAPIDefinition{ 10302 Schema: spec.Schema{ 10303 SchemaProps: spec.SchemaProps{ 10304 Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", 10305 Type: []string{"object"}, 10306 }, 10307 }, 10308 } 10309 } 10310 10311 func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 10312 return common.OpenAPIDefinition{ 10313 Schema: spec.Schema{ 10314 SchemaProps: spec.SchemaProps{ 10315 Description: "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.", 10316 Type: []string{"object"}, 10317 Properties: map[string]spec.Schema{ 10318 "kind": { 10319 SchemaProps: spec.SchemaProps{ 10320 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", 10321 Type: []string{"string"}, 10322 Format: "", 10323 }, 10324 }, 10325 "apiVersion": { 10326 SchemaProps: spec.SchemaProps{ 10327 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", 10328 Type: []string{"string"}, 10329 Format: "", 10330 }, 10331 }, 10332 "dryRun": { 10333 VendorExtensible: spec.VendorExtensible{ 10334 Extensions: spec.Extensions{ 10335 "x-kubernetes-list-type": "atomic", 10336 }, 10337 }, 10338 SchemaProps: spec.SchemaProps{ 10339 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", 10340 Type: []string{"array"}, 10341 Items: &spec.SchemaOrArray{ 10342 Schema: &spec.Schema{ 10343 SchemaProps: spec.SchemaProps{ 10344 Default: "", 10345 Type: []string{"string"}, 10346 Format: "", 10347 }, 10348 }, 10349 }, 10350 }, 10351 }, 10352 "force": { 10353 SchemaProps: spec.SchemaProps{ 10354 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.", 10355 Type: []string{"boolean"}, 10356 Format: "", 10357 }, 10358 }, 10359 "fieldManager": { 10360 SchemaProps: spec.SchemaProps{ 10361 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).", 10362 Type: []string{"string"}, 10363 Format: "", 10364 }, 10365 }, 10366 "fieldValidation": { 10367 SchemaProps: spec.SchemaProps{ 10368 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.", 10369 Type: []string{"string"}, 10370 Format: "", 10371 }, 10372 }, 10373 }, 10374 }, 10375 }, 10376 } 10377 } 10378 10379 func schema_pkg_apis_meta_v1_Preconditions(ref common.ReferenceCallback) common.OpenAPIDefinition { 10380 return common.OpenAPIDefinition{ 10381 Schema: spec.Schema{ 10382 SchemaProps: spec.SchemaProps{ 10383 Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", 10384 Type: []string{"object"}, 10385 Properties: map[string]spec.Schema{ 10386 "uid": { 10387 SchemaProps: spec.SchemaProps{ 10388 Description: "Specifies the target UID.", 10389 Type: []string{"string"}, 10390 Format: "", 10391 }, 10392 }, 10393 "resourceVersion": { 10394 SchemaProps: spec.SchemaProps{ 10395 Description: "Specifies the target ResourceVersion", 10396 Type: []string{"string"}, 10397 Format: "", 10398 }, 10399 }, 10400 }, 10401 }, 10402 }, 10403 } 10404 } 10405 10406 func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.OpenAPIDefinition { 10407 return common.OpenAPIDefinition{ 10408 Schema: spec.Schema{ 10409 SchemaProps: spec.SchemaProps{ 10410 Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".", 10411 Type: []string{"object"}, 10412 Properties: map[string]spec.Schema{ 10413 "paths": { 10414 VendorExtensible: spec.VendorExtensible{ 10415 Extensions: spec.Extensions{ 10416 "x-kubernetes-list-type": "atomic", 10417 }, 10418 }, 10419 SchemaProps: spec.SchemaProps{ 10420 Description: "paths are the paths available at root.", 10421 Type: []string{"array"}, 10422 Items: &spec.SchemaOrArray{ 10423 Schema: &spec.Schema{ 10424 SchemaProps: spec.SchemaProps{ 10425 Default: "", 10426 Type: []string{"string"}, 10427 Format: "", 10428 }, 10429 }, 10430 }, 10431 }, 10432 }, 10433 }, 10434 Required: []string{"paths"}, 10435 }, 10436 }, 10437 } 10438 } 10439 10440 func schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref common.ReferenceCallback) common.OpenAPIDefinition { 10441 return common.OpenAPIDefinition{ 10442 Schema: spec.Schema{ 10443 SchemaProps: spec.SchemaProps{ 10444 Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", 10445 Type: []string{"object"}, 10446 Properties: map[string]spec.Schema{ 10447 "clientCIDR": { 10448 SchemaProps: spec.SchemaProps{ 10449 Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.", 10450 Default: "", 10451 Type: []string{"string"}, 10452 Format: "", 10453 }, 10454 }, 10455 "serverAddress": { 10456 SchemaProps: spec.SchemaProps{ 10457 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.", 10458 Default: "", 10459 Type: []string{"string"}, 10460 Format: "", 10461 }, 10462 }, 10463 }, 10464 Required: []string{"clientCIDR", "serverAddress"}, 10465 }, 10466 }, 10467 } 10468 } 10469 10470 func schema_pkg_apis_meta_v1_Status(ref common.ReferenceCallback) common.OpenAPIDefinition { 10471 return common.OpenAPIDefinition{ 10472 Schema: spec.Schema{ 10473 SchemaProps: spec.SchemaProps{ 10474 Description: "Status is a return value for calls that don't return other objects.", 10475 Type: []string{"object"}, 10476 Properties: map[string]spec.Schema{ 10477 "kind": { 10478 SchemaProps: spec.SchemaProps{ 10479 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", 10480 Type: []string{"string"}, 10481 Format: "", 10482 }, 10483 }, 10484 "apiVersion": { 10485 SchemaProps: spec.SchemaProps{ 10486 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", 10487 Type: []string{"string"}, 10488 Format: "", 10489 }, 10490 }, 10491 "metadata": { 10492 SchemaProps: spec.SchemaProps{ 10493 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10494 Default: map[string]interface{}{}, 10495 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 10496 }, 10497 }, 10498 "status": { 10499 SchemaProps: spec.SchemaProps{ 10500 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", 10501 Type: []string{"string"}, 10502 Format: "", 10503 }, 10504 }, 10505 "message": { 10506 SchemaProps: spec.SchemaProps{ 10507 Description: "A human-readable description of the status of this operation.", 10508 Type: []string{"string"}, 10509 Format: "", 10510 }, 10511 }, 10512 "reason": { 10513 SchemaProps: spec.SchemaProps{ 10514 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.", 10515 Type: []string{"string"}, 10516 Format: "", 10517 }, 10518 }, 10519 "details": { 10520 VendorExtensible: spec.VendorExtensible{ 10521 Extensions: spec.Extensions{ 10522 "x-kubernetes-list-type": "atomic", 10523 }, 10524 }, 10525 SchemaProps: spec.SchemaProps{ 10526 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.", 10527 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"), 10528 }, 10529 }, 10530 "code": { 10531 SchemaProps: spec.SchemaProps{ 10532 Description: "Suggested HTTP return code for this status, 0 if not set.", 10533 Type: []string{"integer"}, 10534 Format: "int32", 10535 }, 10536 }, 10537 }, 10538 }, 10539 }, 10540 Dependencies: []string{ 10541 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails"}, 10542 } 10543 } 10544 10545 func schema_pkg_apis_meta_v1_StatusCause(ref common.ReferenceCallback) common.OpenAPIDefinition { 10546 return common.OpenAPIDefinition{ 10547 Schema: spec.Schema{ 10548 SchemaProps: spec.SchemaProps{ 10549 Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", 10550 Type: []string{"object"}, 10551 Properties: map[string]spec.Schema{ 10552 "reason": { 10553 SchemaProps: spec.SchemaProps{ 10554 Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.", 10555 Type: []string{"string"}, 10556 Format: "", 10557 }, 10558 }, 10559 "message": { 10560 SchemaProps: spec.SchemaProps{ 10561 Description: "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", 10562 Type: []string{"string"}, 10563 Format: "", 10564 }, 10565 }, 10566 "field": { 10567 SchemaProps: spec.SchemaProps{ 10568 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\"", 10569 Type: []string{"string"}, 10570 Format: "", 10571 }, 10572 }, 10573 }, 10574 }, 10575 }, 10576 } 10577 } 10578 10579 func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition { 10580 return common.OpenAPIDefinition{ 10581 Schema: spec.Schema{ 10582 SchemaProps: spec.SchemaProps{ 10583 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.", 10584 Type: []string{"object"}, 10585 Properties: map[string]spec.Schema{ 10586 "name": { 10587 SchemaProps: spec.SchemaProps{ 10588 Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", 10589 Type: []string{"string"}, 10590 Format: "", 10591 }, 10592 }, 10593 "group": { 10594 SchemaProps: spec.SchemaProps{ 10595 Description: "The group attribute of the resource associated with the status StatusReason.", 10596 Type: []string{"string"}, 10597 Format: "", 10598 }, 10599 }, 10600 "kind": { 10601 SchemaProps: spec.SchemaProps{ 10602 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", 10603 Type: []string{"string"}, 10604 Format: "", 10605 }, 10606 }, 10607 "uid": { 10608 SchemaProps: spec.SchemaProps{ 10609 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", 10610 Type: []string{"string"}, 10611 Format: "", 10612 }, 10613 }, 10614 "causes": { 10615 VendorExtensible: spec.VendorExtensible{ 10616 Extensions: spec.Extensions{ 10617 "x-kubernetes-list-type": "atomic", 10618 }, 10619 }, 10620 SchemaProps: spec.SchemaProps{ 10621 Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", 10622 Type: []string{"array"}, 10623 Items: &spec.SchemaOrArray{ 10624 Schema: &spec.Schema{ 10625 SchemaProps: spec.SchemaProps{ 10626 Default: map[string]interface{}{}, 10627 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"), 10628 }, 10629 }, 10630 }, 10631 }, 10632 }, 10633 "retryAfterSeconds": { 10634 SchemaProps: spec.SchemaProps{ 10635 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.", 10636 Type: []string{"integer"}, 10637 Format: "int32", 10638 }, 10639 }, 10640 }, 10641 }, 10642 }, 10643 Dependencies: []string{ 10644 "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause"}, 10645 } 10646 } 10647 10648 func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPIDefinition { 10649 return common.OpenAPIDefinition{ 10650 Schema: spec.Schema{ 10651 SchemaProps: spec.SchemaProps{ 10652 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.", 10653 Type: []string{"object"}, 10654 Properties: map[string]spec.Schema{ 10655 "kind": { 10656 SchemaProps: spec.SchemaProps{ 10657 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", 10658 Type: []string{"string"}, 10659 Format: "", 10660 }, 10661 }, 10662 "apiVersion": { 10663 SchemaProps: spec.SchemaProps{ 10664 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", 10665 Type: []string{"string"}, 10666 Format: "", 10667 }, 10668 }, 10669 "metadata": { 10670 SchemaProps: spec.SchemaProps{ 10671 Description: "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 10672 Default: map[string]interface{}{}, 10673 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 10674 }, 10675 }, 10676 "columnDefinitions": { 10677 VendorExtensible: spec.VendorExtensible{ 10678 Extensions: spec.Extensions{ 10679 "x-kubernetes-list-type": "atomic", 10680 }, 10681 }, 10682 SchemaProps: spec.SchemaProps{ 10683 Description: "columnDefinitions describes each column in the returned items array. The number of cells per row will always match the number of column definitions.", 10684 Type: []string{"array"}, 10685 Items: &spec.SchemaOrArray{ 10686 Schema: &spec.Schema{ 10687 SchemaProps: spec.SchemaProps{ 10688 Default: map[string]interface{}{}, 10689 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition"), 10690 }, 10691 }, 10692 }, 10693 }, 10694 }, 10695 "rows": { 10696 VendorExtensible: spec.VendorExtensible{ 10697 Extensions: spec.Extensions{ 10698 "x-kubernetes-list-type": "atomic", 10699 }, 10700 }, 10701 SchemaProps: spec.SchemaProps{ 10702 Description: "rows is the list of items in the table.", 10703 Type: []string{"array"}, 10704 Items: &spec.SchemaOrArray{ 10705 Schema: &spec.Schema{ 10706 SchemaProps: spec.SchemaProps{ 10707 Default: map[string]interface{}{}, 10708 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"), 10709 }, 10710 }, 10711 }, 10712 }, 10713 }, 10714 }, 10715 Required: []string{"columnDefinitions", "rows"}, 10716 }, 10717 }, 10718 Dependencies: []string{ 10719 "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition", "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow"}, 10720 } 10721 } 10722 10723 func schema_pkg_apis_meta_v1_TableColumnDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition { 10724 return common.OpenAPIDefinition{ 10725 Schema: spec.Schema{ 10726 SchemaProps: spec.SchemaProps{ 10727 Description: "TableColumnDefinition contains information about a column returned in the Table.", 10728 Type: []string{"object"}, 10729 Properties: map[string]spec.Schema{ 10730 "name": { 10731 SchemaProps: spec.SchemaProps{ 10732 Description: "name is a human readable name for the column.", 10733 Default: "", 10734 Type: []string{"string"}, 10735 Format: "", 10736 }, 10737 }, 10738 "type": { 10739 SchemaProps: spec.SchemaProps{ 10740 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.", 10741 Default: "", 10742 Type: []string{"string"}, 10743 Format: "", 10744 }, 10745 }, 10746 "format": { 10747 SchemaProps: spec.SchemaProps{ 10748 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.", 10749 Default: "", 10750 Type: []string{"string"}, 10751 Format: "", 10752 }, 10753 }, 10754 "description": { 10755 SchemaProps: spec.SchemaProps{ 10756 Description: "description is a human readable description of this column.", 10757 Default: "", 10758 Type: []string{"string"}, 10759 Format: "", 10760 }, 10761 }, 10762 "priority": { 10763 SchemaProps: spec.SchemaProps{ 10764 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.", 10765 Default: 0, 10766 Type: []string{"integer"}, 10767 Format: "int32", 10768 }, 10769 }, 10770 }, 10771 Required: []string{"name", "type", "format", "description", "priority"}, 10772 }, 10773 }, 10774 } 10775 } 10776 10777 func schema_pkg_apis_meta_v1_TableOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 10778 return common.OpenAPIDefinition{ 10779 Schema: spec.Schema{ 10780 SchemaProps: spec.SchemaProps{ 10781 Description: "TableOptions are used when a Table is requested by the caller.", 10782 Type: []string{"object"}, 10783 Properties: map[string]spec.Schema{ 10784 "kind": { 10785 SchemaProps: spec.SchemaProps{ 10786 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", 10787 Type: []string{"string"}, 10788 Format: "", 10789 }, 10790 }, 10791 "apiVersion": { 10792 SchemaProps: spec.SchemaProps{ 10793 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", 10794 Type: []string{"string"}, 10795 Format: "", 10796 }, 10797 }, 10798 "includeObject": { 10799 SchemaProps: spec.SchemaProps{ 10800 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.", 10801 Type: []string{"string"}, 10802 Format: "", 10803 }, 10804 }, 10805 }, 10806 }, 10807 }, 10808 } 10809 } 10810 10811 func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenAPIDefinition { 10812 return common.OpenAPIDefinition{ 10813 Schema: spec.Schema{ 10814 SchemaProps: spec.SchemaProps{ 10815 Description: "TableRow is an individual row in a table.", 10816 Type: []string{"object"}, 10817 Properties: map[string]spec.Schema{ 10818 "cells": { 10819 VendorExtensible: spec.VendorExtensible{ 10820 Extensions: spec.Extensions{ 10821 "x-kubernetes-list-type": "atomic", 10822 }, 10823 }, 10824 SchemaProps: spec.SchemaProps{ 10825 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.", 10826 Type: []string{"array"}, 10827 Items: &spec.SchemaOrArray{ 10828 Schema: &spec.Schema{ 10829 SchemaProps: spec.SchemaProps{ 10830 Type: []string{"object"}, 10831 Format: "", 10832 }, 10833 }, 10834 }, 10835 }, 10836 }, 10837 "conditions": { 10838 VendorExtensible: spec.VendorExtensible{ 10839 Extensions: spec.Extensions{ 10840 "x-kubernetes-list-type": "atomic", 10841 }, 10842 }, 10843 SchemaProps: spec.SchemaProps{ 10844 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.", 10845 Type: []string{"array"}, 10846 Items: &spec.SchemaOrArray{ 10847 Schema: &spec.Schema{ 10848 SchemaProps: spec.SchemaProps{ 10849 Default: map[string]interface{}{}, 10850 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition"), 10851 }, 10852 }, 10853 }, 10854 }, 10855 }, 10856 "object": { 10857 SchemaProps: spec.SchemaProps{ 10858 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.", 10859 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 10860 }, 10861 }, 10862 }, 10863 Required: []string{"cells"}, 10864 }, 10865 }, 10866 Dependencies: []string{ 10867 "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition", "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 10868 } 10869 } 10870 10871 func schema_pkg_apis_meta_v1_TableRowCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 10872 return common.OpenAPIDefinition{ 10873 Schema: spec.Schema{ 10874 SchemaProps: spec.SchemaProps{ 10875 Description: "TableRowCondition allows a row to be marked with additional information.", 10876 Type: []string{"object"}, 10877 Properties: map[string]spec.Schema{ 10878 "type": { 10879 SchemaProps: spec.SchemaProps{ 10880 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.", 10881 Default: "", 10882 Type: []string{"string"}, 10883 Format: "", 10884 }, 10885 }, 10886 "status": { 10887 SchemaProps: spec.SchemaProps{ 10888 Description: "Status of the condition, one of True, False, Unknown.", 10889 Default: "", 10890 Type: []string{"string"}, 10891 Format: "", 10892 }, 10893 }, 10894 "reason": { 10895 SchemaProps: spec.SchemaProps{ 10896 Description: "(brief) machine readable reason for the condition's last transition.", 10897 Type: []string{"string"}, 10898 Format: "", 10899 }, 10900 }, 10901 "message": { 10902 SchemaProps: spec.SchemaProps{ 10903 Description: "Human readable message indicating details about last transition.", 10904 Type: []string{"string"}, 10905 Format: "", 10906 }, 10907 }, 10908 }, 10909 Required: []string{"type", "status"}, 10910 }, 10911 }, 10912 } 10913 } 10914 10915 func schema_pkg_apis_meta_v1_Time(ref common.ReferenceCallback) common.OpenAPIDefinition { 10916 return common.OpenAPIDefinition{ 10917 Schema: spec.Schema{ 10918 SchemaProps: spec.SchemaProps{ 10919 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.", 10920 Type: v1.Time{}.OpenAPISchemaType(), 10921 Format: v1.Time{}.OpenAPISchemaFormat(), 10922 }, 10923 }, 10924 } 10925 } 10926 10927 func schema_pkg_apis_meta_v1_Timestamp(ref common.ReferenceCallback) common.OpenAPIDefinition { 10928 return common.OpenAPIDefinition{ 10929 Schema: spec.Schema{ 10930 SchemaProps: spec.SchemaProps{ 10931 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.", 10932 Type: []string{"object"}, 10933 Properties: map[string]spec.Schema{ 10934 "seconds": { 10935 SchemaProps: spec.SchemaProps{ 10936 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.", 10937 Default: 0, 10938 Type: []string{"integer"}, 10939 Format: "int64", 10940 }, 10941 }, 10942 "nanos": { 10943 SchemaProps: spec.SchemaProps{ 10944 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.", 10945 Default: 0, 10946 Type: []string{"integer"}, 10947 Format: "int32", 10948 }, 10949 }, 10950 }, 10951 Required: []string{"seconds", "nanos"}, 10952 }, 10953 }, 10954 } 10955 } 10956 10957 func schema_pkg_apis_meta_v1_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 10958 return common.OpenAPIDefinition{ 10959 Schema: spec.Schema{ 10960 SchemaProps: spec.SchemaProps{ 10961 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.", 10962 Type: []string{"object"}, 10963 Properties: map[string]spec.Schema{ 10964 "kind": { 10965 SchemaProps: spec.SchemaProps{ 10966 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", 10967 Type: []string{"string"}, 10968 Format: "", 10969 }, 10970 }, 10971 "apiVersion": { 10972 SchemaProps: spec.SchemaProps{ 10973 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", 10974 Type: []string{"string"}, 10975 Format: "", 10976 }, 10977 }, 10978 }, 10979 }, 10980 }, 10981 } 10982 } 10983 10984 func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 10985 return common.OpenAPIDefinition{ 10986 Schema: spec.Schema{ 10987 SchemaProps: spec.SchemaProps{ 10988 Description: "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.", 10989 Type: []string{"object"}, 10990 Properties: map[string]spec.Schema{ 10991 "kind": { 10992 SchemaProps: spec.SchemaProps{ 10993 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", 10994 Type: []string{"string"}, 10995 Format: "", 10996 }, 10997 }, 10998 "apiVersion": { 10999 SchemaProps: spec.SchemaProps{ 11000 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", 11001 Type: []string{"string"}, 11002 Format: "", 11003 }, 11004 }, 11005 "dryRun": { 11006 VendorExtensible: spec.VendorExtensible{ 11007 Extensions: spec.Extensions{ 11008 "x-kubernetes-list-type": "atomic", 11009 }, 11010 }, 11011 SchemaProps: spec.SchemaProps{ 11012 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", 11013 Type: []string{"array"}, 11014 Items: &spec.SchemaOrArray{ 11015 Schema: &spec.Schema{ 11016 SchemaProps: spec.SchemaProps{ 11017 Default: "", 11018 Type: []string{"string"}, 11019 Format: "", 11020 }, 11021 }, 11022 }, 11023 }, 11024 }, 11025 "fieldManager": { 11026 SchemaProps: spec.SchemaProps{ 11027 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.", 11028 Type: []string{"string"}, 11029 Format: "", 11030 }, 11031 }, 11032 "fieldValidation": { 11033 SchemaProps: spec.SchemaProps{ 11034 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.", 11035 Type: []string{"string"}, 11036 Format: "", 11037 }, 11038 }, 11039 }, 11040 }, 11041 }, 11042 } 11043 } 11044 11045 func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 11046 return common.OpenAPIDefinition{ 11047 Schema: spec.Schema{ 11048 SchemaProps: spec.SchemaProps{ 11049 Description: "Event represents a single event to a watched resource.", 11050 Type: []string{"object"}, 11051 Properties: map[string]spec.Schema{ 11052 "type": { 11053 SchemaProps: spec.SchemaProps{ 11054 Default: "", 11055 Type: []string{"string"}, 11056 Format: "", 11057 }, 11058 }, 11059 "object": { 11060 SchemaProps: spec.SchemaProps{ 11061 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.", 11062 Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), 11063 }, 11064 }, 11065 }, 11066 Required: []string{"type", "object"}, 11067 }, 11068 }, 11069 Dependencies: []string{ 11070 "k8s.io/apimachinery/pkg/runtime.RawExtension"}, 11071 } 11072 } 11073 11074 func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCallback) common.OpenAPIDefinition { 11075 return common.OpenAPIDefinition{ 11076 Schema: spec.Schema{ 11077 SchemaProps: spec.SchemaProps{ 11078 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.)", 11079 Type: []string{"object"}, 11080 }, 11081 }, 11082 } 11083 } 11084 11085 func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 11086 return common.OpenAPIDefinition{ 11087 Schema: spec.Schema{ 11088 SchemaProps: spec.SchemaProps{ 11089 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.", 11090 Type: []string{"object"}, 11091 Properties: map[string]spec.Schema{ 11092 "apiVersion": { 11093 SchemaProps: spec.SchemaProps{ 11094 Type: []string{"string"}, 11095 Format: "", 11096 }, 11097 }, 11098 "kind": { 11099 SchemaProps: spec.SchemaProps{ 11100 Type: []string{"string"}, 11101 Format: "", 11102 }, 11103 }, 11104 }, 11105 }, 11106 }, 11107 } 11108 } 11109 11110 func schema_k8sio_apimachinery_pkg_runtime_Unknown(ref common.ReferenceCallback) common.OpenAPIDefinition { 11111 return common.OpenAPIDefinition{ 11112 Schema: spec.Schema{ 11113 SchemaProps: spec.SchemaProps{ 11114 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.", 11115 Type: []string{"object"}, 11116 Properties: map[string]spec.Schema{ 11117 "apiVersion": { 11118 SchemaProps: spec.SchemaProps{ 11119 Type: []string{"string"}, 11120 Format: "", 11121 }, 11122 }, 11123 "kind": { 11124 SchemaProps: spec.SchemaProps{ 11125 Type: []string{"string"}, 11126 Format: "", 11127 }, 11128 }, 11129 "ContentEncoding": { 11130 SchemaProps: spec.SchemaProps{ 11131 Description: "ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.", 11132 Default: "", 11133 Type: []string{"string"}, 11134 Format: "", 11135 }, 11136 }, 11137 "ContentType": { 11138 SchemaProps: spec.SchemaProps{ 11139 Description: "ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.", 11140 Default: "", 11141 Type: []string{"string"}, 11142 Format: "", 11143 }, 11144 }, 11145 }, 11146 Required: []string{"ContentEncoding", "ContentType"}, 11147 }, 11148 }, 11149 } 11150 } 11151 11152 func schema_k8sio_apimachinery_pkg_version_Info(ref common.ReferenceCallback) common.OpenAPIDefinition { 11153 return common.OpenAPIDefinition{ 11154 Schema: spec.Schema{ 11155 SchemaProps: spec.SchemaProps{ 11156 Description: "Info contains versioning information. how we'll want to distribute that information.", 11157 Type: []string{"object"}, 11158 Properties: map[string]spec.Schema{ 11159 "major": { 11160 SchemaProps: spec.SchemaProps{ 11161 Default: "", 11162 Type: []string{"string"}, 11163 Format: "", 11164 }, 11165 }, 11166 "minor": { 11167 SchemaProps: spec.SchemaProps{ 11168 Default: "", 11169 Type: []string{"string"}, 11170 Format: "", 11171 }, 11172 }, 11173 "gitVersion": { 11174 SchemaProps: spec.SchemaProps{ 11175 Default: "", 11176 Type: []string{"string"}, 11177 Format: "", 11178 }, 11179 }, 11180 "gitCommit": { 11181 SchemaProps: spec.SchemaProps{ 11182 Default: "", 11183 Type: []string{"string"}, 11184 Format: "", 11185 }, 11186 }, 11187 "gitTreeState": { 11188 SchemaProps: spec.SchemaProps{ 11189 Default: "", 11190 Type: []string{"string"}, 11191 Format: "", 11192 }, 11193 }, 11194 "buildDate": { 11195 SchemaProps: spec.SchemaProps{ 11196 Default: "", 11197 Type: []string{"string"}, 11198 Format: "", 11199 }, 11200 }, 11201 "goVersion": { 11202 SchemaProps: spec.SchemaProps{ 11203 Default: "", 11204 Type: []string{"string"}, 11205 Format: "", 11206 }, 11207 }, 11208 "compiler": { 11209 SchemaProps: spec.SchemaProps{ 11210 Default: "", 11211 Type: []string{"string"}, 11212 Format: "", 11213 }, 11214 }, 11215 "platform": { 11216 SchemaProps: spec.SchemaProps{ 11217 Default: "", 11218 Type: []string{"string"}, 11219 Format: "", 11220 }, 11221 }, 11222 }, 11223 Required: []string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"}, 11224 }, 11225 }, 11226 } 11227 }