Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/kubefed/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=core.kubefed.k8s.io
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/kubefed/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=core.kubefed.k8s.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type ClusterObjectVersion
- type ClusterPropagatedVersion
- type ClusterPropagatedVersionList
- type ClusterPropagatedVersionSpec
- type FederatedServiceClusterStatus
- type FederatedServiceStatus
- type FederatedServiceStatusList
- type PropagatedVersion
- type PropagatedVersionList
- type PropagatedVersionSpec
- type PropagatedVersionStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "core.kubefed.k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type ClusterObjectVersion ¶
type ClusterObjectVersion struct { // The name of the cluster the version is for. ClusterName string `json:"clusterName"` // The last version produced for the resource by a federation // operation. Version string `json:"version"` }
func (*ClusterObjectVersion) DeepCopy ¶
func (in *ClusterObjectVersion) DeepCopy() *ClusterObjectVersion
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 ClusterPropagatedVersion ¶ added in v0.0.3
type ClusterPropagatedVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Status PropagatedVersionStatus `json:"status,omitempty"` }
ClusterPropagatedVersion holds version information about the state propagated from cluster-scoped federation APIs configured by FederatedTypeConfig to target clusters. The name of a ClusterPropagatedVersion encodes the kind and name of the resource it stores information for. The type of version information stored in ClusterPropagatedVersion will be the metadata.resourceVersion or metadata.Generation of the resource depending on the value of spec.comparisonField in the FederatedTypeConfig associated with the resource.
+k8s:openapi-gen=true +kubebuilder:resource:path=clusterpropagatedversions +kubebuilder:subresource:status
func (*ClusterPropagatedVersion) DeepCopy ¶ added in v0.0.3
func (in *ClusterPropagatedVersion) DeepCopy() *ClusterPropagatedVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPropagatedVersion.
func (*ClusterPropagatedVersion) DeepCopyInto ¶ added in v0.0.3
func (in *ClusterPropagatedVersion) DeepCopyInto(out *ClusterPropagatedVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPropagatedVersion) DeepCopyObject ¶ added in v0.0.3
func (in *ClusterPropagatedVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPropagatedVersionList ¶ added in v0.0.3
type ClusterPropagatedVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterPropagatedVersion `json:"items"` }
ClusterPropagatedVersionList contains a list of ClusterPropagatedVersion
func (*ClusterPropagatedVersionList) DeepCopy ¶ added in v0.0.3
func (in *ClusterPropagatedVersionList) DeepCopy() *ClusterPropagatedVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPropagatedVersionList.
func (*ClusterPropagatedVersionList) DeepCopyInto ¶ added in v0.0.3
func (in *ClusterPropagatedVersionList) DeepCopyInto(out *ClusterPropagatedVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPropagatedVersionList) DeepCopyObject ¶ added in v0.0.3
func (in *ClusterPropagatedVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPropagatedVersionSpec ¶ added in v0.0.3
type ClusterPropagatedVersionSpec struct { }
ClusterPropagatedVersionSpec defines the desired state of ClusterPropagatedVersion
func (*ClusterPropagatedVersionSpec) DeepCopy ¶ added in v0.0.3
func (in *ClusterPropagatedVersionSpec) DeepCopy() *ClusterPropagatedVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPropagatedVersionSpec.
func (*ClusterPropagatedVersionSpec) DeepCopyInto ¶ added in v0.0.3
func (in *ClusterPropagatedVersionSpec) DeepCopyInto(out *ClusterPropagatedVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FederatedServiceClusterStatus ¶ added in v0.0.3
type FederatedServiceClusterStatus struct { ClusterName string `json:"clusterName"` Status corev1.ServiceStatus `json:"status"` }
FederatedServiceClusterStatus is the observed status of the resource for a named cluster
func (*FederatedServiceClusterStatus) DeepCopy ¶ added in v0.0.3
func (in *FederatedServiceClusterStatus) DeepCopy() *FederatedServiceClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceClusterStatus.
func (*FederatedServiceClusterStatus) DeepCopyInto ¶ added in v0.0.3
func (in *FederatedServiceClusterStatus) DeepCopyInto(out *FederatedServiceClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FederatedServiceStatus ¶
type FederatedServiceStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +optional ClusterStatus []FederatedServiceClusterStatus `json:"clusterStatus,omitempty"` }
FederatedServiceStatus +k8s:openapi-gen=true +kubebuilder:resource:path=federatedservicestatuses
func (*FederatedServiceStatus) DeepCopy ¶
func (in *FederatedServiceStatus) DeepCopy() *FederatedServiceStatus
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.
func (*FederatedServiceStatus) DeepCopyObject ¶ added in v0.0.3
func (in *FederatedServiceStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FederatedServiceStatusList ¶ added in v0.0.3
type FederatedServiceStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FederatedServiceStatus `json:"items"` }
FederatedServiceStatusList contains a list of FederatedServiceStatus
func (*FederatedServiceStatusList) DeepCopy ¶ added in v0.0.3
func (in *FederatedServiceStatusList) DeepCopy() *FederatedServiceStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceStatusList.
func (*FederatedServiceStatusList) DeepCopyInto ¶ added in v0.0.3
func (in *FederatedServiceStatusList) DeepCopyInto(out *FederatedServiceStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FederatedServiceStatusList) DeepCopyObject ¶ added in v0.0.3
func (in *FederatedServiceStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PropagatedVersion ¶
type PropagatedVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Status PropagatedVersionStatus `json:"status,omitempty"` }
PropagatedVersion holds version information about the state propagated from federation APIs configured by FederatedTypeConfig to target clusters. The name of a PropagatedVersion encodes the kind and name of the resource it stores information for. The type of version information stored in PropagatedVersion will be the metadata.resourceVersion or metadata.Generation of the resource depending on the value of spec.comparisonField in the FederatedTypeConfig associated with the resource.
+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"` }
PropagatedVersionList contains a list of PropagatedVersion
func (*PropagatedVersionList) DeepCopy ¶
func (in *PropagatedVersionList) DeepCopy() *PropagatedVersionList
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 ¶
func (in *PropagatedVersionSpec) DeepCopy() *PropagatedVersionSpec
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 { // The observed version of the template for this resource. TemplateVersion string `json:"templateVersion"` // The observed version of the overrides for this resource. OverrideVersion string `json:"overridesVersion"` // The last versions produced in each cluster for this resource. // +optional ClusterVersions []ClusterObjectVersion `json:"clusterVersions,omitempty"` }
PropagatedVersionStatus defines the observed state of PropagatedVersion
func (*PropagatedVersionStatus) DeepCopy ¶
func (in *PropagatedVersionStatus) DeepCopy() *PropagatedVersionStatus
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.