v1alpha1

package
v0.0.0-...-6c35e8a Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   HttpSpec   `json:"spec,omitempty"`
	Status HttpStatus `json:"status,omitempty"`
}

Http is the Schema for the https API

func (*Http) DeepCopy

func (in *Http) DeepCopy() *Http

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

func (*Http) DeepCopyInto

func (in *Http) DeepCopyInto(out *Http)

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

func (*Http) DeepCopyObject

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

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

func (Http) GetConditions

func (in Http) GetConditions() []metav1.Condition

GetConditions returns the status conditions of the object.

func (*Http) GetKind

func (in *Http) GetKind() string

func (*Http) GetObjectMeta

func (in *Http) GetObjectMeta() *metav1.ObjectMeta

func (*Http) SetConditions

func (in *Http) SetConditions(conditions []metav1.Condition)

SetConditions sets the status conditions on the object.

type HttpList

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

HttpList contains a list of Http

func (*HttpList) DeepCopy

func (in *HttpList) DeepCopy() *HttpList

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

func (*HttpList) DeepCopyInto

func (in *HttpList) DeepCopyInto(out *HttpList)

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

func (*HttpList) DeepCopyObject

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

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

type HttpSpec

type HttpSpec struct {
	// URL defines where to get the archive from.
	// Expects the content to be tar.gz.
	URL string `json:"url"`
}

HttpSpec defines the desired state of Http

func (*HttpSpec) DeepCopy

func (in *HttpSpec) DeepCopy() *HttpSpec

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

func (*HttpSpec) DeepCopyInto

func (in *HttpSpec) DeepCopyInto(out *HttpSpec)

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

type HttpStatus

type HttpStatus struct {
	// ObservedGeneration is the last reconciled generation.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// The last successfully applied revision.
	// Equals the Revision of the applied Artifact from the referenced Source.
	// +optional
	LastAppliedRevision string `json:"lastAppliedRevision,omitempty"`

	// LastAttemptedRevision is the revision of the last reconciliation attempt.
	// +optional
	LastAttemptedRevision string `json:"lastAttemptedRevision,omitempty"`

	// ArtifactName present what the name of the generated artifact is.
	ArtifactName string `json:"artifactName,omitempty"`
}

HttpStatus defines the observed state of Http

func (*HttpStatus) DeepCopy

func (in *HttpStatus) DeepCopy() *HttpStatus

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

func (*HttpStatus) DeepCopyInto

func (in *HttpStatus) DeepCopyInto(out *HttpStatus)

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