v1alpha1

package
v0.0.1-test-fake Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubernetes-sigs/federation-v2/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=core.federation.k8s.io

Copyright 2018 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	// Define CRDs for resources
	FederatedClusterCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedclusters.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedCluster",
				Plural: "federatedclusters",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterRef": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
								"secretRef": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"conditions": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "object",
											Properties: map[string]v1beta1.JSONSchemaProps{
												"lastProbeTime": v1beta1.JSONSchemaProps{
													Type:   "string",
													Format: "date-time",
												},
												"lastTransitionTime": v1beta1.JSONSchemaProps{
													Type:   "string",
													Format: "date-time",
												},
												"message": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"reason": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"status": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"type": v1beta1.JSONSchemaProps{
													Type: "string",
												},
											},
											Required: []string{
												"type",
												"status",
											}},
									},
								},
								"region": v1beta1.JSONSchemaProps{
									Type: "string",
								},
								"zone": v1beta1.JSONSchemaProps{
									Type: "string",
								},
							},
						},
					},
				},
			},
			Subresources: &v1beta1.CustomResourceSubresources{
				Status: &v1beta1.CustomResourceSubresourceStatus{},
			},
		},
	}
	// Define CRDs for resources
	FederatedConfigMapCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedconfigmaps.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedConfigMap",
				Plural: "federatedconfigmaps",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"template": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedConfigMapOverrideCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedconfigmapoverrides.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedConfigMapOverride",
				Plural: "federatedconfigmapoverrides",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"overrides": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "object",
											Properties: map[string]v1beta1.JSONSchemaProps{
												"clusterName": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"data": v1beta1.JSONSchemaProps{
													Type: "object",
												},
											},
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedConfigMapPlacementCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedconfigmapplacements.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedConfigMapPlacement",
				Plural: "federatedconfigmapplacements",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterNames": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedDeploymentCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federateddeployments.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedDeployment",
				Plural: "federateddeployments",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"template": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedDeploymentOverrideCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federateddeploymentoverrides.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedDeploymentOverride",
				Plural: "federateddeploymentoverrides",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"overrides": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "object",
											Properties: map[string]v1beta1.JSONSchemaProps{
												"clusterName": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"replicas": v1beta1.JSONSchemaProps{
													Type:   "integer",
													Format: "int32",
												},
											},
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedDeploymentPlacementCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federateddeploymentplacements.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedDeploymentPlacement",
				Plural: "federateddeploymentplacements",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterNames": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedJobCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedjobs.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedJob",
				Plural: "federatedjobs",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"template": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedJobOverrideCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedjoboverrides.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedJobOverride",
				Plural: "federatedjoboverrides",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"overrides": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "object",
											Properties: map[string]v1beta1.JSONSchemaProps{
												"clusterName": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"parallelism": v1beta1.JSONSchemaProps{
													Type:   "integer",
													Format: "int32",
												},
											},
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedJobPlacementCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedjobplacements.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedJobPlacement",
				Plural: "federatedjobplacements",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterNames": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedNamespacePlacementCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatednamespaceplacements.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedNamespacePlacement",
				Plural: "federatednamespaceplacements",
			},
			Scope: "Cluster",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterNames": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedReplicaSetCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedreplicasets.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedReplicaSet",
				Plural: "federatedreplicasets",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"template": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedReplicaSetOverrideCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedreplicasetoverrides.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedReplicaSetOverride",
				Plural: "federatedreplicasetoverrides",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"overrides": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "object",
											Properties: map[string]v1beta1.JSONSchemaProps{
												"clusterName": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"replicas": v1beta1.JSONSchemaProps{
													Type:   "integer",
													Format: "int32",
												},
											},
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedReplicaSetPlacementCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedreplicasetplacements.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedReplicaSetPlacement",
				Plural: "federatedreplicasetplacements",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterNames": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedSecretCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedsecrets.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedSecret",
				Plural: "federatedsecrets",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"template": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedSecretOverrideCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedsecretoverrides.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedSecretOverride",
				Plural: "federatedsecretoverrides",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"overrides": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "object",
											Properties: map[string]v1beta1.JSONSchemaProps{
												"clusterName": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"data": v1beta1.JSONSchemaProps{
													Type: "object",
												},
											},
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedSecretPlacementCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedsecretplacements.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedSecretPlacement",
				Plural: "federatedsecretplacements",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterNames": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedServiceCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedservices.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedService",
				Plural: "federatedservices",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"template": v1beta1.JSONSchemaProps{
									Type:       "object",
									Properties: map[string]v1beta1.JSONSchemaProps{},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedServicePlacementCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedserviceplacements.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedServicePlacement",
				Plural: "federatedserviceplacements",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterNames": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
							},
						},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	FederatedTypeConfigCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "federatedtypeconfigs.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "FederatedTypeConfig",
				Plural: "federatedtypeconfigs",
			},
			Scope: "Cluster",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Type: "object",
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"comparisonField": v1beta1.JSONSchemaProps{
									Type: "string",
								},
								"namespaced": v1beta1.JSONSchemaProps{
									Type: "boolean",
								},
								"override": v1beta1.JSONSchemaProps{
									Type: "object",
									Properties: map[string]v1beta1.JSONSchemaProps{
										"group": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"kind": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"pluralName": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"version": v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
									Required: []string{
										"kind",
									}},
								"overridePath": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
								},
								"placement": v1beta1.JSONSchemaProps{
									Type: "object",
									Properties: map[string]v1beta1.JSONSchemaProps{
										"group": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"kind": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"pluralName": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"version": v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
									Required: []string{
										"kind",
									}},
								"propagationEnabled": v1beta1.JSONSchemaProps{
									Type: "boolean",
								},
								"target": v1beta1.JSONSchemaProps{
									Type: "object",
									Properties: map[string]v1beta1.JSONSchemaProps{
										"group": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"kind": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"pluralName": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"version": v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
									Required: []string{
										"kind",
									}},
								"template": v1beta1.JSONSchemaProps{
									Type: "object",
									Properties: map[string]v1beta1.JSONSchemaProps{
										"group": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"kind": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"pluralName": v1beta1.JSONSchemaProps{
											Type: "string",
										},
										"version": v1beta1.JSONSchemaProps{
											Type: "string",
										},
									},
									Required: []string{
										"kind",
									}},
							},
							Required: []string{
								"target",
								"namespaced",
								"comparisonField",
								"propagationEnabled",
								"template",
								"placement",
							}},
						"status": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
					},
				},
			},
		},
	}
	// Define CRDs for resources
	PropagatedVersionCRD = v1beta1.CustomResourceDefinition{
		ObjectMeta: metav1.ObjectMeta{
			Name: "propagatedversions.core.federation.k8s.io",
		},
		Spec: v1beta1.CustomResourceDefinitionSpec{
			Group:   "core.federation.k8s.io",
			Version: "v1alpha1",
			Names: v1beta1.CustomResourceDefinitionNames{
				Kind:   "PropagatedVersion",
				Plural: "propagatedversions",
			},
			Scope: "Namespaced",
			Validation: &v1beta1.CustomResourceValidation{
				OpenAPIV3Schema: &v1beta1.JSONSchemaProps{
					Properties: map[string]v1beta1.JSONSchemaProps{
						"apiVersion": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"kind": v1beta1.JSONSchemaProps{
							Type: "string",
						},
						"metadata": v1beta1.JSONSchemaProps{
							Type: "object",
						},
						"spec": v1beta1.JSONSchemaProps{
							Type:       "object",
							Properties: map[string]v1beta1.JSONSchemaProps{},
						},
						"status": v1beta1.JSONSchemaProps{
							Type: "object",
							Properties: map[string]v1beta1.JSONSchemaProps{
								"clusterVersions": v1beta1.JSONSchemaProps{
									Type: "array",
									Items: &v1beta1.JSONSchemaPropsOrArray{
										Schema: &v1beta1.JSONSchemaProps{
											Type: "object",
											Properties: map[string]v1beta1.JSONSchemaProps{
												"clusterName": v1beta1.JSONSchemaProps{
													Type: "string",
												},
												"version": v1beta1.JSONSchemaProps{
													Type: "string",
												},
											},
										},
									},
								},
								"overridesVersion": v1beta1.JSONSchemaProps{
									Type: "string",
								},
								"templateVersion": v1beta1.JSONSchemaProps{
									Type: "string",
								},
							},
						},
					},
				},
			},
			Subresources: &v1beta1.CustomResourceSubresources{
				Status: &v1beta1.CustomResourceSubresourceStatus{},
			},
		},
	}
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "core.federation.k8s.io", Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetFederatedTypeConfigDefaults

func SetFederatedTypeConfigDefaults(obj *FederatedTypeConfig)

Types

type APIResource

type APIResource struct {

	// Group of the resource.
	Group string `json:"group,omitempty"`
	// Version of the resource.
	Version string `json:"version,omitempty"`
	// Camel-cased singular name of the resource (e.g. ConfigMap)
	Kind string `json:"kind"`
	// Lower-cased plural name of the resource (e.g. configmaps).  If
	// not provided, it will be computed by lower-casing the kind and
	// suffixing an 's'.
	PluralName string `json:"pluralName,omitempty"`
}

APIResource defines how to configure the dynamic client for an api resource.

func (*APIResource) DeepCopy

func (in *APIResource) DeepCopy() *APIResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResource.

func (*APIResource) DeepCopyInto

func (in *APIResource) DeepCopyInto(out *APIResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterCondition

type ClusterCondition struct {
	// Type of cluster condition, Ready or Offline.
	Type common.ClusterConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status apiv1.ConditionStatus `json:"status"`
	// Last time the condition was checked.
	// +optional
	LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"`
	// Last time the condition transit from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// (brief) reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`
	// Human readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty"`
}

ClusterCondition describes current state of a cluster.

func (*ClusterCondition) DeepCopy

func (in *ClusterCondition) DeepCopy() *ClusterCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.

func (*ClusterCondition) DeepCopyInto

func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterObjectVersion

type ClusterObjectVersion struct {
	ClusterName string `json:"clusterName,omitempty"`
	Version     string `json:"version,omitempty"`
}

func (*ClusterObjectVersion) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectVersion.

func (*ClusterObjectVersion) DeepCopyInto

func (in *ClusterObjectVersion) DeepCopyInto(out *ClusterObjectVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedCluster

type FederatedCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedClusterSpec   `json:"spec,omitempty"`
	Status FederatedClusterStatus `json:"status,omitempty"`
}

FederatedCluster +k8s:openapi-gen=true +kubebuilder:resource:path=federatedclusters +kubebuilder:subresource:status

func (*FederatedCluster) DeepCopy

func (in *FederatedCluster) DeepCopy() *FederatedCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedCluster.

func (*FederatedCluster) DeepCopyInto

func (in *FederatedCluster) DeepCopyInto(out *FederatedCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedCluster) DeepCopyObject

func (in *FederatedCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedClusterList

type FederatedClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedCluster `json:"items"`
}

func (*FederatedClusterList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedClusterList.

func (*FederatedClusterList) DeepCopyInto

func (in *FederatedClusterList) DeepCopyInto(out *FederatedClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedClusterList) DeepCopyObject

func (in *FederatedClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedClusterSpec

type FederatedClusterSpec struct {
	// Name of the cluster resource from which to source api endpoints
	// TODO(marun) should this go away in favor of a 1:1 mapping?
	ClusterRef apiv1.LocalObjectReference `json:"clusterRef,omitempty"`

	// Name of the secret containing kubeconfig to access the referenced cluster.
	//
	// Admin needs to ensure that the required secret exists. Secret
	// should be in the same namespace where federation control plane
	// is hosted and it should have kubeconfig in its data with key
	// "kubeconfig".
	//
	// This will later be changed to a reference to secret in
	// federation control plane when the federation control plane
	// supports secrets.
	//
	// This can be left empty if the cluster allows insecure access.
	// +optional
	SecretRef *apiv1.LocalObjectReference `json:"secretRef,omitempty"`
}

FederatedClusterSpec defines the desired state of FederatedCluster

func (*FederatedClusterSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedClusterSpec.

func (*FederatedClusterSpec) DeepCopyInto

func (in *FederatedClusterSpec) DeepCopyInto(out *FederatedClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedClusterStatus

type FederatedClusterStatus struct {
	// Conditions is an array of current cluster conditions.
	// +optional
	Conditions []ClusterCondition `json:"conditions,omitempty"`
	// Zone is the name of availability zone in which the nodes of the cluster exist, e.g. 'us-east1-a'.
	// +optional
	Zone string `json:"zone,omitempty"`
	// Region is the name of the region in which all of the nodes in the cluster exist.  e.g. 'us-east1'.
	// +optional
	Region string `json:"region,omitempty"`
}

FederatedClusterStatus is information about the current status of a cluster updated by cluster controller periodically.

func (*FederatedClusterStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedClusterStatus.

func (*FederatedClusterStatus) DeepCopyInto

func (in *FederatedClusterStatus) DeepCopyInto(out *FederatedClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedConfigMap

type FederatedConfigMap struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedConfigMapSpec   `json:"spec,omitempty"`
	Status FederatedConfigMapStatus `json:"status,omitempty"`
}

FederatedConfigMap +k8s:openapi-gen=true +kubebuilder:resource:path=federatedconfigmaps

func (*FederatedConfigMap) DeepCopy

func (in *FederatedConfigMap) DeepCopy() *FederatedConfigMap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMap.

func (*FederatedConfigMap) DeepCopyInto

func (in *FederatedConfigMap) DeepCopyInto(out *FederatedConfigMap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedConfigMap) DeepCopyObject

func (in *FederatedConfigMap) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedConfigMapClusterOverride

type FederatedConfigMapClusterOverride struct {
	// TODO(marun) Need to ensure that a cluster name only appears
	// once.  Why can't maps be used so this validation is automatic?
	ClusterName string            `json:"clusterName,omitempty"`
	Data        map[string]string `json:"data,omitempty"`
}

FederatedConfigMapClusterOverride defines the overrides for a named cluster

func (*FederatedConfigMapClusterOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapClusterOverride.

func (*FederatedConfigMapClusterOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedConfigMapList

type FederatedConfigMapList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedConfigMap `json:"items"`
}

func (*FederatedConfigMapList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapList.

func (*FederatedConfigMapList) DeepCopyInto

func (in *FederatedConfigMapList) DeepCopyInto(out *FederatedConfigMapList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedConfigMapList) DeepCopyObject

func (in *FederatedConfigMapList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedConfigMapOverride

type FederatedConfigMapOverride struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedConfigMapOverrideSpec   `json:"spec,omitempty"`
	Status FederatedConfigMapOverrideStatus `json:"status,omitempty"`
}

FederatedConfigMapOverride +k8s:openapi-gen=true +kubebuilder:resource:path=federatedconfigmapoverrides

func (*FederatedConfigMapOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapOverride.

func (*FederatedConfigMapOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedConfigMapOverride) DeepCopyObject

func (in *FederatedConfigMapOverride) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedConfigMapOverrideList

type FederatedConfigMapOverrideList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedConfigMapOverride `json:"items"`
}

func (*FederatedConfigMapOverrideList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapOverrideList.

func (*FederatedConfigMapOverrideList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedConfigMapOverrideList) DeepCopyObject

func (in *FederatedConfigMapOverrideList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedConfigMapOverrideSpec

type FederatedConfigMapOverrideSpec struct {
	Overrides []FederatedConfigMapClusterOverride `json:"overrides,omitempty"`
}

FederatedConfigMapOverrideSpec defines the desired state of FederatedConfigMapOverride

func (*FederatedConfigMapOverrideSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapOverrideSpec.

func (*FederatedConfigMapOverrideSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedConfigMapOverrideStatus

type FederatedConfigMapOverrideStatus struct {
}

FederatedConfigMapOverrideStatus defines the observed state of FederatedConfigMapOverride

func (*FederatedConfigMapOverrideStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapOverrideStatus.

func (*FederatedConfigMapOverrideStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedConfigMapPlacement

type FederatedConfigMapPlacement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedConfigMapPlacementSpec   `json:"spec,omitempty"`
	Status FederatedConfigMapPlacementStatus `json:"status,omitempty"`
}

FederatedConfigMapPlacement +k8s:openapi-gen=true +kubebuilder:resource:path=federatedconfigmapplacements

func (*FederatedConfigMapPlacement) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapPlacement.

func (*FederatedConfigMapPlacement) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedConfigMapPlacement) DeepCopyObject

func (in *FederatedConfigMapPlacement) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedConfigMapPlacementList

type FederatedConfigMapPlacementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedConfigMapPlacement `json:"items"`
}

func (*FederatedConfigMapPlacementList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapPlacementList.

func (*FederatedConfigMapPlacementList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedConfigMapPlacementList) DeepCopyObject

func (in *FederatedConfigMapPlacementList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedConfigMapPlacementSpec

type FederatedConfigMapPlacementSpec struct {
	ClusterNames []string `json:"clusterNames,omitempty"`
}

FederatedConfigMapPlacementSpec defines the desired state of FederatedConfigMapPlacement

func (*FederatedConfigMapPlacementSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapPlacementSpec.

func (*FederatedConfigMapPlacementSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedConfigMapPlacementStatus

type FederatedConfigMapPlacementStatus struct {
}

FederatedConfigMapPlacementStatus defines the observed state of FederatedConfigMapPlacement

func (*FederatedConfigMapPlacementStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapPlacementStatus.

func (*FederatedConfigMapPlacementStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedConfigMapSpec

type FederatedConfigMapSpec struct {
	// Template to derive per-cluster configmap from
	Template corev1.ConfigMap `json:"template,omitempty"`
}

FederatedConfigMapSpec defines the desired state of FederatedConfigMap

func (*FederatedConfigMapSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapSpec.

func (*FederatedConfigMapSpec) DeepCopyInto

func (in *FederatedConfigMapSpec) DeepCopyInto(out *FederatedConfigMapSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedConfigMapStatus

type FederatedConfigMapStatus struct {
}

FederatedConfigMapStatus defines the observed state of FederatedConfigMap

func (*FederatedConfigMapStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedConfigMapStatus.

func (*FederatedConfigMapStatus) DeepCopyInto

func (in *FederatedConfigMapStatus) DeepCopyInto(out *FederatedConfigMapStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedDeployment

type FederatedDeployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedDeploymentSpec   `json:"spec,omitempty"`
	Status FederatedDeploymentStatus `json:"status,omitempty"`
}

FederatedDeployment +k8s:openapi-gen=true +kubebuilder:resource:path=federateddeployments

func (*FederatedDeployment) DeepCopy

func (in *FederatedDeployment) DeepCopy() *FederatedDeployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeployment.

func (*FederatedDeployment) DeepCopyInto

func (in *FederatedDeployment) DeepCopyInto(out *FederatedDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedDeployment) DeepCopyObject

func (in *FederatedDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedDeploymentClusterOverride

type FederatedDeploymentClusterOverride struct {
	// TODO(marun) Need to ensure that a cluster name only appears
	// once.  Why can't maps be used so this validation is automatic?
	ClusterName string `json:"clusterName,omitempty"`
	Replicas    *int32 `json:"replicas,omitempty"`
}

FederatedReplicaSetClusterOverride defines the overrides for a named cluster

func (*FederatedDeploymentClusterOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentClusterOverride.

func (*FederatedDeploymentClusterOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedDeploymentList

type FederatedDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedDeployment `json:"items"`
}

func (*FederatedDeploymentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentList.

func (*FederatedDeploymentList) DeepCopyInto

func (in *FederatedDeploymentList) DeepCopyInto(out *FederatedDeploymentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedDeploymentList) DeepCopyObject

func (in *FederatedDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedDeploymentOverride

type FederatedDeploymentOverride struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedDeploymentOverrideSpec   `json:"spec,omitempty"`
	Status FederatedDeploymentOverrideStatus `json:"status,omitempty"`
}

FederatedDeploymentOverride +k8s:openapi-gen=true +kubebuilder:resource:path=federateddeploymentoverrides

func (*FederatedDeploymentOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentOverride.

func (*FederatedDeploymentOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedDeploymentOverride) DeepCopyObject

func (in *FederatedDeploymentOverride) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedDeploymentOverrideList

type FederatedDeploymentOverrideList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedDeploymentOverride `json:"items"`
}

func (*FederatedDeploymentOverrideList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentOverrideList.

func (*FederatedDeploymentOverrideList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedDeploymentOverrideList) DeepCopyObject

func (in *FederatedDeploymentOverrideList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedDeploymentOverrideSpec

type FederatedDeploymentOverrideSpec struct {
	Overrides []FederatedDeploymentClusterOverride `json:"overrides,omitempty"`
}

FederatedDeploymentOverrideSpec defines the desired state of FederatedDeploymentOverride

func (*FederatedDeploymentOverrideSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentOverrideSpec.

func (*FederatedDeploymentOverrideSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedDeploymentOverrideStatus

type FederatedDeploymentOverrideStatus struct {
}

FederatedDeploymentOverrideStatus defines the observed state of FederatedDeploymentOverride

func (*FederatedDeploymentOverrideStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentOverrideStatus.

func (*FederatedDeploymentOverrideStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedDeploymentPlacement

type FederatedDeploymentPlacement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedDeploymentPlacementSpec   `json:"spec,omitempty"`
	Status FederatedDeploymentPlacementStatus `json:"status,omitempty"`
}

FederatedDeploymentPlacement +k8s:openapi-gen=true +kubebuilder:resource:path=federateddeploymentplacements

func (*FederatedDeploymentPlacement) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentPlacement.

func (*FederatedDeploymentPlacement) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedDeploymentPlacement) DeepCopyObject

func (in *FederatedDeploymentPlacement) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedDeploymentPlacementList

type FederatedDeploymentPlacementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedDeploymentPlacement `json:"items"`
}

func (*FederatedDeploymentPlacementList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentPlacementList.

func (*FederatedDeploymentPlacementList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedDeploymentPlacementList) DeepCopyObject

func (in *FederatedDeploymentPlacementList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedDeploymentPlacementSpec

type FederatedDeploymentPlacementSpec struct {
	ClusterNames []string `json:"clusterNames,omitempty"`
}

FederatedDeploymentPlacementSpec defines the desired state of FederatedDeploymentPlacement

func (*FederatedDeploymentPlacementSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentPlacementSpec.

func (*FederatedDeploymentPlacementSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedDeploymentPlacementStatus

type FederatedDeploymentPlacementStatus struct {
}

FederatedDeploymentPlacementStatus defines the observed state of FederatedDeploymentPlacement

func (*FederatedDeploymentPlacementStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentPlacementStatus.

func (*FederatedDeploymentPlacementStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedDeploymentSpec

type FederatedDeploymentSpec struct {
	Template appsv1.Deployment `json:"template,omitempty"`
}

FederatedDeploymentSpec defines the desired state of FederatedDeployment

func (*FederatedDeploymentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentSpec.

func (*FederatedDeploymentSpec) DeepCopyInto

func (in *FederatedDeploymentSpec) DeepCopyInto(out *FederatedDeploymentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedDeploymentStatus

type FederatedDeploymentStatus struct {
}

FederatedDeploymentStatus defines the observed state of FederatedDeployment

func (*FederatedDeploymentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedDeploymentStatus.

func (*FederatedDeploymentStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedJob

type FederatedJob struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedJobSpec   `json:"spec,omitempty"`
	Status FederatedJobStatus `json:"status,omitempty"`
}

FederatedJob +k8s:openapi-gen=true +kubebuilder:resource:path=federatedjobs

func (*FederatedJob) DeepCopy

func (in *FederatedJob) DeepCopy() *FederatedJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJob.

func (*FederatedJob) DeepCopyInto

func (in *FederatedJob) DeepCopyInto(out *FederatedJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedJob) DeepCopyObject

func (in *FederatedJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedJobClusterOverride

type FederatedJobClusterOverride struct {
	// TODO(marun) Need to ensure that a cluster name only appears
	// once.  Why can't maps be used so this validation is automatic?
	ClusterName string `json:"clusterName,omitempty"`
	Parallelism *int32 `json:"parallelism,omitempty"`
}

FederatedJobClusterOverride defines the overrides for a named cluster

func (*FederatedJobClusterOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobClusterOverride.

func (*FederatedJobClusterOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedJobList

type FederatedJobList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedJob `json:"items"`
}

func (*FederatedJobList) DeepCopy

func (in *FederatedJobList) DeepCopy() *FederatedJobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobList.

func (*FederatedJobList) DeepCopyInto

func (in *FederatedJobList) DeepCopyInto(out *FederatedJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedJobList) DeepCopyObject

func (in *FederatedJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedJobOverride

type FederatedJobOverride struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedJobOverrideSpec   `json:"spec,omitempty"`
	Status FederatedJobOverrideStatus `json:"status,omitempty"`
}

FederatedJobOverride +k8s:openapi-gen=true +kubebuilder:resource:path=federatedjoboverrides

func (*FederatedJobOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobOverride.

func (*FederatedJobOverride) DeepCopyInto

func (in *FederatedJobOverride) DeepCopyInto(out *FederatedJobOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedJobOverride) DeepCopyObject

func (in *FederatedJobOverride) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedJobOverrideList

type FederatedJobOverrideList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedJobOverride `json:"items"`
}

func (*FederatedJobOverrideList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobOverrideList.

func (*FederatedJobOverrideList) DeepCopyInto

func (in *FederatedJobOverrideList) DeepCopyInto(out *FederatedJobOverrideList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedJobOverrideList) DeepCopyObject

func (in *FederatedJobOverrideList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedJobOverrideSpec

type FederatedJobOverrideSpec struct {
	Overrides []FederatedJobClusterOverride `json:"overrides,omitempty"`
}

FederatedJobOverrideSpec defines the desired state of FederatedJobOverride

func (*FederatedJobOverrideSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobOverrideSpec.

func (*FederatedJobOverrideSpec) DeepCopyInto

func (in *FederatedJobOverrideSpec) DeepCopyInto(out *FederatedJobOverrideSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedJobOverrideStatus

type FederatedJobOverrideStatus struct {
}

FederatedJobOverrideStatus defines the observed state of FederatedJobOverride

func (*FederatedJobOverrideStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobOverrideStatus.

func (*FederatedJobOverrideStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedJobPlacement

type FederatedJobPlacement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedJobPlacementSpec   `json:"spec,omitempty"`
	Status FederatedJobPlacementStatus `json:"status,omitempty"`
}

FederatedJobPlacement +k8s:openapi-gen=true +kubebuilder:resource:path=federatedjobplacements

func (*FederatedJobPlacement) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobPlacement.

func (*FederatedJobPlacement) DeepCopyInto

func (in *FederatedJobPlacement) DeepCopyInto(out *FederatedJobPlacement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedJobPlacement) DeepCopyObject

func (in *FederatedJobPlacement) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedJobPlacementList

type FederatedJobPlacementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedJobPlacement `json:"items"`
}

func (*FederatedJobPlacementList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobPlacementList.

func (*FederatedJobPlacementList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedJobPlacementList) DeepCopyObject

func (in *FederatedJobPlacementList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedJobPlacementSpec

type FederatedJobPlacementSpec struct {
	ClusterNames []string `json:"clusterNames,omitempty"`
}

FederatedJobPlacementSpec defines the desired state of FederatedJobPlacement

func (*FederatedJobPlacementSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobPlacementSpec.

func (*FederatedJobPlacementSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedJobPlacementStatus

type FederatedJobPlacementStatus struct {
}

FederatedJobPlacementStatus defines the observed state of FederatedJobPlacement

func (*FederatedJobPlacementStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobPlacementStatus.

func (*FederatedJobPlacementStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedJobSpec

type FederatedJobSpec struct {
	Template batchv1.Job `json:"template,omitempty"`
}

FederatedJobSpec defines the desired state of FederatedJob

func (*FederatedJobSpec) DeepCopy

func (in *FederatedJobSpec) DeepCopy() *FederatedJobSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobSpec.

func (*FederatedJobSpec) DeepCopyInto

func (in *FederatedJobSpec) DeepCopyInto(out *FederatedJobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedJobStatus

type FederatedJobStatus struct {
}

FederatedJobStatus defines the observed state of FederatedJob

func (*FederatedJobStatus) DeepCopy

func (in *FederatedJobStatus) DeepCopy() *FederatedJobStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedJobStatus.

func (*FederatedJobStatus) DeepCopyInto

func (in *FederatedJobStatus) DeepCopyInto(out *FederatedJobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedNamespacePlacement

type FederatedNamespacePlacement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedNamespacePlacementSpec   `json:"spec,omitempty"`
	Status FederatedNamespacePlacementStatus `json:"status,omitempty"`
}

FederatedNamespacePlacement +k8s:openapi-gen=true +kubebuilder:resource:path=federatednamespaceplacements

func (*FederatedNamespacePlacement) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedNamespacePlacement.

func (*FederatedNamespacePlacement) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedNamespacePlacement) DeepCopyObject

func (in *FederatedNamespacePlacement) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedNamespacePlacementList

type FederatedNamespacePlacementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedNamespacePlacement `json:"items"`
}

func (*FederatedNamespacePlacementList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedNamespacePlacementList.

func (*FederatedNamespacePlacementList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedNamespacePlacementList) DeepCopyObject

func (in *FederatedNamespacePlacementList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedNamespacePlacementSpec

type FederatedNamespacePlacementSpec struct {
	// Names of the clusters that a federated resource should exist in.
	ClusterNames []string `json:"clusterNames,omitempty"`
}

FederatedNamespacePlacementSpec defines the desired state of FederatedNamespacePlacement

func (*FederatedNamespacePlacementSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedNamespacePlacementSpec.

func (*FederatedNamespacePlacementSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedNamespacePlacementStatus

type FederatedNamespacePlacementStatus struct {
}

FederatedNamespacePlacementStatus defines the observed state of FederatedNamespacePlacement

func (*FederatedNamespacePlacementStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedNamespacePlacementStatus.

func (*FederatedNamespacePlacementStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedReplicaSet

type FederatedReplicaSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedReplicaSetSpec   `json:"spec,omitempty"`
	Status FederatedReplicaSetStatus `json:"status,omitempty"`
}

FederatedReplicaSet +k8s:openapi-gen=true +kubebuilder:resource:path=federatedreplicasets

func (*FederatedReplicaSet) DeepCopy

func (in *FederatedReplicaSet) DeepCopy() *FederatedReplicaSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSet.

func (*FederatedReplicaSet) DeepCopyInto

func (in *FederatedReplicaSet) DeepCopyInto(out *FederatedReplicaSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedReplicaSet) DeepCopyObject

func (in *FederatedReplicaSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedReplicaSetClusterOverride

type FederatedReplicaSetClusterOverride struct {
	// TODO(marun) Need to ensure that a cluster name only appears
	// once.  Why can't maps be used so this validation is automatic?
	ClusterName string `json:"clusterName,omitempty"`
	Replicas    *int32 `json:"replicas,omitempty"`
}

FederatedReplicaSetClusterOverride defines the overrides for a named cluster

func (*FederatedReplicaSetClusterOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetClusterOverride.

func (*FederatedReplicaSetClusterOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedReplicaSetList

type FederatedReplicaSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedReplicaSet `json:"items"`
}

func (*FederatedReplicaSetList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetList.

func (*FederatedReplicaSetList) DeepCopyInto

func (in *FederatedReplicaSetList) DeepCopyInto(out *FederatedReplicaSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedReplicaSetList) DeepCopyObject

func (in *FederatedReplicaSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedReplicaSetOverride

type FederatedReplicaSetOverride struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedReplicaSetOverrideSpec   `json:"spec,omitempty"`
	Status FederatedReplicaSetOverrideStatus `json:"status,omitempty"`
}

FederatedReplicaSetOverride +k8s:openapi-gen=true +kubebuilder:resource:path=federatedreplicasetoverrides

func (*FederatedReplicaSetOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetOverride.

func (*FederatedReplicaSetOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedReplicaSetOverride) DeepCopyObject

func (in *FederatedReplicaSetOverride) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedReplicaSetOverrideList

type FederatedReplicaSetOverrideList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedReplicaSetOverride `json:"items"`
}

func (*FederatedReplicaSetOverrideList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetOverrideList.

func (*FederatedReplicaSetOverrideList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedReplicaSetOverrideList) DeepCopyObject

func (in *FederatedReplicaSetOverrideList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedReplicaSetOverrideSpec

type FederatedReplicaSetOverrideSpec struct {
	Overrides []FederatedReplicaSetClusterOverride `json:"overrides,omitempty"`
}

FederatedReplicaSetOverrideSpec defines the desired state of FederatedReplicaSetOverride

func (*FederatedReplicaSetOverrideSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetOverrideSpec.

func (*FederatedReplicaSetOverrideSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedReplicaSetOverrideStatus

type FederatedReplicaSetOverrideStatus struct {
}

FederatedReplicaSetOverrideStatus defines the observed state of FederatedReplicaSetOverride

func (*FederatedReplicaSetOverrideStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetOverrideStatus.

func (*FederatedReplicaSetOverrideStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedReplicaSetPlacement

type FederatedReplicaSetPlacement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedReplicaSetPlacementSpec   `json:"spec,omitempty"`
	Status FederatedReplicaSetPlacementStatus `json:"status,omitempty"`
}

FederatedReplicaSetPlacement +k8s:openapi-gen=true +kubebuilder:resource:path=federatedreplicasetplacements

func (*FederatedReplicaSetPlacement) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetPlacement.

func (*FederatedReplicaSetPlacement) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedReplicaSetPlacement) DeepCopyObject

func (in *FederatedReplicaSetPlacement) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedReplicaSetPlacementList

type FederatedReplicaSetPlacementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedReplicaSetPlacement `json:"items"`
}

func (*FederatedReplicaSetPlacementList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetPlacementList.

func (*FederatedReplicaSetPlacementList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedReplicaSetPlacementList) DeepCopyObject

func (in *FederatedReplicaSetPlacementList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedReplicaSetPlacementSpec

type FederatedReplicaSetPlacementSpec struct {
	// Names of the clusters that a federated resource should exist in.
	ClusterNames []string `json:"clusterNames,omitempty"`
}

FederatedReplicaSetPlacementSpec defines the desired state of FederatedReplicaSetPlacement

func (*FederatedReplicaSetPlacementSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetPlacementSpec.

func (*FederatedReplicaSetPlacementSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedReplicaSetPlacementStatus

type FederatedReplicaSetPlacementStatus struct {
}

FederatedReplicaSetPlacementStatus defines the observed state of FederatedReplicaSetPlacement

func (*FederatedReplicaSetPlacementStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetPlacementStatus.

func (*FederatedReplicaSetPlacementStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedReplicaSetSpec

type FederatedReplicaSetSpec struct {
	Template appsv1.ReplicaSet `json:"template,omitempty"`
}

FederatedReplicaSetSpec defines the desired state of FederatedReplicaSet

func (*FederatedReplicaSetSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetSpec.

func (*FederatedReplicaSetSpec) DeepCopyInto

func (in *FederatedReplicaSetSpec) DeepCopyInto(out *FederatedReplicaSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedReplicaSetStatus

type FederatedReplicaSetStatus struct {
}

FederatedReplicaSetStatus defines the observed state of FederatedReplicaSet

func (*FederatedReplicaSetStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedReplicaSetStatus.

func (*FederatedReplicaSetStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedSecret

type FederatedSecret struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedSecretSpec   `json:"spec,omitempty"`
	Status FederatedSecretStatus `json:"status,omitempty"`
}

FederatedSecret +k8s:openapi-gen=true +kubebuilder:resource:path=federatedsecrets

func (*FederatedSecret) DeepCopy

func (in *FederatedSecret) DeepCopy() *FederatedSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecret.

func (*FederatedSecret) DeepCopyInto

func (in *FederatedSecret) DeepCopyInto(out *FederatedSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedSecret) DeepCopyObject

func (in *FederatedSecret) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedSecretClusterOverride

type FederatedSecretClusterOverride struct {
	// TODO(marun) Need to ensure that a cluster name only appears
	// once.  Why can't maps be used so this validation is automatic?
	ClusterName string            `json:"clusterName,omitempty"`
	Data        map[string][]byte `json:"data,omitempty"`
}

FederatedSecretClusterOverride defines the overrides for a named cluster

func (*FederatedSecretClusterOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretClusterOverride.

func (*FederatedSecretClusterOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedSecretList

type FederatedSecretList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedSecret `json:"items"`
}

func (*FederatedSecretList) DeepCopy

func (in *FederatedSecretList) DeepCopy() *FederatedSecretList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretList.

func (*FederatedSecretList) DeepCopyInto

func (in *FederatedSecretList) DeepCopyInto(out *FederatedSecretList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedSecretList) DeepCopyObject

func (in *FederatedSecretList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedSecretOverride

type FederatedSecretOverride struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedSecretOverrideSpec   `json:"spec,omitempty"`
	Status FederatedSecretOverrideStatus `json:"status,omitempty"`
}

FederatedSecretOverride +k8s:openapi-gen=true +kubebuilder:resource:path=federatedsecretoverrides

func (*FederatedSecretOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretOverride.

func (*FederatedSecretOverride) DeepCopyInto

func (in *FederatedSecretOverride) DeepCopyInto(out *FederatedSecretOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedSecretOverride) DeepCopyObject

func (in *FederatedSecretOverride) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedSecretOverrideList

type FederatedSecretOverrideList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedSecretOverride `json:"items"`
}

func (*FederatedSecretOverrideList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretOverrideList.

func (*FederatedSecretOverrideList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedSecretOverrideList) DeepCopyObject

func (in *FederatedSecretOverrideList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedSecretOverrideSpec

type FederatedSecretOverrideSpec struct {
	Overrides []FederatedSecretClusterOverride `json:"overrides,omitempty"`
}

FederatedSecretOverrideSpec defines the desired state of FederatedSecretOverride

func (*FederatedSecretOverrideSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretOverrideSpec.

func (*FederatedSecretOverrideSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedSecretOverrideStatus

type FederatedSecretOverrideStatus struct {
}

FederatedSecretOverrideStatus defines the observed state of FederatedSecretOverride

func (*FederatedSecretOverrideStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretOverrideStatus.

func (*FederatedSecretOverrideStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedSecretPlacement

type FederatedSecretPlacement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedSecretPlacementSpec   `json:"spec,omitempty"`
	Status FederatedSecretPlacementStatus `json:"status,omitempty"`
}

FederatedSecretPlacement +k8s:openapi-gen=true +kubebuilder:resource:path=federatedsecretplacements

func (*FederatedSecretPlacement) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretPlacement.

func (*FederatedSecretPlacement) DeepCopyInto

func (in *FederatedSecretPlacement) DeepCopyInto(out *FederatedSecretPlacement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedSecretPlacement) DeepCopyObject

func (in *FederatedSecretPlacement) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedSecretPlacementList

type FederatedSecretPlacementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedSecretPlacement `json:"items"`
}

func (*FederatedSecretPlacementList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretPlacementList.

func (*FederatedSecretPlacementList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedSecretPlacementList) DeepCopyObject

func (in *FederatedSecretPlacementList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedSecretPlacementSpec

type FederatedSecretPlacementSpec struct {
	// Names of the clusters that a federated resource should exist in.
	ClusterNames []string `json:"clusterNames,omitempty"`
}

FederatedSecretPlacementSpec defines the desired state of FederatedSecretPlacement

func (*FederatedSecretPlacementSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretPlacementSpec.

func (*FederatedSecretPlacementSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedSecretPlacementStatus

type FederatedSecretPlacementStatus struct {
}

FederatedSecretPlacementStatus defines the observed state of FederatedSecretPlacement

func (*FederatedSecretPlacementStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretPlacementStatus.

func (*FederatedSecretPlacementStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedSecretSpec

type FederatedSecretSpec struct {
	// Template to derive per-cluster secret from
	Template corev1.Secret `json:"template,omitempty"`
}

FederatedSecretSpec defines the desired state of FederatedSecret

func (*FederatedSecretSpec) DeepCopy

func (in *FederatedSecretSpec) DeepCopy() *FederatedSecretSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretSpec.

func (*FederatedSecretSpec) DeepCopyInto

func (in *FederatedSecretSpec) DeepCopyInto(out *FederatedSecretSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedSecretStatus

type FederatedSecretStatus struct {
}

FederatedSecretStatus defines the observed state of FederatedSecret

func (*FederatedSecretStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedSecretStatus.

func (*FederatedSecretStatus) DeepCopyInto

func (in *FederatedSecretStatus) DeepCopyInto(out *FederatedSecretStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedService

type FederatedService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedServiceSpec   `json:"spec,omitempty"`
	Status FederatedServiceStatus `json:"status,omitempty"`
}

FederatedService +k8s:openapi-gen=true +kubebuilder:resource:path=federatedservices

func (*FederatedService) DeepCopy

func (in *FederatedService) DeepCopy() *FederatedService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedService.

func (*FederatedService) DeepCopyInto

func (in *FederatedService) DeepCopyInto(out *FederatedService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedService) DeepCopyObject

func (in *FederatedService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedServiceList

type FederatedServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedService `json:"items"`
}

func (*FederatedServiceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceList.

func (*FederatedServiceList) DeepCopyInto

func (in *FederatedServiceList) DeepCopyInto(out *FederatedServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedServiceList) DeepCopyObject

func (in *FederatedServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedServicePlacement

type FederatedServicePlacement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedServicePlacementSpec   `json:"spec,omitempty"`
	Status FederatedServicePlacementStatus `json:"status,omitempty"`
}

FederatedServicePlacement +k8s:openapi-gen=true +kubebuilder:resource:path=federatedserviceplacements

func (*FederatedServicePlacement) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServicePlacement.

func (*FederatedServicePlacement) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedServicePlacement) DeepCopyObject

func (in *FederatedServicePlacement) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedServicePlacementList

type FederatedServicePlacementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedServicePlacement `json:"items"`
}

func (*FederatedServicePlacementList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServicePlacementList.

func (*FederatedServicePlacementList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedServicePlacementList) DeepCopyObject

func (in *FederatedServicePlacementList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedServicePlacementSpec

type FederatedServicePlacementSpec struct {
	// Names of the clusters that a federated resource should exist in.
	ClusterNames []string `json:"clusterNames,omitempty"`
}

FederatedServicePlacementSpec defines the desired state of FederatedServicePlacement

func (*FederatedServicePlacementSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServicePlacementSpec.

func (*FederatedServicePlacementSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedServicePlacementStatus

type FederatedServicePlacementStatus struct {
}

FederatedServicePlacementStatus defines the observed state of FederatedServicePlacement

func (*FederatedServicePlacementStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServicePlacementStatus.

func (*FederatedServicePlacementStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedServiceSpec

type FederatedServiceSpec struct {
	// Template to derive per-cluster service from
	Template corev1.Service `json:"template,omitempty"`
}

FederatedServiceSpec defines the desired state of FederatedService

func (*FederatedServiceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceSpec.

func (*FederatedServiceSpec) DeepCopyInto

func (in *FederatedServiceSpec) DeepCopyInto(out *FederatedServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedServiceStatus

type FederatedServiceStatus struct {
}

FederatedServiceStatus defines the observed state of FederatedService

func (*FederatedServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceStatus.

func (*FederatedServiceStatus) DeepCopyInto

func (in *FederatedServiceStatus) DeepCopyInto(out *FederatedServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedTypeConfig

type FederatedTypeConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FederatedTypeConfigSpec   `json:"spec,omitempty"`
	Status FederatedTypeConfigStatus `json:"status,omitempty"`
}

FederatedTypeConfig +k8s:openapi-gen=true +kubebuilder:resource:path=federatedtypeconfigs

func (*FederatedTypeConfig) DeepCopy

func (in *FederatedTypeConfig) DeepCopy() *FederatedTypeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedTypeConfig.

func (*FederatedTypeConfig) DeepCopyInto

func (in *FederatedTypeConfig) DeepCopyInto(out *FederatedTypeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedTypeConfig) DeepCopyObject

func (in *FederatedTypeConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FederatedTypeConfig) GetComparisonField

func (f *FederatedTypeConfig) GetComparisonField() common.VersionComparisonField

func (*FederatedTypeConfig) GetNamespaced

func (f *FederatedTypeConfig) GetNamespaced() bool

func (*FederatedTypeConfig) GetOverride

func (f *FederatedTypeConfig) GetOverride() *metav1.APIResource

func (*FederatedTypeConfig) GetOverridePath

func (f *FederatedTypeConfig) GetOverridePath() []string

func (*FederatedTypeConfig) GetPlacement

func (f *FederatedTypeConfig) GetPlacement() metav1.APIResource

func (*FederatedTypeConfig) GetPropagationEnabled

func (f *FederatedTypeConfig) GetPropagationEnabled() bool

func (*FederatedTypeConfig) GetTarget

func (f *FederatedTypeConfig) GetTarget() metav1.APIResource

func (*FederatedTypeConfig) GetTemplate

func (f *FederatedTypeConfig) GetTemplate() metav1.APIResource

type FederatedTypeConfigList

type FederatedTypeConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FederatedTypeConfig `json:"items"`
}

func (*FederatedTypeConfigList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedTypeConfigList.

func (*FederatedTypeConfigList) DeepCopyInto

func (in *FederatedTypeConfigList) DeepCopyInto(out *FederatedTypeConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FederatedTypeConfigList) DeepCopyObject

func (in *FederatedTypeConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FederatedTypeConfigSpec

type FederatedTypeConfigSpec struct {
	// The configuration of the target type.  Kind will be set to the
	// name of this resource regardles of the value provided.
	Target APIResource `json:"target"`
	// Whether or not the target resource is namespaced (all primitive
	// resources will share this).
	Namespaced bool `json:"namespaced"`
	// What field equality determines equality.
	ComparisonField common.VersionComparisonField `json:"comparisonField"`
	// Whether or not federation of the resource should be enabled.
	PropagationEnabled bool `json:"propagationEnabled"`
	// Configuration for the template resource.
	Template APIResource `json:"template"`
	// Configuration for the placement resource. If not provided, the
	// group and version will default to those provided for the
	// template resource.
	Placement APIResource `json:"placement"`
	// Configuration for the override resource. If not provided, the
	// group and version will default to those provided for the
	// template resource.
	// +optional
	Override *APIResource `json:"override,omitempty"`
	// The path to the field to override in the target type.  The last
	// entry in the path should be the name of the field in the override type.
	// +optional
	OverridePath []string `json:"overridePath,omitempty"`
}

FederatedTypeConfigSpec defines the desired state of FederatedTypeConfig

func (*FederatedTypeConfigSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedTypeConfigSpec.

func (*FederatedTypeConfigSpec) DeepCopyInto

func (in *FederatedTypeConfigSpec) DeepCopyInto(out *FederatedTypeConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FederatedTypeConfigStatus

type FederatedTypeConfigStatus struct {
}

FederatedTypeConfigStatus defines the observed state of FederatedTypeConfig

func (*FederatedTypeConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedTypeConfigStatus.

func (*FederatedTypeConfigStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PropagatedVersion

type PropagatedVersion struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PropagatedVersionSpec   `json:"spec,omitempty"`
	Status PropagatedVersionStatus `json:"status,omitempty"`
}

PropagatedVersion +k8s:openapi-gen=true +kubebuilder:resource:path=propagatedversions +kubebuilder:subresource:status

func (*PropagatedVersion) DeepCopy

func (in *PropagatedVersion) DeepCopy() *PropagatedVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedVersion.

func (*PropagatedVersion) DeepCopyInto

func (in *PropagatedVersion) DeepCopyInto(out *PropagatedVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PropagatedVersion) DeepCopyObject

func (in *PropagatedVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PropagatedVersionList

type PropagatedVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PropagatedVersion `json:"items"`
}

func (*PropagatedVersionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedVersionList.

func (*PropagatedVersionList) DeepCopyInto

func (in *PropagatedVersionList) DeepCopyInto(out *PropagatedVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PropagatedVersionList) DeepCopyObject

func (in *PropagatedVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PropagatedVersionSpec

type PropagatedVersionSpec struct {
}

PropagatedVersionSpec defines the desired state of PropagatedVersion

func (*PropagatedVersionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedVersionSpec.

func (*PropagatedVersionSpec) DeepCopyInto

func (in *PropagatedVersionSpec) DeepCopyInto(out *PropagatedVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PropagatedVersionStatus

type PropagatedVersionStatus struct {
	TemplateVersion string                 `json:"templateVersion,omitempty"`
	OverrideVersion string                 `json:"overridesVersion,omitempty"`
	ClusterVersions []ClusterObjectVersion `json:"clusterVersions,omitempty"`
}

PropagatedVersionStatus defines the observed state of PropagatedVersion

func (*PropagatedVersionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedVersionStatus.

func (*PropagatedVersionStatus) DeepCopyInto

func (in *PropagatedVersionStatus) DeepCopyInto(out *PropagatedVersionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL