github.com/codeready-toolchain/api@v0.0.0-20240507023248-73662d6db2c5/api/v1alpha1/zz_generated.openapi.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 */ 17 18 // Code generated by openapi-gen. DO NOT EDIT. 19 20 // This file was autogenerated by openapi-gen. Do not edit it manually! 21 22 package v1alpha1 23 24 import ( 25 common "k8s.io/kube-openapi/pkg/common" 26 spec "k8s.io/kube-openapi/pkg/validation/spec" 27 ) 28 29 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { 30 return map[string]common.OpenAPIDefinition{ 31 "github.com/codeready-toolchain/api/api/v1alpha1.AuthConfig": schema_codeready_toolchain_api_api_v1alpha1_AuthConfig(ref), 32 "github.com/codeready-toolchain/api/api/v1alpha1.AutomaticApprovalConfig": schema_codeready_toolchain_api_api_v1alpha1_AutomaticApprovalConfig(ref), 33 "github.com/codeready-toolchain/api/api/v1alpha1.AutoscalerConfig": schema_codeready_toolchain_api_api_v1alpha1_AutoscalerConfig(ref), 34 "github.com/codeready-toolchain/api/api/v1alpha1.BannedUser": schema_codeready_toolchain_api_api_v1alpha1_BannedUser(ref), 35 "github.com/codeready-toolchain/api/api/v1alpha1.BannedUserSpec": schema_codeready_toolchain_api_api_v1alpha1_BannedUserSpec(ref), 36 "github.com/codeready-toolchain/api/api/v1alpha1.Binding": schema_codeready_toolchain_api_api_v1alpha1_Binding(ref), 37 "github.com/codeready-toolchain/api/api/v1alpha1.BindingRequest": schema_codeready_toolchain_api_api_v1alpha1_BindingRequest(ref), 38 "github.com/codeready-toolchain/api/api/v1alpha1.CaptchaConfig": schema_codeready_toolchain_api_api_v1alpha1_CaptchaConfig(ref), 39 "github.com/codeready-toolchain/api/api/v1alpha1.CheConfig": schema_codeready_toolchain_api_api_v1alpha1_CheConfig(ref), 40 "github.com/codeready-toolchain/api/api/v1alpha1.CheSecret": schema_codeready_toolchain_api_api_v1alpha1_CheSecret(ref), 41 "github.com/codeready-toolchain/api/api/v1alpha1.CheStatus": schema_codeready_toolchain_api_api_v1alpha1_CheStatus(ref), 42 "github.com/codeready-toolchain/api/api/v1alpha1.ConsoleConfig": schema_codeready_toolchain_api_api_v1alpha1_ConsoleConfig(ref), 43 "github.com/codeready-toolchain/api/api/v1alpha1.DeactivationConfig": schema_codeready_toolchain_api_api_v1alpha1_DeactivationConfig(ref), 44 "github.com/codeready-toolchain/api/api/v1alpha1.GitHubSecret": schema_codeready_toolchain_api_api_v1alpha1_GitHubSecret(ref), 45 "github.com/codeready-toolchain/api/api/v1alpha1.HostConfig": schema_codeready_toolchain_api_api_v1alpha1_HostConfig(ref), 46 "github.com/codeready-toolchain/api/api/v1alpha1.HostOperatorStatus": schema_codeready_toolchain_api_api_v1alpha1_HostOperatorStatus(ref), 47 "github.com/codeready-toolchain/api/api/v1alpha1.HostRegistrationServiceStatus": schema_codeready_toolchain_api_api_v1alpha1_HostRegistrationServiceStatus(ref), 48 "github.com/codeready-toolchain/api/api/v1alpha1.HostRoutes": schema_codeready_toolchain_api_api_v1alpha1_HostRoutes(ref), 49 "github.com/codeready-toolchain/api/api/v1alpha1.IdentityClaimsEmbedded": schema_codeready_toolchain_api_api_v1alpha1_IdentityClaimsEmbedded(ref), 50 "github.com/codeready-toolchain/api/api/v1alpha1.Idler": schema_codeready_toolchain_api_api_v1alpha1_Idler(ref), 51 "github.com/codeready-toolchain/api/api/v1alpha1.IdlerSpec": schema_codeready_toolchain_api_api_v1alpha1_IdlerSpec(ref), 52 "github.com/codeready-toolchain/api/api/v1alpha1.IdlerStatus": schema_codeready_toolchain_api_api_v1alpha1_IdlerStatus(ref), 53 "github.com/codeready-toolchain/api/api/v1alpha1.LocalSecretReference": schema_codeready_toolchain_api_api_v1alpha1_LocalSecretReference(ref), 54 "github.com/codeready-toolchain/api/api/v1alpha1.MasterUserRecord": schema_codeready_toolchain_api_api_v1alpha1_MasterUserRecord(ref), 55 "github.com/codeready-toolchain/api/api/v1alpha1.MasterUserRecordSpec": schema_codeready_toolchain_api_api_v1alpha1_MasterUserRecordSpec(ref), 56 "github.com/codeready-toolchain/api/api/v1alpha1.MasterUserRecordStatus": schema_codeready_toolchain_api_api_v1alpha1_MasterUserRecordStatus(ref), 57 "github.com/codeready-toolchain/api/api/v1alpha1.Member": schema_codeready_toolchain_api_api_v1alpha1_Member(ref), 58 "github.com/codeready-toolchain/api/api/v1alpha1.MemberOperatorConfigSpec": schema_codeready_toolchain_api_api_v1alpha1_MemberOperatorConfigSpec(ref), 59 "github.com/codeready-toolchain/api/api/v1alpha1.MemberOperatorConfigStatus": schema_codeready_toolchain_api_api_v1alpha1_MemberOperatorConfigStatus(ref), 60 "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatus": schema_codeready_toolchain_api_api_v1alpha1_MemberStatus(ref), 61 "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusConfig": schema_codeready_toolchain_api_api_v1alpha1_MemberStatusConfig(ref), 62 "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusSpec": schema_codeready_toolchain_api_api_v1alpha1_MemberStatusSpec(ref), 63 "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusStatus": schema_codeready_toolchain_api_api_v1alpha1_MemberStatusStatus(ref), 64 "github.com/codeready-toolchain/api/api/v1alpha1.Members": schema_codeready_toolchain_api_api_v1alpha1_Members(ref), 65 "github.com/codeready-toolchain/api/api/v1alpha1.MetricsConfig": schema_codeready_toolchain_api_api_v1alpha1_MetricsConfig(ref), 66 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSet": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSet(ref), 67 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetClusterResources": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetClusterResources(ref), 68 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetNamespace": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetNamespace(ref), 69 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetSpaceRole": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetSpaceRole(ref), 70 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetSpec": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetSpec(ref), 71 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetStatus": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetStatus(ref), 72 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTier": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateTier(ref), 73 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierSpec": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateTierSpec(ref), 74 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierStatus": schema_codeready_toolchain_api_api_v1alpha1_NSTemplateTierStatus(ref), 75 "github.com/codeready-toolchain/api/api/v1alpha1.Notification": schema_codeready_toolchain_api_api_v1alpha1_Notification(ref), 76 "github.com/codeready-toolchain/api/api/v1alpha1.NotificationSecret": schema_codeready_toolchain_api_api_v1alpha1_NotificationSecret(ref), 77 "github.com/codeready-toolchain/api/api/v1alpha1.NotificationSpec": schema_codeready_toolchain_api_api_v1alpha1_NotificationSpec(ref), 78 "github.com/codeready-toolchain/api/api/v1alpha1.NotificationStatus": schema_codeready_toolchain_api_api_v1alpha1_NotificationStatus(ref), 79 "github.com/codeready-toolchain/api/api/v1alpha1.NotificationsConfig": schema_codeready_toolchain_api_api_v1alpha1_NotificationsConfig(ref), 80 "github.com/codeready-toolchain/api/api/v1alpha1.PropagatedClaims": schema_codeready_toolchain_api_api_v1alpha1_PropagatedClaims(ref), 81 "github.com/codeready-toolchain/api/api/v1alpha1.ProxyPlugin": schema_codeready_toolchain_api_api_v1alpha1_ProxyPlugin(ref), 82 "github.com/codeready-toolchain/api/api/v1alpha1.ProxyPluginSpec": schema_codeready_toolchain_api_api_v1alpha1_ProxyPluginSpec(ref), 83 "github.com/codeready-toolchain/api/api/v1alpha1.ProxyPluginStatus": schema_codeready_toolchain_api_api_v1alpha1_ProxyPluginStatus(ref), 84 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceAnalyticsConfig": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceAnalyticsConfig(ref), 85 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceAuthConfig": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceAuthConfig(ref), 86 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceConfig": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceConfig(ref), 87 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceDeploymentStatus": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceDeploymentStatus(ref), 88 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceHealth": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceHealth(ref), 89 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceResourcesStatus": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceResourcesStatus(ref), 90 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceVerificationConfig": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceVerificationConfig(ref), 91 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceVerificationSecret": schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceVerificationSecret(ref), 92 "github.com/codeready-toolchain/api/api/v1alpha1.ResourceUsage": schema_codeready_toolchain_api_api_v1alpha1_ResourceUsage(ref), 93 "github.com/codeready-toolchain/api/api/v1alpha1.RevisionCheck": schema_codeready_toolchain_api_api_v1alpha1_RevisionCheck(ref), 94 "github.com/codeready-toolchain/api/api/v1alpha1.Routes": schema_codeready_toolchain_api_api_v1alpha1_Routes(ref), 95 "github.com/codeready-toolchain/api/api/v1alpha1.SocialEvent": schema_codeready_toolchain_api_api_v1alpha1_SocialEvent(ref), 96 "github.com/codeready-toolchain/api/api/v1alpha1.SocialEventSpec": schema_codeready_toolchain_api_api_v1alpha1_SocialEventSpec(ref), 97 "github.com/codeready-toolchain/api/api/v1alpha1.SocialEventStatus": schema_codeready_toolchain_api_api_v1alpha1_SocialEventStatus(ref), 98 "github.com/codeready-toolchain/api/api/v1alpha1.Space": schema_codeready_toolchain_api_api_v1alpha1_Space(ref), 99 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBinding": schema_codeready_toolchain_api_api_v1alpha1_SpaceBinding(ref), 100 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingList": schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingList(ref), 101 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingRequest": schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingRequest(ref), 102 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingRequestSpec": schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingRequestSpec(ref), 103 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingRequestStatus": schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingRequestStatus(ref), 104 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingSpec": schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingSpec(ref), 105 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingStatus": schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingStatus(ref), 106 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceConfig": schema_codeready_toolchain_api_api_v1alpha1_SpaceConfig(ref), 107 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerCapacityThresholds": schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerCapacityThresholds(ref), 108 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfig": schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfig(ref), 109 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfigList": schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfigList(ref), 110 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfigSpec": schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfigSpec(ref), 111 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfigStatus": schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfigStatus(ref), 112 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequest": schema_codeready_toolchain_api_api_v1alpha1_SpaceRequest(ref), 113 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestConfig": schema_codeready_toolchain_api_api_v1alpha1_SpaceRequestConfig(ref), 114 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestSpec": schema_codeready_toolchain_api_api_v1alpha1_SpaceRequestSpec(ref), 115 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestStatus": schema_codeready_toolchain_api_api_v1alpha1_SpaceRequestStatus(ref), 116 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceSpec": schema_codeready_toolchain_api_api_v1alpha1_SpaceSpec(ref), 117 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceStatus": schema_codeready_toolchain_api_api_v1alpha1_SpaceStatus(ref), 118 "github.com/codeready-toolchain/api/api/v1alpha1.TierTemplateSpec": schema_codeready_toolchain_api_api_v1alpha1_TierTemplateSpec(ref), 119 "github.com/codeready-toolchain/api/api/v1alpha1.TiersConfig": schema_codeready_toolchain_api_api_v1alpha1_TiersConfig(ref), 120 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainCluster": schema_codeready_toolchain_api_api_v1alpha1_ToolchainCluster(ref), 121 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterCondition": schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterCondition(ref), 122 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterConfig": schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterConfig(ref), 123 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterSpec": schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterSpec(ref), 124 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterStatus": schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterStatus(ref), 125 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainConfigSpec": schema_codeready_toolchain_api_api_v1alpha1_ToolchainConfigSpec(ref), 126 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainConfigStatus": schema_codeready_toolchain_api_api_v1alpha1_ToolchainConfigStatus(ref), 127 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainSecret": schema_codeready_toolchain_api_api_v1alpha1_ToolchainSecret(ref), 128 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatus": schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatus(ref), 129 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusConfig": schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatusConfig(ref), 130 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusSpec": schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatusSpec(ref), 131 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusStatus": schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatusStatus(ref), 132 "github.com/codeready-toolchain/api/api/v1alpha1.TwilioSenderConfig": schema_codeready_toolchain_api_api_v1alpha1_TwilioSenderConfig(ref), 133 "github.com/codeready-toolchain/api/api/v1alpha1.UserAccount": schema_codeready_toolchain_api_api_v1alpha1_UserAccount(ref), 134 "github.com/codeready-toolchain/api/api/v1alpha1.UserAccountSpec": schema_codeready_toolchain_api_api_v1alpha1_UserAccountSpec(ref), 135 "github.com/codeready-toolchain/api/api/v1alpha1.UserAccountStatus": schema_codeready_toolchain_api_api_v1alpha1_UserAccountStatus(ref), 136 "github.com/codeready-toolchain/api/api/v1alpha1.UserSignup": schema_codeready_toolchain_api_api_v1alpha1_UserSignup(ref), 137 "github.com/codeready-toolchain/api/api/v1alpha1.UserSignupSpec": schema_codeready_toolchain_api_api_v1alpha1_UserSignupSpec(ref), 138 "github.com/codeready-toolchain/api/api/v1alpha1.UserSignupStatus": schema_codeready_toolchain_api_api_v1alpha1_UserSignupStatus(ref), 139 "github.com/codeready-toolchain/api/api/v1alpha1.UserTier": schema_codeready_toolchain_api_api_v1alpha1_UserTier(ref), 140 "github.com/codeready-toolchain/api/api/v1alpha1.UserTierSpec": schema_codeready_toolchain_api_api_v1alpha1_UserTierSpec(ref), 141 "github.com/codeready-toolchain/api/api/v1alpha1.UsersConfig": schema_codeready_toolchain_api_api_v1alpha1_UsersConfig(ref), 142 "github.com/codeready-toolchain/api/api/v1alpha1.WebhookConfig": schema_codeready_toolchain_api_api_v1alpha1_WebhookConfig(ref), 143 "github.com/codeready-toolchain/api/api/v1alpha1.WebhookSecret": schema_codeready_toolchain_api_api_v1alpha1_WebhookSecret(ref), 144 "github.com/codeready-toolchain/api/api/v1alpha1.Workspace": schema_codeready_toolchain_api_api_v1alpha1_Workspace(ref), 145 "github.com/codeready-toolchain/api/api/v1alpha1.WorkspaceStatus": schema_codeready_toolchain_api_api_v1alpha1_WorkspaceStatus(ref), 146 } 147 } 148 149 func schema_codeready_toolchain_api_api_v1alpha1_AuthConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 150 return common.OpenAPIDefinition{ 151 Schema: spec.Schema{ 152 SchemaProps: spec.SchemaProps{ 153 Description: "Defines all parameters concerned with the autoscaler", 154 Type: []string{"object"}, 155 Properties: map[string]spec.Schema{ 156 "idp": { 157 SchemaProps: spec.SchemaProps{ 158 Description: "Represents the configured identity provider", 159 Type: []string{"string"}, 160 Format: "", 161 }, 162 }, 163 }, 164 }, 165 }, 166 } 167 } 168 169 func schema_codeready_toolchain_api_api_v1alpha1_AutomaticApprovalConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 170 return common.OpenAPIDefinition{ 171 Schema: spec.Schema{ 172 SchemaProps: spec.SchemaProps{ 173 Description: "Defines all parameters necessary for automatic approval", 174 Type: []string{"object"}, 175 Properties: map[string]spec.Schema{ 176 "enabled": { 177 SchemaProps: spec.SchemaProps{ 178 Description: "Defines if the automatic approval is enabled or not", 179 Type: []string{"boolean"}, 180 Format: "", 181 }, 182 }, 183 "domains": { 184 SchemaProps: spec.SchemaProps{ 185 Description: "Comma-separated email domains to consider for auto-approval. For example: \"domain.com,anotherdomain.org\" If domains is not set and enabled is true, it will default to auto approving all authenticated emails. If domains is set and enabled is true, it will allow auto approving only for authenticated emails under the domains entered. If enabled is false domains will be ignored.", 186 Type: []string{"string"}, 187 Format: "", 188 }, 189 }, 190 }, 191 }, 192 }, 193 } 194 } 195 196 func schema_codeready_toolchain_api_api_v1alpha1_AutoscalerConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 197 return common.OpenAPIDefinition{ 198 Schema: spec.Schema{ 199 SchemaProps: spec.SchemaProps{ 200 Description: "Defines all parameters concerned with the autoscaler", 201 Type: []string{"object"}, 202 Properties: map[string]spec.Schema{ 203 "deploy": { 204 SchemaProps: spec.SchemaProps{ 205 Description: "Defines the flag that determines whether to deploy the autoscaler buffer", 206 Type: []string{"boolean"}, 207 Format: "", 208 }, 209 }, 210 "bufferMemory": { 211 SchemaProps: spec.SchemaProps{ 212 Description: "Represents how much memory should be required by the autoscaler buffer", 213 Type: []string{"string"}, 214 Format: "", 215 }, 216 }, 217 "bufferReplicas": { 218 SchemaProps: spec.SchemaProps{ 219 Description: "Represents the number of autoscaler buffer replicas to request", 220 Type: []string{"integer"}, 221 Format: "int32", 222 }, 223 }, 224 }, 225 }, 226 }, 227 } 228 } 229 230 func schema_codeready_toolchain_api_api_v1alpha1_BannedUser(ref common.ReferenceCallback) common.OpenAPIDefinition { 231 return common.OpenAPIDefinition{ 232 Schema: spec.Schema{ 233 SchemaProps: spec.SchemaProps{ 234 Description: "BannedUser is used to maintain a list of banned e-mail addresses", 235 Type: []string{"object"}, 236 Properties: map[string]spec.Schema{ 237 "kind": { 238 SchemaProps: spec.SchemaProps{ 239 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", 240 Type: []string{"string"}, 241 Format: "", 242 }, 243 }, 244 "apiVersion": { 245 SchemaProps: spec.SchemaProps{ 246 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", 247 Type: []string{"string"}, 248 Format: "", 249 }, 250 }, 251 "metadata": { 252 SchemaProps: spec.SchemaProps{ 253 Default: map[string]interface{}{}, 254 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 255 }, 256 }, 257 "spec": { 258 SchemaProps: spec.SchemaProps{ 259 Default: map[string]interface{}{}, 260 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.BannedUserSpec"), 261 }, 262 }, 263 }, 264 }, 265 }, 266 Dependencies: []string{ 267 "github.com/codeready-toolchain/api/api/v1alpha1.BannedUserSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 268 } 269 } 270 271 func schema_codeready_toolchain_api_api_v1alpha1_BannedUserSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 272 return common.OpenAPIDefinition{ 273 Schema: spec.Schema{ 274 SchemaProps: spec.SchemaProps{ 275 Description: "BannedUserSpec defines the desired state of BannedUser", 276 Type: []string{"object"}, 277 Properties: map[string]spec.Schema{ 278 "email": { 279 SchemaProps: spec.SchemaProps{ 280 Description: "The e-mail address of the account that has been banned", 281 Default: "", 282 Type: []string{"string"}, 283 Format: "", 284 }, 285 }, 286 }, 287 Required: []string{"email"}, 288 }, 289 }, 290 } 291 } 292 293 func schema_codeready_toolchain_api_api_v1alpha1_Binding(ref common.ReferenceCallback) common.OpenAPIDefinition { 294 return common.OpenAPIDefinition{ 295 Schema: spec.Schema{ 296 SchemaProps: spec.SchemaProps{ 297 Description: "Binding defines a user role in a given workspace, and available actions that can be performed on the role", 298 Type: []string{"object"}, 299 Properties: map[string]spec.Schema{ 300 "masterUserRecord": { 301 SchemaProps: spec.SchemaProps{ 302 Description: "MasterUserRecord is the name of the user that has access to the workspace. This field is immutable via a validating webhook.", 303 Type: []string{"string"}, 304 Format: "", 305 }, 306 }, 307 "role": { 308 SchemaProps: spec.SchemaProps{ 309 Description: "Role is the role of the user in the current workspace. For example \"admin\" for the user that has all permissions on the current workspace.", 310 Type: []string{"string"}, 311 Format: "", 312 }, 313 }, 314 "availableActions": { 315 VendorExtensible: spec.VendorExtensible{ 316 Extensions: spec.Extensions{ 317 "x-kubernetes-list-type": "atomic", 318 }, 319 }, 320 SchemaProps: spec.SchemaProps{ 321 Description: "AvailableActions is a list of actions that can be performed on the binding. Available values: - \"update\" when the role in the current binding can be changed - \"delete\" when the current binding can be deleted - \"override\" when the current binding is inherited from a parent workspace, it cannot be updated, but it can be overridden by creating a new binding containing the same MasterUserRecord but different role in the subworkspace.", 322 Type: []string{"array"}, 323 Items: &spec.SchemaOrArray{ 324 Schema: &spec.Schema{ 325 SchemaProps: spec.SchemaProps{ 326 Default: "", 327 Type: []string{"string"}, 328 Format: "", 329 }, 330 }, 331 }, 332 }, 333 }, 334 "bindingRequest": { 335 SchemaProps: spec.SchemaProps{ 336 Description: "BindingRequest provides the name and namespace of the SpaceBindingRequest that generated the SpaceBinding resource. It's available only if the binding was generated using the SpaceBindingRequest mechanism.", 337 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.BindingRequest"), 338 }, 339 }, 340 }, 341 }, 342 }, 343 Dependencies: []string{ 344 "github.com/codeready-toolchain/api/api/v1alpha1.BindingRequest"}, 345 } 346 } 347 348 func schema_codeready_toolchain_api_api_v1alpha1_BindingRequest(ref common.ReferenceCallback) common.OpenAPIDefinition { 349 return common.OpenAPIDefinition{ 350 Schema: spec.Schema{ 351 SchemaProps: spec.SchemaProps{ 352 Description: "BindingRequest contains the name and the namespace where of the associated SpaceBindingRequest.", 353 Type: []string{"object"}, 354 Properties: map[string]spec.Schema{ 355 "name": { 356 SchemaProps: spec.SchemaProps{ 357 Description: "Name of the SpaceBindingRequest that generated the SpaceBinding resource.", 358 Default: "", 359 Type: []string{"string"}, 360 Format: "", 361 }, 362 }, 363 "namespace": { 364 SchemaProps: spec.SchemaProps{ 365 Description: "Namespace of the SpaceBindingRequest that generated the SpaceBinding resource.", 366 Default: "", 367 Type: []string{"string"}, 368 Format: "", 369 }, 370 }, 371 }, 372 Required: []string{"name", "namespace"}, 373 }, 374 }, 375 } 376 } 377 378 func schema_codeready_toolchain_api_api_v1alpha1_CaptchaConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 379 return common.OpenAPIDefinition{ 380 Schema: spec.Schema{ 381 SchemaProps: spec.SchemaProps{ 382 Description: "CaptchaConfig defines any configuration related to captcha verification", 383 Type: []string{"object"}, 384 Properties: map[string]spec.Schema{ 385 "enabled": { 386 SchemaProps: spec.SchemaProps{ 387 Description: "Enabled specifies whether the captcha verification feature is enabled or not", 388 Type: []string{"boolean"}, 389 Format: "", 390 }, 391 }, 392 "scoreThreshold": { 393 SchemaProps: spec.SchemaProps{ 394 Description: "ScoreThreshold defines the captcha assessment score threshold. A score equal to or above the threshold means the user is most likely human and can proceed signing up but a score below the threshold means the score is suspicious and further verification may be required.", 395 Type: []string{"string"}, 396 Format: "", 397 }, 398 }, 399 "requiredScore": { 400 SchemaProps: spec.SchemaProps{ 401 Description: "RequiredScore defines the lowest captcha score, below this score the user cannot proceed with the signup process at all. Users with captcha score lower than the required one can still be approved manually.", 402 Type: []string{"string"}, 403 Format: "", 404 }, 405 }, 406 "allowLowScoreReactivation": { 407 SchemaProps: spec.SchemaProps{ 408 Description: "AllowLowScoreReactivation specifies whether the reactivation for users with low captcha score (below the RequiredScore) is enabled without the need for manual approval.", 409 Type: []string{"boolean"}, 410 Format: "", 411 }, 412 }, 413 "siteKey": { 414 SchemaProps: spec.SchemaProps{ 415 Description: "SiteKey defines the recaptcha site key to use when making recaptcha requests. There can be different ones for different environments. eg. dev, stage, prod", 416 Type: []string{"string"}, 417 Format: "", 418 }, 419 }, 420 "projectID": { 421 SchemaProps: spec.SchemaProps{ 422 Description: "ProjectID defines the GCP project ID that has the recaptcha service enabled.", 423 Type: []string{"string"}, 424 Format: "", 425 }, 426 }, 427 }, 428 }, 429 }, 430 } 431 } 432 433 func schema_codeready_toolchain_api_api_v1alpha1_CheConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 434 return common.OpenAPIDefinition{ 435 Schema: spec.Schema{ 436 SchemaProps: spec.SchemaProps{ 437 Description: "Defines all parameters concerned with Che", 438 Type: []string{"object"}, 439 Properties: map[string]spec.Schema{ 440 "keycloakRouteName": { 441 SchemaProps: spec.SchemaProps{ 442 Description: "Defines the Che/CRW Keycloak route name", 443 Type: []string{"string"}, 444 Format: "", 445 }, 446 }, 447 "routeName": { 448 SchemaProps: spec.SchemaProps{ 449 Description: "Defines the Che/CRW route name", 450 Type: []string{"string"}, 451 Format: "", 452 }, 453 }, 454 "namespace": { 455 SchemaProps: spec.SchemaProps{ 456 Description: "Defines the Che/CRW operator namespace", 457 Type: []string{"string"}, 458 Format: "", 459 }, 460 }, 461 "required": { 462 SchemaProps: spec.SchemaProps{ 463 Description: "Defines a flag that indicates whether the Che/CRW operator is required to be installed on the cluster. May be used in monitoring.", 464 Type: []string{"boolean"}, 465 Format: "", 466 }, 467 }, 468 "userDeletionEnabled": { 469 SchemaProps: spec.SchemaProps{ 470 Description: "Defines a flag to turn the Che user deletion logic on/off", 471 Type: []string{"boolean"}, 472 Format: "", 473 }, 474 }, 475 "secret": { 476 SchemaProps: spec.SchemaProps{ 477 Description: "Defines all secrets related to Che configuration", 478 Default: map[string]interface{}{}, 479 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.CheSecret"), 480 }, 481 }, 482 }, 483 }, 484 }, 485 Dependencies: []string{ 486 "github.com/codeready-toolchain/api/api/v1alpha1.CheSecret"}, 487 } 488 } 489 490 func schema_codeready_toolchain_api_api_v1alpha1_CheSecret(ref common.ReferenceCallback) common.OpenAPIDefinition { 491 return common.OpenAPIDefinition{ 492 Schema: spec.Schema{ 493 SchemaProps: spec.SchemaProps{ 494 Description: "Defines all secrets related to Che configuration", 495 Type: []string{"object"}, 496 Properties: map[string]spec.Schema{ 497 "ref": { 498 SchemaProps: spec.SchemaProps{ 499 Description: "Reference is the name of the secret resource to look up", 500 Type: []string{"string"}, 501 Format: "", 502 }, 503 }, 504 "cheAdminUsernameKey": { 505 SchemaProps: spec.SchemaProps{ 506 Description: "The key for the Che admin username in the secret values map", 507 Type: []string{"string"}, 508 Format: "", 509 }, 510 }, 511 "cheAdminPasswordKey": { 512 SchemaProps: spec.SchemaProps{ 513 Description: "The key for the Che admin password in the secret values map", 514 Type: []string{"string"}, 515 Format: "", 516 }, 517 }, 518 }, 519 }, 520 }, 521 } 522 } 523 524 func schema_codeready_toolchain_api_api_v1alpha1_CheStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 525 return common.OpenAPIDefinition{ 526 Schema: spec.Schema{ 527 SchemaProps: spec.SchemaProps{ 528 Description: "CheStatus contains information about the status of Che/CRW, such as installed and whether the member configuration is correct", 529 Type: []string{"object"}, 530 Properties: map[string]spec.Schema{ 531 "conditions": { 532 VendorExtensible: spec.VendorExtensible{ 533 Extensions: spec.Extensions{ 534 "x-kubernetes-list-map-keys": []interface{}{ 535 "type", 536 }, 537 "x-kubernetes-list-type": "map", 538 "x-kubernetes-patch-merge-key": "type", 539 "x-kubernetes-patch-strategy": "merge", 540 }, 541 }, 542 SchemaProps: spec.SchemaProps{ 543 Description: "Conditions is an array of current Che status conditions Supported condition types: ConditionReady", 544 Type: []string{"array"}, 545 Items: &spec.SchemaOrArray{ 546 Schema: &spec.Schema{ 547 SchemaProps: spec.SchemaProps{ 548 Default: map[string]interface{}{}, 549 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 550 }, 551 }, 552 }, 553 }, 554 }, 555 }, 556 }, 557 }, 558 Dependencies: []string{ 559 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 560 } 561 } 562 563 func schema_codeready_toolchain_api_api_v1alpha1_ConsoleConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 564 return common.OpenAPIDefinition{ 565 Schema: spec.Schema{ 566 SchemaProps: spec.SchemaProps{ 567 Description: "Defines all parameters concerned with the console", 568 Type: []string{"object"}, 569 Properties: map[string]spec.Schema{ 570 "namespace": { 571 SchemaProps: spec.SchemaProps{ 572 Description: "Defines the console route namespace", 573 Type: []string{"string"}, 574 Format: "", 575 }, 576 }, 577 "routeName": { 578 SchemaProps: spec.SchemaProps{ 579 Description: "Defines the console route name", 580 Type: []string{"string"}, 581 Format: "", 582 }, 583 }, 584 }, 585 }, 586 }, 587 } 588 } 589 590 func schema_codeready_toolchain_api_api_v1alpha1_DeactivationConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 591 return common.OpenAPIDefinition{ 592 Schema: spec.Schema{ 593 SchemaProps: spec.SchemaProps{ 594 Description: "DeactivationConfig contains all configuration parameters related to deactivation", 595 Type: []string{"object"}, 596 Properties: map[string]spec.Schema{ 597 "deactivatingNotificationDays": { 598 SchemaProps: spec.SchemaProps{ 599 Description: "DeactivatingNotificationDays is the number of days after a pre-deactivating notification is sent that actual deactivation occurs. If this parameter is set to zero, then there will be no delay", 600 Type: []string{"integer"}, 601 Format: "int32", 602 }, 603 }, 604 "deactivationDomainsExcluded": { 605 SchemaProps: spec.SchemaProps{ 606 Description: "DeactivationDomainsExcluded is a string of comma-separated domains that should be excluded from automatic user deactivation For example: \"@redhat.com,@ibm.com\"", 607 Type: []string{"string"}, 608 Format: "", 609 }, 610 }, 611 "userSignupDeactivatedRetentionDays": { 612 SchemaProps: spec.SchemaProps{ 613 Description: "UserSignupDeactivatedRetentionDays is used to configure how many days we should keep deactivated UserSignup resources before deleting them. This parameter value should reflect an extended period of time sufficient for gathering user metrics before removing the resources from the cluster.", 614 Type: []string{"integer"}, 615 Format: "int32", 616 }, 617 }, 618 "userSignupUnverifiedRetentionDays": { 619 SchemaProps: spec.SchemaProps{ 620 Description: "UserSignupUnverifiedRetentionDays is used to configure how many days we should keep unverified (i.e. the user hasn't completed the user verification process via the registration service) UserSignup resources before deleting them. It is intended for this parameter to define an aggressive cleanup schedule for unverified user signups, and the default configuration value for this parameter reflects this.", 621 Type: []string{"integer"}, 622 Format: "int32", 623 }, 624 }, 625 }, 626 }, 627 }, 628 } 629 } 630 631 func schema_codeready_toolchain_api_api_v1alpha1_GitHubSecret(ref common.ReferenceCallback) common.OpenAPIDefinition { 632 return common.OpenAPIDefinition{ 633 Schema: spec.Schema{ 634 SchemaProps: spec.SchemaProps{ 635 Description: "GitHubSecret defines all secrets related to GitHub authentication/integration", 636 Type: []string{"object"}, 637 Properties: map[string]spec.Schema{ 638 "ref": { 639 SchemaProps: spec.SchemaProps{ 640 Description: "Reference is the name of the secret resource to look up", 641 Type: []string{"string"}, 642 Format: "", 643 }, 644 }, 645 "accessTokenKey": { 646 SchemaProps: spec.SchemaProps{ 647 Description: "The key for the GitHub Access token in the secret values map", 648 Type: []string{"string"}, 649 Format: "", 650 }, 651 }, 652 }, 653 }, 654 }, 655 } 656 } 657 658 func schema_codeready_toolchain_api_api_v1alpha1_HostConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 659 return common.OpenAPIDefinition{ 660 Schema: spec.Schema{ 661 SchemaProps: spec.SchemaProps{ 662 Description: "HostConfig contains all configuration parameters of the host operator", 663 Type: []string{"object"}, 664 Properties: map[string]spec.Schema{ 665 "environment": { 666 SchemaProps: spec.SchemaProps{ 667 Description: "Environment specifies the host-operator environment such as prod, stage, unit-tests, e2e-tests, dev, etc", 668 Type: []string{"string"}, 669 Format: "", 670 }, 671 }, 672 "automaticApproval": { 673 SchemaProps: spec.SchemaProps{ 674 Description: "Keeps parameters necessary for automatic approval", 675 Default: map[string]interface{}{}, 676 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.AutomaticApprovalConfig"), 677 }, 678 }, 679 "deactivation": { 680 SchemaProps: spec.SchemaProps{ 681 Description: "Keeps parameters concerned with user deactivation", 682 Default: map[string]interface{}{}, 683 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.DeactivationConfig"), 684 }, 685 }, 686 "metrics": { 687 SchemaProps: spec.SchemaProps{ 688 Description: "Keeps parameters concerned with metrics", 689 Default: map[string]interface{}{}, 690 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MetricsConfig"), 691 }, 692 }, 693 "notifications": { 694 SchemaProps: spec.SchemaProps{ 695 Description: "Keeps parameters concerned with notifications", 696 Default: map[string]interface{}{}, 697 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NotificationsConfig"), 698 }, 699 }, 700 "registrationService": { 701 SchemaProps: spec.SchemaProps{ 702 Description: "Keeps parameters necessary for the registration service", 703 Default: map[string]interface{}{}, 704 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceConfig"), 705 }, 706 }, 707 "tiers": { 708 SchemaProps: spec.SchemaProps{ 709 Description: "Keeps parameters concerned with tiers", 710 Default: map[string]interface{}{}, 711 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.TiersConfig"), 712 }, 713 }, 714 "toolchainStatus": { 715 SchemaProps: spec.SchemaProps{ 716 Description: "Keeps parameters concerned with the toolchainstatus", 717 Default: map[string]interface{}{}, 718 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusConfig"), 719 }, 720 }, 721 "users": { 722 SchemaProps: spec.SchemaProps{ 723 Description: "Keeps parameters concerned with user management", 724 Default: map[string]interface{}{}, 725 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UsersConfig"), 726 }, 727 }, 728 "spaceConfig": { 729 SchemaProps: spec.SchemaProps{ 730 Description: "Keeps parameters necessary for configuring Space provisioning functionality", 731 Default: map[string]interface{}{}, 732 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceConfig"), 733 }, 734 }, 735 }, 736 }, 737 }, 738 Dependencies: []string{ 739 "github.com/codeready-toolchain/api/api/v1alpha1.AutomaticApprovalConfig", "github.com/codeready-toolchain/api/api/v1alpha1.DeactivationConfig", "github.com/codeready-toolchain/api/api/v1alpha1.MetricsConfig", "github.com/codeready-toolchain/api/api/v1alpha1.NotificationsConfig", "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceConfig", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceConfig", "github.com/codeready-toolchain/api/api/v1alpha1.TiersConfig", "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusConfig", "github.com/codeready-toolchain/api/api/v1alpha1.UsersConfig"}, 740 } 741 } 742 743 func schema_codeready_toolchain_api_api_v1alpha1_HostOperatorStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 744 return common.OpenAPIDefinition{ 745 Schema: spec.Schema{ 746 SchemaProps: spec.SchemaProps{ 747 Description: "HostOperatorStatus defines the observed state of a toolchain's host operator", 748 Type: []string{"object"}, 749 Properties: map[string]spec.Schema{ 750 "version": { 751 SchemaProps: spec.SchemaProps{ 752 Description: "The version of the operator", 753 Default: "", 754 Type: []string{"string"}, 755 Format: "", 756 }, 757 }, 758 "revision": { 759 SchemaProps: spec.SchemaProps{ 760 Description: "The commit id from the host-operator repository used to build the operator", 761 Default: "", 762 Type: []string{"string"}, 763 Format: "", 764 }, 765 }, 766 "buildTimestamp": { 767 SchemaProps: spec.SchemaProps{ 768 Description: "The timestamp of the host operator build", 769 Default: "", 770 Type: []string{"string"}, 771 Format: "", 772 }, 773 }, 774 "deploymentName": { 775 SchemaProps: spec.SchemaProps{ 776 Description: "The status of the host operator's deployment", 777 Default: "", 778 Type: []string{"string"}, 779 Format: "", 780 }, 781 }, 782 "conditions": { 783 VendorExtensible: spec.VendorExtensible{ 784 Extensions: spec.Extensions{ 785 "x-kubernetes-list-map-keys": []interface{}{ 786 "type", 787 }, 788 "x-kubernetes-list-type": "map", 789 "x-kubernetes-patch-merge-key": "type", 790 "x-kubernetes-patch-strategy": "merge", 791 }, 792 }, 793 SchemaProps: spec.SchemaProps{ 794 Description: "Conditions is an array of current host operator status conditions Supported condition types: ConditionReady", 795 Type: []string{"array"}, 796 Items: &spec.SchemaOrArray{ 797 Schema: &spec.Schema{ 798 SchemaProps: spec.SchemaProps{ 799 Default: map[string]interface{}{}, 800 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 801 }, 802 }, 803 }, 804 }, 805 }, 806 "revisionCheck": { 807 SchemaProps: spec.SchemaProps{ 808 Description: "The status of the revision check for host operator's deployment", 809 Default: map[string]interface{}{}, 810 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RevisionCheck"), 811 }, 812 }, 813 }, 814 Required: []string{"version", "revision", "buildTimestamp", "deploymentName"}, 815 }, 816 }, 817 Dependencies: []string{ 818 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.RevisionCheck"}, 819 } 820 } 821 822 func schema_codeready_toolchain_api_api_v1alpha1_HostRegistrationServiceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 823 return common.OpenAPIDefinition{ 824 Schema: spec.Schema{ 825 SchemaProps: spec.SchemaProps{ 826 Description: "HostRegistrationServiceStatus defines the observed state of a toolchain's registration service", 827 Type: []string{"object"}, 828 Properties: map[string]spec.Schema{ 829 "deployment": { 830 SchemaProps: spec.SchemaProps{ 831 Description: "Deployment is the status of the registration service's deployment", 832 Default: map[string]interface{}{}, 833 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceDeploymentStatus"), 834 }, 835 }, 836 "registrationServiceResources": { 837 SchemaProps: spec.SchemaProps{ 838 Description: "RegistrationServiceResources is the status for resources created for the registration service", 839 Default: map[string]interface{}{}, 840 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceResourcesStatus"), 841 }, 842 }, 843 "health": { 844 SchemaProps: spec.SchemaProps{ 845 Description: "Health provides health status of the registration service", 846 Default: map[string]interface{}{}, 847 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceHealth"), 848 }, 849 }, 850 "revisionCheck": { 851 SchemaProps: spec.SchemaProps{ 852 Description: "The status of the revision check for registration service", 853 Default: map[string]interface{}{}, 854 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RevisionCheck"), 855 }, 856 }, 857 }, 858 Required: []string{"deployment", "registrationServiceResources", "health"}, 859 }, 860 }, 861 Dependencies: []string{ 862 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceDeploymentStatus", "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceHealth", "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceResourcesStatus", "github.com/codeready-toolchain/api/api/v1alpha1.RevisionCheck"}, 863 } 864 } 865 866 func schema_codeready_toolchain_api_api_v1alpha1_HostRoutes(ref common.ReferenceCallback) common.OpenAPIDefinition { 867 return common.OpenAPIDefinition{ 868 Schema: spec.Schema{ 869 SchemaProps: spec.SchemaProps{ 870 Description: "HostRoutes contains information about the public routes available to the user in the host cluster", 871 Type: []string{"object"}, 872 Properties: map[string]spec.Schema{ 873 "proxyURL": { 874 SchemaProps: spec.SchemaProps{ 875 Description: "ProxyURL is the Proxy URL of the cluster", 876 Type: []string{"string"}, 877 Format: "", 878 }, 879 }, 880 "conditions": { 881 VendorExtensible: spec.VendorExtensible{ 882 Extensions: spec.Extensions{ 883 "x-kubernetes-list-map-keys": []interface{}{ 884 "type", 885 }, 886 "x-kubernetes-list-type": "map", 887 "x-kubernetes-patch-merge-key": "type", 888 "x-kubernetes-patch-strategy": "merge", 889 }, 890 }, 891 SchemaProps: spec.SchemaProps{ 892 Description: "Conditions is an array of current member operator status conditions Supported condition types: ConditionReady", 893 Type: []string{"array"}, 894 Items: &spec.SchemaOrArray{ 895 Schema: &spec.Schema{ 896 SchemaProps: spec.SchemaProps{ 897 Default: map[string]interface{}{}, 898 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 899 }, 900 }, 901 }, 902 }, 903 }, 904 }, 905 }, 906 }, 907 Dependencies: []string{ 908 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 909 } 910 } 911 912 func schema_codeready_toolchain_api_api_v1alpha1_IdentityClaimsEmbedded(ref common.ReferenceCallback) common.OpenAPIDefinition { 913 return common.OpenAPIDefinition{ 914 Schema: spec.Schema{ 915 SchemaProps: spec.SchemaProps{ 916 Description: "IdentityClaimsEmbedded is used to define a set of SSO claim values that we are interested in storing", 917 Type: []string{"object"}, 918 Properties: map[string]spec.Schema{ 919 "sub": { 920 SchemaProps: spec.SchemaProps{ 921 Description: "Sub contains the value of the 'sub' claim", 922 Default: "", 923 Type: []string{"string"}, 924 Format: "", 925 }, 926 }, 927 "userID": { 928 SchemaProps: spec.SchemaProps{ 929 Description: "UserID contains the value of the 'user_id' claim", 930 Type: []string{"string"}, 931 Format: "", 932 }, 933 }, 934 "accountID": { 935 SchemaProps: spec.SchemaProps{ 936 Description: "AccountID contains the value of the 'account_id' claim", 937 Type: []string{"string"}, 938 Format: "", 939 }, 940 }, 941 "originalSub": { 942 SchemaProps: spec.SchemaProps{ 943 Description: "OriginalSub is an optional property temporarily introduced for the purpose of migrating the users to a new IdP provider client, and contains the user's \"original-sub\" claim", 944 Type: []string{"string"}, 945 Format: "", 946 }, 947 }, 948 "email": { 949 SchemaProps: spec.SchemaProps{ 950 Description: "Email contains the user's email address", 951 Default: "", 952 Type: []string{"string"}, 953 Format: "", 954 }, 955 }, 956 "preferredUsername": { 957 SchemaProps: spec.SchemaProps{ 958 Description: "PreferredUsername contains the user's username", 959 Default: "", 960 Type: []string{"string"}, 961 Format: "", 962 }, 963 }, 964 "givenName": { 965 SchemaProps: spec.SchemaProps{ 966 Description: "GivenName contains the value of the 'given_name' claim", 967 Type: []string{"string"}, 968 Format: "", 969 }, 970 }, 971 "familyName": { 972 SchemaProps: spec.SchemaProps{ 973 Description: "FamilyName contains the value of the 'family_name' claim", 974 Type: []string{"string"}, 975 Format: "", 976 }, 977 }, 978 "company": { 979 SchemaProps: spec.SchemaProps{ 980 Description: "Company contains the value of the 'company' claim", 981 Type: []string{"string"}, 982 Format: "", 983 }, 984 }, 985 }, 986 Required: []string{"sub", "email", "preferredUsername"}, 987 }, 988 }, 989 } 990 } 991 992 func schema_codeready_toolchain_api_api_v1alpha1_Idler(ref common.ReferenceCallback) common.OpenAPIDefinition { 993 return common.OpenAPIDefinition{ 994 Schema: spec.Schema{ 995 SchemaProps: spec.SchemaProps{ 996 Description: "Idler enables automatic idling of payloads in a user namespaces where the name of the Idler matches the name of the corresponding namespace. For example an Idler with \"foo\" name will be managing pods in namespace \"foo\".", 997 Type: []string{"object"}, 998 Properties: map[string]spec.Schema{ 999 "kind": { 1000 SchemaProps: spec.SchemaProps{ 1001 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", 1002 Type: []string{"string"}, 1003 Format: "", 1004 }, 1005 }, 1006 "apiVersion": { 1007 SchemaProps: spec.SchemaProps{ 1008 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", 1009 Type: []string{"string"}, 1010 Format: "", 1011 }, 1012 }, 1013 "metadata": { 1014 SchemaProps: spec.SchemaProps{ 1015 Default: map[string]interface{}{}, 1016 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1017 }, 1018 }, 1019 "spec": { 1020 SchemaProps: spec.SchemaProps{ 1021 Default: map[string]interface{}{}, 1022 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.IdlerSpec"), 1023 }, 1024 }, 1025 "status": { 1026 SchemaProps: spec.SchemaProps{ 1027 Default: map[string]interface{}{}, 1028 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.IdlerStatus"), 1029 }, 1030 }, 1031 }, 1032 }, 1033 }, 1034 Dependencies: []string{ 1035 "github.com/codeready-toolchain/api/api/v1alpha1.IdlerSpec", "github.com/codeready-toolchain/api/api/v1alpha1.IdlerStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1036 } 1037 } 1038 1039 func schema_codeready_toolchain_api_api_v1alpha1_IdlerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1040 return common.OpenAPIDefinition{ 1041 Schema: spec.Schema{ 1042 SchemaProps: spec.SchemaProps{ 1043 Description: "IdlerSpec defines the desired state of Idler", 1044 Type: []string{"object"}, 1045 Properties: map[string]spec.Schema{ 1046 "timeoutSeconds": { 1047 SchemaProps: spec.SchemaProps{ 1048 Description: "TimeoutSeconds is the number of seconds before the running pods will be deleted", 1049 Default: 0, 1050 Type: []string{"integer"}, 1051 Format: "int32", 1052 }, 1053 }, 1054 }, 1055 Required: []string{"timeoutSeconds"}, 1056 }, 1057 }, 1058 } 1059 } 1060 1061 func schema_codeready_toolchain_api_api_v1alpha1_IdlerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1062 return common.OpenAPIDefinition{ 1063 Schema: spec.Schema{ 1064 SchemaProps: spec.SchemaProps{ 1065 Description: "IdlerStatus defines the observed state of Idler", 1066 Type: []string{"object"}, 1067 Properties: map[string]spec.Schema{ 1068 "pods": { 1069 VendorExtensible: spec.VendorExtensible{ 1070 Extensions: spec.Extensions{ 1071 "x-kubernetes-list-map-keys": []interface{}{ 1072 "name", 1073 }, 1074 "x-kubernetes-list-type": "map", 1075 "x-kubernetes-patch-merge-key": "name", 1076 "x-kubernetes-patch-strategy": "merge", 1077 }, 1078 }, 1079 SchemaProps: spec.SchemaProps{ 1080 Description: "Pods is an array of tracked pods", 1081 Type: []string{"array"}, 1082 Items: &spec.SchemaOrArray{ 1083 Schema: &spec.Schema{ 1084 SchemaProps: spec.SchemaProps{ 1085 Default: map[string]interface{}{}, 1086 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Pod"), 1087 }, 1088 }, 1089 }, 1090 }, 1091 }, 1092 "conditions": { 1093 VendorExtensible: spec.VendorExtensible{ 1094 Extensions: spec.Extensions{ 1095 "x-kubernetes-list-map-keys": []interface{}{ 1096 "type", 1097 }, 1098 "x-kubernetes-list-type": "map", 1099 "x-kubernetes-patch-merge-key": "type", 1100 "x-kubernetes-patch-strategy": "merge", 1101 }, 1102 }, 1103 SchemaProps: spec.SchemaProps{ 1104 Description: "Conditions is an array of current Idler conditions Supported condition types: ConditionReady", 1105 Type: []string{"array"}, 1106 Items: &spec.SchemaOrArray{ 1107 Schema: &spec.Schema{ 1108 SchemaProps: spec.SchemaProps{ 1109 Default: map[string]interface{}{}, 1110 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 1111 }, 1112 }, 1113 }, 1114 }, 1115 }, 1116 }, 1117 }, 1118 }, 1119 Dependencies: []string{ 1120 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.Pod"}, 1121 } 1122 } 1123 1124 func schema_codeready_toolchain_api_api_v1alpha1_LocalSecretReference(ref common.ReferenceCallback) common.OpenAPIDefinition { 1125 return common.OpenAPIDefinition{ 1126 Schema: spec.Schema{ 1127 SchemaProps: spec.SchemaProps{ 1128 Description: "LocalSecretReference is a reference to a secret within the enclosing namespace.", 1129 Type: []string{"object"}, 1130 Properties: map[string]spec.Schema{ 1131 "name": { 1132 SchemaProps: spec.SchemaProps{ 1133 Description: "Name of a secret within the enclosing namespace", 1134 Default: "", 1135 Type: []string{"string"}, 1136 Format: "", 1137 }, 1138 }, 1139 }, 1140 Required: []string{"name"}, 1141 }, 1142 }, 1143 } 1144 } 1145 1146 func schema_codeready_toolchain_api_api_v1alpha1_MasterUserRecord(ref common.ReferenceCallback) common.OpenAPIDefinition { 1147 return common.OpenAPIDefinition{ 1148 Schema: spec.Schema{ 1149 SchemaProps: spec.SchemaProps{ 1150 Description: "MasterUserRecord keeps all information about user, user accounts and namespaces provisioned in CodeReady Toolchain", 1151 Type: []string{"object"}, 1152 Properties: map[string]spec.Schema{ 1153 "kind": { 1154 SchemaProps: spec.SchemaProps{ 1155 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", 1156 Type: []string{"string"}, 1157 Format: "", 1158 }, 1159 }, 1160 "apiVersion": { 1161 SchemaProps: spec.SchemaProps{ 1162 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", 1163 Type: []string{"string"}, 1164 Format: "", 1165 }, 1166 }, 1167 "metadata": { 1168 SchemaProps: spec.SchemaProps{ 1169 Default: map[string]interface{}{}, 1170 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1171 }, 1172 }, 1173 "spec": { 1174 SchemaProps: spec.SchemaProps{ 1175 Default: map[string]interface{}{}, 1176 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MasterUserRecordSpec"), 1177 }, 1178 }, 1179 "status": { 1180 SchemaProps: spec.SchemaProps{ 1181 Default: map[string]interface{}{}, 1182 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MasterUserRecordStatus"), 1183 }, 1184 }, 1185 }, 1186 }, 1187 }, 1188 Dependencies: []string{ 1189 "github.com/codeready-toolchain/api/api/v1alpha1.MasterUserRecordSpec", "github.com/codeready-toolchain/api/api/v1alpha1.MasterUserRecordStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1190 } 1191 } 1192 1193 func schema_codeready_toolchain_api_api_v1alpha1_MasterUserRecordSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1194 return common.OpenAPIDefinition{ 1195 Schema: spec.Schema{ 1196 SchemaProps: spec.SchemaProps{ 1197 Description: "MasterUserRecordSpec defines the desired state of MasterUserRecord", 1198 Type: []string{"object"}, 1199 Properties: map[string]spec.Schema{ 1200 "disabled": { 1201 SchemaProps: spec.SchemaProps{ 1202 Description: "If set to true then the corresponding user should not be able to login (but the underlying UserAccounts still exists) \"false\" is assumed by default", 1203 Type: []string{"boolean"}, 1204 Format: "", 1205 }, 1206 }, 1207 "userAccounts": { 1208 VendorExtensible: spec.VendorExtensible{ 1209 Extensions: spec.Extensions{ 1210 "x-kubernetes-list-map-keys": []interface{}{ 1211 "targetCluster", 1212 }, 1213 "x-kubernetes-list-type": "map", 1214 }, 1215 }, 1216 SchemaProps: spec.SchemaProps{ 1217 Description: "The list of user accounts in the member clusters which belong to this MasterUserRecord", 1218 Type: []string{"array"}, 1219 Items: &spec.SchemaOrArray{ 1220 Schema: &spec.Schema{ 1221 SchemaProps: spec.SchemaProps{ 1222 Default: map[string]interface{}{}, 1223 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UserAccountEmbedded"), 1224 }, 1225 }, 1226 }, 1227 }, 1228 }, 1229 "tierName": { 1230 SchemaProps: spec.SchemaProps{ 1231 Description: "TierName is an optional property introduced to retain the name of the tier for which the Dev Sandbox user is provisioned, so we can still deal with deactivation once the NSTemplateSet field has been removed from `[]spec.UserAccounts` temporarily marked as optional until the migration took place (CRT-1321)", 1232 Type: []string{"string"}, 1233 Format: "", 1234 }, 1235 }, 1236 "propagatedClaims": { 1237 SchemaProps: spec.SchemaProps{ 1238 Description: "PropagatedClaims contains a selection of claim values from the SSO Identity Provider which are intended to be \"propagated\" down the resource dependency chain", 1239 Default: map[string]interface{}{}, 1240 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.PropagatedClaims"), 1241 }, 1242 }, 1243 }, 1244 }, 1245 }, 1246 Dependencies: []string{ 1247 "github.com/codeready-toolchain/api/api/v1alpha1.PropagatedClaims", "github.com/codeready-toolchain/api/api/v1alpha1.UserAccountEmbedded"}, 1248 } 1249 } 1250 1251 func schema_codeready_toolchain_api_api_v1alpha1_MasterUserRecordStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1252 return common.OpenAPIDefinition{ 1253 Schema: spec.Schema{ 1254 SchemaProps: spec.SchemaProps{ 1255 Description: "MasterUserRecordStatus defines the observed state of MasterUserRecord", 1256 Type: []string{"object"}, 1257 Properties: map[string]spec.Schema{ 1258 "conditions": { 1259 VendorExtensible: spec.VendorExtensible{ 1260 Extensions: spec.Extensions{ 1261 "x-kubernetes-list-map-keys": []interface{}{ 1262 "type", 1263 }, 1264 "x-kubernetes-list-type": "map", 1265 "x-kubernetes-patch-merge-key": "type", 1266 "x-kubernetes-patch-strategy": "merge", 1267 }, 1268 }, 1269 SchemaProps: spec.SchemaProps{ 1270 Description: "Conditions is an array of current Master User Record conditions Supported condition types: Provisioning, UserAccountNotReady and Ready", 1271 Type: []string{"array"}, 1272 Items: &spec.SchemaOrArray{ 1273 Schema: &spec.Schema{ 1274 SchemaProps: spec.SchemaProps{ 1275 Default: map[string]interface{}{}, 1276 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 1277 }, 1278 }, 1279 }, 1280 }, 1281 }, 1282 "userAccounts": { 1283 VendorExtensible: spec.VendorExtensible{ 1284 Extensions: spec.Extensions{ 1285 "x-kubernetes-list-type": "atomic", 1286 }, 1287 }, 1288 SchemaProps: spec.SchemaProps{ 1289 Description: "The status of user accounts in the member clusters which belong to this MasterUserRecord", 1290 Type: []string{"array"}, 1291 Items: &spec.SchemaOrArray{ 1292 Schema: &spec.Schema{ 1293 SchemaProps: spec.SchemaProps{ 1294 Default: map[string]interface{}{}, 1295 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UserAccountStatusEmbedded"), 1296 }, 1297 }, 1298 }, 1299 }, 1300 }, 1301 "provisionedTime": { 1302 SchemaProps: spec.SchemaProps{ 1303 Description: "The timestamp when the user was provisioned", 1304 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1305 }, 1306 }, 1307 }, 1308 }, 1309 }, 1310 Dependencies: []string{ 1311 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.UserAccountStatusEmbedded", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1312 } 1313 } 1314 1315 func schema_codeready_toolchain_api_api_v1alpha1_Member(ref common.ReferenceCallback) common.OpenAPIDefinition { 1316 return common.OpenAPIDefinition{ 1317 Schema: spec.Schema{ 1318 SchemaProps: spec.SchemaProps{ 1319 Description: "Member contains the status of a member cluster", 1320 Type: []string{"object"}, 1321 Properties: map[string]spec.Schema{ 1322 "apiEndpoint": { 1323 SchemaProps: spec.SchemaProps{ 1324 Description: "APIEndpoint is the server API URL of the cluster", 1325 Type: []string{"string"}, 1326 Format: "", 1327 }, 1328 }, 1329 "clusterName": { 1330 SchemaProps: spec.SchemaProps{ 1331 Description: "The cluster identifier", 1332 Default: "", 1333 Type: []string{"string"}, 1334 Format: "", 1335 }, 1336 }, 1337 "spaceCount": { 1338 SchemaProps: spec.SchemaProps{ 1339 Description: "Number of Spaces created within the member cluster", 1340 Type: []string{"integer"}, 1341 Format: "int32", 1342 }, 1343 }, 1344 "memberStatus": { 1345 SchemaProps: spec.SchemaProps{ 1346 Description: "The array of member status objects", 1347 Default: map[string]interface{}{}, 1348 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusStatus"), 1349 }, 1350 }, 1351 }, 1352 Required: []string{"clusterName", "memberStatus"}, 1353 }, 1354 }, 1355 Dependencies: []string{ 1356 "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusStatus"}, 1357 } 1358 } 1359 1360 func schema_codeready_toolchain_api_api_v1alpha1_MemberOperatorConfigSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1361 return common.OpenAPIDefinition{ 1362 Schema: spec.Schema{ 1363 SchemaProps: spec.SchemaProps{ 1364 Description: "MemberOperatorConfigSpec contains all configuration parameters of the member operator", 1365 Type: []string{"object"}, 1366 Properties: map[string]spec.Schema{ 1367 "auth": { 1368 SchemaProps: spec.SchemaProps{ 1369 Description: "Keeps parameters concerned with authentication", 1370 Default: map[string]interface{}{}, 1371 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.AuthConfig"), 1372 }, 1373 }, 1374 "autoscaler": { 1375 SchemaProps: spec.SchemaProps{ 1376 Description: "Keeps parameters concerned with the autoscaler", 1377 Default: map[string]interface{}{}, 1378 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.AutoscalerConfig"), 1379 }, 1380 }, 1381 "che": { 1382 SchemaProps: spec.SchemaProps{ 1383 Description: "Keeps parameters concerned with Che/CRW", 1384 Default: map[string]interface{}{}, 1385 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.CheConfig"), 1386 }, 1387 }, 1388 "console": { 1389 SchemaProps: spec.SchemaProps{ 1390 Description: "Keeps parameters concerned with the console", 1391 Default: map[string]interface{}{}, 1392 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ConsoleConfig"), 1393 }, 1394 }, 1395 "environment": { 1396 SchemaProps: spec.SchemaProps{ 1397 Description: "Environment specifies the member-operator environment such as prod, stage, unit-tests, e2e-tests, dev, etc", 1398 Type: []string{"string"}, 1399 Format: "", 1400 }, 1401 }, 1402 "skipUserCreation": { 1403 SchemaProps: spec.SchemaProps{ 1404 Description: "Defines the flag that determines whether User and Identity resources should be created for a UserAccount", 1405 Type: []string{"boolean"}, 1406 Format: "", 1407 }, 1408 }, 1409 "memberStatus": { 1410 SchemaProps: spec.SchemaProps{ 1411 Description: "Keeps parameters concerned with member status", 1412 Default: map[string]interface{}{}, 1413 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusConfig"), 1414 }, 1415 }, 1416 "toolchainCluster": { 1417 SchemaProps: spec.SchemaProps{ 1418 Description: "Keeps parameters concerned with the toolchaincluster", 1419 Default: map[string]interface{}{}, 1420 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterConfig"), 1421 }, 1422 }, 1423 "webhook": { 1424 SchemaProps: spec.SchemaProps{ 1425 Description: "Keeps parameters concerned with the webhook", 1426 Default: map[string]interface{}{}, 1427 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.WebhookConfig"), 1428 }, 1429 }, 1430 "webConsolePlugin": { 1431 SchemaProps: spec.SchemaProps{ 1432 Description: "WebConsolePlugin is used to configure the Web Console Plugin parameters", 1433 Default: map[string]interface{}{}, 1434 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.WebConsolePlugin"), 1435 }, 1436 }, 1437 }, 1438 }, 1439 }, 1440 Dependencies: []string{ 1441 "github.com/codeready-toolchain/api/api/v1alpha1.AuthConfig", "github.com/codeready-toolchain/api/api/v1alpha1.AutoscalerConfig", "github.com/codeready-toolchain/api/api/v1alpha1.CheConfig", "github.com/codeready-toolchain/api/api/v1alpha1.ConsoleConfig", "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusConfig", "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterConfig", "github.com/codeready-toolchain/api/api/v1alpha1.WebConsolePlugin", "github.com/codeready-toolchain/api/api/v1alpha1.WebhookConfig"}, 1442 } 1443 } 1444 1445 func schema_codeready_toolchain_api_api_v1alpha1_MemberOperatorConfigStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1446 return common.OpenAPIDefinition{ 1447 Schema: spec.Schema{ 1448 SchemaProps: spec.SchemaProps{ 1449 Description: "MemberOperatorConfigStatus defines the observed state of MemberOperatorConfig", 1450 Type: []string{"object"}, 1451 }, 1452 }, 1453 } 1454 } 1455 1456 func schema_codeready_toolchain_api_api_v1alpha1_MemberStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1457 return common.OpenAPIDefinition{ 1458 Schema: spec.Schema{ 1459 SchemaProps: spec.SchemaProps{ 1460 Description: "MemberStatus is used to track toolchain member status", 1461 Type: []string{"object"}, 1462 Properties: map[string]spec.Schema{ 1463 "kind": { 1464 SchemaProps: spec.SchemaProps{ 1465 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", 1466 Type: []string{"string"}, 1467 Format: "", 1468 }, 1469 }, 1470 "apiVersion": { 1471 SchemaProps: spec.SchemaProps{ 1472 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", 1473 Type: []string{"string"}, 1474 Format: "", 1475 }, 1476 }, 1477 "metadata": { 1478 SchemaProps: spec.SchemaProps{ 1479 Default: map[string]interface{}{}, 1480 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1481 }, 1482 }, 1483 "spec": { 1484 SchemaProps: spec.SchemaProps{ 1485 Default: map[string]interface{}{}, 1486 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusSpec"), 1487 }, 1488 }, 1489 "status": { 1490 SchemaProps: spec.SchemaProps{ 1491 Default: map[string]interface{}{}, 1492 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusStatus"), 1493 }, 1494 }, 1495 }, 1496 }, 1497 }, 1498 Dependencies: []string{ 1499 "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusSpec", "github.com/codeready-toolchain/api/api/v1alpha1.MemberStatusStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1500 } 1501 } 1502 1503 func schema_codeready_toolchain_api_api_v1alpha1_MemberStatusConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 1504 return common.OpenAPIDefinition{ 1505 Schema: spec.Schema{ 1506 SchemaProps: spec.SchemaProps{ 1507 Description: "Defines all parameters concerned with member status", 1508 Type: []string{"object"}, 1509 Properties: map[string]spec.Schema{ 1510 "refreshPeriod": { 1511 SchemaProps: spec.SchemaProps{ 1512 Description: "Defines the period between refreshes of the member status", 1513 Type: []string{"string"}, 1514 Format: "", 1515 }, 1516 }, 1517 "gitHubSecret": { 1518 SchemaProps: spec.SchemaProps{ 1519 Description: "Defines all secrets related to GitHub authentication/integration", 1520 Default: map[string]interface{}{}, 1521 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.GitHubSecret"), 1522 }, 1523 }, 1524 }, 1525 }, 1526 }, 1527 Dependencies: []string{ 1528 "github.com/codeready-toolchain/api/api/v1alpha1.GitHubSecret"}, 1529 } 1530 } 1531 1532 func schema_codeready_toolchain_api_api_v1alpha1_MemberStatusSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1533 return common.OpenAPIDefinition{ 1534 Schema: spec.Schema{ 1535 SchemaProps: spec.SchemaProps{ 1536 Description: "MemberStatusSpec defines the desired state of MemberStatus", 1537 Type: []string{"object"}, 1538 }, 1539 }, 1540 } 1541 } 1542 1543 func schema_codeready_toolchain_api_api_v1alpha1_MemberStatusStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1544 return common.OpenAPIDefinition{ 1545 Schema: spec.Schema{ 1546 SchemaProps: spec.SchemaProps{ 1547 Description: "MemberStatusStatus defines the observed state of the toolchain member status", 1548 Type: []string{"object"}, 1549 Properties: map[string]spec.Schema{ 1550 "che": { 1551 SchemaProps: spec.SchemaProps{ 1552 Description: "Che is the status of Che/CRW, such as installed and whether the member configuration is correct", 1553 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.CheStatus"), 1554 }, 1555 }, 1556 "memberOperator": { 1557 SchemaProps: spec.SchemaProps{ 1558 Description: "MemberOperator is the status of a toolchain member operator", 1559 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MemberOperatorStatus"), 1560 }, 1561 }, 1562 "hostConnection": { 1563 SchemaProps: spec.SchemaProps{ 1564 Description: "HostConnection is the status of the connection with the host cluster", 1565 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterStatus"), 1566 }, 1567 }, 1568 "host": { 1569 SchemaProps: spec.SchemaProps{ 1570 Description: "Host is the status of the connection with the host cluster", 1571 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.HostStatus"), 1572 }, 1573 }, 1574 "conditions": { 1575 VendorExtensible: spec.VendorExtensible{ 1576 Extensions: spec.Extensions{ 1577 "x-kubernetes-list-map-keys": []interface{}{ 1578 "type", 1579 }, 1580 "x-kubernetes-list-type": "map", 1581 "x-kubernetes-patch-merge-key": "type", 1582 "x-kubernetes-patch-strategy": "merge", 1583 }, 1584 }, 1585 SchemaProps: spec.SchemaProps{ 1586 Description: "Conditions is an array of current toolchain status conditions Supported condition types: ConditionReady", 1587 Type: []string{"array"}, 1588 Items: &spec.SchemaOrArray{ 1589 Schema: &spec.Schema{ 1590 SchemaProps: spec.SchemaProps{ 1591 Default: map[string]interface{}{}, 1592 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 1593 }, 1594 }, 1595 }, 1596 }, 1597 }, 1598 "resourceUsage": { 1599 SchemaProps: spec.SchemaProps{ 1600 Description: "Resource usage of the cluster", 1601 Default: map[string]interface{}{}, 1602 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ResourceUsage"), 1603 }, 1604 }, 1605 "routes": { 1606 SchemaProps: spec.SchemaProps{ 1607 Description: "Routes/URLs of the cluster, such as Console and Che Dashboard URLs", 1608 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Routes"), 1609 }, 1610 }, 1611 }, 1612 }, 1613 }, 1614 Dependencies: []string{ 1615 "github.com/codeready-toolchain/api/api/v1alpha1.CheStatus", "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.HostStatus", "github.com/codeready-toolchain/api/api/v1alpha1.MemberOperatorStatus", "github.com/codeready-toolchain/api/api/v1alpha1.ResourceUsage", "github.com/codeready-toolchain/api/api/v1alpha1.Routes", "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterStatus"}, 1616 } 1617 } 1618 1619 func schema_codeready_toolchain_api_api_v1alpha1_Members(ref common.ReferenceCallback) common.OpenAPIDefinition { 1620 return common.OpenAPIDefinition{ 1621 Schema: spec.Schema{ 1622 SchemaProps: spec.SchemaProps{ 1623 Description: "Members contains all configuration for member operators", 1624 Type: []string{"object"}, 1625 Properties: map[string]spec.Schema{ 1626 "default": { 1627 SchemaProps: spec.SchemaProps{ 1628 Description: "Defines default configuration to be applied to all member clusters", 1629 Default: map[string]interface{}{}, 1630 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MemberOperatorConfigSpec"), 1631 }, 1632 }, 1633 "specificPerMemberCluster": { 1634 VendorExtensible: spec.VendorExtensible{ 1635 Extensions: spec.Extensions{ 1636 "x-kubernetes-map-type": "atomic", 1637 }, 1638 }, 1639 SchemaProps: spec.SchemaProps{ 1640 Description: "A map of cluster-specific member operator configurations indexed by member toolchaincluster name", 1641 Type: []string{"object"}, 1642 AdditionalProperties: &spec.SchemaOrBool{ 1643 Allows: true, 1644 Schema: &spec.Schema{ 1645 SchemaProps: spec.SchemaProps{ 1646 Default: map[string]interface{}{}, 1647 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.MemberOperatorConfigSpec"), 1648 }, 1649 }, 1650 }, 1651 }, 1652 }, 1653 }, 1654 }, 1655 }, 1656 Dependencies: []string{ 1657 "github.com/codeready-toolchain/api/api/v1alpha1.MemberOperatorConfigSpec"}, 1658 } 1659 } 1660 1661 func schema_codeready_toolchain_api_api_v1alpha1_MetricsConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 1662 return common.OpenAPIDefinition{ 1663 Schema: spec.Schema{ 1664 SchemaProps: spec.SchemaProps{ 1665 Description: "MetricsConfig contains all configuration parameters related to metrics gathering", 1666 Type: []string{"object"}, 1667 Properties: map[string]spec.Schema{ 1668 "forceSynchronization": { 1669 SchemaProps: spec.SchemaProps{ 1670 Description: "ForceSynchronization is a flag used to trigger synchronization of the metrics based on the resources rather than on the content of `ToolchainStatus.status.metrics`", 1671 Type: []string{"boolean"}, 1672 Format: "", 1673 }, 1674 }, 1675 }, 1676 }, 1677 }, 1678 } 1679 } 1680 1681 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSet(ref common.ReferenceCallback) common.OpenAPIDefinition { 1682 return common.OpenAPIDefinition{ 1683 Schema: spec.Schema{ 1684 SchemaProps: spec.SchemaProps{ 1685 Description: "NSTemplateSet defines user environment via templates that are used for namespace provisioning", 1686 Type: []string{"object"}, 1687 Properties: map[string]spec.Schema{ 1688 "kind": { 1689 SchemaProps: spec.SchemaProps{ 1690 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", 1691 Type: []string{"string"}, 1692 Format: "", 1693 }, 1694 }, 1695 "apiVersion": { 1696 SchemaProps: spec.SchemaProps{ 1697 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", 1698 Type: []string{"string"}, 1699 Format: "", 1700 }, 1701 }, 1702 "metadata": { 1703 SchemaProps: spec.SchemaProps{ 1704 Default: map[string]interface{}{}, 1705 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1706 }, 1707 }, 1708 "spec": { 1709 SchemaProps: spec.SchemaProps{ 1710 Default: map[string]interface{}{}, 1711 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetSpec"), 1712 }, 1713 }, 1714 "status": { 1715 SchemaProps: spec.SchemaProps{ 1716 Default: map[string]interface{}{}, 1717 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetStatus"), 1718 }, 1719 }, 1720 }, 1721 }, 1722 }, 1723 Dependencies: []string{ 1724 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetSpec", "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1725 } 1726 } 1727 1728 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetClusterResources(ref common.ReferenceCallback) common.OpenAPIDefinition { 1729 return common.OpenAPIDefinition{ 1730 Schema: spec.Schema{ 1731 SchemaProps: spec.SchemaProps{ 1732 Description: "NSTemplateSetClusterResources defines the cluster-scoped resources associated with a given user", 1733 Type: []string{"object"}, 1734 Properties: map[string]spec.Schema{ 1735 "templateRef": { 1736 SchemaProps: spec.SchemaProps{ 1737 Description: "TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use", 1738 Default: "", 1739 Type: []string{"string"}, 1740 Format: "", 1741 }, 1742 }, 1743 }, 1744 Required: []string{"templateRef"}, 1745 }, 1746 }, 1747 } 1748 } 1749 1750 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetNamespace(ref common.ReferenceCallback) common.OpenAPIDefinition { 1751 return common.OpenAPIDefinition{ 1752 Schema: spec.Schema{ 1753 SchemaProps: spec.SchemaProps{ 1754 Description: "NSTemplateSetNamespace the namespace definition in an NSTemplateSet resource", 1755 Type: []string{"object"}, 1756 Properties: map[string]spec.Schema{ 1757 "templateRef": { 1758 SchemaProps: spec.SchemaProps{ 1759 Description: "TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use", 1760 Default: "", 1761 Type: []string{"string"}, 1762 Format: "", 1763 }, 1764 }, 1765 }, 1766 Required: []string{"templateRef"}, 1767 }, 1768 }, 1769 } 1770 } 1771 1772 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetSpaceRole(ref common.ReferenceCallback) common.OpenAPIDefinition { 1773 return common.OpenAPIDefinition{ 1774 Schema: spec.Schema{ 1775 SchemaProps: spec.SchemaProps{ 1776 Description: "NSTemplateSetSpaceRole the role template and the users to whom the templates should be applied to", 1777 Type: []string{"object"}, 1778 Properties: map[string]spec.Schema{ 1779 "templateRef": { 1780 SchemaProps: spec.SchemaProps{ 1781 Description: "TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use", 1782 Default: "", 1783 Type: []string{"string"}, 1784 Format: "", 1785 }, 1786 }, 1787 "usernames": { 1788 VendorExtensible: spec.VendorExtensible{ 1789 Extensions: spec.Extensions{ 1790 "x-kubernetes-list-type": "atomic", 1791 }, 1792 }, 1793 SchemaProps: spec.SchemaProps{ 1794 Description: "Usernames the usernames to which the template applies", 1795 Type: []string{"array"}, 1796 Items: &spec.SchemaOrArray{ 1797 Schema: &spec.Schema{ 1798 SchemaProps: spec.SchemaProps{ 1799 Default: "", 1800 Type: []string{"string"}, 1801 Format: "", 1802 }, 1803 }, 1804 }, 1805 }, 1806 }, 1807 }, 1808 Required: []string{"templateRef", "usernames"}, 1809 }, 1810 }, 1811 } 1812 } 1813 1814 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1815 return common.OpenAPIDefinition{ 1816 Schema: spec.Schema{ 1817 SchemaProps: spec.SchemaProps{ 1818 Description: "NSTemplateSetSpec defines the desired state of NSTemplateSet", 1819 Type: []string{"object"}, 1820 Properties: map[string]spec.Schema{ 1821 "tierName": { 1822 SchemaProps: spec.SchemaProps{ 1823 Description: "The name of the tier represented by this template set", 1824 Default: "", 1825 Type: []string{"string"}, 1826 Format: "", 1827 }, 1828 }, 1829 "namespaces": { 1830 VendorExtensible: spec.VendorExtensible{ 1831 Extensions: spec.Extensions{ 1832 "x-kubernetes-list-type": "atomic", 1833 }, 1834 }, 1835 SchemaProps: spec.SchemaProps{ 1836 Description: "The namespace templates", 1837 Type: []string{"array"}, 1838 Items: &spec.SchemaOrArray{ 1839 Schema: &spec.Schema{ 1840 SchemaProps: spec.SchemaProps{ 1841 Default: map[string]interface{}{}, 1842 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetNamespace"), 1843 }, 1844 }, 1845 }, 1846 }, 1847 }, 1848 "clusterResources": { 1849 SchemaProps: spec.SchemaProps{ 1850 Description: "the cluster resources template (for cluster-wide quotas, etc.)", 1851 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetClusterResources"), 1852 }, 1853 }, 1854 "spaceRoles": { 1855 VendorExtensible: spec.VendorExtensible{ 1856 Extensions: spec.Extensions{ 1857 "x-kubernetes-list-type": "atomic", 1858 }, 1859 }, 1860 SchemaProps: spec.SchemaProps{ 1861 Description: "the role template and the users to whom the templates should be applied to", 1862 Type: []string{"array"}, 1863 Items: &spec.SchemaOrArray{ 1864 Schema: &spec.Schema{ 1865 SchemaProps: spec.SchemaProps{ 1866 Default: map[string]interface{}{}, 1867 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetSpaceRole"), 1868 }, 1869 }, 1870 }, 1871 }, 1872 }, 1873 }, 1874 Required: []string{"tierName", "namespaces"}, 1875 }, 1876 }, 1877 Dependencies: []string{ 1878 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetClusterResources", "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetNamespace", "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateSetSpaceRole"}, 1879 } 1880 } 1881 1882 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateSetStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1883 return common.OpenAPIDefinition{ 1884 Schema: spec.Schema{ 1885 SchemaProps: spec.SchemaProps{ 1886 Description: "NSTemplateSetStatus defines the observed state of NSTemplateSet", 1887 Type: []string{"object"}, 1888 Properties: map[string]spec.Schema{ 1889 "provisionedNamespaces": { 1890 VendorExtensible: spec.VendorExtensible{ 1891 Extensions: spec.Extensions{ 1892 "x-kubernetes-list-type": "atomic", 1893 }, 1894 }, 1895 SchemaProps: spec.SchemaProps{ 1896 Description: "ProvisionedNamespaces is a list of Namespaces that were provisioned by the NSTemplateSet.", 1897 Type: []string{"array"}, 1898 Items: &spec.SchemaOrArray{ 1899 Schema: &spec.Schema{ 1900 SchemaProps: spec.SchemaProps{ 1901 Default: map[string]interface{}{}, 1902 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceNamespace"), 1903 }, 1904 }, 1905 }, 1906 }, 1907 }, 1908 "conditions": { 1909 VendorExtensible: spec.VendorExtensible{ 1910 Extensions: spec.Extensions{ 1911 "x-kubernetes-list-map-keys": []interface{}{ 1912 "type", 1913 }, 1914 "x-kubernetes-list-type": "map", 1915 "x-kubernetes-patch-merge-key": "type", 1916 "x-kubernetes-patch-strategy": "merge", 1917 }, 1918 }, 1919 SchemaProps: spec.SchemaProps{ 1920 Description: "Conditions is an array of current NSTemplateSet conditions Supported condition types: ConditionReady", 1921 Type: []string{"array"}, 1922 Items: &spec.SchemaOrArray{ 1923 Schema: &spec.Schema{ 1924 SchemaProps: spec.SchemaProps{ 1925 Default: map[string]interface{}{}, 1926 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 1927 }, 1928 }, 1929 }, 1930 }, 1931 }, 1932 }, 1933 }, 1934 }, 1935 Dependencies: []string{ 1936 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceNamespace"}, 1937 } 1938 } 1939 1940 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateTier(ref common.ReferenceCallback) common.OpenAPIDefinition { 1941 return common.OpenAPIDefinition{ 1942 Schema: spec.Schema{ 1943 SchemaProps: spec.SchemaProps{ 1944 Description: "NSTemplateTier configures user environment via templates used for namespaces the user has access to", 1945 Type: []string{"object"}, 1946 Properties: map[string]spec.Schema{ 1947 "kind": { 1948 SchemaProps: spec.SchemaProps{ 1949 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", 1950 Type: []string{"string"}, 1951 Format: "", 1952 }, 1953 }, 1954 "apiVersion": { 1955 SchemaProps: spec.SchemaProps{ 1956 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", 1957 Type: []string{"string"}, 1958 Format: "", 1959 }, 1960 }, 1961 "metadata": { 1962 SchemaProps: spec.SchemaProps{ 1963 Default: map[string]interface{}{}, 1964 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 1965 }, 1966 }, 1967 "spec": { 1968 SchemaProps: spec.SchemaProps{ 1969 Default: map[string]interface{}{}, 1970 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierSpec"), 1971 }, 1972 }, 1973 "status": { 1974 SchemaProps: spec.SchemaProps{ 1975 Default: map[string]interface{}{}, 1976 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierStatus"), 1977 }, 1978 }, 1979 }, 1980 }, 1981 }, 1982 Dependencies: []string{ 1983 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierSpec", "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 1984 } 1985 } 1986 1987 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateTierSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 1988 return common.OpenAPIDefinition{ 1989 Schema: spec.Schema{ 1990 SchemaProps: spec.SchemaProps{ 1991 Description: "NSTemplateTierSpec defines the desired state of NSTemplateTier", 1992 Type: []string{"object"}, 1993 Properties: map[string]spec.Schema{ 1994 "namespaces": { 1995 VendorExtensible: spec.VendorExtensible{ 1996 Extensions: spec.Extensions{ 1997 "x-kubernetes-list-type": "atomic", 1998 }, 1999 }, 2000 SchemaProps: spec.SchemaProps{ 2001 Description: "The namespace templates", 2002 Type: []string{"array"}, 2003 Items: &spec.SchemaOrArray{ 2004 Schema: &spec.Schema{ 2005 SchemaProps: spec.SchemaProps{ 2006 Default: map[string]interface{}{}, 2007 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierNamespace"), 2008 }, 2009 }, 2010 }, 2011 }, 2012 }, 2013 "clusterResources": { 2014 SchemaProps: spec.SchemaProps{ 2015 Description: "the cluster resources template (for cluster-wide quotas, etc.)", 2016 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierClusterResources"), 2017 }, 2018 }, 2019 "spaceRoles": { 2020 VendorExtensible: spec.VendorExtensible{ 2021 Extensions: spec.Extensions{ 2022 "x-kubernetes-map-type": "atomic", 2023 }, 2024 }, 2025 SchemaProps: spec.SchemaProps{ 2026 Description: "the templates to set the spaces roles, indexed by role", 2027 Type: []string{"object"}, 2028 AdditionalProperties: &spec.SchemaOrBool{ 2029 Allows: true, 2030 Schema: &spec.Schema{ 2031 SchemaProps: spec.SchemaProps{ 2032 Default: map[string]interface{}{}, 2033 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierSpaceRole"), 2034 }, 2035 }, 2036 }, 2037 }, 2038 }, 2039 "spaceRequestConfig": { 2040 SchemaProps: spec.SchemaProps{ 2041 Description: "SpaceRequestConfig stores all the configuration related to the Space Request feature", 2042 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestConfig"), 2043 }, 2044 }, 2045 }, 2046 Required: []string{"namespaces"}, 2047 }, 2048 }, 2049 Dependencies: []string{ 2050 "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierClusterResources", "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierNamespace", "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierSpaceRole", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestConfig"}, 2051 } 2052 } 2053 2054 func schema_codeready_toolchain_api_api_v1alpha1_NSTemplateTierStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2055 return common.OpenAPIDefinition{ 2056 Schema: spec.Schema{ 2057 SchemaProps: spec.SchemaProps{ 2058 Description: "NSTemplateTierStatus defines the observed state of NSTemplateTier", 2059 Type: []string{"object"}, 2060 Properties: map[string]spec.Schema{ 2061 "conditions": { 2062 VendorExtensible: spec.VendorExtensible{ 2063 Extensions: spec.Extensions{ 2064 "x-kubernetes-list-map-keys": []interface{}{ 2065 "type", 2066 }, 2067 "x-kubernetes-list-type": "map", 2068 "x-kubernetes-patch-merge-key": "type", 2069 "x-kubernetes-patch-strategy": "merge", 2070 }, 2071 }, 2072 SchemaProps: spec.SchemaProps{ 2073 Description: "Conditions is an array of current NSTemplateTier conditions Supported condition types: ConditionReady", 2074 Type: []string{"array"}, 2075 Items: &spec.SchemaOrArray{ 2076 Schema: &spec.Schema{ 2077 SchemaProps: spec.SchemaProps{ 2078 Default: map[string]interface{}{}, 2079 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 2080 }, 2081 }, 2082 }, 2083 }, 2084 }, 2085 "updates": { 2086 VendorExtensible: spec.VendorExtensible{ 2087 Extensions: spec.Extensions{ 2088 "x-kubernetes-list-map-keys": []interface{}{ 2089 "startTime", 2090 }, 2091 "x-kubernetes-list-type": "map", 2092 "x-kubernetes-patch-merge-key": "startTime", 2093 "x-kubernetes-patch-strategy": "merge", 2094 }, 2095 }, 2096 SchemaProps: spec.SchemaProps{ 2097 Description: "Updates is an array of all NSTemplateTier updates", 2098 Type: []string{"array"}, 2099 Items: &spec.SchemaOrArray{ 2100 Schema: &spec.Schema{ 2101 SchemaProps: spec.SchemaProps{ 2102 Default: map[string]interface{}{}, 2103 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierHistory"), 2104 }, 2105 }, 2106 }, 2107 }, 2108 }, 2109 }, 2110 }, 2111 }, 2112 Dependencies: []string{ 2113 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.NSTemplateTierHistory"}, 2114 } 2115 } 2116 2117 func schema_codeready_toolchain_api_api_v1alpha1_Notification(ref common.ReferenceCallback) common.OpenAPIDefinition { 2118 return common.OpenAPIDefinition{ 2119 Schema: spec.Schema{ 2120 SchemaProps: spec.SchemaProps{ 2121 Description: "Notification registers a notification in the CodeReady Toolchain", 2122 Type: []string{"object"}, 2123 Properties: map[string]spec.Schema{ 2124 "kind": { 2125 SchemaProps: spec.SchemaProps{ 2126 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", 2127 Type: []string{"string"}, 2128 Format: "", 2129 }, 2130 }, 2131 "apiVersion": { 2132 SchemaProps: spec.SchemaProps{ 2133 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", 2134 Type: []string{"string"}, 2135 Format: "", 2136 }, 2137 }, 2138 "metadata": { 2139 SchemaProps: spec.SchemaProps{ 2140 Default: map[string]interface{}{}, 2141 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2142 }, 2143 }, 2144 "spec": { 2145 SchemaProps: spec.SchemaProps{ 2146 Default: map[string]interface{}{}, 2147 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NotificationSpec"), 2148 }, 2149 }, 2150 "status": { 2151 SchemaProps: spec.SchemaProps{ 2152 Default: map[string]interface{}{}, 2153 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NotificationStatus"), 2154 }, 2155 }, 2156 }, 2157 }, 2158 }, 2159 Dependencies: []string{ 2160 "github.com/codeready-toolchain/api/api/v1alpha1.NotificationSpec", "github.com/codeready-toolchain/api/api/v1alpha1.NotificationStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 2161 } 2162 } 2163 2164 func schema_codeready_toolchain_api_api_v1alpha1_NotificationSecret(ref common.ReferenceCallback) common.OpenAPIDefinition { 2165 return common.OpenAPIDefinition{ 2166 Schema: spec.Schema{ 2167 SchemaProps: spec.SchemaProps{ 2168 Description: "Defines all secrets related to notification configuration", 2169 Type: []string{"object"}, 2170 Properties: map[string]spec.Schema{ 2171 "ref": { 2172 SchemaProps: spec.SchemaProps{ 2173 Description: "Reference is the name of the secret resource to look up", 2174 Type: []string{"string"}, 2175 Format: "", 2176 }, 2177 }, 2178 "mailgunDomain": { 2179 SchemaProps: spec.SchemaProps{ 2180 Description: "The key for the host operator mailgun domain used for creating an instance of mailgun", 2181 Type: []string{"string"}, 2182 Format: "", 2183 }, 2184 }, 2185 "mailgunAPIKey": { 2186 SchemaProps: spec.SchemaProps{ 2187 Description: "The key for the host operator mailgun api key used for creating an instance of mailgun", 2188 Type: []string{"string"}, 2189 Format: "", 2190 }, 2191 }, 2192 "mailgunSenderEmail": { 2193 SchemaProps: spec.SchemaProps{ 2194 Description: "The key for the host operator mailgun senders email", 2195 Type: []string{"string"}, 2196 Format: "", 2197 }, 2198 }, 2199 "mailgunReplyToEmail": { 2200 SchemaProps: spec.SchemaProps{ 2201 Description: "The key for the reply-to email address that will be set in sent notifications", 2202 Type: []string{"string"}, 2203 Format: "", 2204 }, 2205 }, 2206 }, 2207 }, 2208 }, 2209 } 2210 } 2211 2212 func schema_codeready_toolchain_api_api_v1alpha1_NotificationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2213 return common.OpenAPIDefinition{ 2214 Schema: spec.Schema{ 2215 SchemaProps: spec.SchemaProps{ 2216 Description: "NotificationSpec defines the desired state of Notification", 2217 Type: []string{"object"}, 2218 Properties: map[string]spec.Schema{ 2219 "userID": { 2220 SchemaProps: spec.SchemaProps{ 2221 Description: "UserID is the user ID from RHD Identity Provider token (“sub” claim). The UserID is used by the notification service (i.e. the NotificationController) to lookup the UserSignup resource for the user, and extract from it the values required to generate the notification content and to deliver the notification Deprecated: replaced by Context", 2222 Type: []string{"string"}, 2223 Format: "", 2224 }, 2225 }, 2226 "recipient": { 2227 SchemaProps: spec.SchemaProps{ 2228 Description: "Recipient is used to specify the email address where the notification will be delivered. It must comply with section 3.4.1 of RFC2822, and should be formatted to include the user's first and last names, e.g. \"John Smith <jsmith@example.com>\"", 2229 Type: []string{"string"}, 2230 Format: "", 2231 }, 2232 }, 2233 "context": { 2234 SchemaProps: spec.SchemaProps{ 2235 Description: "Context is used to set a number of arbitrary values to be passed to the notification content text formatter, for inclusion in the body of the notification.", 2236 Type: []string{"object"}, 2237 AdditionalProperties: &spec.SchemaOrBool{ 2238 Allows: true, 2239 Schema: &spec.Schema{ 2240 SchemaProps: spec.SchemaProps{ 2241 Default: "", 2242 Type: []string{"string"}, 2243 Format: "", 2244 }, 2245 }, 2246 }, 2247 }, 2248 }, 2249 "template": { 2250 SchemaProps: spec.SchemaProps{ 2251 Description: "Template is the name of the NotificationTemplate resource that will be used to generate the notification", 2252 Type: []string{"string"}, 2253 Format: "", 2254 }, 2255 }, 2256 "subject": { 2257 SchemaProps: spec.SchemaProps{ 2258 Description: "Subject is used when no template value is specified, in cases where the complete notification subject is specified at notification creation time", 2259 Type: []string{"string"}, 2260 Format: "", 2261 }, 2262 }, 2263 "content": { 2264 SchemaProps: spec.SchemaProps{ 2265 Description: "Content is used when no template value is specified, in cases where the complete notification content is specified at notification creation time", 2266 Type: []string{"string"}, 2267 Format: "", 2268 }, 2269 }, 2270 }, 2271 }, 2272 }, 2273 } 2274 } 2275 2276 func schema_codeready_toolchain_api_api_v1alpha1_NotificationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2277 return common.OpenAPIDefinition{ 2278 Schema: spec.Schema{ 2279 SchemaProps: spec.SchemaProps{ 2280 Description: "NotificationStatus defines the observed state of Notification", 2281 Type: []string{"object"}, 2282 Properties: map[string]spec.Schema{ 2283 "conditions": { 2284 VendorExtensible: spec.VendorExtensible{ 2285 Extensions: spec.Extensions{ 2286 "x-kubernetes-list-map-keys": []interface{}{ 2287 "type", 2288 }, 2289 "x-kubernetes-list-type": "map", 2290 "x-kubernetes-patch-merge-key": "type", 2291 "x-kubernetes-patch-strategy": "merge", 2292 }, 2293 }, 2294 SchemaProps: spec.SchemaProps{ 2295 Description: "Conditions is an array of current Notification conditions Supported condition types: Sent", 2296 Type: []string{"array"}, 2297 Items: &spec.SchemaOrArray{ 2298 Schema: &spec.Schema{ 2299 SchemaProps: spec.SchemaProps{ 2300 Default: map[string]interface{}{}, 2301 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 2302 }, 2303 }, 2304 }, 2305 }, 2306 }, 2307 }, 2308 }, 2309 }, 2310 Dependencies: []string{ 2311 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 2312 } 2313 } 2314 2315 func schema_codeready_toolchain_api_api_v1alpha1_NotificationsConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 2316 return common.OpenAPIDefinition{ 2317 Schema: spec.Schema{ 2318 SchemaProps: spec.SchemaProps{ 2319 Description: "NotificationsConfig contains all configuration parameters related to notifications", 2320 Type: []string{"object"}, 2321 Properties: map[string]spec.Schema{ 2322 "notificationDeliveryService": { 2323 SchemaProps: spec.SchemaProps{ 2324 Description: "NotificationDeliveryService is notification delivery service to use for notifications", 2325 Type: []string{"string"}, 2326 Format: "", 2327 }, 2328 }, 2329 "durationBeforeNotificationDeletion": { 2330 SchemaProps: spec.SchemaProps{ 2331 Description: "DurationBeforeNotificationDeletion is notification delivery service to use for notifications", 2332 Type: []string{"string"}, 2333 Format: "", 2334 }, 2335 }, 2336 "adminEmail": { 2337 SchemaProps: spec.SchemaProps{ 2338 Description: "The administrator email address for system notifications", 2339 Type: []string{"string"}, 2340 Format: "", 2341 }, 2342 }, 2343 "templateSetName": { 2344 SchemaProps: spec.SchemaProps{ 2345 Description: "TemplateSetName defines the set of notification templates. Different Sandbox instances can use different notification templates. For example Dev Sandbox and AppStudio instances use different templates. By default, the \"sandbox\" template set name is used.", 2346 Type: []string{"string"}, 2347 Format: "", 2348 }, 2349 }, 2350 "secret": { 2351 SchemaProps: spec.SchemaProps{ 2352 Description: "Defines all secrets related to notification configuration", 2353 Default: map[string]interface{}{}, 2354 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.NotificationSecret"), 2355 }, 2356 }, 2357 }, 2358 }, 2359 }, 2360 Dependencies: []string{ 2361 "github.com/codeready-toolchain/api/api/v1alpha1.NotificationSecret"}, 2362 } 2363 } 2364 2365 func schema_codeready_toolchain_api_api_v1alpha1_PropagatedClaims(ref common.ReferenceCallback) common.OpenAPIDefinition { 2366 return common.OpenAPIDefinition{ 2367 Schema: spec.Schema{ 2368 SchemaProps: spec.SchemaProps{ 2369 Type: []string{"object"}, 2370 Properties: map[string]spec.Schema{ 2371 "sub": { 2372 SchemaProps: spec.SchemaProps{ 2373 Description: "Sub contains the value of the 'sub' claim", 2374 Default: "", 2375 Type: []string{"string"}, 2376 Format: "", 2377 }, 2378 }, 2379 "userID": { 2380 SchemaProps: spec.SchemaProps{ 2381 Description: "UserID contains the value of the 'user_id' claim", 2382 Type: []string{"string"}, 2383 Format: "", 2384 }, 2385 }, 2386 "accountID": { 2387 SchemaProps: spec.SchemaProps{ 2388 Description: "AccountID contains the value of the 'account_id' claim", 2389 Type: []string{"string"}, 2390 Format: "", 2391 }, 2392 }, 2393 "originalSub": { 2394 SchemaProps: spec.SchemaProps{ 2395 Description: "OriginalSub is an optional property temporarily introduced for the purpose of migrating the users to a new IdP provider client, and contains the user's \"original-sub\" claim", 2396 Type: []string{"string"}, 2397 Format: "", 2398 }, 2399 }, 2400 "email": { 2401 SchemaProps: spec.SchemaProps{ 2402 Description: "Email contains the user's email address", 2403 Default: "", 2404 Type: []string{"string"}, 2405 Format: "", 2406 }, 2407 }, 2408 }, 2409 Required: []string{"sub", "email"}, 2410 }, 2411 }, 2412 } 2413 } 2414 2415 func schema_codeready_toolchain_api_api_v1alpha1_ProxyPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition { 2416 return common.OpenAPIDefinition{ 2417 Schema: spec.Schema{ 2418 SchemaProps: spec.SchemaProps{ 2419 Description: "ProxyPlugin represents the configuration to handle GET's to k8s services in member clusters that first route through the registration service running in the sandbox host cluster. Two forms of URL are supported: https://<proxy-host>/plugins/<ProxyPlugin.ObjectMeta.Name>/v1alpha2/<namespace-name>/ https://<proxy-host>/plugins/<ProxyPlugin.ObjectMeta.Name>/workspaces/<workspace-name>/v1alpha2/<namespace-name>", 2420 Type: []string{"object"}, 2421 Properties: map[string]spec.Schema{ 2422 "kind": { 2423 SchemaProps: spec.SchemaProps{ 2424 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", 2425 Type: []string{"string"}, 2426 Format: "", 2427 }, 2428 }, 2429 "apiVersion": { 2430 SchemaProps: spec.SchemaProps{ 2431 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", 2432 Type: []string{"string"}, 2433 Format: "", 2434 }, 2435 }, 2436 "metadata": { 2437 SchemaProps: spec.SchemaProps{ 2438 Default: map[string]interface{}{}, 2439 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 2440 }, 2441 }, 2442 "spec": { 2443 SchemaProps: spec.SchemaProps{ 2444 Default: map[string]interface{}{}, 2445 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ProxyPluginSpec"), 2446 }, 2447 }, 2448 "status": { 2449 SchemaProps: spec.SchemaProps{ 2450 Default: map[string]interface{}{}, 2451 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ProxyPluginStatus"), 2452 }, 2453 }, 2454 }, 2455 }, 2456 }, 2457 Dependencies: []string{ 2458 "github.com/codeready-toolchain/api/api/v1alpha1.ProxyPluginSpec", "github.com/codeready-toolchain/api/api/v1alpha1.ProxyPluginStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 2459 } 2460 } 2461 2462 func schema_codeready_toolchain_api_api_v1alpha1_ProxyPluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 2463 return common.OpenAPIDefinition{ 2464 Schema: spec.Schema{ 2465 SchemaProps: spec.SchemaProps{ 2466 Description: "ProxyPluginSpec defines the desired state of ProxyPlugin", 2467 Type: []string{"object"}, 2468 Properties: map[string]spec.Schema{ 2469 "openShiftRouteTargetEndpoint": { 2470 SchemaProps: spec.SchemaProps{ 2471 Description: "OpenShiftRouteTargetEndpoint is an optional field that represents the look up information for an OpenShift Route as the endpoint for the registration service to proxy requests to that have the https://<proxy-host>/plugins/<ProxyPlugin.ObjectMeta.Name> in its incoming URL. As we add more types besides OpenShift Routes, we will add more optional fields to this spec object", 2472 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.OpenShiftRouteTarget"), 2473 }, 2474 }, 2475 }, 2476 }, 2477 }, 2478 Dependencies: []string{ 2479 "github.com/codeready-toolchain/api/api/v1alpha1.OpenShiftRouteTarget"}, 2480 } 2481 } 2482 2483 func schema_codeready_toolchain_api_api_v1alpha1_ProxyPluginStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2484 return common.OpenAPIDefinition{ 2485 Schema: spec.Schema{ 2486 SchemaProps: spec.SchemaProps{ 2487 Description: "ProxyPluginStatus defines the observed state of ProxyPlugin", 2488 Type: []string{"object"}, 2489 Properties: map[string]spec.Schema{ 2490 "conditions": { 2491 VendorExtensible: spec.VendorExtensible{ 2492 Extensions: spec.Extensions{ 2493 "x-kubernetes-list-map-keys": []interface{}{ 2494 "type", 2495 }, 2496 "x-kubernetes-list-type": "map", 2497 "x-kubernetes-patch-merge-key": "type", 2498 "x-kubernetes-patch-strategy": "merge", 2499 }, 2500 }, 2501 SchemaProps: spec.SchemaProps{ 2502 Description: "Conditions is an array of current Proxy Plugin conditions Supported condition types: ConditionReady", 2503 Type: []string{"array"}, 2504 Items: &spec.SchemaOrArray{ 2505 Schema: &spec.Schema{ 2506 SchemaProps: spec.SchemaProps{ 2507 Default: map[string]interface{}{}, 2508 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 2509 }, 2510 }, 2511 }, 2512 }, 2513 }, 2514 }, 2515 }, 2516 }, 2517 Dependencies: []string{ 2518 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 2519 } 2520 } 2521 2522 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceAnalyticsConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 2523 return common.OpenAPIDefinition{ 2524 Schema: spec.Schema{ 2525 SchemaProps: spec.SchemaProps{ 2526 Description: "RegistrationServiceAnalyticsConfig contains the subset of registration service configuration parameters related to analytics", 2527 Type: []string{"object"}, 2528 Properties: map[string]spec.Schema{ 2529 "devSpaces": { 2530 SchemaProps: spec.SchemaProps{ 2531 Description: "DevSpaces contains the analytics configuration parameters for devspaces", 2532 Default: map[string]interface{}{}, 2533 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.DevSpaces"), 2534 }, 2535 }, 2536 "segmentWriteKey": { 2537 SchemaProps: spec.SchemaProps{ 2538 Description: "SegmentWriteKey specifies the segment write key for sandbox", 2539 Type: []string{"string"}, 2540 Format: "", 2541 }, 2542 }, 2543 }, 2544 }, 2545 }, 2546 Dependencies: []string{ 2547 "github.com/codeready-toolchain/api/api/v1alpha1.DevSpaces"}, 2548 } 2549 } 2550 2551 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceAuthConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 2552 return common.OpenAPIDefinition{ 2553 Schema: spec.Schema{ 2554 SchemaProps: spec.SchemaProps{ 2555 Description: "RegistrationServiceAuthConfig contains the subset of registration service configuration parameters related to authentication", 2556 Type: []string{"object"}, 2557 Properties: map[string]spec.Schema{ 2558 "authClientLibraryURL": { 2559 SchemaProps: spec.SchemaProps{ 2560 Description: "AuthClientLibraryURL specifies the auth library location", 2561 Type: []string{"string"}, 2562 Format: "", 2563 }, 2564 }, 2565 "authClientConfigContentType": { 2566 SchemaProps: spec.SchemaProps{ 2567 Description: "AuthClientConfigContentType specifies the auth config content type", 2568 Type: []string{"string"}, 2569 Format: "", 2570 }, 2571 }, 2572 "authClientConfigRaw": { 2573 SchemaProps: spec.SchemaProps{ 2574 Description: "AuthClientConfigRaw specifies the URL used to access the registration service", 2575 Type: []string{"string"}, 2576 Format: "", 2577 }, 2578 }, 2579 "authClientPublicKeysURL": { 2580 SchemaProps: spec.SchemaProps{ 2581 Description: "AuthClientPublicKeysURL specifies the public keys URL", 2582 Type: []string{"string"}, 2583 Format: "", 2584 }, 2585 }, 2586 "ssoBaseURL": { 2587 SchemaProps: spec.SchemaProps{ 2588 Description: "SSOBaseURL specifies the SSO base URL such as https://sso.redhat.com", 2589 Type: []string{"string"}, 2590 Format: "", 2591 }, 2592 }, 2593 "ssoRealm": { 2594 SchemaProps: spec.SchemaProps{ 2595 Description: "SSORealm specifies the SSO realm name", 2596 Type: []string{"string"}, 2597 Format: "", 2598 }, 2599 }, 2600 }, 2601 }, 2602 }, 2603 } 2604 } 2605 2606 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 2607 return common.OpenAPIDefinition{ 2608 Schema: spec.Schema{ 2609 SchemaProps: spec.SchemaProps{ 2610 Description: "RegistrationServiceConfig contains all configuration parameters related to the registration service", 2611 Type: []string{"object"}, 2612 Properties: map[string]spec.Schema{ 2613 "analytics": { 2614 SchemaProps: spec.SchemaProps{ 2615 Description: "Keeps parameters necessary for the registration service analytics config", 2616 Default: map[string]interface{}{}, 2617 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceAnalyticsConfig"), 2618 }, 2619 }, 2620 "auth": { 2621 SchemaProps: spec.SchemaProps{ 2622 Description: "Keeps parameters necessary for the registration service authentication config", 2623 Default: map[string]interface{}{}, 2624 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceAuthConfig"), 2625 }, 2626 }, 2627 "environment": { 2628 SchemaProps: spec.SchemaProps{ 2629 Description: "Environment specifies the environment such as prod, stage, unit-tests, e2e-tests, dev, etc", 2630 Type: []string{"string"}, 2631 Format: "", 2632 }, 2633 }, 2634 "logLevel": { 2635 SchemaProps: spec.SchemaProps{ 2636 Description: "LogLevel specifies the logging level", 2637 Type: []string{"string"}, 2638 Format: "", 2639 }, 2640 }, 2641 "namespace": { 2642 SchemaProps: spec.SchemaProps{ 2643 Description: "Namespace specifies the namespace in which the registration service and host operator is running Consumed by host operator and set as env var on registration-service deployment", 2644 Type: []string{"string"}, 2645 Format: "", 2646 }, 2647 }, 2648 "registrationServiceURL": { 2649 SchemaProps: spec.SchemaProps{ 2650 Description: "RegistrationServiceURL is the URL used to a ccess the registration service", 2651 Type: []string{"string"}, 2652 Format: "", 2653 }, 2654 }, 2655 "replicas": { 2656 SchemaProps: spec.SchemaProps{ 2657 Description: "Replicas specifies the number of replicas to use for the registration service deployment", 2658 Type: []string{"integer"}, 2659 Format: "int32", 2660 }, 2661 }, 2662 "verification": { 2663 SchemaProps: spec.SchemaProps{ 2664 Description: "Keeps parameters necessary for the registration service verification config", 2665 Default: map[string]interface{}{}, 2666 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceVerificationConfig"), 2667 }, 2668 }, 2669 }, 2670 }, 2671 }, 2672 Dependencies: []string{ 2673 "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceAnalyticsConfig", "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceAuthConfig", "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceVerificationConfig"}, 2674 } 2675 } 2676 2677 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceDeploymentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2678 return common.OpenAPIDefinition{ 2679 Schema: spec.Schema{ 2680 SchemaProps: spec.SchemaProps{ 2681 Description: "RegistrationServiceDeploymentStatus contains status of the registration service's deployment", 2682 Type: []string{"object"}, 2683 Properties: map[string]spec.Schema{ 2684 "name": { 2685 SchemaProps: spec.SchemaProps{ 2686 Description: "The host operator deployment name", 2687 Default: "", 2688 Type: []string{"string"}, 2689 Format: "", 2690 }, 2691 }, 2692 "conditions": { 2693 VendorExtensible: spec.VendorExtensible{ 2694 Extensions: spec.Extensions{ 2695 "x-kubernetes-list-map-keys": []interface{}{ 2696 "type", 2697 }, 2698 "x-kubernetes-list-type": "map", 2699 "x-kubernetes-patch-merge-key": "type", 2700 "x-kubernetes-patch-strategy": "merge", 2701 }, 2702 }, 2703 SchemaProps: spec.SchemaProps{ 2704 Description: "Conditions is an array of current deployment status conditions for a host operator Supported condition types: Available, Progressing", 2705 Type: []string{"array"}, 2706 Items: &spec.SchemaOrArray{ 2707 Schema: &spec.Schema{ 2708 SchemaProps: spec.SchemaProps{ 2709 Default: map[string]interface{}{}, 2710 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 2711 }, 2712 }, 2713 }, 2714 }, 2715 }, 2716 }, 2717 Required: []string{"name"}, 2718 }, 2719 }, 2720 Dependencies: []string{ 2721 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 2722 } 2723 } 2724 2725 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceHealth(ref common.ReferenceCallback) common.OpenAPIDefinition { 2726 return common.OpenAPIDefinition{ 2727 Schema: spec.Schema{ 2728 SchemaProps: spec.SchemaProps{ 2729 Description: "RegistrationServiceHealth contains health status of the registration service", 2730 Type: []string{"object"}, 2731 Properties: map[string]spec.Schema{ 2732 "alive": { 2733 SchemaProps: spec.SchemaProps{ 2734 Default: "", 2735 Type: []string{"string"}, 2736 Format: "", 2737 }, 2738 }, 2739 "buildTime": { 2740 SchemaProps: spec.SchemaProps{ 2741 Default: "", 2742 Type: []string{"string"}, 2743 Format: "", 2744 }, 2745 }, 2746 "environment": { 2747 SchemaProps: spec.SchemaProps{ 2748 Default: "", 2749 Type: []string{"string"}, 2750 Format: "", 2751 }, 2752 }, 2753 "revision": { 2754 SchemaProps: spec.SchemaProps{ 2755 Default: "", 2756 Type: []string{"string"}, 2757 Format: "", 2758 }, 2759 }, 2760 "startTime": { 2761 SchemaProps: spec.SchemaProps{ 2762 Default: "", 2763 Type: []string{"string"}, 2764 Format: "", 2765 }, 2766 }, 2767 "conditions": { 2768 VendorExtensible: spec.VendorExtensible{ 2769 Extensions: spec.Extensions{ 2770 "x-kubernetes-list-map-keys": []interface{}{ 2771 "type", 2772 }, 2773 "x-kubernetes-list-type": "map", 2774 "x-kubernetes-patch-merge-key": "type", 2775 "x-kubernetes-patch-strategy": "merge", 2776 }, 2777 }, 2778 SchemaProps: spec.SchemaProps{ 2779 Description: "Conditions is an array of status conditions for the health of the registration service Supported condition types: ConditionReady", 2780 Type: []string{"array"}, 2781 Items: &spec.SchemaOrArray{ 2782 Schema: &spec.Schema{ 2783 SchemaProps: spec.SchemaProps{ 2784 Default: map[string]interface{}{}, 2785 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 2786 }, 2787 }, 2788 }, 2789 }, 2790 }, 2791 }, 2792 Required: []string{"alive", "buildTime", "environment", "revision", "startTime"}, 2793 }, 2794 }, 2795 Dependencies: []string{ 2796 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 2797 } 2798 } 2799 2800 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceResourcesStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 2801 return common.OpenAPIDefinition{ 2802 Schema: spec.Schema{ 2803 SchemaProps: spec.SchemaProps{ 2804 Description: "RegistrationServiceResourcesStatus contains conditions for creation/deployment of registration service resources", 2805 Type: []string{"object"}, 2806 Properties: map[string]spec.Schema{ 2807 "conditions": { 2808 VendorExtensible: spec.VendorExtensible{ 2809 Extensions: spec.Extensions{ 2810 "x-kubernetes-list-map-keys": []interface{}{ 2811 "type", 2812 }, 2813 "x-kubernetes-list-type": "map", 2814 "x-kubernetes-patch-merge-key": "type", 2815 "x-kubernetes-patch-strategy": "merge", 2816 }, 2817 }, 2818 SchemaProps: spec.SchemaProps{ 2819 Description: "Conditions is an array of current registration service resource status conditions Supported condition types: Deployed, Deploying, DeployingFailed", 2820 Type: []string{"array"}, 2821 Items: &spec.SchemaOrArray{ 2822 Schema: &spec.Schema{ 2823 SchemaProps: spec.SchemaProps{ 2824 Default: map[string]interface{}{}, 2825 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 2826 }, 2827 }, 2828 }, 2829 }, 2830 }, 2831 }, 2832 }, 2833 }, 2834 Dependencies: []string{ 2835 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 2836 } 2837 } 2838 2839 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceVerificationConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 2840 return common.OpenAPIDefinition{ 2841 Schema: spec.Schema{ 2842 SchemaProps: spec.SchemaProps{ 2843 Description: "RegistrationServiceVerificationConfig contains the subset of registration service configuration parameters related to verification", 2844 Type: []string{"object"}, 2845 Properties: map[string]spec.Schema{ 2846 "secret": { 2847 SchemaProps: spec.SchemaProps{ 2848 Description: "Defines all secrets related to the registration service verification configuration", 2849 Default: map[string]interface{}{}, 2850 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceVerificationSecret"), 2851 }, 2852 }, 2853 "enabled": { 2854 SchemaProps: spec.SchemaProps{ 2855 Description: "VerificationEnabled specifies whether verification is enabled or not Verification enablement works in the following way:\n 1. verification.enabled == false\n No verification during the signup process at all. (no phone, no captcha)\n 2. verification.enabled == true && verification.captcha.enabled == true\n Captcha is enabled and will bypass phone verification if the score is above the threshold but if the score is\n below the threshold then phone verification kicks in.\n 3. verification.enabled == true && verification.captcha.enabled == false\n Only phone verification is effect.", 2856 Type: []string{"boolean"}, 2857 Format: "", 2858 }, 2859 }, 2860 "captcha": { 2861 SchemaProps: spec.SchemaProps{ 2862 Description: "Captcha defines any configuration related to captcha verification", 2863 Default: map[string]interface{}{}, 2864 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.CaptchaConfig"), 2865 }, 2866 }, 2867 "dailyLimit": { 2868 SchemaProps: spec.SchemaProps{ 2869 Description: "VerificationDailyLimit specifies the number of times a user may initiate a phone verification request within a 24 hour period", 2870 Type: []string{"integer"}, 2871 Format: "int32", 2872 }, 2873 }, 2874 "attemptsAllowed": { 2875 SchemaProps: spec.SchemaProps{ 2876 Description: "VerificationAttemptsAllowed specifies the number of times a user may attempt to correctly enter a verification code, if they fail then they must request another code", 2877 Type: []string{"integer"}, 2878 Format: "int32", 2879 }, 2880 }, 2881 "messageTemplate": { 2882 SchemaProps: spec.SchemaProps{ 2883 Description: "VerificationMessageTemplate specifies the message template used to generate the content sent to users via SMS for phone verification", 2884 Type: []string{"string"}, 2885 Format: "", 2886 }, 2887 }, 2888 "excludedEmailDomains": { 2889 SchemaProps: spec.SchemaProps{ 2890 Description: "VerificationExcludedEmailDomains specifies the list of email address domains for which phone verification is not required", 2891 Type: []string{"string"}, 2892 Format: "", 2893 }, 2894 }, 2895 "codeExpiresInMin": { 2896 SchemaProps: spec.SchemaProps{ 2897 Description: "VerificationCodeExpiresInMin specifies an int representing the number of minutes before a verification code should be expired", 2898 Type: []string{"integer"}, 2899 Format: "int32", 2900 }, 2901 }, 2902 "notificationSender": { 2903 SchemaProps: spec.SchemaProps{ 2904 Description: "NotificationSender is used to specify which service should be used to send verification notifications. Allowed values are \"twilio\", \"aws\". If not specified, the Twilio sender will be used.", 2905 Type: []string{"string"}, 2906 Format: "", 2907 }, 2908 }, 2909 "awsRegion": { 2910 SchemaProps: spec.SchemaProps{ 2911 Description: "AWSRegion to use when sending notification SMS", 2912 Type: []string{"string"}, 2913 Format: "", 2914 }, 2915 }, 2916 "awsSenderID": { 2917 SchemaProps: spec.SchemaProps{ 2918 Description: "AWSSenderID the Alphanumeric Sender ID to use, e.g. \"DevSandbox\"", 2919 Type: []string{"string"}, 2920 Format: "", 2921 }, 2922 }, 2923 "awsSMSType": { 2924 SchemaProps: spec.SchemaProps{ 2925 Description: "AWSSMSType is the type of SMS message to send, either `Promotional` or `Transactional` See https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html for details", 2926 Type: []string{"string"}, 2927 Format: "", 2928 }, 2929 }, 2930 "twilioSenderConfigs": { 2931 VendorExtensible: spec.VendorExtensible{ 2932 Extensions: spec.Extensions{ 2933 "x-kubernetes-list-type": "atomic", 2934 }, 2935 }, 2936 SchemaProps: spec.SchemaProps{ 2937 Description: "TwilioSenderConfigs is an array of TwilioSenderConfig objects", 2938 Type: []string{"array"}, 2939 Items: &spec.SchemaOrArray{ 2940 Schema: &spec.Schema{ 2941 SchemaProps: spec.SchemaProps{ 2942 Default: map[string]interface{}{}, 2943 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.TwilioSenderConfig"), 2944 }, 2945 }, 2946 }, 2947 }, 2948 }, 2949 }, 2950 }, 2951 }, 2952 Dependencies: []string{ 2953 "github.com/codeready-toolchain/api/api/v1alpha1.CaptchaConfig", "github.com/codeready-toolchain/api/api/v1alpha1.RegistrationServiceVerificationSecret", "github.com/codeready-toolchain/api/api/v1alpha1.TwilioSenderConfig"}, 2954 } 2955 } 2956 2957 func schema_codeready_toolchain_api_api_v1alpha1_RegistrationServiceVerificationSecret(ref common.ReferenceCallback) common.OpenAPIDefinition { 2958 return common.OpenAPIDefinition{ 2959 Schema: spec.Schema{ 2960 SchemaProps: spec.SchemaProps{ 2961 Description: "Defines all secrets related to registration service verification configuration", 2962 Type: []string{"object"}, 2963 Properties: map[string]spec.Schema{ 2964 "ref": { 2965 SchemaProps: spec.SchemaProps{ 2966 Description: "Reference is the name of the secret resource to look up", 2967 Type: []string{"string"}, 2968 Format: "", 2969 }, 2970 }, 2971 "twilioAccountSID": { 2972 SchemaProps: spec.SchemaProps{ 2973 Description: "TwilioAccountSID specifies the Twilio account identifier, used for sending phone verification messages", 2974 Type: []string{"string"}, 2975 Format: "", 2976 }, 2977 }, 2978 "twilioAuthToken": { 2979 SchemaProps: spec.SchemaProps{ 2980 Description: "TwilioAuthToken specifies the Twilio authentication token, used for sending phone verification messages", 2981 Type: []string{"string"}, 2982 Format: "", 2983 }, 2984 }, 2985 "twilioFromNumber": { 2986 SchemaProps: spec.SchemaProps{ 2987 Description: "TwilioFromNumber specifies the phone number or alphanumeric \"Sender ID\" for sending phone verification messages", 2988 Type: []string{"string"}, 2989 Format: "", 2990 }, 2991 }, 2992 "awsAccessKeyID": { 2993 SchemaProps: spec.SchemaProps{ 2994 Description: "AWSAccessKeyId is the AWS Access Key used to authenticate in order to access AWS services", 2995 Type: []string{"string"}, 2996 Format: "", 2997 }, 2998 }, 2999 "awsSecretAccessKey": { 3000 SchemaProps: spec.SchemaProps{ 3001 Description: "AWSSecretAccessKey is the AWS credential used to authenticate in order to access AWS services", 3002 Type: []string{"string"}, 3003 Format: "", 3004 }, 3005 }, 3006 "recaptchaServiceAccountFile": { 3007 SchemaProps: spec.SchemaProps{ 3008 Description: "RecaptchaServiceAccountFile is the GCP service account file contents encoded in base64, it is to be used with the recaptcha client for authentication", 3009 Type: []string{"string"}, 3010 Format: "", 3011 }, 3012 }, 3013 }, 3014 }, 3015 }, 3016 } 3017 } 3018 3019 func schema_codeready_toolchain_api_api_v1alpha1_ResourceUsage(ref common.ReferenceCallback) common.OpenAPIDefinition { 3020 return common.OpenAPIDefinition{ 3021 Schema: spec.Schema{ 3022 SchemaProps: spec.SchemaProps{ 3023 Description: "Contains information about the resource usage of the cluster", 3024 Type: []string{"object"}, 3025 Properties: map[string]spec.Schema{ 3026 "memoryUsagePerNodeRole": { 3027 SchemaProps: spec.SchemaProps{ 3028 Description: "How many percent of the available memory is used per node role (eg. worker, master)", 3029 Type: []string{"object"}, 3030 AdditionalProperties: &spec.SchemaOrBool{ 3031 Allows: true, 3032 Schema: &spec.Schema{ 3033 SchemaProps: spec.SchemaProps{ 3034 Default: 0, 3035 Type: []string{"integer"}, 3036 Format: "int32", 3037 }, 3038 }, 3039 }, 3040 }, 3041 }, 3042 }, 3043 }, 3044 }, 3045 } 3046 } 3047 3048 func schema_codeready_toolchain_api_api_v1alpha1_RevisionCheck(ref common.ReferenceCallback) common.OpenAPIDefinition { 3049 return common.OpenAPIDefinition{ 3050 Schema: spec.Schema{ 3051 SchemaProps: spec.SchemaProps{ 3052 Description: "RevisionCheck contains status of revision check for the component, it highlights if the component is up-to-date and the deployed version matches the latest one in the GitHub repository.", 3053 Type: []string{"object"}, 3054 Properties: map[string]spec.Schema{ 3055 "conditions": { 3056 VendorExtensible: spec.VendorExtensible{ 3057 Extensions: spec.Extensions{ 3058 "x-kubernetes-list-map-keys": []interface{}{ 3059 "type", 3060 }, 3061 "x-kubernetes-list-type": "map", 3062 "x-kubernetes-patch-merge-key": "type", 3063 "x-kubernetes-patch-strategy": "merge", 3064 }, 3065 }, 3066 SchemaProps: spec.SchemaProps{ 3067 Description: "Conditions is an array of status conditions for the health of the registration service Supported condition types: ConditionReady", 3068 Type: []string{"array"}, 3069 Items: &spec.SchemaOrArray{ 3070 Schema: &spec.Schema{ 3071 SchemaProps: spec.SchemaProps{ 3072 Default: map[string]interface{}{}, 3073 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 3074 }, 3075 }, 3076 }, 3077 }, 3078 }, 3079 }, 3080 }, 3081 }, 3082 Dependencies: []string{ 3083 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 3084 } 3085 } 3086 3087 func schema_codeready_toolchain_api_api_v1alpha1_Routes(ref common.ReferenceCallback) common.OpenAPIDefinition { 3088 return common.OpenAPIDefinition{ 3089 Schema: spec.Schema{ 3090 SchemaProps: spec.SchemaProps{ 3091 Description: "Routes contains information about the public routes available to the user in the cluster", 3092 Type: []string{"object"}, 3093 Properties: map[string]spec.Schema{ 3094 "consoleURL": { 3095 SchemaProps: spec.SchemaProps{ 3096 Description: "ConsoleURL is the web console URL of the cluster", 3097 Type: []string{"string"}, 3098 Format: "", 3099 }, 3100 }, 3101 "cheDashboardURL": { 3102 SchemaProps: spec.SchemaProps{ 3103 Description: "CheDashboardURL is the Che Dashboard URL of the cluster if Che is installed", 3104 Type: []string{"string"}, 3105 Format: "", 3106 }, 3107 }, 3108 "conditions": { 3109 VendorExtensible: spec.VendorExtensible{ 3110 Extensions: spec.Extensions{ 3111 "x-kubernetes-list-map-keys": []interface{}{ 3112 "type", 3113 }, 3114 "x-kubernetes-list-type": "map", 3115 "x-kubernetes-patch-merge-key": "type", 3116 "x-kubernetes-patch-strategy": "merge", 3117 }, 3118 }, 3119 SchemaProps: spec.SchemaProps{ 3120 Description: "Conditions is an array of current member operator status conditions Supported condition types: ConditionReady", 3121 Type: []string{"array"}, 3122 Items: &spec.SchemaOrArray{ 3123 Schema: &spec.Schema{ 3124 SchemaProps: spec.SchemaProps{ 3125 Default: map[string]interface{}{}, 3126 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 3127 }, 3128 }, 3129 }, 3130 }, 3131 }, 3132 }, 3133 }, 3134 }, 3135 Dependencies: []string{ 3136 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 3137 } 3138 } 3139 3140 func schema_codeready_toolchain_api_api_v1alpha1_SocialEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 3141 return common.OpenAPIDefinition{ 3142 Schema: spec.Schema{ 3143 SchemaProps: spec.SchemaProps{ 3144 Description: "SocialEvent registers a social event in Dev Sandbox", 3145 Type: []string{"object"}, 3146 Properties: map[string]spec.Schema{ 3147 "kind": { 3148 SchemaProps: spec.SchemaProps{ 3149 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", 3150 Type: []string{"string"}, 3151 Format: "", 3152 }, 3153 }, 3154 "apiVersion": { 3155 SchemaProps: spec.SchemaProps{ 3156 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", 3157 Type: []string{"string"}, 3158 Format: "", 3159 }, 3160 }, 3161 "metadata": { 3162 SchemaProps: spec.SchemaProps{ 3163 Default: map[string]interface{}{}, 3164 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3165 }, 3166 }, 3167 "spec": { 3168 SchemaProps: spec.SchemaProps{ 3169 Default: map[string]interface{}{}, 3170 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SocialEventSpec"), 3171 }, 3172 }, 3173 "status": { 3174 SchemaProps: spec.SchemaProps{ 3175 Default: map[string]interface{}{}, 3176 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SocialEventStatus"), 3177 }, 3178 }, 3179 }, 3180 }, 3181 }, 3182 Dependencies: []string{ 3183 "github.com/codeready-toolchain/api/api/v1alpha1.SocialEventSpec", "github.com/codeready-toolchain/api/api/v1alpha1.SocialEventStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3184 } 3185 } 3186 3187 func schema_codeready_toolchain_api_api_v1alpha1_SocialEventSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3188 return common.OpenAPIDefinition{ 3189 Schema: spec.Schema{ 3190 SchemaProps: spec.SchemaProps{ 3191 Description: "SocialEventSpec defines the parameters for a Social event, such as a training session or workshop. Users may register for the event by using the event's unique activation code", 3192 Type: []string{"object"}, 3193 Properties: map[string]spec.Schema{ 3194 "startTime": { 3195 SchemaProps: spec.SchemaProps{ 3196 Description: "The timestamp from which users may register via this event's activation code", 3197 Default: map[string]interface{}{}, 3198 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3199 }, 3200 }, 3201 "endTime": { 3202 SchemaProps: spec.SchemaProps{ 3203 Description: "The timestamp after which users may no longer register via this event's activation code", 3204 Default: map[string]interface{}{}, 3205 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3206 }, 3207 }, 3208 "description": { 3209 SchemaProps: spec.SchemaProps{ 3210 Description: "An optional description that may be provided describing the purpose of the event", 3211 Type: []string{"string"}, 3212 Format: "", 3213 }, 3214 }, 3215 "maxAttendees": { 3216 SchemaProps: spec.SchemaProps{ 3217 Description: "The maximum number of attendees", 3218 Default: 0, 3219 Type: []string{"integer"}, 3220 Format: "int32", 3221 }, 3222 }, 3223 "userTier": { 3224 SchemaProps: spec.SchemaProps{ 3225 Description: "The tier to assign to users registering for the event. This must be the valid name of an nstemplatetier resource.", 3226 Default: "", 3227 Type: []string{"string"}, 3228 Format: "", 3229 }, 3230 }, 3231 "spaceTier": { 3232 SchemaProps: spec.SchemaProps{ 3233 Description: "The tier to assign to spaces created for users who registered for the event. This must be the valid name of an nstemplatetier resource.", 3234 Default: "", 3235 Type: []string{"string"}, 3236 Format: "", 3237 }, 3238 }, 3239 "preferSameCluster": { 3240 SchemaProps: spec.SchemaProps{ 3241 Description: "If true, best effort is made to provision all attendees of the event on the same cluster", 3242 Type: []string{"boolean"}, 3243 Format: "", 3244 }, 3245 }, 3246 "verificationRequired": { 3247 SchemaProps: spec.SchemaProps{ 3248 Description: "If true, the user will also be required to complete standard phone verification", 3249 Type: []string{"boolean"}, 3250 Format: "", 3251 }, 3252 }, 3253 }, 3254 Required: []string{"startTime", "endTime", "maxAttendees", "userTier", "spaceTier"}, 3255 }, 3256 }, 3257 Dependencies: []string{ 3258 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3259 } 3260 } 3261 3262 func schema_codeready_toolchain_api_api_v1alpha1_SocialEventStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3263 return common.OpenAPIDefinition{ 3264 Schema: spec.Schema{ 3265 SchemaProps: spec.SchemaProps{ 3266 Description: "SocialEventStatus defines the observed state of SocialEvent", 3267 Type: []string{"object"}, 3268 Properties: map[string]spec.Schema{ 3269 "conditions": { 3270 VendorExtensible: spec.VendorExtensible{ 3271 Extensions: spec.Extensions{ 3272 "x-kubernetes-list-map-keys": []interface{}{ 3273 "type", 3274 }, 3275 "x-kubernetes-list-type": "map", 3276 "x-kubernetes-patch-merge-key": "type", 3277 "x-kubernetes-patch-strategy": "merge", 3278 }, 3279 }, 3280 SchemaProps: spec.SchemaProps{ 3281 Description: "Conditions is an array of current SocialEventStatus conditions Supported condition types: Ready", 3282 Type: []string{"array"}, 3283 Items: &spec.SchemaOrArray{ 3284 Schema: &spec.Schema{ 3285 SchemaProps: spec.SchemaProps{ 3286 Default: map[string]interface{}{}, 3287 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 3288 }, 3289 }, 3290 }, 3291 }, 3292 }, 3293 "activationCount": { 3294 SchemaProps: spec.SchemaProps{ 3295 Default: 0, 3296 Type: []string{"integer"}, 3297 Format: "int32", 3298 }, 3299 }, 3300 }, 3301 Required: []string{"activationCount"}, 3302 }, 3303 }, 3304 Dependencies: []string{ 3305 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 3306 } 3307 } 3308 3309 func schema_codeready_toolchain_api_api_v1alpha1_Space(ref common.ReferenceCallback) common.OpenAPIDefinition { 3310 return common.OpenAPIDefinition{ 3311 Schema: spec.Schema{ 3312 SchemaProps: spec.SchemaProps{ 3313 Description: "Space is the Schema for the spaces API", 3314 Type: []string{"object"}, 3315 Properties: map[string]spec.Schema{ 3316 "kind": { 3317 SchemaProps: spec.SchemaProps{ 3318 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", 3319 Type: []string{"string"}, 3320 Format: "", 3321 }, 3322 }, 3323 "apiVersion": { 3324 SchemaProps: spec.SchemaProps{ 3325 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", 3326 Type: []string{"string"}, 3327 Format: "", 3328 }, 3329 }, 3330 "metadata": { 3331 SchemaProps: spec.SchemaProps{ 3332 Default: map[string]interface{}{}, 3333 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3334 }, 3335 }, 3336 "spec": { 3337 SchemaProps: spec.SchemaProps{ 3338 Default: map[string]interface{}{}, 3339 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceSpec"), 3340 }, 3341 }, 3342 "status": { 3343 SchemaProps: spec.SchemaProps{ 3344 Default: map[string]interface{}{}, 3345 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceStatus"), 3346 }, 3347 }, 3348 }, 3349 }, 3350 }, 3351 Dependencies: []string{ 3352 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceSpec", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3353 } 3354 } 3355 3356 func schema_codeready_toolchain_api_api_v1alpha1_SpaceBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { 3357 return common.OpenAPIDefinition{ 3358 Schema: spec.Schema{ 3359 SchemaProps: spec.SchemaProps{ 3360 Description: "SpaceBinding is the Schema for the spacebindings API which defines relationship between Spaces and MasterUserRecords", 3361 Type: []string{"object"}, 3362 Properties: map[string]spec.Schema{ 3363 "kind": { 3364 SchemaProps: spec.SchemaProps{ 3365 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", 3366 Type: []string{"string"}, 3367 Format: "", 3368 }, 3369 }, 3370 "apiVersion": { 3371 SchemaProps: spec.SchemaProps{ 3372 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", 3373 Type: []string{"string"}, 3374 Format: "", 3375 }, 3376 }, 3377 "metadata": { 3378 SchemaProps: spec.SchemaProps{ 3379 Default: map[string]interface{}{}, 3380 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3381 }, 3382 }, 3383 "spec": { 3384 SchemaProps: spec.SchemaProps{ 3385 Default: map[string]interface{}{}, 3386 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingSpec"), 3387 }, 3388 }, 3389 "status": { 3390 SchemaProps: spec.SchemaProps{ 3391 Default: map[string]interface{}{}, 3392 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingStatus"), 3393 }, 3394 }, 3395 }, 3396 }, 3397 }, 3398 Dependencies: []string{ 3399 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingSpec", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3400 } 3401 } 3402 3403 func schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3404 return common.OpenAPIDefinition{ 3405 Schema: spec.Schema{ 3406 SchemaProps: spec.SchemaProps{ 3407 Description: "SpaceBindingList contains a list of SpaceBinding", 3408 Type: []string{"object"}, 3409 Properties: map[string]spec.Schema{ 3410 "kind": { 3411 SchemaProps: spec.SchemaProps{ 3412 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", 3413 Type: []string{"string"}, 3414 Format: "", 3415 }, 3416 }, 3417 "apiVersion": { 3418 SchemaProps: spec.SchemaProps{ 3419 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", 3420 Type: []string{"string"}, 3421 Format: "", 3422 }, 3423 }, 3424 "metadata": { 3425 SchemaProps: spec.SchemaProps{ 3426 Default: map[string]interface{}{}, 3427 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3428 }, 3429 }, 3430 "items": { 3431 SchemaProps: spec.SchemaProps{ 3432 Type: []string{"array"}, 3433 Items: &spec.SchemaOrArray{ 3434 Schema: &spec.Schema{ 3435 SchemaProps: spec.SchemaProps{ 3436 Default: map[string]interface{}{}, 3437 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceBinding"), 3438 }, 3439 }, 3440 }, 3441 }, 3442 }, 3443 }, 3444 Required: []string{"items"}, 3445 }, 3446 }, 3447 Dependencies: []string{ 3448 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 3449 } 3450 } 3451 3452 func schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingRequest(ref common.ReferenceCallback) common.OpenAPIDefinition { 3453 return common.OpenAPIDefinition{ 3454 Schema: spec.Schema{ 3455 SchemaProps: spec.SchemaProps{ 3456 Description: "SpaceBindingRequest is the Schema for the SpaceBindingRequest API", 3457 Type: []string{"object"}, 3458 Properties: map[string]spec.Schema{ 3459 "kind": { 3460 SchemaProps: spec.SchemaProps{ 3461 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", 3462 Type: []string{"string"}, 3463 Format: "", 3464 }, 3465 }, 3466 "apiVersion": { 3467 SchemaProps: spec.SchemaProps{ 3468 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", 3469 Type: []string{"string"}, 3470 Format: "", 3471 }, 3472 }, 3473 "metadata": { 3474 SchemaProps: spec.SchemaProps{ 3475 Default: map[string]interface{}{}, 3476 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3477 }, 3478 }, 3479 "spec": { 3480 SchemaProps: spec.SchemaProps{ 3481 Default: map[string]interface{}{}, 3482 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingRequestSpec"), 3483 }, 3484 }, 3485 "status": { 3486 SchemaProps: spec.SchemaProps{ 3487 Default: map[string]interface{}{}, 3488 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingRequestStatus"), 3489 }, 3490 }, 3491 }, 3492 }, 3493 }, 3494 Dependencies: []string{ 3495 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingRequestSpec", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceBindingRequestStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3496 } 3497 } 3498 3499 func schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingRequestSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3500 return common.OpenAPIDefinition{ 3501 Schema: spec.Schema{ 3502 SchemaProps: spec.SchemaProps{ 3503 Description: "SpaceBindingRequestSpec defines the desired state of SpaceBindingRequest", 3504 Type: []string{"object"}, 3505 Properties: map[string]spec.Schema{ 3506 "masterUserRecord": { 3507 SchemaProps: spec.SchemaProps{ 3508 Description: "MasterUserRecord is a required property introduced to retain the name of the MUR for which this SpaceBinding is provisioned.", 3509 Default: "", 3510 Type: []string{"string"}, 3511 Format: "", 3512 }, 3513 }, 3514 "spaceRole": { 3515 SchemaProps: spec.SchemaProps{ 3516 Description: "SpaceRole is a required property which defines the role that will be granted to the MUR in the current Space by the SpaceBinding resource.", 3517 Default: "", 3518 Type: []string{"string"}, 3519 Format: "", 3520 }, 3521 }, 3522 }, 3523 Required: []string{"masterUserRecord", "spaceRole"}, 3524 }, 3525 }, 3526 } 3527 } 3528 3529 func schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingRequestStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3530 return common.OpenAPIDefinition{ 3531 Schema: spec.Schema{ 3532 SchemaProps: spec.SchemaProps{ 3533 Description: "SpaceBindingRequestStatus defines the observed state of SpaceBinding", 3534 Type: []string{"object"}, 3535 Properties: map[string]spec.Schema{ 3536 "conditions": { 3537 VendorExtensible: spec.VendorExtensible{ 3538 Extensions: spec.Extensions{ 3539 "x-kubernetes-list-map-keys": []interface{}{ 3540 "type", 3541 }, 3542 "x-kubernetes-list-type": "map", 3543 "x-kubernetes-patch-merge-key": "type", 3544 "x-kubernetes-patch-strategy": "merge", 3545 }, 3546 }, 3547 SchemaProps: spec.SchemaProps{ 3548 Description: "Conditions is an array of SpaceBindingRequest conditions Supported condition types: Provisioning, SpaceBindingNotReady and Ready", 3549 Type: []string{"array"}, 3550 Items: &spec.SchemaOrArray{ 3551 Schema: &spec.Schema{ 3552 SchemaProps: spec.SchemaProps{ 3553 Default: map[string]interface{}{}, 3554 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 3555 }, 3556 }, 3557 }, 3558 }, 3559 }, 3560 }, 3561 }, 3562 }, 3563 Dependencies: []string{ 3564 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 3565 } 3566 } 3567 3568 func schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3569 return common.OpenAPIDefinition{ 3570 Schema: spec.Schema{ 3571 SchemaProps: spec.SchemaProps{ 3572 Description: "SpaceBindingSpec defines the desired state of SpaceBinding", 3573 Type: []string{"object"}, 3574 Properties: map[string]spec.Schema{ 3575 "masterUserRecord": { 3576 SchemaProps: spec.SchemaProps{ 3577 Description: "The MasterUserRecord is a name of the MasterUserRecord this SpaceBinding belongs to.", 3578 Default: "", 3579 Type: []string{"string"}, 3580 Format: "", 3581 }, 3582 }, 3583 "space": { 3584 SchemaProps: spec.SchemaProps{ 3585 Description: "The Space is a name of the Space this SpaceBinding is bound to.", 3586 Default: "", 3587 Type: []string{"string"}, 3588 Format: "", 3589 }, 3590 }, 3591 "spaceRole": { 3592 SchemaProps: spec.SchemaProps{ 3593 Description: "The SpaceRole is a name of the SpaceRole that is granted to the user for the Space. For example: admin, view, ...", 3594 Default: "", 3595 Type: []string{"string"}, 3596 Format: "", 3597 }, 3598 }, 3599 }, 3600 Required: []string{"masterUserRecord", "space", "spaceRole"}, 3601 }, 3602 }, 3603 } 3604 } 3605 3606 func schema_codeready_toolchain_api_api_v1alpha1_SpaceBindingStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3607 return common.OpenAPIDefinition{ 3608 Schema: spec.Schema{ 3609 SchemaProps: spec.SchemaProps{ 3610 Description: "SpaceBindingStatus defines the observed state of SpaceBinding", 3611 Type: []string{"object"}, 3612 }, 3613 }, 3614 } 3615 } 3616 3617 func schema_codeready_toolchain_api_api_v1alpha1_SpaceConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 3618 return common.OpenAPIDefinition{ 3619 Schema: spec.Schema{ 3620 SchemaProps: spec.SchemaProps{ 3621 Description: "SpaceConfig allows to configure Space provisioning related functionality.", 3622 Type: []string{"object"}, 3623 Properties: map[string]spec.Schema{ 3624 "spaceRequestEnabled": { 3625 SchemaProps: spec.SchemaProps{ 3626 Description: "SpaceRequestEnabled specifies whether the SpaceRequest controller should start or not. This is specifically useful in order to enable/disable this functionality from configuration (e.g. disabled by default in Sandbox and enabled only for AppStudio stage/prod ...).", 3627 Type: []string{"boolean"}, 3628 Format: "", 3629 }, 3630 }, 3631 "spaceBindingRequestEnabled": { 3632 SchemaProps: spec.SchemaProps{ 3633 Description: "SpaceBindingRequestEnabled specifies whether the SpaceBindingRequest controller should start or not. This is specifically useful in order to enable/disable this functionality from configuration (e.g. disabled by default in Sandbox and enabled only for AppStudio stage/prod ...).", 3634 Type: []string{"boolean"}, 3635 Format: "", 3636 }, 3637 }, 3638 }, 3639 }, 3640 }, 3641 } 3642 } 3643 3644 func schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerCapacityThresholds(ref common.ReferenceCallback) common.OpenAPIDefinition { 3645 return common.OpenAPIDefinition{ 3646 Schema: spec.Schema{ 3647 SchemaProps: spec.SchemaProps{ 3648 Description: "SpaceProvisionerCapacityThresholds defines the capacity thresholds of the space provisioner", 3649 Type: []string{"object"}, 3650 Properties: map[string]spec.Schema{ 3651 "maxNumberOfSpaces": { 3652 SchemaProps: spec.SchemaProps{ 3653 Description: "MaxNumberOfSpaces is the maximum number of spaces that can be provisioned to the referenced cluster.\n\n0 or undefined value means no limit.", 3654 Type: []string{"integer"}, 3655 Format: "int32", 3656 }, 3657 }, 3658 "maxMemoryUtilizationPercent": { 3659 SchemaProps: spec.SchemaProps{ 3660 Description: "MaxMemoryUtilizationPercent is the maximum memory utilization of the cluster to permit provisioning new spaces to it.\n\n0 or undefined value means no limit.", 3661 Type: []string{"integer"}, 3662 Format: "int32", 3663 }, 3664 }, 3665 }, 3666 }, 3667 }, 3668 } 3669 } 3670 3671 func schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 3672 return common.OpenAPIDefinition{ 3673 Schema: spec.Schema{ 3674 SchemaProps: spec.SchemaProps{ 3675 Description: "SpaceProvisionerConfig is the configuration of space provisioning in the member clusters.", 3676 Type: []string{"object"}, 3677 Properties: map[string]spec.Schema{ 3678 "spec": { 3679 SchemaProps: spec.SchemaProps{ 3680 Default: map[string]interface{}{}, 3681 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfigSpec"), 3682 }, 3683 }, 3684 "status": { 3685 SchemaProps: spec.SchemaProps{ 3686 Default: map[string]interface{}{}, 3687 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfigStatus"), 3688 }, 3689 }, 3690 "kind": { 3691 SchemaProps: spec.SchemaProps{ 3692 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", 3693 Type: []string{"string"}, 3694 Format: "", 3695 }, 3696 }, 3697 "apiVersion": { 3698 SchemaProps: spec.SchemaProps{ 3699 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", 3700 Type: []string{"string"}, 3701 Format: "", 3702 }, 3703 }, 3704 "metadata": { 3705 SchemaProps: spec.SchemaProps{ 3706 Default: map[string]interface{}{}, 3707 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3708 }, 3709 }, 3710 }, 3711 }, 3712 }, 3713 Dependencies: []string{ 3714 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfigSpec", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfigStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3715 } 3716 } 3717 3718 func schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfigList(ref common.ReferenceCallback) common.OpenAPIDefinition { 3719 return common.OpenAPIDefinition{ 3720 Schema: spec.Schema{ 3721 SchemaProps: spec.SchemaProps{ 3722 Description: "SpaceProvisionerConfigList contains a list of SpaceProvisionerConfig", 3723 Type: []string{"object"}, 3724 Properties: map[string]spec.Schema{ 3725 "kind": { 3726 SchemaProps: spec.SchemaProps{ 3727 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", 3728 Type: []string{"string"}, 3729 Format: "", 3730 }, 3731 }, 3732 "apiVersion": { 3733 SchemaProps: spec.SchemaProps{ 3734 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", 3735 Type: []string{"string"}, 3736 Format: "", 3737 }, 3738 }, 3739 "metadata": { 3740 SchemaProps: spec.SchemaProps{ 3741 Default: map[string]interface{}{}, 3742 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 3743 }, 3744 }, 3745 "items": { 3746 SchemaProps: spec.SchemaProps{ 3747 Type: []string{"array"}, 3748 Items: &spec.SchemaOrArray{ 3749 Schema: &spec.Schema{ 3750 SchemaProps: spec.SchemaProps{ 3751 Default: map[string]interface{}{}, 3752 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfig"), 3753 }, 3754 }, 3755 }, 3756 }, 3757 }, 3758 }, 3759 Required: []string{"items"}, 3760 }, 3761 }, 3762 Dependencies: []string{ 3763 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerConfig", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 3764 } 3765 } 3766 3767 func schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfigSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3768 return common.OpenAPIDefinition{ 3769 Schema: spec.Schema{ 3770 SchemaProps: spec.SchemaProps{ 3771 Type: []string{"object"}, 3772 Properties: map[string]spec.Schema{ 3773 "placementRoles": { 3774 VendorExtensible: spec.VendorExtensible{ 3775 Extensions: spec.Extensions{ 3776 "x-kubernetes-list-type": "set", 3777 }, 3778 }, 3779 SchemaProps: spec.SchemaProps{ 3780 Description: "PlacementRoles is the list of roles, or flavors, that the provisioner possesses that influence the space scheduling decisions.", 3781 Type: []string{"array"}, 3782 Items: &spec.SchemaOrArray{ 3783 Schema: &spec.Schema{ 3784 SchemaProps: spec.SchemaProps{ 3785 Default: "", 3786 Type: []string{"string"}, 3787 Format: "", 3788 }, 3789 }, 3790 }, 3791 }, 3792 }, 3793 "toolchainCluster": { 3794 SchemaProps: spec.SchemaProps{ 3795 Description: "ToolchainCluster is the name of the ToolchainCluster CR of the member cluster that this config is for.", 3796 Default: "", 3797 Type: []string{"string"}, 3798 Format: "", 3799 }, 3800 }, 3801 "enabled": { 3802 SchemaProps: spec.SchemaProps{ 3803 Description: "Enabled specifies whether the member cluster is enabled (and therefore can hold spaces) or not.", 3804 Default: false, 3805 Type: []string{"boolean"}, 3806 Format: "", 3807 }, 3808 }, 3809 "capacityThresholds": { 3810 SchemaProps: spec.SchemaProps{ 3811 Description: "CapacityThresholds specifies the max capacities allowed in this provisioner", 3812 Default: map[string]interface{}{}, 3813 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerCapacityThresholds"), 3814 }, 3815 }, 3816 }, 3817 Required: []string{"toolchainCluster"}, 3818 }, 3819 }, 3820 Dependencies: []string{ 3821 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceProvisionerCapacityThresholds"}, 3822 } 3823 } 3824 3825 func schema_codeready_toolchain_api_api_v1alpha1_SpaceProvisionerConfigStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3826 return common.OpenAPIDefinition{ 3827 Schema: spec.Schema{ 3828 SchemaProps: spec.SchemaProps{ 3829 Type: []string{"object"}, 3830 Properties: map[string]spec.Schema{ 3831 "conditions": { 3832 VendorExtensible: spec.VendorExtensible{ 3833 Extensions: spec.Extensions{ 3834 "x-kubernetes-list-map-keys": []interface{}{ 3835 "type", 3836 }, 3837 "x-kubernetes-list-type": "map", 3838 "x-kubernetes-patch-merge-key": "type", 3839 "x-kubernetes-patch-strategy": "merge", 3840 }, 3841 }, 3842 SchemaProps: spec.SchemaProps{ 3843 Description: "Conditions describes the state of the configuration (its validity). The only known condition type is \"Ready\".", 3844 Type: []string{"array"}, 3845 Items: &spec.SchemaOrArray{ 3846 Schema: &spec.Schema{ 3847 SchemaProps: spec.SchemaProps{ 3848 Default: map[string]interface{}{}, 3849 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 3850 }, 3851 }, 3852 }, 3853 }, 3854 }, 3855 }, 3856 }, 3857 }, 3858 Dependencies: []string{ 3859 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 3860 } 3861 } 3862 3863 func schema_codeready_toolchain_api_api_v1alpha1_SpaceRequest(ref common.ReferenceCallback) common.OpenAPIDefinition { 3864 return common.OpenAPIDefinition{ 3865 Schema: spec.Schema{ 3866 SchemaProps: spec.SchemaProps{ 3867 Description: "SpaceRequest is the Schema for the space request API", 3868 Type: []string{"object"}, 3869 Properties: map[string]spec.Schema{ 3870 "kind": { 3871 SchemaProps: spec.SchemaProps{ 3872 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", 3873 Type: []string{"string"}, 3874 Format: "", 3875 }, 3876 }, 3877 "apiVersion": { 3878 SchemaProps: spec.SchemaProps{ 3879 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", 3880 Type: []string{"string"}, 3881 Format: "", 3882 }, 3883 }, 3884 "metadata": { 3885 SchemaProps: spec.SchemaProps{ 3886 Default: map[string]interface{}{}, 3887 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 3888 }, 3889 }, 3890 "spec": { 3891 SchemaProps: spec.SchemaProps{ 3892 Default: map[string]interface{}{}, 3893 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestSpec"), 3894 }, 3895 }, 3896 "status": { 3897 SchemaProps: spec.SchemaProps{ 3898 Default: map[string]interface{}{}, 3899 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestStatus"), 3900 }, 3901 }, 3902 }, 3903 }, 3904 }, 3905 Dependencies: []string{ 3906 "github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestSpec", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceRequestStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 3907 } 3908 } 3909 3910 func schema_codeready_toolchain_api_api_v1alpha1_SpaceRequestConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 3911 return common.OpenAPIDefinition{ 3912 Schema: spec.Schema{ 3913 SchemaProps: spec.SchemaProps{ 3914 Description: "SpaceRequestConfig contains all the configuration related to the Space Request feature", 3915 Type: []string{"object"}, 3916 Properties: map[string]spec.Schema{ 3917 "serviceAccountName": { 3918 SchemaProps: spec.SchemaProps{ 3919 Description: "Provides the name of the Service Account whose token is to be copied", 3920 Type: []string{"string"}, 3921 Format: "", 3922 }, 3923 }, 3924 }, 3925 }, 3926 }, 3927 } 3928 } 3929 3930 func schema_codeready_toolchain_api_api_v1alpha1_SpaceRequestSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 3931 return common.OpenAPIDefinition{ 3932 Schema: spec.Schema{ 3933 SchemaProps: spec.SchemaProps{ 3934 Description: "SpaceRequestSpec defines the desired state of Space", 3935 Type: []string{"object"}, 3936 Properties: map[string]spec.Schema{ 3937 "tierName": { 3938 SchemaProps: spec.SchemaProps{ 3939 Description: "TierName is a required property introduced to retain the name of the tier for which this Space is provisioned.", 3940 Default: "", 3941 Type: []string{"string"}, 3942 Format: "", 3943 }, 3944 }, 3945 "targetClusterRoles": { 3946 VendorExtensible: spec.VendorExtensible{ 3947 Extensions: spec.Extensions{ 3948 "x-kubernetes-list-type": "atomic", 3949 }, 3950 }, 3951 SchemaProps: spec.SchemaProps{ 3952 Description: "TargetClusterRoles one or more label keys that define a set of clusters where the Space can be provisioned. The target cluster has to match ALL the roles defined in this field in order for the space to be provisioned there.", 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 "disableInheritance": { 3966 SchemaProps: spec.SchemaProps{ 3967 Description: "DisableInheritance indicates whether or not SpaceBindings from the parent-spaces are automatically inherited to all sub-spaces in the tree.\n\nSet to True to disable SpaceBinding inheritance from the parent-spaces. Default is False.", 3968 Type: []string{"boolean"}, 3969 Format: "", 3970 }, 3971 }, 3972 }, 3973 Required: []string{"tierName"}, 3974 }, 3975 }, 3976 } 3977 } 3978 3979 func schema_codeready_toolchain_api_api_v1alpha1_SpaceRequestStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3980 return common.OpenAPIDefinition{ 3981 Schema: spec.Schema{ 3982 SchemaProps: spec.SchemaProps{ 3983 Description: "SpaceRequestStatus defines the observed state of Space", 3984 Type: []string{"object"}, 3985 Properties: map[string]spec.Schema{ 3986 "targetClusterURL": { 3987 SchemaProps: spec.SchemaProps{ 3988 Description: "TargetClusterURL The API URL of the cluster where Space is currently provisioned Can be empty if provisioning did not start or failed The URL is just for informative purposes for developers and controllers that are placed in member clusters.", 3989 Type: []string{"string"}, 3990 Format: "", 3991 }, 3992 }, 3993 "namespaceAccess": { 3994 VendorExtensible: spec.VendorExtensible{ 3995 Extensions: spec.Extensions{ 3996 "x-kubernetes-list-type": "atomic", 3997 }, 3998 }, 3999 SchemaProps: spec.SchemaProps{ 4000 Description: "NamespaceAccess is the list with the provisioned namespace and secret to access it", 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/codeready-toolchain/api/api/v1alpha1.NamespaceAccess"), 4007 }, 4008 }, 4009 }, 4010 }, 4011 }, 4012 "conditions": { 4013 VendorExtensible: spec.VendorExtensible{ 4014 Extensions: spec.Extensions{ 4015 "x-kubernetes-list-map-keys": []interface{}{ 4016 "type", 4017 }, 4018 "x-kubernetes-list-type": "map", 4019 "x-kubernetes-patch-merge-key": "type", 4020 "x-kubernetes-patch-strategy": "merge", 4021 }, 4022 }, 4023 SchemaProps: spec.SchemaProps{ 4024 Description: "Conditions is an array of SpaceRequest conditions Supported condition types: Provisioning, SpaceNotReady and Ready", 4025 Type: []string{"array"}, 4026 Items: &spec.SchemaOrArray{ 4027 Schema: &spec.Schema{ 4028 SchemaProps: spec.SchemaProps{ 4029 Default: map[string]interface{}{}, 4030 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 4031 }, 4032 }, 4033 }, 4034 }, 4035 }, 4036 }, 4037 }, 4038 }, 4039 Dependencies: []string{ 4040 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.NamespaceAccess"}, 4041 } 4042 } 4043 4044 func schema_codeready_toolchain_api_api_v1alpha1_SpaceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4045 return common.OpenAPIDefinition{ 4046 Schema: spec.Schema{ 4047 SchemaProps: spec.SchemaProps{ 4048 Description: "SpaceSpec defines the desired state of Space", 4049 Type: []string{"object"}, 4050 Properties: map[string]spec.Schema{ 4051 "targetCluster": { 4052 SchemaProps: spec.SchemaProps{ 4053 Description: "TargetCluster The cluster in which this Space is going to be provisioned If not set then the target cluster will be picked automatically", 4054 Type: []string{"string"}, 4055 Format: "", 4056 }, 4057 }, 4058 "targetClusterRoles": { 4059 VendorExtensible: spec.VendorExtensible{ 4060 Extensions: spec.Extensions{ 4061 "x-kubernetes-list-type": "atomic", 4062 }, 4063 }, 4064 SchemaProps: spec.SchemaProps{ 4065 Description: "TargetClusterRoles one or more label keys that define a set of clusters where the Space can be provisioned. The target cluster has to match ALL the roles defined in this field in order for the space to be provisioned there. It can be used as an alternative to targetCluster field, which has precedence in case both roles and name are provided.", 4066 Type: []string{"array"}, 4067 Items: &spec.SchemaOrArray{ 4068 Schema: &spec.Schema{ 4069 SchemaProps: spec.SchemaProps{ 4070 Default: "", 4071 Type: []string{"string"}, 4072 Format: "", 4073 }, 4074 }, 4075 }, 4076 }, 4077 }, 4078 "tierName": { 4079 SchemaProps: spec.SchemaProps{ 4080 Description: "TierName is introduced to retain the name of the tier for which this Space is provisioned If not set then the tier name will be set automatically", 4081 Type: []string{"string"}, 4082 Format: "", 4083 }, 4084 }, 4085 "parentSpace": { 4086 SchemaProps: spec.SchemaProps{ 4087 Description: "ParentSpace holds the name of the context (Space) from which this space was created (requested), enabling hierarchy relationships between different Spaces.\n\nKeeping this association brings two main benefits: 1. SpaceBindings are inherited from the parent Space 2. Ability to easily monitor quota for the requested sub-spaces", 4088 Type: []string{"string"}, 4089 Format: "", 4090 }, 4091 }, 4092 "disableInheritance": { 4093 SchemaProps: spec.SchemaProps{ 4094 Description: "DisableInheritance indicates whether or not SpaceBindings from the parent-spaces are automatically inherited to all sub-spaces in the tree.\n\nSet to True to disable SpaceBinding inheritance from the parent-spaces. Default is False.", 4095 Type: []string{"boolean"}, 4096 Format: "", 4097 }, 4098 }, 4099 }, 4100 }, 4101 }, 4102 } 4103 } 4104 4105 func schema_codeready_toolchain_api_api_v1alpha1_SpaceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4106 return common.OpenAPIDefinition{ 4107 Schema: spec.Schema{ 4108 SchemaProps: spec.SchemaProps{ 4109 Description: "SpaceStatus defines the observed state of Space", 4110 Type: []string{"object"}, 4111 Properties: map[string]spec.Schema{ 4112 "targetCluster": { 4113 SchemaProps: spec.SchemaProps{ 4114 Description: "TargetCluster The cluster in which this Space is currently provisioned Can be empty if provisioning did not start or failed To be used to de-provision the NSTemplateSet if the Spec.TargetCluster is either changed or removed", 4115 Type: []string{"string"}, 4116 Format: "", 4117 }, 4118 }, 4119 "provisionedNamespaces": { 4120 VendorExtensible: spec.VendorExtensible{ 4121 Extensions: spec.Extensions{ 4122 "x-kubernetes-list-type": "atomic", 4123 }, 4124 }, 4125 SchemaProps: spec.SchemaProps{ 4126 Description: "ProvisionedNamespaces is a list of Namespaces that were provisioned for the Space.", 4127 Type: []string{"array"}, 4128 Items: &spec.SchemaOrArray{ 4129 Schema: &spec.Schema{ 4130 SchemaProps: spec.SchemaProps{ 4131 Default: map[string]interface{}{}, 4132 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.SpaceNamespace"), 4133 }, 4134 }, 4135 }, 4136 }, 4137 }, 4138 "conditions": { 4139 VendorExtensible: spec.VendorExtensible{ 4140 Extensions: spec.Extensions{ 4141 "x-kubernetes-list-map-keys": []interface{}{ 4142 "type", 4143 }, 4144 "x-kubernetes-list-type": "map", 4145 "x-kubernetes-patch-merge-key": "type", 4146 "x-kubernetes-patch-strategy": "merge", 4147 }, 4148 }, 4149 SchemaProps: spec.SchemaProps{ 4150 Description: "Conditions is an array of current Space conditions Supported condition types: ConditionReady", 4151 Type: []string{"array"}, 4152 Items: &spec.SchemaOrArray{ 4153 Schema: &spec.Schema{ 4154 SchemaProps: spec.SchemaProps{ 4155 Default: map[string]interface{}{}, 4156 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 4157 }, 4158 }, 4159 }, 4160 }, 4161 }, 4162 }, 4163 }, 4164 }, 4165 Dependencies: []string{ 4166 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceNamespace"}, 4167 } 4168 } 4169 4170 func schema_codeready_toolchain_api_api_v1alpha1_TierTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4171 return common.OpenAPIDefinition{ 4172 Schema: spec.Schema{ 4173 SchemaProps: spec.SchemaProps{ 4174 Description: "TierTemplateSpec defines the desired state of TierTemplate", 4175 Type: []string{"object"}, 4176 Properties: map[string]spec.Schema{ 4177 "tierName": { 4178 SchemaProps: spec.SchemaProps{ 4179 Description: "The tier of the template. For example: \"basic\", \"advanced\", or \"team\"", 4180 Default: "", 4181 Type: []string{"string"}, 4182 Format: "", 4183 }, 4184 }, 4185 "type": { 4186 SchemaProps: spec.SchemaProps{ 4187 Description: "The type of the template. For example: \"code\", \"dev\", \"stage\" or \"cluster\"", 4188 Default: "", 4189 Type: []string{"string"}, 4190 Format: "", 4191 }, 4192 }, 4193 "revision": { 4194 SchemaProps: spec.SchemaProps{ 4195 Description: "The revision of the corresponding template", 4196 Default: "", 4197 Type: []string{"string"}, 4198 Format: "", 4199 }, 4200 }, 4201 "template": { 4202 SchemaProps: spec.SchemaProps{ 4203 Description: "Template contains an OpenShift Template to be used to provision either a user's namespace or cluster-wide resources", 4204 Default: map[string]interface{}{}, 4205 Ref: ref("github.com/openshift/api/template/v1.Template"), 4206 }, 4207 }, 4208 }, 4209 Required: []string{"tierName", "type", "revision", "template"}, 4210 }, 4211 }, 4212 Dependencies: []string{ 4213 "github.com/openshift/api/template/v1.Template"}, 4214 } 4215 } 4216 4217 func schema_codeready_toolchain_api_api_v1alpha1_TiersConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 4218 return common.OpenAPIDefinition{ 4219 Schema: spec.Schema{ 4220 SchemaProps: spec.SchemaProps{ 4221 Description: "TiersConfig contains all configuration parameters related to tiers", 4222 Type: []string{"object"}, 4223 Properties: map[string]spec.Schema{ 4224 "defaultUserTier": { 4225 SchemaProps: spec.SchemaProps{ 4226 Description: "DefaultUserTier specifies the default tier to assign for new users", 4227 Type: []string{"string"}, 4228 Format: "", 4229 }, 4230 }, 4231 "defaultSpaceTier": { 4232 SchemaProps: spec.SchemaProps{ 4233 Description: "DefaultSpaceTier specifies the default tier to assign for new spaces", 4234 Type: []string{"string"}, 4235 Format: "", 4236 }, 4237 }, 4238 "durationBeforeChangeTierRequestDeletion": { 4239 SchemaProps: spec.SchemaProps{ 4240 Description: "DurationBeforeChangeTierRequestDeletion specifies the duration before a ChangeTierRequest resource is deleted", 4241 Type: []string{"string"}, 4242 Format: "", 4243 }, 4244 }, 4245 "templateUpdateRequestMaxPoolSize": { 4246 SchemaProps: spec.SchemaProps{ 4247 Description: "TemplateUpdateRequestMaxPoolSize specifies the maximum number of concurrent TemplateUpdateRequests when updating MasterUserRecords", 4248 Type: []string{"integer"}, 4249 Format: "int32", 4250 }, 4251 }, 4252 }, 4253 }, 4254 }, 4255 } 4256 } 4257 4258 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainCluster(ref common.ReferenceCallback) common.OpenAPIDefinition { 4259 return common.OpenAPIDefinition{ 4260 Schema: spec.Schema{ 4261 SchemaProps: spec.SchemaProps{ 4262 Description: "ToolchainCluster configures Toolchain to be aware of a Kubernetes cluster and encapsulates the details necessary to communicate with the cluster.", 4263 Type: []string{"object"}, 4264 Properties: map[string]spec.Schema{ 4265 "kind": { 4266 SchemaProps: spec.SchemaProps{ 4267 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", 4268 Type: []string{"string"}, 4269 Format: "", 4270 }, 4271 }, 4272 "apiVersion": { 4273 SchemaProps: spec.SchemaProps{ 4274 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", 4275 Type: []string{"string"}, 4276 Format: "", 4277 }, 4278 }, 4279 "metadata": { 4280 SchemaProps: spec.SchemaProps{ 4281 Default: map[string]interface{}{}, 4282 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4283 }, 4284 }, 4285 "spec": { 4286 SchemaProps: spec.SchemaProps{ 4287 Default: map[string]interface{}{}, 4288 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterSpec"), 4289 }, 4290 }, 4291 "status": { 4292 SchemaProps: spec.SchemaProps{ 4293 Default: map[string]interface{}{}, 4294 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterStatus"), 4295 }, 4296 }, 4297 }, 4298 Required: []string{"spec"}, 4299 }, 4300 }, 4301 Dependencies: []string{ 4302 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterSpec", "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 4303 } 4304 } 4305 4306 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 4307 return common.OpenAPIDefinition{ 4308 Schema: spec.Schema{ 4309 SchemaProps: spec.SchemaProps{ 4310 Description: "ToolchainClusterCondition describes current state of a cluster.", 4311 Type: []string{"object"}, 4312 Properties: map[string]spec.Schema{ 4313 "type": { 4314 SchemaProps: spec.SchemaProps{ 4315 Description: "Type of cluster condition, Ready or Offline.", 4316 Default: "", 4317 Type: []string{"string"}, 4318 Format: "", 4319 }, 4320 }, 4321 "status": { 4322 SchemaProps: spec.SchemaProps{ 4323 Description: "Status of the condition, one of True, False, Unknown.", 4324 Default: "", 4325 Type: []string{"string"}, 4326 Format: "", 4327 }, 4328 }, 4329 "lastProbeTime": { 4330 SchemaProps: spec.SchemaProps{ 4331 Description: "Last time the condition was checked.", 4332 Default: map[string]interface{}{}, 4333 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 4334 }, 4335 }, 4336 "lastUpdatedTime": { 4337 SchemaProps: spec.SchemaProps{ 4338 Description: "Last time the condition was updated", 4339 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 4340 }, 4341 }, 4342 "lastTransitionTime": { 4343 SchemaProps: spec.SchemaProps{ 4344 Description: "Last time the condition transit from one status to another.", 4345 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 4346 }, 4347 }, 4348 "reason": { 4349 SchemaProps: spec.SchemaProps{ 4350 Description: "(brief) reason for the condition's last transition.", 4351 Type: []string{"string"}, 4352 Format: "", 4353 }, 4354 }, 4355 "message": { 4356 SchemaProps: spec.SchemaProps{ 4357 Description: "Human readable message indicating details about last transition.", 4358 Type: []string{"string"}, 4359 Format: "", 4360 }, 4361 }, 4362 }, 4363 Required: []string{"type", "status"}, 4364 }, 4365 }, 4366 Dependencies: []string{ 4367 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 4368 } 4369 } 4370 4371 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 4372 return common.OpenAPIDefinition{ 4373 Schema: spec.Schema{ 4374 SchemaProps: spec.SchemaProps{ 4375 Description: "Defines all parameters concerned with the toolchaincluster resource", 4376 Type: []string{"object"}, 4377 Properties: map[string]spec.Schema{ 4378 "healthCheckPeriod": { 4379 SchemaProps: spec.SchemaProps{ 4380 Description: "Defines the period in between health checks", 4381 Type: []string{"string"}, 4382 Format: "", 4383 }, 4384 }, 4385 "healthCheckTimeout": { 4386 SchemaProps: spec.SchemaProps{ 4387 Description: "Defines the timeout for each health check", 4388 Type: []string{"string"}, 4389 Format: "", 4390 }, 4391 }, 4392 }, 4393 }, 4394 }, 4395 } 4396 } 4397 4398 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4399 return common.OpenAPIDefinition{ 4400 Schema: spec.Schema{ 4401 SchemaProps: spec.SchemaProps{ 4402 Description: "ToolchainClusterSpec defines the desired state of ToolchainCluster", 4403 Type: []string{"object"}, 4404 Properties: map[string]spec.Schema{ 4405 "apiEndpoint": { 4406 SchemaProps: spec.SchemaProps{ 4407 Description: "The API endpoint of the member cluster. This can be a hostname, hostname:port, IP or IP:port.", 4408 Default: "", 4409 Type: []string{"string"}, 4410 Format: "", 4411 }, 4412 }, 4413 "caBundle": { 4414 SchemaProps: spec.SchemaProps{ 4415 Description: "CABundle contains the certificate authority information.", 4416 Type: []string{"string"}, 4417 Format: "", 4418 }, 4419 }, 4420 "secretRef": { 4421 SchemaProps: spec.SchemaProps{ 4422 Description: "Name of the secret containing the token required to access the member cluster. The secret needs to exist in the same namespace as the control plane and should have a \"token\" key.", 4423 Default: map[string]interface{}{}, 4424 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.LocalSecretReference"), 4425 }, 4426 }, 4427 "disabledTLSValidations": { 4428 VendorExtensible: spec.VendorExtensible{ 4429 Extensions: spec.Extensions{ 4430 "x-kubernetes-list-type": "set", 4431 }, 4432 }, 4433 SchemaProps: spec.SchemaProps{ 4434 Description: "DisabledTLSValidations defines a list of checks to ignore when validating the TLS connection to the member cluster. This can be any of *, SubjectName, or ValidityPeriod. If * is specified, it is expected to be the only option in list.", 4435 Type: []string{"array"}, 4436 Items: &spec.SchemaOrArray{ 4437 Schema: &spec.Schema{ 4438 SchemaProps: spec.SchemaProps{ 4439 Default: "", 4440 Type: []string{"string"}, 4441 Format: "", 4442 }, 4443 }, 4444 }, 4445 }, 4446 }, 4447 }, 4448 Required: []string{"apiEndpoint", "secretRef"}, 4449 }, 4450 }, 4451 Dependencies: []string{ 4452 "github.com/codeready-toolchain/api/api/v1alpha1.LocalSecretReference"}, 4453 } 4454 } 4455 4456 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainClusterStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4457 return common.OpenAPIDefinition{ 4458 Schema: spec.Schema{ 4459 SchemaProps: spec.SchemaProps{ 4460 Description: "ToolchainClusterStatus contains information about the current status of a cluster updated periodically by cluster controller.", 4461 Type: []string{"object"}, 4462 Properties: map[string]spec.Schema{ 4463 "conditions": { 4464 VendorExtensible: spec.VendorExtensible{ 4465 Extensions: spec.Extensions{ 4466 "x-kubernetes-list-type": "atomic", 4467 }, 4468 }, 4469 SchemaProps: spec.SchemaProps{ 4470 Description: "Conditions is an array of current cluster conditions.", 4471 Type: []string{"array"}, 4472 Items: &spec.SchemaOrArray{ 4473 Schema: &spec.Schema{ 4474 SchemaProps: spec.SchemaProps{ 4475 Default: map[string]interface{}{}, 4476 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterCondition"), 4477 }, 4478 }, 4479 }, 4480 }, 4481 }, 4482 }, 4483 Required: []string{"conditions"}, 4484 }, 4485 }, 4486 Dependencies: []string{ 4487 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainClusterCondition"}, 4488 } 4489 } 4490 4491 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainConfigSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4492 return common.OpenAPIDefinition{ 4493 Schema: spec.Schema{ 4494 SchemaProps: spec.SchemaProps{ 4495 Description: "ToolchainConfigSpec contains all configuration for host and member operators", 4496 Type: []string{"object"}, 4497 Properties: map[string]spec.Schema{ 4498 "host": { 4499 SchemaProps: spec.SchemaProps{ 4500 Description: "Contains all host operator configuration", 4501 Default: map[string]interface{}{}, 4502 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.HostConfig"), 4503 }, 4504 }, 4505 "members": { 4506 SchemaProps: spec.SchemaProps{ 4507 Description: "Contains all member operator configurations for all member clusters", 4508 Default: map[string]interface{}{}, 4509 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Members"), 4510 }, 4511 }, 4512 }, 4513 }, 4514 }, 4515 Dependencies: []string{ 4516 "github.com/codeready-toolchain/api/api/v1alpha1.HostConfig", "github.com/codeready-toolchain/api/api/v1alpha1.Members"}, 4517 } 4518 } 4519 4520 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainConfigStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4521 return common.OpenAPIDefinition{ 4522 Schema: spec.Schema{ 4523 SchemaProps: spec.SchemaProps{ 4524 Description: "ToolchainConfigStatus defines the observed state of ToolchainConfig", 4525 Type: []string{"object"}, 4526 Properties: map[string]spec.Schema{ 4527 "syncErrors": { 4528 VendorExtensible: spec.VendorExtensible{ 4529 Extensions: spec.Extensions{ 4530 "x-kubernetes-map-type": "atomic", 4531 }, 4532 }, 4533 SchemaProps: spec.SchemaProps{ 4534 Description: "SyncErrors is a map of sync errors indexed by toolchaincluster name that indicates whether an attempt to sync configuration to a member cluster failed", 4535 Type: []string{"object"}, 4536 AdditionalProperties: &spec.SchemaOrBool{ 4537 Allows: true, 4538 Schema: &spec.Schema{ 4539 SchemaProps: spec.SchemaProps{ 4540 Default: "", 4541 Type: []string{"string"}, 4542 Format: "", 4543 }, 4544 }, 4545 }, 4546 }, 4547 }, 4548 "conditions": { 4549 VendorExtensible: spec.VendorExtensible{ 4550 Extensions: spec.Extensions{ 4551 "x-kubernetes-list-map-keys": []interface{}{ 4552 "type", 4553 }, 4554 "x-kubernetes-list-type": "map", 4555 "x-kubernetes-patch-merge-key": "type", 4556 "x-kubernetes-patch-strategy": "merge", 4557 }, 4558 }, 4559 SchemaProps: spec.SchemaProps{ 4560 Description: "Conditions is an array of the current ToolchainConfig conditions Supported condition types: ConditionReady", 4561 Type: []string{"array"}, 4562 Items: &spec.SchemaOrArray{ 4563 Schema: &spec.Schema{ 4564 SchemaProps: spec.SchemaProps{ 4565 Default: map[string]interface{}{}, 4566 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 4567 }, 4568 }, 4569 }, 4570 }, 4571 }, 4572 }, 4573 }, 4574 }, 4575 Dependencies: []string{ 4576 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 4577 } 4578 } 4579 4580 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainSecret(ref common.ReferenceCallback) common.OpenAPIDefinition { 4581 return common.OpenAPIDefinition{ 4582 Schema: spec.Schema{ 4583 SchemaProps: spec.SchemaProps{ 4584 Description: "ToolchainSecret defines a reference to a secret, this type should be included inline in any structs that contain secrets eg. NotificationSecret", 4585 Type: []string{"object"}, 4586 Properties: map[string]spec.Schema{ 4587 "ref": { 4588 SchemaProps: spec.SchemaProps{ 4589 Description: "Reference is the name of the secret resource to look up", 4590 Type: []string{"string"}, 4591 Format: "", 4592 }, 4593 }, 4594 }, 4595 }, 4596 }, 4597 } 4598 } 4599 4600 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4601 return common.OpenAPIDefinition{ 4602 Schema: spec.Schema{ 4603 SchemaProps: spec.SchemaProps{ 4604 Description: "ToolchainStatus is used to track overall toolchain status", 4605 Type: []string{"object"}, 4606 Properties: map[string]spec.Schema{ 4607 "kind": { 4608 SchemaProps: spec.SchemaProps{ 4609 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", 4610 Type: []string{"string"}, 4611 Format: "", 4612 }, 4613 }, 4614 "apiVersion": { 4615 SchemaProps: spec.SchemaProps{ 4616 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", 4617 Type: []string{"string"}, 4618 Format: "", 4619 }, 4620 }, 4621 "metadata": { 4622 SchemaProps: spec.SchemaProps{ 4623 Default: map[string]interface{}{}, 4624 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4625 }, 4626 }, 4627 "spec": { 4628 SchemaProps: spec.SchemaProps{ 4629 Default: map[string]interface{}{}, 4630 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusSpec"), 4631 }, 4632 }, 4633 "status": { 4634 SchemaProps: spec.SchemaProps{ 4635 Default: map[string]interface{}{}, 4636 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusStatus"), 4637 }, 4638 }, 4639 }, 4640 }, 4641 }, 4642 Dependencies: []string{ 4643 "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusSpec", "github.com/codeready-toolchain/api/api/v1alpha1.ToolchainStatusStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 4644 } 4645 } 4646 4647 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatusConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 4648 return common.OpenAPIDefinition{ 4649 Schema: spec.Schema{ 4650 SchemaProps: spec.SchemaProps{ 4651 Description: "ToolchainStatusConfig contains all configuration parameters related to the toolchain status component", 4652 Type: []string{"object"}, 4653 Properties: map[string]spec.Schema{ 4654 "toolchainStatusRefreshTime": { 4655 SchemaProps: spec.SchemaProps{ 4656 Description: "ToolchainStatusRefreshTime specifies how often the ToolchainStatus should load and refresh the current hosted-toolchain status", 4657 Type: []string{"string"}, 4658 Format: "", 4659 }, 4660 }, 4661 "gitHubSecret": { 4662 SchemaProps: spec.SchemaProps{ 4663 Description: "Defines all secrets related to GitHub authentication/integration", 4664 Default: map[string]interface{}{}, 4665 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.GitHubSecret"), 4666 }, 4667 }, 4668 }, 4669 }, 4670 }, 4671 Dependencies: []string{ 4672 "github.com/codeready-toolchain/api/api/v1alpha1.GitHubSecret"}, 4673 } 4674 } 4675 4676 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatusSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4677 return common.OpenAPIDefinition{ 4678 Schema: spec.Schema{ 4679 SchemaProps: spec.SchemaProps{ 4680 Description: "ToolchainStatusSpec defines the desired state of ToolchainStatus", 4681 Type: []string{"object"}, 4682 }, 4683 }, 4684 } 4685 } 4686 4687 func schema_codeready_toolchain_api_api_v1alpha1_ToolchainStatusStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4688 return common.OpenAPIDefinition{ 4689 Schema: spec.Schema{ 4690 SchemaProps: spec.SchemaProps{ 4691 Description: "ToolchainStatusStatus defines the observed state of the toolchain, including host cluster and member cluster components", 4692 Type: []string{"object"}, 4693 Properties: map[string]spec.Schema{ 4694 "hostOperator": { 4695 SchemaProps: spec.SchemaProps{ 4696 Description: "HostOperator is the status of a toolchain host operator", 4697 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.HostOperatorStatus"), 4698 }, 4699 }, 4700 "registrationService": { 4701 SchemaProps: spec.SchemaProps{ 4702 Description: "RegistrationService is the status of the registration service", 4703 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.HostRegistrationServiceStatus"), 4704 }, 4705 }, 4706 "members": { 4707 VendorExtensible: spec.VendorExtensible{ 4708 Extensions: spec.Extensions{ 4709 "x-kubernetes-list-map-keys": []interface{}{ 4710 "clusterName", 4711 }, 4712 "x-kubernetes-list-type": "map", 4713 "x-kubernetes-patch-merge-key": "clusterName", 4714 "x-kubernetes-patch-strategy": "merge", 4715 }, 4716 }, 4717 SchemaProps: spec.SchemaProps{ 4718 Description: "Members is an array of member status objects", 4719 Type: []string{"array"}, 4720 Items: &spec.SchemaOrArray{ 4721 Schema: &spec.Schema{ 4722 SchemaProps: spec.SchemaProps{ 4723 Default: map[string]interface{}{}, 4724 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Member"), 4725 }, 4726 }, 4727 }, 4728 }, 4729 }, 4730 "metrics": { 4731 VendorExtensible: spec.VendorExtensible{ 4732 Extensions: spec.Extensions{ 4733 "x-kubernetes-map-type": "atomic", 4734 "x-kubernetes-patch-strategy": "merge", 4735 }, 4736 }, 4737 SchemaProps: spec.SchemaProps{ 4738 Description: "Metrics is a map that stores metrics to be exposed on Prometheus.", 4739 Type: []string{"object"}, 4740 AdditionalProperties: &spec.SchemaOrBool{ 4741 Allows: true, 4742 Schema: &spec.Schema{ 4743 SchemaProps: spec.SchemaProps{ 4744 Type: []string{"object"}, 4745 AdditionalProperties: &spec.SchemaOrBool{ 4746 Allows: true, 4747 Schema: &spec.Schema{ 4748 SchemaProps: spec.SchemaProps{ 4749 Default: 0, 4750 Type: []string{"integer"}, 4751 Format: "int32", 4752 }, 4753 }, 4754 }, 4755 }, 4756 }, 4757 }, 4758 }, 4759 }, 4760 "hostRoutes": { 4761 SchemaProps: spec.SchemaProps{ 4762 Description: "HostRoutes/URLs of the host cluster, such as Proxy URL", 4763 Default: map[string]interface{}{}, 4764 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.HostRoutes"), 4765 }, 4766 }, 4767 "conditions": { 4768 VendorExtensible: spec.VendorExtensible{ 4769 Extensions: spec.Extensions{ 4770 "x-kubernetes-list-map-keys": []interface{}{ 4771 "type", 4772 }, 4773 "x-kubernetes-list-type": "map", 4774 "x-kubernetes-patch-merge-key": "type", 4775 "x-kubernetes-patch-strategy": "merge", 4776 }, 4777 }, 4778 SchemaProps: spec.SchemaProps{ 4779 Description: "Conditions is an array of the current overall toolchain status conditions Supported condition types: ConditionReady", 4780 Type: []string{"array"}, 4781 Items: &spec.SchemaOrArray{ 4782 Schema: &spec.Schema{ 4783 SchemaProps: spec.SchemaProps{ 4784 Default: map[string]interface{}{}, 4785 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 4786 }, 4787 }, 4788 }, 4789 }, 4790 }, 4791 }, 4792 }, 4793 }, 4794 Dependencies: []string{ 4795 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "github.com/codeready-toolchain/api/api/v1alpha1.HostOperatorStatus", "github.com/codeready-toolchain/api/api/v1alpha1.HostRegistrationServiceStatus", "github.com/codeready-toolchain/api/api/v1alpha1.HostRoutes", "github.com/codeready-toolchain/api/api/v1alpha1.Member"}, 4796 } 4797 } 4798 4799 func schema_codeready_toolchain_api_api_v1alpha1_TwilioSenderConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 4800 return common.OpenAPIDefinition{ 4801 Schema: spec.Schema{ 4802 SchemaProps: spec.SchemaProps{ 4803 Description: "TwilioSenderConfig is used to associate a particular sender ID (a sender ID is a text value that appears instead of a phone number when receiving an SMS message), for example \"RED HAT\", with an array of country code values for which the Sender ID value will be set via the Twilio API when sending a verification code to a user in any of the country codes specified.\n\nSince some countries are starting to block long form phone numbers (i.e. SMS messages from international phone numbers) the Sender ID may be an acceptable alternative to requiring the verification message to be sent from a local phone number.", 4804 Type: []string{"object"}, 4805 Properties: map[string]spec.Schema{ 4806 "senderID": { 4807 SchemaProps: spec.SchemaProps{ 4808 Description: "SenderID", 4809 Default: "", 4810 Type: []string{"string"}, 4811 Format: "", 4812 }, 4813 }, 4814 "countryCodes": { 4815 VendorExtensible: spec.VendorExtensible{ 4816 Extensions: spec.Extensions{ 4817 "x-kubernetes-list-type": "set", 4818 }, 4819 }, 4820 SchemaProps: spec.SchemaProps{ 4821 Description: "CountryCodes", 4822 Type: []string{"array"}, 4823 Items: &spec.SchemaOrArray{ 4824 Schema: &spec.Schema{ 4825 SchemaProps: spec.SchemaProps{ 4826 Default: "", 4827 Type: []string{"string"}, 4828 Format: "", 4829 }, 4830 }, 4831 }, 4832 }, 4833 }, 4834 }, 4835 Required: []string{"senderID"}, 4836 }, 4837 }, 4838 } 4839 } 4840 4841 func schema_codeready_toolchain_api_api_v1alpha1_UserAccount(ref common.ReferenceCallback) common.OpenAPIDefinition { 4842 return common.OpenAPIDefinition{ 4843 Schema: spec.Schema{ 4844 SchemaProps: spec.SchemaProps{ 4845 Description: "UserAccount keeps all information about user provisioned in the cluster", 4846 Type: []string{"object"}, 4847 Properties: map[string]spec.Schema{ 4848 "kind": { 4849 SchemaProps: spec.SchemaProps{ 4850 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", 4851 Type: []string{"string"}, 4852 Format: "", 4853 }, 4854 }, 4855 "apiVersion": { 4856 SchemaProps: spec.SchemaProps{ 4857 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", 4858 Type: []string{"string"}, 4859 Format: "", 4860 }, 4861 }, 4862 "metadata": { 4863 SchemaProps: spec.SchemaProps{ 4864 Default: map[string]interface{}{}, 4865 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4866 }, 4867 }, 4868 "spec": { 4869 SchemaProps: spec.SchemaProps{ 4870 Default: map[string]interface{}{}, 4871 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UserAccountSpec"), 4872 }, 4873 }, 4874 "status": { 4875 SchemaProps: spec.SchemaProps{ 4876 Default: map[string]interface{}{}, 4877 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UserAccountStatus"), 4878 }, 4879 }, 4880 }, 4881 }, 4882 }, 4883 Dependencies: []string{ 4884 "github.com/codeready-toolchain/api/api/v1alpha1.UserAccountSpec", "github.com/codeready-toolchain/api/api/v1alpha1.UserAccountStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 4885 } 4886 } 4887 4888 func schema_codeready_toolchain_api_api_v1alpha1_UserAccountSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 4889 return common.OpenAPIDefinition{ 4890 Schema: spec.Schema{ 4891 SchemaProps: spec.SchemaProps{ 4892 Description: "UserAccountSpec defines the desired state of UserAccount", 4893 Type: []string{"object"}, 4894 Properties: map[string]spec.Schema{ 4895 "disabled": { 4896 SchemaProps: spec.SchemaProps{ 4897 Description: "If set to true then the corresponding user should not be able to login \"false\" is assumed by default", 4898 Type: []string{"boolean"}, 4899 Format: "", 4900 }, 4901 }, 4902 "propagatedClaims": { 4903 SchemaProps: spec.SchemaProps{ 4904 Description: "PropagatedClaims contains a selection of claim values from the SSO Identity Provider which are intended to be \"propagated\" down the resource dependency chain", 4905 Default: map[string]interface{}{}, 4906 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.PropagatedClaims"), 4907 }, 4908 }, 4909 }, 4910 }, 4911 }, 4912 Dependencies: []string{ 4913 "github.com/codeready-toolchain/api/api/v1alpha1.PropagatedClaims"}, 4914 } 4915 } 4916 4917 func schema_codeready_toolchain_api_api_v1alpha1_UserAccountStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 4918 return common.OpenAPIDefinition{ 4919 Schema: spec.Schema{ 4920 SchemaProps: spec.SchemaProps{ 4921 Description: "UserAccountStatus defines the observed state of UserAccount", 4922 Type: []string{"object"}, 4923 Properties: map[string]spec.Schema{ 4924 "conditions": { 4925 VendorExtensible: spec.VendorExtensible{ 4926 Extensions: spec.Extensions{ 4927 "x-kubernetes-list-map-keys": []interface{}{ 4928 "type", 4929 }, 4930 "x-kubernetes-list-type": "map", 4931 "x-kubernetes-patch-merge-key": "type", 4932 "x-kubernetes-patch-strategy": "merge", 4933 }, 4934 }, 4935 SchemaProps: spec.SchemaProps{ 4936 Description: "Conditions is an array of current User Account conditions Supported condition types: ConditionReady", 4937 Type: []string{"array"}, 4938 Items: &spec.SchemaOrArray{ 4939 Schema: &spec.Schema{ 4940 SchemaProps: spec.SchemaProps{ 4941 Default: map[string]interface{}{}, 4942 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 4943 }, 4944 }, 4945 }, 4946 }, 4947 }, 4948 }, 4949 }, 4950 }, 4951 Dependencies: []string{ 4952 "github.com/codeready-toolchain/api/api/v1alpha1.Condition"}, 4953 } 4954 } 4955 4956 func schema_codeready_toolchain_api_api_v1alpha1_UserSignup(ref common.ReferenceCallback) common.OpenAPIDefinition { 4957 return common.OpenAPIDefinition{ 4958 Schema: spec.Schema{ 4959 SchemaProps: spec.SchemaProps{ 4960 Description: "UserSignup registers a user in the CodeReady Toolchain", 4961 Type: []string{"object"}, 4962 Properties: map[string]spec.Schema{ 4963 "kind": { 4964 SchemaProps: spec.SchemaProps{ 4965 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", 4966 Type: []string{"string"}, 4967 Format: "", 4968 }, 4969 }, 4970 "apiVersion": { 4971 SchemaProps: spec.SchemaProps{ 4972 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", 4973 Type: []string{"string"}, 4974 Format: "", 4975 }, 4976 }, 4977 "metadata": { 4978 SchemaProps: spec.SchemaProps{ 4979 Default: map[string]interface{}{}, 4980 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 4981 }, 4982 }, 4983 "spec": { 4984 SchemaProps: spec.SchemaProps{ 4985 Default: map[string]interface{}{}, 4986 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UserSignupSpec"), 4987 }, 4988 }, 4989 "status": { 4990 SchemaProps: spec.SchemaProps{ 4991 Default: map[string]interface{}{}, 4992 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UserSignupStatus"), 4993 }, 4994 }, 4995 }, 4996 }, 4997 }, 4998 Dependencies: []string{ 4999 "github.com/codeready-toolchain/api/api/v1alpha1.UserSignupSpec", "github.com/codeready-toolchain/api/api/v1alpha1.UserSignupStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 5000 } 5001 } 5002 5003 func schema_codeready_toolchain_api_api_v1alpha1_UserSignupSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5004 return common.OpenAPIDefinition{ 5005 Schema: spec.Schema{ 5006 SchemaProps: spec.SchemaProps{ 5007 Description: "UserSignupSpec defines the desired state of UserSignup", 5008 Type: []string{"object"}, 5009 Properties: map[string]spec.Schema{ 5010 "targetCluster": { 5011 SchemaProps: spec.SchemaProps{ 5012 Description: "The cluster in which the user is provisioned in If not set then the target cluster will be picked automatically", 5013 Type: []string{"string"}, 5014 Format: "", 5015 }, 5016 }, 5017 "states": { 5018 VendorExtensible: spec.VendorExtensible{ 5019 Extensions: spec.Extensions{ 5020 "x-kubernetes-list-type": "atomic", 5021 }, 5022 }, 5023 SchemaProps: spec.SchemaProps{ 5024 Description: "States contains a number of values that reflect the desired state of the UserSignup.", 5025 Type: []string{"array"}, 5026 Items: &spec.SchemaOrArray{ 5027 Schema: &spec.Schema{ 5028 SchemaProps: spec.SchemaProps{ 5029 Default: "", 5030 Type: []string{"string"}, 5031 Format: "", 5032 }, 5033 }, 5034 }, 5035 }, 5036 }, 5037 "identityClaims": { 5038 SchemaProps: spec.SchemaProps{ 5039 Description: "IdentityClaims contains as-is claim values extracted from the user's access token", 5040 Default: map[string]interface{}{}, 5041 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.IdentityClaimsEmbedded"), 5042 }, 5043 }, 5044 }, 5045 Required: []string{"identityClaims"}, 5046 }, 5047 }, 5048 Dependencies: []string{ 5049 "github.com/codeready-toolchain/api/api/v1alpha1.IdentityClaimsEmbedded"}, 5050 } 5051 } 5052 5053 func schema_codeready_toolchain_api_api_v1alpha1_UserSignupStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5054 return common.OpenAPIDefinition{ 5055 Schema: spec.Schema{ 5056 SchemaProps: spec.SchemaProps{ 5057 Description: "UserSignupStatus defines the observed state of UserSignup", 5058 Type: []string{"object"}, 5059 Properties: map[string]spec.Schema{ 5060 "conditions": { 5061 VendorExtensible: spec.VendorExtensible{ 5062 Extensions: spec.Extensions{ 5063 "x-kubernetes-list-map-keys": []interface{}{ 5064 "type", 5065 }, 5066 "x-kubernetes-list-type": "map", 5067 "x-kubernetes-patch-merge-key": "type", 5068 "x-kubernetes-patch-strategy": "merge", 5069 }, 5070 }, 5071 SchemaProps: spec.SchemaProps{ 5072 Description: "Conditions is an array of current UserSignup conditions Supported condition types: PendingApproval, Provisioning, Complete", 5073 Type: []string{"array"}, 5074 Items: &spec.SchemaOrArray{ 5075 Schema: &spec.Schema{ 5076 SchemaProps: spec.SchemaProps{ 5077 Default: map[string]interface{}{}, 5078 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Condition"), 5079 }, 5080 }, 5081 }, 5082 }, 5083 }, 5084 "compliantUsername": { 5085 SchemaProps: spec.SchemaProps{ 5086 Description: "CompliantUsername is used to store the transformed, DNS-1123 compliant username", 5087 Type: []string{"string"}, 5088 Format: "", 5089 }, 5090 }, 5091 "homeSpace": { 5092 SchemaProps: spec.SchemaProps{ 5093 Description: "HomeSpace is the name of the Space that is created for the user immediately after their account is approved. This is used by the proxy when no workspace context is provided.", 5094 Type: []string{"string"}, 5095 Format: "", 5096 }, 5097 }, 5098 "scheduledDeactivationTimestamp": { 5099 SchemaProps: spec.SchemaProps{ 5100 Description: "ScheduledDeactivationTimestamp is the calculated timestamp after which the user's account will be deactivated, typically after the expiry of their trial and based on the term specific by their UserTier. This property may be used as a convenience to determine the amount of time an account has left before deactivation, without requiring a separate lookup for the UserTier and subsequent calculation. It is managed by the Deactivation controller in the host operator.", 5101 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 5102 }, 5103 }, 5104 }, 5105 }, 5106 }, 5107 Dependencies: []string{ 5108 "github.com/codeready-toolchain/api/api/v1alpha1.Condition", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 5109 } 5110 } 5111 5112 func schema_codeready_toolchain_api_api_v1alpha1_UserTier(ref common.ReferenceCallback) common.OpenAPIDefinition { 5113 return common.OpenAPIDefinition{ 5114 Schema: spec.Schema{ 5115 SchemaProps: spec.SchemaProps{ 5116 Description: "UserTier contains user-specific configuration", 5117 Type: []string{"object"}, 5118 Properties: map[string]spec.Schema{ 5119 "kind": { 5120 SchemaProps: spec.SchemaProps{ 5121 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", 5122 Type: []string{"string"}, 5123 Format: "", 5124 }, 5125 }, 5126 "apiVersion": { 5127 SchemaProps: spec.SchemaProps{ 5128 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", 5129 Type: []string{"string"}, 5130 Format: "", 5131 }, 5132 }, 5133 "metadata": { 5134 SchemaProps: spec.SchemaProps{ 5135 Default: map[string]interface{}{}, 5136 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 5137 }, 5138 }, 5139 "spec": { 5140 SchemaProps: spec.SchemaProps{ 5141 Default: map[string]interface{}{}, 5142 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.UserTierSpec"), 5143 }, 5144 }, 5145 }, 5146 }, 5147 }, 5148 Dependencies: []string{ 5149 "github.com/codeready-toolchain/api/api/v1alpha1.UserTierSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 5150 } 5151 } 5152 5153 func schema_codeready_toolchain_api_api_v1alpha1_UserTierSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 5154 return common.OpenAPIDefinition{ 5155 Schema: spec.Schema{ 5156 SchemaProps: spec.SchemaProps{ 5157 Description: "UserTierSpec defines the desired state of UserTier", 5158 Type: []string{"object"}, 5159 Properties: map[string]spec.Schema{ 5160 "deactivationTimeoutDays": { 5161 SchemaProps: spec.SchemaProps{ 5162 Description: "the period (in days) after which users within the tier will be deactivated", 5163 Type: []string{"integer"}, 5164 Format: "int32", 5165 }, 5166 }, 5167 }, 5168 }, 5169 }, 5170 } 5171 } 5172 5173 func schema_codeready_toolchain_api_api_v1alpha1_UsersConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 5174 return common.OpenAPIDefinition{ 5175 Schema: spec.Schema{ 5176 SchemaProps: spec.SchemaProps{ 5177 Description: "UsersConfig contains all configuration parameters related to users", 5178 Type: []string{"object"}, 5179 Properties: map[string]spec.Schema{ 5180 "masterUserRecordUpdateFailureThreshold": { 5181 SchemaProps: spec.SchemaProps{ 5182 Description: "MasterUserRecordUpdateFailureThreshold specifies the number of allowed failures before stopping attempts to update a MasterUserRecord", 5183 Type: []string{"integer"}, 5184 Format: "int32", 5185 }, 5186 }, 5187 "forbiddenUsernamePrefixes": { 5188 SchemaProps: spec.SchemaProps{ 5189 Description: "ForbiddenUsernamePrefixes is a comma-separated string that defines the prefixes that a username may not have when signing up. If a username has a forbidden prefix, then the username compliance prefix is added to the username", 5190 Type: []string{"string"}, 5191 Format: "", 5192 }, 5193 }, 5194 "forbiddenUsernameSuffixes": { 5195 SchemaProps: spec.SchemaProps{ 5196 Description: "ForbiddenUsernameSuffixes is a comma-separated string that defines the suffixes that a username may not have when signing up. If a username has a forbidden suffix, then the username compliance suffix is added to the username", 5197 Type: []string{"string"}, 5198 Format: "", 5199 }, 5200 }, 5201 }, 5202 }, 5203 }, 5204 } 5205 } 5206 5207 func schema_codeready_toolchain_api_api_v1alpha1_WebhookConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 5208 return common.OpenAPIDefinition{ 5209 Schema: spec.Schema{ 5210 SchemaProps: spec.SchemaProps{ 5211 Description: "Defines all parameters concerned with the Webhook", 5212 Type: []string{"object"}, 5213 Properties: map[string]spec.Schema{ 5214 "deploy": { 5215 SchemaProps: spec.SchemaProps{ 5216 Description: "Defines the flag that determines whether to deploy the Webhook", 5217 Type: []string{"boolean"}, 5218 Format: "", 5219 }, 5220 }, 5221 "secret": { 5222 SchemaProps: spec.SchemaProps{ 5223 Description: "Defines all secrets related to webhook configuration", 5224 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.WebhookSecret"), 5225 }, 5226 }, 5227 }, 5228 }, 5229 }, 5230 Dependencies: []string{ 5231 "github.com/codeready-toolchain/api/api/v1alpha1.WebhookSecret"}, 5232 } 5233 } 5234 5235 func schema_codeready_toolchain_api_api_v1alpha1_WebhookSecret(ref common.ReferenceCallback) common.OpenAPIDefinition { 5236 return common.OpenAPIDefinition{ 5237 Schema: spec.Schema{ 5238 SchemaProps: spec.SchemaProps{ 5239 Description: "WebhookSecret defines all secrets related to webhook configuration", 5240 Type: []string{"object"}, 5241 Properties: map[string]spec.Schema{ 5242 "ref": { 5243 SchemaProps: spec.SchemaProps{ 5244 Description: "Reference is the name of the secret resource to look up", 5245 Type: []string{"string"}, 5246 Format: "", 5247 }, 5248 }, 5249 "virtualMachineAccessKey": { 5250 SchemaProps: spec.SchemaProps{ 5251 Description: "The key in the secret values map that contains a comma-separated list of SSH keys", 5252 Type: []string{"string"}, 5253 Format: "", 5254 }, 5255 }, 5256 }, 5257 }, 5258 }, 5259 } 5260 } 5261 5262 func schema_codeready_toolchain_api_api_v1alpha1_Workspace(ref common.ReferenceCallback) common.OpenAPIDefinition { 5263 return common.OpenAPIDefinition{ 5264 Schema: spec.Schema{ 5265 SchemaProps: spec.SchemaProps{ 5266 Description: "Workspace is the Schema for the workspaces API but it is only for use by the Proxy. There will be no actual Workspace CRs in the host/member clusters. The CRD will be installed in member clusters for API discovery purposes only. The schema will be used by the proxy's workspace lister API.", 5267 Type: []string{"object"}, 5268 Properties: map[string]spec.Schema{ 5269 "kind": { 5270 SchemaProps: spec.SchemaProps{ 5271 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", 5272 Type: []string{"string"}, 5273 Format: "", 5274 }, 5275 }, 5276 "apiVersion": { 5277 SchemaProps: spec.SchemaProps{ 5278 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", 5279 Type: []string{"string"}, 5280 Format: "", 5281 }, 5282 }, 5283 "metadata": { 5284 SchemaProps: spec.SchemaProps{ 5285 Default: map[string]interface{}{}, 5286 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 5287 }, 5288 }, 5289 "status": { 5290 SchemaProps: spec.SchemaProps{ 5291 Default: map[string]interface{}{}, 5292 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.WorkspaceStatus"), 5293 }, 5294 }, 5295 }, 5296 }, 5297 }, 5298 Dependencies: []string{ 5299 "github.com/codeready-toolchain/api/api/v1alpha1.WorkspaceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 5300 } 5301 } 5302 5303 func schema_codeready_toolchain_api_api_v1alpha1_WorkspaceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 5304 return common.OpenAPIDefinition{ 5305 Schema: spec.Schema{ 5306 SchemaProps: spec.SchemaProps{ 5307 Description: "WorkspaceStatus defines the observed state of a Workspace", 5308 Type: []string{"object"}, 5309 Properties: map[string]spec.Schema{ 5310 "namespaces": { 5311 VendorExtensible: spec.VendorExtensible{ 5312 Extensions: spec.Extensions{ 5313 "x-kubernetes-list-type": "atomic", 5314 }, 5315 }, 5316 SchemaProps: spec.SchemaProps{ 5317 Description: "The list of namespaces belonging to the Workspace.", 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/codeready-toolchain/api/api/v1alpha1.SpaceNamespace"), 5324 }, 5325 }, 5326 }, 5327 }, 5328 }, 5329 "owner": { 5330 SchemaProps: spec.SchemaProps{ 5331 Description: "Owner the name of the UserSignup that owns the workspace. It’s the user who is being charged for the usage and whose quota is used for the workspace. There is only one user for this kind of relationship and it can be transferred to someone else during the lifetime of the workspace. By default, it’s the creator who becomes the owner as well.", 5332 Type: []string{"string"}, 5333 Format: "", 5334 }, 5335 }, 5336 "role": { 5337 SchemaProps: spec.SchemaProps{ 5338 Description: "Role defines what kind of permissions the user has in the given workspace.", 5339 Type: []string{"string"}, 5340 Format: "", 5341 }, 5342 }, 5343 "type": { 5344 SchemaProps: spec.SchemaProps{ 5345 Description: "Type defines the type of workspace. For example, \"home\" for a user's given workspace upon first signing up. It is currently valid for this value to be empty.", 5346 Type: []string{"string"}, 5347 Format: "", 5348 }, 5349 }, 5350 "availableRoles": { 5351 VendorExtensible: spec.VendorExtensible{ 5352 Extensions: spec.Extensions{ 5353 "x-kubernetes-list-type": "atomic", 5354 }, 5355 }, 5356 SchemaProps: spec.SchemaProps{ 5357 Description: "AvailableRoles contains the roles for this tier. For example, \"admin|contributor|maintainer\".", 5358 Type: []string{"array"}, 5359 Items: &spec.SchemaOrArray{ 5360 Schema: &spec.Schema{ 5361 SchemaProps: spec.SchemaProps{ 5362 Default: "", 5363 Type: []string{"string"}, 5364 Format: "", 5365 }, 5366 }, 5367 }, 5368 }, 5369 }, 5370 "bindings": { 5371 VendorExtensible: spec.VendorExtensible{ 5372 Extensions: spec.Extensions{ 5373 "x-kubernetes-list-type": "atomic", 5374 }, 5375 }, 5376 SchemaProps: spec.SchemaProps{ 5377 Description: "Bindings enumerates the permissions that have been granted to users within the current workspace, and actions that can be applied to those permissions.", 5378 Type: []string{"array"}, 5379 Items: &spec.SchemaOrArray{ 5380 Schema: &spec.Schema{ 5381 SchemaProps: spec.SchemaProps{ 5382 Default: map[string]interface{}{}, 5383 Ref: ref("github.com/codeready-toolchain/api/api/v1alpha1.Binding"), 5384 }, 5385 }, 5386 }, 5387 }, 5388 }, 5389 }, 5390 }, 5391 }, 5392 Dependencies: []string{ 5393 "github.com/codeready-toolchain/api/api/v1alpha1.Binding", "github.com/codeready-toolchain/api/api/v1alpha1.SpaceNamespace"}, 5394 } 5395 }