Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the automation v1alpha1 API group +kubebuilder:object:generate=true +groupName=automation.nephio.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "automation.nephio.org", Version: "v1alpha1"} // 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 PackageDeployment ¶
type PackageDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PackageDeploymentSpec `json:"spec,omitempty"` Status PackageDeploymentStatus `json:"status,omitempty"` }
PackageDeployment is the Schema for the packagedeployments API
func (*PackageDeployment) DeepCopy ¶
func (in *PackageDeployment) DeepCopy() *PackageDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageDeployment.
func (*PackageDeployment) DeepCopyInto ¶
func (in *PackageDeployment) DeepCopyInto(out *PackageDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageDeployment) DeepCopyObject ¶
func (in *PackageDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageDeploymentList ¶
type PackageDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PackageDeployment `json:"items"` }
PackageDeploymentList contains a list of PackageDeployment
func (*PackageDeploymentList) DeepCopy ¶
func (in *PackageDeploymentList) DeepCopy() *PackageDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageDeploymentList.
func (*PackageDeploymentList) DeepCopyInto ¶
func (in *PackageDeploymentList) DeepCopyInto(out *PackageDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageDeploymentList) DeepCopyObject ¶
func (in *PackageDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageDeploymentSpec ¶
type PackageDeploymentSpec struct { // Label selector for Clusters on which to deploy the package Selector *metav1.LabelSelector `json:"selector,omitempty"` // PackageRef identifies the package revision to deploy PackageRef PackageRevisionReference `json:"packageRef"` // Name will be used as the name for all generated package revisions // If not set, it will default to the Namespace name // If neither is set, the package deployment name will be used Name *string `json:"name,omitempty"` // Namespace identifies the namespace in which to deploy the package // The namespace will be added to the resource list of the package // If not present, the package will be installed in the default namespace Namespace *string `json:"namespace,omitempty"` // Annotations will be applied to all package revisions Annotations map[string]string `json:"annotations,omitempty"` // Labels will be applied to all package revisions Labels map[string]string `json:"labels,omitempty"` }
PackageDeploymentSpec defines the desired state of PackageDeployment
func (*PackageDeploymentSpec) DeepCopy ¶
func (in *PackageDeploymentSpec) DeepCopy() *PackageDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageDeploymentSpec.
func (*PackageDeploymentSpec) DeepCopyInto ¶
func (in *PackageDeploymentSpec) DeepCopyInto(out *PackageDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageDeploymentStatus ¶
type PackageDeploymentStatus struct { }
PackageDeploymentStatus defines the observed state of PackageDeployment
func (*PackageDeploymentStatus) DeepCopy ¶
func (in *PackageDeploymentStatus) DeepCopy() *PackageDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageDeploymentStatus.
func (*PackageDeploymentStatus) DeepCopyInto ¶
func (in *PackageDeploymentStatus) DeepCopyInto(out *PackageDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRevisionReference ¶
type PackageRevisionReference struct { // Namespace is the namespace for both the repository and package revision // +optional Namespace string `json:"namespace,omitempty"` // Repository is the name of the repository containing the package RepositoryName string `json:"repository"` // PackageName is the name of the package for the revision PackageName string `json:"packageName"` // Revision is the specific version number of the revision of the package Revision string `json:"revision"` }
PackageRevisionReference is used to reference a particular package revision.
func (*PackageRevisionReference) DeepCopy ¶
func (in *PackageRevisionReference) DeepCopy() *PackageRevisionReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRevisionReference.
func (*PackageRevisionReference) DeepCopyInto ¶
func (in *PackageRevisionReference) DeepCopyInto(out *PackageRevisionReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryReference ¶
type RepositoryReference struct { // Namespace defines the space within which the repository name must be unique. // +optional Namespace string `json:"namespace,omitempty"` // Name is unique within a namespace to reference a repository resource. Name string `json:"name"` }
RepositoryReference is used to refer to a repository resource.
func (*RepositoryReference) DeepCopy ¶
func (in *RepositoryReference) DeepCopy() *RepositoryReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryReference.
func (*RepositoryReference) DeepCopyInto ¶
func (in *RepositoryReference) DeepCopyInto(out *RepositoryReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.