v1alpha1

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 5 Imported by: 21

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

Constants

This section is empty.

Variables

View Source
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

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

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

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

func (*ClusterPropagatedVersionList) DeepCopyInto added in v0.0.3

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

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

func (*ClusterPropagatedVersionSpec) DeepCopyInto added in v0.0.3

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

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

func (*FederatedServiceClusterStatus) DeepCopyInto added in v0.0.3

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

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

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

func (*FederatedServiceStatusList) DeepCopyInto added in v0.0.3

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

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 {
	// 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

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