v1alpha1

package
v0.0.0-...-87285bb Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the azure v1alpha1 API group +kubebuilder:object:generate=true +groupName=azure.contrib.fluxcd.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   DeploymentStackSpec   `json:"spec,omitempty"`
	Status DeploymentStackStatus `json:"status,omitempty"`
}

DeploymentStack is the Schema for the deploymentstacks API

func (*DeploymentStack) DeepCopy

func (in *DeploymentStack) DeepCopy() *DeploymentStack

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

func (*DeploymentStack) DeepCopyInto

func (in *DeploymentStack) DeepCopyInto(out *DeploymentStack)

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

func (*DeploymentStack) DeepCopyObject

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

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

type DeploymentStackList

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

DeploymentStackList contains a list of DeploymentStack

func (*DeploymentStackList) DeepCopy

func (in *DeploymentStackList) DeepCopy() *DeploymentStackList

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

func (*DeploymentStackList) DeepCopyInto

func (in *DeploymentStackList) DeepCopyInto(out *DeploymentStackList)

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

func (*DeploymentStackList) DeepCopyObject

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

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

type DeploymentStackSecretRef

type DeploymentStackSecretRef struct {
	// Name of the Deployment Stack Secret Reference
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=64
	// +required
	Name string `json:"name,omitempty"`

	// Namespace of the Deployment Stack Secret Reference
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=64
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

func (*DeploymentStackSecretRef) DeepCopy

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

func (*DeploymentStackSecretRef) DeepCopyInto

func (in *DeploymentStackSecretRef) DeepCopyInto(out *DeploymentStackSecretRef)

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

type DeploymentStackSourceRef

type DeploymentStackSourceRef struct {
	// Kind of the Deployment Stack Source Reference
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=GitRepository
	// +required
	Kind string `json:"kind,omitempty"`

	// Name of the Deployment Stack Source Reference
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=64
	// +required
	Name string `json:"name,omitempty"`

	// Namespace of the Deployment Stack Source Reference
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=64
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

DeploymentStackSourceRef defines the desired source reference of DeploymentStack

func (*DeploymentStackSourceRef) DeepCopy

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

func (*DeploymentStackSourceRef) DeepCopyInto

func (in *DeploymentStackSourceRef) DeepCopyInto(out *DeploymentStackSourceRef)

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

type DeploymentStackSpec

type DeploymentStackSpec struct {
	// Name of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=64
	// +required
	Name string `json:"stackName"`

	// Scope of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=ManagementGroup;Subscription;ResourceGroup
	// +required
	Scope string `json:"deploymentScope"`

	// Location of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=64
	// +required
	Location string `json:"location"`

	// Management Group ID of the Deployment Stack
	// +optional
	ManagementGroupId string `json:"managementGroupId,omitempty"`

	// Subscription ID of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=32
	// +optional
	SubscriptionId string `json:"subscriptionId,omitempty"`

	// Resource Group ID of the Deployment Stack
	// +optional
	ResourceGroupName string `json:"resourceGroupId,omitempty"`

	// TemplatePath of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=64
	// +required
	TemplatePath string `json:"templatePath"`

	// Deny Settings Mode of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=None;DenyDelete;DenyWriteAndDelete
	// +kubebuilder:default="None"
	// +optional
	DenySettings string `json:"denySettingsMode"`

	// Delete Resources of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=true;false
	// +kubebuilder:default=true
	// +optional
	DeleteResources bool `json:"deleteResources,omitempty"`

	// Delete Resource Groups of the Deployment Stack
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=true;false
	// +kubebuilder:default=true
	// +optional
	DeleteResourceGroups bool `json:"deleteResourceGroups,omitempty"`

	// Source Reference of the Deployment Stack
	// +required
	SourceRef DeploymentStackSourceRef `json:"sourceRef"`

	// Secret Reference of the Deployment Stack
	// +optional
	SecretRef DeploymentStackSecretRef `json:"secretRef,omitempty"`

	// Interval of the Deployment Stack
	// +kubebuilder:default="1h"
	// +optional
	Interval string `json:"interval,omitempty"`

	// Retry Interval of the Deployment Stack
	// +kubebuilder:default="5m"
	// +optional
	RetryInterval string `json:"retryInterval,omitempty"`
}

DeploymentStackSpec defines the desired state of DeploymentStack

func (*DeploymentStackSpec) DeepCopy

func (in *DeploymentStackSpec) DeepCopy() *DeploymentStackSpec

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

func (*DeploymentStackSpec) DeepCopyInto

func (in *DeploymentStackSpec) DeepCopyInto(out *DeploymentStackSpec)

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

type DeploymentStackStatus

type DeploymentStackStatus struct{}

DeploymentStackStatus defines the observed state of DeploymentStack

func (*DeploymentStackStatus) DeepCopy

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

func (*DeploymentStackStatus) DeepCopyInto

func (in *DeploymentStackStatus) DeepCopyInto(out *DeploymentStackStatus)

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

type TemplateSpec

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

	Spec   TemplateSpecSpec   `json:"spec,omitempty"`
	Status TemplateSpecStatus `json:"status,omitempty"`
}

TemplateSpec is the Schema for the templatespecs API

func (*TemplateSpec) DeepCopy

func (in *TemplateSpec) DeepCopy() *TemplateSpec

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

func (*TemplateSpec) DeepCopyInto

func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)

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

func (*TemplateSpec) DeepCopyObject

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

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

type TemplateSpecList

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

TemplateSpecList contains a list of TemplateSpec

func (*TemplateSpecList) DeepCopy

func (in *TemplateSpecList) DeepCopy() *TemplateSpecList

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

func (*TemplateSpecList) DeepCopyInto

func (in *TemplateSpecList) DeepCopyInto(out *TemplateSpecList)

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

func (*TemplateSpecList) DeepCopyObject

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

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

type TemplateSpecSpec

type TemplateSpecSpec struct {

	// Foo is an example field of TemplateSpec. Edit templatespec_types.go to remove/update
	Foo string `json:"foo,omitempty"`
}

TemplateSpecSpec defines the desired state of TemplateSpec

func (*TemplateSpecSpec) DeepCopy

func (in *TemplateSpecSpec) DeepCopy() *TemplateSpecSpec

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

func (*TemplateSpecSpec) DeepCopyInto

func (in *TemplateSpecSpec) DeepCopyInto(out *TemplateSpecSpec)

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

type TemplateSpecStatus

type TemplateSpecStatus struct {
}

TemplateSpecStatus defines the observed state of TemplateSpec

func (*TemplateSpecStatus) DeepCopy

func (in *TemplateSpecStatus) DeepCopy() *TemplateSpecStatus

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

func (*TemplateSpecStatus) DeepCopyInto

func (in *TemplateSpecStatus) DeepCopyInto(out *TemplateSpecStatus)

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