|
| 1 | +""" |
| 2 | +This file was generated by the KCL auto-gen tool. DO NOT EDIT. |
| 3 | +Editing this file might prove futile when you re-run the KCL auto-gen generate command. |
| 4 | +""" |
| 5 | +import k8s.apimachinery.pkg.apis.meta.v1 |
| 6 | + |
| 7 | + |
| 8 | +schema ProviderConfig: |
| 9 | + r""" |
| 10 | + A ProviderConfig configures a Template provider. |
| 11 | + |
| 12 | + Attributes |
| 13 | + ---------- |
| 14 | + apiVersion : str, default is "kubernetes.crossplane.io/v1alpha1", required |
| 15 | + 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 |
| 16 | + kind : str, default is "ProviderConfig", required |
| 17 | + 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 |
| 18 | + metadata : v1.ObjectMeta, default is Undefined, optional |
| 19 | + metadata |
| 20 | + spec : KubernetesCrossplaneIoV1alpha1ProviderConfigSpec, default is Undefined, required |
| 21 | + spec |
| 22 | + status : KubernetesCrossplaneIoV1alpha1ProviderConfigStatus, default is Undefined, optional |
| 23 | + status |
| 24 | + """ |
| 25 | + |
| 26 | + |
| 27 | + apiVersion: "kubernetes.crossplane.io/v1alpha1" = "kubernetes.crossplane.io/v1alpha1" |
| 28 | + |
| 29 | + kind: "ProviderConfig" = "ProviderConfig" |
| 30 | + |
| 31 | + metadata?: v1.ObjectMeta |
| 32 | + |
| 33 | + spec: KubernetesCrossplaneIoV1alpha1ProviderConfigSpec |
| 34 | + |
| 35 | + status?: KubernetesCrossplaneIoV1alpha1ProviderConfigStatus |
| 36 | + |
| 37 | + |
| 38 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpec: |
| 39 | + r""" |
| 40 | + A ProviderConfigSpec defines the desired state of a ProviderConfig. |
| 41 | + |
| 42 | + Attributes |
| 43 | + ---------- |
| 44 | + credentials : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentials, default is Undefined, required |
| 45 | + credentials |
| 46 | + identity : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentity, default is Undefined, optional |
| 47 | + identity |
| 48 | + """ |
| 49 | + |
| 50 | + |
| 51 | + credentials: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentials |
| 52 | + |
| 53 | + identity?: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentity |
| 54 | + |
| 55 | + |
| 56 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentials: |
| 57 | + r""" |
| 58 | + Credentials used to connect to the Kubernetes API. Typically a |
| 59 | + kubeconfig file. Use InjectedIdentity for in-cluster config. |
| 60 | + |
| 61 | + Attributes |
| 62 | + ---------- |
| 63 | + env : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsEnv, default is Undefined, optional |
| 64 | + env |
| 65 | + fs : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsFs, default is Undefined, optional |
| 66 | + fs |
| 67 | + secretRef : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsSecretRef, default is Undefined, optional |
| 68 | + secret ref |
| 69 | + source : str, default is Undefined, required |
| 70 | + Source of the provider credentials. |
| 71 | + """ |
| 72 | + |
| 73 | + |
| 74 | + env?: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsEnv |
| 75 | + |
| 76 | + fs?: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsFs |
| 77 | + |
| 78 | + secretRef?: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsSecretRef |
| 79 | + |
| 80 | + source: "None" | "Secret" | "InjectedIdentity" | "Environment" | "Filesystem" |
| 81 | + |
| 82 | + |
| 83 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsEnv: |
| 84 | + r""" |
| 85 | + Env is a reference to an environment variable that contains credentials |
| 86 | + that must be used to connect to the provider. |
| 87 | + |
| 88 | + Attributes |
| 89 | + ---------- |
| 90 | + name : str, default is Undefined, required |
| 91 | + Name is the name of an environment variable. |
| 92 | + """ |
| 93 | + |
| 94 | + |
| 95 | + name: str |
| 96 | + |
| 97 | + |
| 98 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsFs: |
| 99 | + r""" |
| 100 | + Fs is a reference to a filesystem location that contains credentials that |
| 101 | + must be used to connect to the provider. |
| 102 | + |
| 103 | + Attributes |
| 104 | + ---------- |
| 105 | + path : str, default is Undefined, required |
| 106 | + Path is a filesystem path. |
| 107 | + """ |
| 108 | + |
| 109 | + |
| 110 | + path: str |
| 111 | + |
| 112 | + |
| 113 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecCredentialsSecretRef: |
| 114 | + r""" |
| 115 | + A SecretRef is a reference to a secret key that contains the credentials |
| 116 | + that must be used to connect to the provider. |
| 117 | + |
| 118 | + Attributes |
| 119 | + ---------- |
| 120 | + key : str, default is Undefined, required |
| 121 | + The key to select. |
| 122 | + name : str, default is Undefined, required |
| 123 | + Name of the secret. |
| 124 | + namespace : str, default is Undefined, required |
| 125 | + Namespace of the secret. |
| 126 | + """ |
| 127 | + |
| 128 | + |
| 129 | + key: str |
| 130 | + |
| 131 | + name: str |
| 132 | + |
| 133 | + namespace: str |
| 134 | + |
| 135 | + |
| 136 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentity: |
| 137 | + r""" |
| 138 | + Identity used to authenticate to the Kubernetes API. The identity |
| 139 | + credentials can be used to supplement kubeconfig 'credentials', for |
| 140 | + example by configuring a bearer token source such as OAuth. |
| 141 | + |
| 142 | + Attributes |
| 143 | + ---------- |
| 144 | + env : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentityEnv, default is Undefined, optional |
| 145 | + env |
| 146 | + fs : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentityFs, default is Undefined, optional |
| 147 | + fs |
| 148 | + secretRef : KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentitySecretRef, default is Undefined, optional |
| 149 | + secret ref |
| 150 | + source : str, default is Undefined, required |
| 151 | + Source of the provider credentials. |
| 152 | + $type : str, default is Undefined, required |
| 153 | + Type of identity. |
| 154 | + """ |
| 155 | + |
| 156 | + |
| 157 | + env?: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentityEnv |
| 158 | + |
| 159 | + fs?: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentityFs |
| 160 | + |
| 161 | + secretRef?: KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentitySecretRef |
| 162 | + |
| 163 | + source: "None" | "Secret" | "InjectedIdentity" | "Environment" | "Filesystem" |
| 164 | + |
| 165 | + $type: "GoogleApplicationCredentials" | "AzureServicePrincipalCredentials" | "AzureWorkloadIdentityCredentials" | "UpboundTokens" |
| 166 | + |
| 167 | + |
| 168 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentityEnv: |
| 169 | + r""" |
| 170 | + Env is a reference to an environment variable that contains credentials |
| 171 | + that must be used to connect to the provider. |
| 172 | + |
| 173 | + Attributes |
| 174 | + ---------- |
| 175 | + name : str, default is Undefined, required |
| 176 | + Name is the name of an environment variable. |
| 177 | + """ |
| 178 | + |
| 179 | + |
| 180 | + name: str |
| 181 | + |
| 182 | + |
| 183 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentityFs: |
| 184 | + r""" |
| 185 | + Fs is a reference to a filesystem location that contains credentials that |
| 186 | + must be used to connect to the provider. |
| 187 | + |
| 188 | + Attributes |
| 189 | + ---------- |
| 190 | + path : str, default is Undefined, required |
| 191 | + Path is a filesystem path. |
| 192 | + """ |
| 193 | + |
| 194 | + |
| 195 | + path: str |
| 196 | + |
| 197 | + |
| 198 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigSpecIdentitySecretRef: |
| 199 | + r""" |
| 200 | + A SecretRef is a reference to a secret key that contains the credentials |
| 201 | + that must be used to connect to the provider. |
| 202 | + |
| 203 | + Attributes |
| 204 | + ---------- |
| 205 | + key : str, default is Undefined, required |
| 206 | + The key to select. |
| 207 | + name : str, default is Undefined, required |
| 208 | + Name of the secret. |
| 209 | + namespace : str, default is Undefined, required |
| 210 | + Namespace of the secret. |
| 211 | + """ |
| 212 | + |
| 213 | + |
| 214 | + key: str |
| 215 | + |
| 216 | + name: str |
| 217 | + |
| 218 | + namespace: str |
| 219 | + |
| 220 | + |
| 221 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigStatus: |
| 222 | + r""" |
| 223 | + A ProviderConfigStatus reflects the observed state of a ProviderConfig. |
| 224 | + |
| 225 | + Attributes |
| 226 | + ---------- |
| 227 | + conditions : [KubernetesCrossplaneIoV1alpha1ProviderConfigStatusConditionsItems0], default is Undefined, optional |
| 228 | + Conditions of the resource. |
| 229 | + users : int, default is Undefined, optional |
| 230 | + Users of this provider configuration. |
| 231 | + """ |
| 232 | + |
| 233 | + |
| 234 | + conditions?: [KubernetesCrossplaneIoV1alpha1ProviderConfigStatusConditionsItems0] |
| 235 | + |
| 236 | + users?: int |
| 237 | + |
| 238 | + |
| 239 | +schema KubernetesCrossplaneIoV1alpha1ProviderConfigStatusConditionsItems0: |
| 240 | + r""" |
| 241 | + A Condition that may apply to a resource. |
| 242 | + |
| 243 | + Attributes |
| 244 | + ---------- |
| 245 | + lastTransitionTime : str, default is Undefined, required |
| 246 | + LastTransitionTime is the last time this condition transitioned from one |
| 247 | + status to another. |
| 248 | + message : str, default is Undefined, optional |
| 249 | + A Message containing details about this condition's last transition from |
| 250 | + one status to another, if any. |
| 251 | + observedGeneration : int, default is Undefined, optional |
| 252 | + ObservedGeneration represents the .metadata.generation that the condition was set based upon. |
| 253 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 254 | + with respect to the current state of the instance. |
| 255 | + reason : str, default is Undefined, required |
| 256 | + A Reason for this condition's last transition from one status to another. |
| 257 | + status : str, default is Undefined, required |
| 258 | + Status of this condition; is it currently True, False, or Unknown? |
| 259 | + $type : str, default is Undefined, required |
| 260 | + Type of this condition. At most one of each condition type may apply to |
| 261 | + a resource at any point in time. |
| 262 | + """ |
| 263 | + |
| 264 | + |
| 265 | + lastTransitionTime: str |
| 266 | + |
| 267 | + message?: str |
| 268 | + |
| 269 | + observedGeneration?: int |
| 270 | + |
| 271 | + reason: str |
| 272 | + |
| 273 | + status: str |
| 274 | + |
| 275 | + $type: str |
| 276 | + |
| 277 | + |
0 commit comments