v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	GitStorageType = "git"
)

Variables

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

type ApplicationSpec struct {
	//+kubebuilder:validation:MinLength=0
	Name string `json:"name"`

	Workspace WorkspaceSpec `json:"workspace"`
}

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type AzureResourceGraph

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

	Spec   AzureResourceGraphSpec   `json:"spec,omitempty"`
	Status AzureResourceGraphStatus `json:"status,omitempty"`
}

AzureResourceGraph is the Schema for the azureresourcegraphs API

func (*AzureResourceGraph) DeepCopy

func (in *AzureResourceGraph) DeepCopy() *AzureResourceGraph

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

func (*AzureResourceGraph) DeepCopyInto

func (in *AzureResourceGraph) DeepCopyInto(out *AzureResourceGraph)

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

func (*AzureResourceGraph) DeepCopyObject

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

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

type AzureResourceGraphList

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

AzureResourceGraphList contains a list of AzureResourceGraph

func (*AzureResourceGraphList) DeepCopy

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

func (*AzureResourceGraphList) DeepCopyInto

func (in *AzureResourceGraphList) DeepCopyInto(out *AzureResourceGraphList)

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

func (*AzureResourceGraphList) DeepCopyObject

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

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

type AzureResourceGraphSpec

type AzureResourceGraphSpec struct {
	//+kubebuilder:validation:MinLength=0
	// +required
	Subscription string `json:"subscription"`

	//+kubebuilder:validation:MinLength=0
	// +required
	Tenant string `json:"tenant"`

	//+kubebuilder:validation:MinLength=0
	// +optional
	ManagedIdentiy string `json:"managedIdentity"`

	// +required
	Interval metav1.Duration `json:"interval"`
}

AzureResourceGraphSpec defines the desired state of AzureResourceGraph

func (*AzureResourceGraphSpec) DeepCopy

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

func (*AzureResourceGraphSpec) DeepCopyInto

func (in *AzureResourceGraphSpec) DeepCopyInto(out *AzureResourceGraphSpec)

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

type AzureResourceGraphStatus

type AzureResourceGraphStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

AzureResourceGraphStatus defines the observed state of AzureResourceGraph

func (*AzureResourceGraphStatus) DeepCopy

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

func (*AzureResourceGraphStatus) DeepCopyInto

func (in *AzureResourceGraphStatus) DeepCopyInto(out *AzureResourceGraphStatus)

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

type Deployment

type Deployment struct {
	GitOpsCommitId string               `json:"gitOpsCommitId"`
	Status         DeploymentStatusType `json:"status"`
	StatusMessage  string               `json:"statusMessage"`
}

func (*Deployment) DeepCopy

func (in *Deployment) DeepCopy() *Deployment

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

func (*Deployment) DeepCopyInto

func (in *Deployment) DeepCopyInto(out *Deployment)

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

type DeploymentDescriptor

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

	Spec   DeploymentDescriptorSpec   `json:"spec,omitempty"`
	Status DeploymentDescriptorStatus `json:"status,omitempty"`
}

DeploymentDescriptor is the Schema for the deploymentdescriptors API

func (*DeploymentDescriptor) DeepCopy

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

func (*DeploymentDescriptor) DeepCopyInto

func (in *DeploymentDescriptor) DeepCopyInto(out *DeploymentDescriptor)

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

func (*DeploymentDescriptor) DeepCopyObject

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

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

type DeploymentDescriptorList

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

DeploymentDescriptorList contains a list of DeploymentDescriptor

func (*DeploymentDescriptorList) DeepCopy

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

func (*DeploymentDescriptorList) DeepCopyInto

func (in *DeploymentDescriptorList) DeepCopyInto(out *DeploymentDescriptorList)

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

func (*DeploymentDescriptorList) DeepCopyObject

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

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

type DeploymentDescriptorSpec

type DeploymentDescriptorSpec struct {
	Workload WorkloadSpec `json:"workload"`

	DeploymentTarget DeploymentTargetSpec `json:"deploymentTarget"`

	WorkloadVersion WorkloadVersionSpec `json:"workloadVersion"`
}

DeploymentDescriptorSpec defines the desired state of DeploymentDescriptor

func (*DeploymentDescriptorSpec) DeepCopy

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

func (*DeploymentDescriptorSpec) DeepCopyInto

func (in *DeploymentDescriptorSpec) DeepCopyInto(out *DeploymentDescriptorSpec)

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

type DeploymentDescriptorStatus

type DeploymentDescriptorStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

DeploymentDescriptorStatus defines the observed state of DeploymentDescriptor

func (*DeploymentDescriptorStatus) DeepCopy

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

func (*DeploymentDescriptorStatus) DeepCopyInto

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

type DeploymentStatusType

type DeploymentStatusType string
const (
	DeploymentStatusPending DeploymentStatusType = "in_progress"
	DeploymentStatusSuccess DeploymentStatusType = "success"
	DeploymentStatusFailed  DeploymentStatusType = "failure"
)

type DeploymentTargetSpec

type DeploymentTargetSpec struct {
	//+kubebuilder:validation:MinLength=0
	Name string `json:"name"`

	//+kubebuilder:validation:MinLength=0
	Environment string `json:"environment"`

	Manifests GitRepoSpec `json:"manifests"`
}

func (*DeploymentTargetSpec) DeepCopy

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

func (*DeploymentTargetSpec) DeepCopyInto

func (in *DeploymentTargetSpec) DeepCopyInto(out *DeploymentTargetSpec)

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

type GitRepoSpec

type GitRepoSpec struct {
	//+kubebuilder:validation:MinLength=0
	Repo string `json:"repo"`

	//+kubebuilder:validation:MinLength=0
	Branch string `json:"branch"`

	//+kubebuilder:validation:MinLength=0
	Path string `json:"path"`
}

func (*GitRepoSpec) DeepCopy

func (in *GitRepoSpec) DeepCopy() *GitRepoSpec

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

func (*GitRepoSpec) DeepCopyInto

func (in *GitRepoSpec) DeepCopyInto(out *GitRepoSpec)

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

type ManifestsStorageType

type ManifestsStorageType string

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

const (
	Git ManifestsStorageType = "git"
)

type Reconciler

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

	Spec   ReconcilerSpec   `json:"spec,omitempty"`
	Status ReconcilerStatus `json:"status,omitempty"`
}

Reconciler is the Schema for the reconcilers API

func (*Reconciler) DeepCopy

func (in *Reconciler) DeepCopy() *Reconciler

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

func (*Reconciler) DeepCopyInto

func (in *Reconciler) DeepCopyInto(out *Reconciler)

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

func (*Reconciler) DeepCopyObject

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

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

type ReconcilerList

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

ReconcilerList contains a list of Reconciler

func (*ReconcilerList) DeepCopy

func (in *ReconcilerList) DeepCopy() *ReconcilerList

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

func (*ReconcilerList) DeepCopyInto

func (in *ReconcilerList) DeepCopyInto(out *ReconcilerList)

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

func (*ReconcilerList) DeepCopyObject

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

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

type ReconcilerSpec

type ReconcilerSpec struct {
	// +required
	HostName string `json:"hostName"`

	// +required
	ReconcilerName string `json:"reconcilerName"`

	// +optional
	Type string `json:"type"`

	// +optional
	ManifestsStorageType ManifestsStorageType `json:"manifestsStorageType"`

	// +required
	ManifestsEndpoint string `json:"manifestsEndpoint"`

	// +optional
	Deployment Deployment `json:"deployment,omitempty"`
}

ReconcilerSpec defines the desired state of Reconciler

func (*ReconcilerSpec) DeepCopy

func (in *ReconcilerSpec) DeepCopy() *ReconcilerSpec

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

func (*ReconcilerSpec) DeepCopyInto

func (in *ReconcilerSpec) DeepCopyInto(out *ReconcilerSpec)

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

type ReconcilerStatus

type ReconcilerStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

ReconcilerStatus defines the observed state of Reconciler

func (*ReconcilerStatus) DeepCopy

func (in *ReconcilerStatus) DeepCopy() *ReconcilerStatus

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

func (*ReconcilerStatus) DeepCopyInto

func (in *ReconcilerStatus) DeepCopyInto(out *ReconcilerStatus)

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

type WorkloadSpec

type WorkloadSpec struct {
	//+kubebuilder:validation:MinLength=0
	Name string `json:"name"`

	Source GitRepoSpec `json:"source"`

	Application ApplicationSpec `json:"application"`
}

func (*WorkloadSpec) DeepCopy

func (in *WorkloadSpec) DeepCopy() *WorkloadSpec

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

func (*WorkloadSpec) DeepCopyInto

func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec)

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

type WorkloadVersionSpec

type WorkloadVersionSpec struct {
	//+kubebuilder:validation:MinLength=0
	Version string `json:"version"`

	//+optional
	Build string `json:"build"`

	//+kubebuilder:validation:MinLength=0
	Commit string `json:"commit"`

	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	// +optional
	BuildTime metav1.Time `json:"buildTime"`
}

func (*WorkloadVersionSpec) DeepCopy

func (in *WorkloadVersionSpec) DeepCopy() *WorkloadVersionSpec

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

func (*WorkloadVersionSpec) DeepCopyInto

func (in *WorkloadVersionSpec) DeepCopyInto(out *WorkloadVersionSpec)

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

type WorkspaceSpec

type WorkspaceSpec struct {
	//+kubebuilder:validation:MinLength=0
	Name string `json:"name"`
}

func (*WorkspaceSpec) DeepCopy

func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec

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

func (*WorkspaceSpec) DeepCopyInto

func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)

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