v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the infra v1alpha1 API group +kubebuilder:object:generate=true +groupName=infra.nephio.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "infra.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 CNIConfig

type CNIConfig struct {
	CNIType         string `json:"cniType"`
	MasterInterface string `json:"masterInterface"`
}

func (*CNIConfig) DeepCopy

func (in *CNIConfig) DeepCopy() *CNIConfig

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

func (*CNIConfig) DeepCopyInto

func (in *CNIConfig) DeepCopyInto(out *CNIConfig)

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

type Cluster

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

	// RepositoryRef identifies the deployment repository for this cluster
	RepositoryRef automationv1alpha1.RepositoryReference `json:"repositoryRef"`
}

Cluster is the Schema for the clusters API

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

type ClusterContext

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

	Spec   ClusterContextSpec   `json:"spec,omitempty"`
	Status ClusterContextStatus `json:"status,omitempty"`
}

ClusterContext is the Schema for the clustercontexts API

func (*ClusterContext) DeepCopy

func (in *ClusterContext) DeepCopy() *ClusterContext

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

func (*ClusterContext) DeepCopyInto

func (in *ClusterContext) DeepCopyInto(out *ClusterContext)

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

func (*ClusterContext) DeepCopyObject

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

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

type ClusterContextList

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

ClusterContextList contains a list of ClusterContext

func (*ClusterContextList) DeepCopy

func (in *ClusterContextList) DeepCopy() *ClusterContextList

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

func (*ClusterContextList) DeepCopyInto

func (in *ClusterContextList) DeepCopyInto(out *ClusterContextList)

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

func (*ClusterContextList) DeepCopyObject

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

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

type ClusterContextSpec

type ClusterContextSpec struct {
	// SiteCode identifies this cluster's location
	// +optional
	SiteCode *string `json:"siteCode,omitempty"`

	// CNIConfig contains the details of CNI configuration for this cluster
	// +optional
	CNIConfig *CNIConfig `json:"cniConfig,omitempty"`
}

ClusterContextSpec defines the desired state of ClusterContext

func (*ClusterContextSpec) DeepCopy

func (in *ClusterContextSpec) DeepCopy() *ClusterContextSpec

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

func (*ClusterContextSpec) DeepCopyInto

func (in *ClusterContextSpec) DeepCopyInto(out *ClusterContextSpec)

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

type ClusterContextStatus

type ClusterContextStatus struct {
}

ClusterContextStatus defines the observed state of ClusterContext

func (*ClusterContextStatus) DeepCopy

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

func (*ClusterContextStatus) DeepCopyInto

func (in *ClusterContextStatus) DeepCopyInto(out *ClusterContextStatus)

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

type ClusterList

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

ClusterList contains a list of Cluster

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

type ClusterScaleProfile

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

	ClusterScaleProfileSpec `json:"spec,omitempty"`
}

ClusterScaleProfile is the Schema for the clusterscaleprofiles API

func (*ClusterScaleProfile) DeepCopy

func (in *ClusterScaleProfile) DeepCopy() *ClusterScaleProfile

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

func (*ClusterScaleProfile) DeepCopyInto

func (in *ClusterScaleProfile) DeepCopyInto(out *ClusterScaleProfile)

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

func (*ClusterScaleProfile) DeepCopyObject

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

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

type ClusterScaleProfileList

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

ClusterScaleProfileList contains a list of ClusterScaleProfile

func (*ClusterScaleProfileList) DeepCopy

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

func (*ClusterScaleProfileList) DeepCopyInto

func (in *ClusterScaleProfileList) DeepCopyInto(out *ClusterScaleProfileList)

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

func (*ClusterScaleProfileList) DeepCopyObject

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

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

type ClusterScaleProfileSpec

type ClusterScaleProfileSpec struct {
	// Autoscaling indicates whether or not this cluster supports cluster
	// autoscaler.
	Autoscaling *bool `json:"autoscaling,omitempty"`

	// NodeMax indicates the number of nodes for non-autoscaling clusters,
	// and the maximum number of nodes for autoscaling clusters
	NodeMax *int32 `json:"nodeMax,omitempty"`

	// SiteDensity indicates the population density at the site in which the
	// cluster is located.
	SiteDensity *string `json:"siteDensity,omitempty"`
}

func (*ClusterScaleProfileSpec) DeepCopy

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

func (*ClusterScaleProfileSpec) DeepCopyInto

func (in *ClusterScaleProfileSpec) DeepCopyInto(out *ClusterScaleProfileSpec)

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