Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the api-version v1beta1 API group +kubebuilder:object:generate=true +groupName=api-version.wayfair.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "api-version.wayfair.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type APIVersionMeta ¶
type APIVersionMeta struct { // APIVersion is the name of the API version used by specific kind. APIVersion string `json:"apiVersion,omitempty"` // Kind is the Object type such as "Deployment" or "Ingress" Kind string `json:"kind,omitempty"` }
APIVersionMeta defines the used API version and Kind
func (*APIVersionMeta) DeepCopy ¶
func (in *APIVersionMeta) DeepCopy() *APIVersionMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersionMeta.
func (*APIVersionMeta) DeepCopyInto ¶
func (in *APIVersionMeta) DeepCopyInto(out *APIVersionMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIVersionStatus ¶
type APIVersionStatus struct { // APIVersion is the name of the apiVersion. APIVersion string `json:"apiVersion" yaml:"apiVersion"` // Kind is the Object type Kind string `json:"kind" yaml:"kind"` // Whether the API Version is deprecated or not Deprecated bool `json:"deprecated" yaml:"deprecated"` // Whether the API Version is removed or not Removed bool `json:"removed" yaml:"removed"` // Kubernetes version in which the API is deprecated in DeprecatedInVersion string `json:"deprecatedInVersion" yaml:"deprecatedInVersion"` // Kubernetes version in which the API is removed in RemovedInVersion string `json:"removedInVersion" yaml:"removedInVersion"` // ReplacementAPI is the new supported apiVersion. ReplacementAPI string `json:"replacementApi" yaml:"replacementApi"` // Whether the apiVersion will be removed in the next release or not RemovedInNextRelease bool `json:"removedInNextRelease" yaml:"removedInNextRelease"` // Whether the apiVersion will be removed in the next release or not RemovedInNextTwoReleases bool `json:"removedInNextTwoReleases" yaml:"removedInNextTwoReleases"` }
APIVersionStatus defines the observed API version status
func (*APIVersionStatus) DeepCopy ¶
func (in *APIVersionStatus) DeepCopy() *APIVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersionStatus.
func (*APIVersionStatus) DeepCopyInto ¶
func (in *APIVersionStatus) DeepCopyInto(out *APIVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FinalStatusResult ¶
type FinalStatusResult struct { // Number of deprecated API Versions Deprecated int `json:"deprecated" yaml:"deprecated"` // Number of removed API Versions Removed int `json:"removed" yaml:"removed"` // Number of removed API Versions in the next release RemovedInNextRelease int `json:"removedInNextRelease" yaml:"removedInNextRelease"` // Number of removed API Versions in the next two releases RemovedInNextTwoReleases int `json:"removedInNextTwoReleases" yaml:"removedInNextTwoReleases"` }
FinalStatusResult is the overall status for all the used API versions
func (*FinalStatusResult) DeepCopy ¶
func (in *FinalStatusResult) DeepCopy() *FinalStatusResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FinalStatusResult.
func (*FinalStatusResult) DeepCopyInto ¶
func (in *FinalStatusResult) DeepCopyInto(out *FinalStatusResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UsedApiVersions ¶
type UsedApiVersions struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UsedApiVersionsSpec `json:"spec,omitempty"` Status UsedApiVersionsStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=uav +kubebuilder:printcolumn:name="Kind",type=string,JSONPath=`.kind` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +kubebuilder:printcolumn:name="Deprecated",type=integer,JSONPath=`.status.finalStatus.deprecated` +kubebuilder:printcolumn:name="Removed",type=integer,JSONPath=`.status.finalStatus.removed` +kubebuilder:printcolumn:name="Removed-NEXT-Release",type=integer,JSONPath=`.status.finalStatus.removedInNextRelease`,priority=10 +kubebuilder:printcolumn:name="Removed-NEXT-Two-Releases",type=integer,JSONPath=`.status.finalStatus.removedInNextTwoReleases`,priority=10
func (*UsedApiVersions) DeepCopy ¶
func (in *UsedApiVersions) DeepCopy() *UsedApiVersions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsedApiVersions.
func (*UsedApiVersions) DeepCopyInto ¶
func (in *UsedApiVersions) DeepCopyInto(out *UsedApiVersions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UsedApiVersions) DeepCopyObject ¶
func (in *UsedApiVersions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UsedApiVersionsList ¶
type UsedApiVersionsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []UsedApiVersions `json:"items"` }
UsedApiVersionsList contains a list of UsedApiVersions
func (*UsedApiVersionsList) DeepCopy ¶
func (in *UsedApiVersionsList) DeepCopy() *UsedApiVersionsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsedApiVersionsList.
func (*UsedApiVersionsList) DeepCopyInto ¶
func (in *UsedApiVersionsList) DeepCopyInto(out *UsedApiVersionsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UsedApiVersionsList) DeepCopyObject ¶
func (in *UsedApiVersionsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UsedApiVersionsSpec ¶
type UsedApiVersionsSpec struct { // UsedApiVersions is a list of API versions UsedApiVersions []APIVersionMeta `json:"usedApiVersions,omitempty"` }
UsedApiVersionsSpec defines the desired state of UsedApiVersions
func (*UsedApiVersionsSpec) DeepCopy ¶
func (in *UsedApiVersionsSpec) DeepCopy() *UsedApiVersionsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsedApiVersionsSpec.
func (*UsedApiVersionsSpec) DeepCopyInto ¶
func (in *UsedApiVersionsSpec) DeepCopyInto(out *UsedApiVersionsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UsedApiVersionsStatus ¶
type UsedApiVersionsStatus struct { // ApiVersionsStatus is a list of checked API versions ApiVersionsStatus []APIVersionStatus `json:"apiVersionsStatus,omitempty"` // FinalStatus is the overall status for all the used API versions FinalStatus FinalStatusResult `json:"finalStatus,omitempty"` }
UsedApiVersionsStatus defines the observed state of UsedApiVersions
func (*UsedApiVersionsStatus) DeepCopy ¶
func (in *UsedApiVersionsStatus) DeepCopy() *UsedApiVersionsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsedApiVersionsStatus.
func (*UsedApiVersionsStatus) DeepCopyInto ¶
func (in *UsedApiVersionsStatus) DeepCopyInto(out *UsedApiVersionsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.