v1alpha1

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the infrastructure.clusterstack.x-k8s.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.clusterstack.x-k8s.io

Index

Constants

View Source
const (
	// ClusterStackReleaseAssetsReadyCondition reports on whether the download of cluster stack release assets is complete.
	ClusterStackReleaseAssetsReadyCondition clusterv1beta1.ConditionType = "ClusterStackReleaseAssetsReady"

	// ReleaseAssetsNotDownloadedYetReason is used when release assets are not yet downloaded.
	ReleaseAssetsNotDownloadedYetReason = "ReleaseAssetsNotDownloadedYet"

	// IssueWithReleaseAssetsReason is used when release assets have an issue.
	IssueWithReleaseAssetsReason = "IssueWithReleaseAssets"
)
View Source
const (
	// OpenStackNodeImageReleasesReadyCondition reports on whether all relevant OpenStackNodeImageRelease objects are ready.
	OpenStackNodeImageReleasesReadyCondition clusterv1beta1.ConditionType = "OpenStackNodeImageReleasesReady"

	// ProcessOngoingReason is used when the process of the OpenStackNodeImageRelease object is still ongoing.
	ProcessOngoingReason = "ProcessOngoing"
)
View Source
const (
	// GitAPIAvailableCondition is used when Git API is available.
	GitAPIAvailableCondition = "GitAPIAvailable"

	// GitTokenOrEnvVariableNotSetReason is used when user don't specify the token or environment variable.
	GitTokenOrEnvVariableNotSetReason = "GitTokenOrEnvVariableNotSet" //#nosec
)
View Source
const (
	// CloudAvailableCondition is used when cloud is available.
	CloudAvailableCondition = "CloudAvailable"

	// CloudNotSetReason is used when user don't specify a valid clouds.yaml inside a secret.
	CloudNotSetReason = "CloudNotSet"

	// SecretNotFoundReason is used when the secret specified by the user is not found.
	SecretNotFoundReason = "SecretNotFound"
)
View Source
const (
	// OpenStackImageServiceClientAvailableCondition is used when OpenStack Image Service Client is available.
	OpenStackImageServiceClientAvailableCondition = "OpenStackImageServiceClientAvailable"

	// OpenStackImageServiceClientNotSetReason is used when OpenStack Image Service Client is not available.
	OpenStackImageServiceClientNotSetReason = "OpenStackImageServiceClientNotSet"
)
View Source
const (
	// OpenStackImageImportStartedCondition reports the image import starts.
	OpenStackImageImportStartedCondition = "OpenStackImageImportStarted"

	// OpenStackImageImportNotStartReason is used when image import does not start yet.
	OpenStackImageImportNotStartReason = "OpenStackImageImportNotStartReason"
)
View Source
const (
	// OpenStackImageReadyCondition reports on whether the image of cluster stack release is imported and active.
	OpenStackImageReadyCondition clusterv1beta1.ConditionType = "OpenStackImageActive"

	// OpenStackImageNotCreatedYetReason is used when image is not yet created.
	OpenStackImageNotCreatedYetReason = "OpenStackImageNotCreateYet"

	// OpenStackImageNotImportedYetReason is used when image is not yet imported.
	OpenStackImageNotImportedYetReason = "OpenStackImageNotImportedYet"

	// OpenStackImageImportTimeOutReason is used when image import timeout.
	OpenStackImageImportTimeOutReason = "OpenStackImageImportTimeOutReason"

	// IssueWithOpenStackImageReason is used when image has an issue.
	IssueWithOpenStackImageReason = "IssueWithOpenStackImage"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "infrastructure.clusterstack.x-k8s.io", 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 CreateOpts

type CreateOpts images.CreateOpts

CreateOpts represents options used to create an image.

func (*CreateOpts) DeepCopy

func (in *CreateOpts) DeepCopy() *CreateOpts

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

func (*CreateOpts) DeepCopyInto

func (in *CreateOpts) DeepCopyInto(out *CreateOpts)

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

type OpenStackClusterStackRelease

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

	Spec   OpenStackClusterStackReleaseSpec   `json:"spec,omitempty"`
	Status OpenStackClusterStackReleaseStatus `json:"status,omitempty"`
}

OpenStackClusterStackRelease is the Schema for the openstackclusterstackreleases API.

func (*OpenStackClusterStackRelease) DeepCopy

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

func (*OpenStackClusterStackRelease) DeepCopyInto

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

func (*OpenStackClusterStackRelease) DeepCopyObject

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

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

func (*OpenStackClusterStackRelease) GetConditions

GetConditions returns the observations of the operational state of the OpenStackClusterStackRelease resource.

func (*OpenStackClusterStackRelease) SetConditions

func (r *OpenStackClusterStackRelease) SetConditions(conditions clusterv1beta1.Conditions)

SetConditions sets the underlying service state of the OpenStackClusterStackRelease to the predescribed clusterv1.Conditions.

type OpenStackClusterStackReleaseList

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

OpenStackClusterStackReleaseList contains a list of OpenStackClusterStackRelease.

func (*OpenStackClusterStackReleaseList) DeepCopy

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

func (*OpenStackClusterStackReleaseList) DeepCopyInto

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

func (*OpenStackClusterStackReleaseList) DeepCopyObject

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

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

type OpenStackClusterStackReleaseSpec

type OpenStackClusterStackReleaseSpec struct {
	// CloudName is the name of the cloud to use from the cloud's secret.
	// +kubebuilder:validation:MinLength=1
	CloudName string `json:"cloudName"`
	// IdentityRef is a reference to a identity to be used when reconciling this cluster
	IdentityRef *apiv1alpha7.OpenStackIdentityReference `json:"identityRef"`
}

OpenStackClusterStackReleaseSpec defines the desired state of OpenStackClusterStackRelease.

func (*OpenStackClusterStackReleaseSpec) DeepCopy

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

func (*OpenStackClusterStackReleaseSpec) DeepCopyInto

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

type OpenStackClusterStackReleaseStatus

type OpenStackClusterStackReleaseStatus struct {
	// +optional
	// +kubebuilder:default:=false
	Ready bool `json:"ready,omitempty"`
	// Conditions defines current service state of the OpenStackClusterStackRelease.
	// +optional
	Conditions clusterv1beta1.Conditions `json:"conditions,omitempty"`
}

OpenStackClusterStackReleaseStatus defines the observed state of OpenStackClusterStackRelease.

func (*OpenStackClusterStackReleaseStatus) DeepCopy

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

func (*OpenStackClusterStackReleaseStatus) DeepCopyInto

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

type OpenStackClusterStackReleaseTemplate

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

	Spec   OpenStackClusterStackReleaseTemplateSpec   `json:"spec,omitempty"`
	Status OpenStackClusterStackReleaseTemplateStatus `json:"status,omitempty"`
}

OpenStackClusterStackReleaseTemplate is the Schema for the openstackclusterstackreleasetemplates API.

func (*OpenStackClusterStackReleaseTemplate) DeepCopy

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

func (*OpenStackClusterStackReleaseTemplate) DeepCopyInto

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

func (*OpenStackClusterStackReleaseTemplate) DeepCopyObject

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

type OpenStackClusterStackReleaseTemplateList

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

OpenStackClusterStackReleaseTemplateList contains a list of OpenStackClusterStackReleaseTemplate.

func (*OpenStackClusterStackReleaseTemplateList) DeepCopy

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

func (*OpenStackClusterStackReleaseTemplateList) DeepCopyInto

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

func (*OpenStackClusterStackReleaseTemplateList) DeepCopyObject

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

type OpenStackClusterStackReleaseTemplateResource

type OpenStackClusterStackReleaseTemplateResource struct {
	Spec OpenStackClusterStackReleaseSpec `json:"spec"`
}

OpenStackClusterStackReleaseTemplateResource describes the data needed to create a OpenStackClusterStackRelease from a template.

func (*OpenStackClusterStackReleaseTemplateResource) DeepCopy

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

func (*OpenStackClusterStackReleaseTemplateResource) DeepCopyInto

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

type OpenStackClusterStackReleaseTemplateSpec

type OpenStackClusterStackReleaseTemplateSpec struct {
	Template OpenStackClusterStackReleaseTemplateResource `json:"template"`
}

OpenStackClusterStackReleaseTemplateSpec defines the desired state of OpenStackClusterStackReleaseTemplate.

func (*OpenStackClusterStackReleaseTemplateSpec) DeepCopy

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

func (*OpenStackClusterStackReleaseTemplateSpec) DeepCopyInto

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

type OpenStackClusterStackReleaseTemplateStatus

type OpenStackClusterStackReleaseTemplateStatus struct {
}

OpenStackClusterStackReleaseTemplateStatus defines the observed state of OpenStackClusterStackReleaseTemplate.

func (*OpenStackClusterStackReleaseTemplateStatus) DeepCopy

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

func (*OpenStackClusterStackReleaseTemplateStatus) DeepCopyInto

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

type OpenStackNodeImage

type OpenStackNodeImage struct {
	URL string `json:"url" yaml:"url"`
	// CreateOpts represents options used to create an image.
	CreateOpts *CreateOpts `json:"createOpts" yaml:"createOpts"`
}

OpenStackNodeImage defines image fields required for image upload.

func (*OpenStackNodeImage) DeepCopy

func (in *OpenStackNodeImage) DeepCopy() *OpenStackNodeImage

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

func (*OpenStackNodeImage) DeepCopyInto

func (in *OpenStackNodeImage) DeepCopyInto(out *OpenStackNodeImage)

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

type OpenStackNodeImageRelease

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

	Spec   OpenStackNodeImageReleaseSpec   `json:"spec,omitempty"`
	Status OpenStackNodeImageReleaseStatus `json:"status,omitempty"`
}

OpenStackNodeImageRelease is the Schema for the openstacknodeimagereleases API.

func (*OpenStackNodeImageRelease) DeepCopy

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

func (*OpenStackNodeImageRelease) DeepCopyInto

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

func (*OpenStackNodeImageRelease) DeepCopyObject

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

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

func (*OpenStackNodeImageRelease) GetConditions

GetConditions returns the observations of the operational state of the OpenStackNodeImageRelease resource.

func (*OpenStackNodeImageRelease) SetConditions

func (r *OpenStackNodeImageRelease) SetConditions(conditions clusterv1beta1.Conditions)

SetConditions sets the underlying service state of the OpenStackNodeImageRelease to the predescribed clusterv1.Conditions.

type OpenStackNodeImageReleaseList

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

OpenStackNodeImageReleaseList contains a list of OpenStackNodeImageRelease.

func (*OpenStackNodeImageReleaseList) DeepCopy

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

func (*OpenStackNodeImageReleaseList) DeepCopyInto

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

func (*OpenStackNodeImageReleaseList) DeepCopyObject

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

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

type OpenStackNodeImageReleaseSpec

type OpenStackNodeImageReleaseSpec struct {
	// CloudName is the name of the cloud to use from the cloud's secret.
	// +kubebuilder:validation:MinLength=1
	CloudName string `json:"cloudName"`
	// IdentityRef is a reference to a identity to be used when reconciling this cluster
	IdentityRef *apiv1alpha7.OpenStackIdentityReference `json:"identityRef"`
	// Image represents options used to upload an image
	Image *OpenStackNodeImage `json:"image"`
}

OpenStackNodeImageReleaseSpec defines the desired state of OpenStackNodeImageRelease.

func (*OpenStackNodeImageReleaseSpec) DeepCopy

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

func (*OpenStackNodeImageReleaseSpec) DeepCopyInto

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

type OpenStackNodeImageReleaseStatus

type OpenStackNodeImageReleaseStatus struct {
	// +optional
	// +kubebuilder:default:=false
	Ready bool `json:"ready,omitempty"`
	// Conditions defines current service state of the OpenStackNodeImageRelease.
	// +optional
	Conditions clusterv1beta1.Conditions `json:"conditions,omitempty"`
}

OpenStackNodeImageReleaseStatus defines the observed state of OpenStackNodeImageRelease.

func (*OpenStackNodeImageReleaseStatus) DeepCopy

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

func (*OpenStackNodeImageReleaseStatus) DeepCopyInto

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