v1alpha1

package
v0.0.0-...-3dcd682 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=flux.local

Index

Constants

This section is empty.

Variables

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

type BuildKit struct {
	// +optional
	Address string `json:"address"`
	// +optional
	RegistryAuthTLSContext []string `json:"registryAuthTLSContext"`
	// +optional
	DockerConfig string `json:"dockerConfig"`
}

func (*BuildKit) DeepCopy

func (in *BuildKit) DeepCopy() *BuildKit

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

func (*BuildKit) DeepCopyInto

func (in *BuildKit) DeepCopyInto(out *BuildKit)

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

type Cluster

type Cluster struct {
	// Name is the cluster name.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	Name string `json:"name"`
	// +optional
	Minikube *Minikube `json:"minikube"`
	// +optional
	BuildKit *BuildKit `json:"buildkit"`
	// +optional
	KubeConfig string `json:"kubeConfig"`
}

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.

type Config

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

	// DefaultCluster is the name of the cluster to use if one is not specified.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	DefaultCluster string `json:"defaultCluster"`

	// Clusters is the list of clusters to connect to.
	// +kubebuilder:validation:MinItems=1
	Clusters []*Cluster `json:"clusters"`

	// +optional
	Deployments []*Deployment `json:"deployments"`
}

Config represents the project config.

+kubebuilder:object:root=true

func (*Config) DeepCopy

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

func (*Config) DeepCopyObject

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

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

type ConfigList

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

ConfigList contains a list of Config

+kubebuilder:object:root=true

func (*ConfigList) DeepCopy

func (in *ConfigList) DeepCopy() *ConfigList

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

func (*ConfigList) DeepCopyInto

func (in *ConfigList) DeepCopyInto(out *ConfigList)

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

func (*ConfigList) DeepCopyObject

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

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

type Deployment

type Deployment struct {
	// Name is the deployment name.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	Name string `json:"name"`
	// +optional
	Images []*Image `json:"images"`
	// +optional
	Steps []*Step `json:"steps"`
	// +optional
	PortForward []*PortForward `json:"portForward"`
}

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 Helm

type Helm struct {
	// +optional
	Repo string `json:"repo"`
	// +optional
	Context string `json:"context"`
	// +optional
	IgnorePaths []string `json:"ignorePaths"`
	Chart       string   `json:"chart"`
	Version     string   `json:"version"`
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	// +optional
	Namespace string `json:"namespace"`
	// +optional
	Patches []kustomize.Patch `json:"patches"`
	// +optional
	Values *apiextensionsv1.JSON `json:"values"`
	// +optional
	ValueFiles []string `json:"valueFiles"`
}

func (*Helm) DeepCopy

func (in *Helm) DeepCopy() *Helm

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

func (*Helm) DeepCopyInto

func (in *Helm) DeepCopyInto(out *Helm)

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

type Image

type Image struct {
	Image string `json:"image"`
	// +optional
	Context string `json:"context"`
	// +optional
	File string `json:"file"`
	// +optional
	Target string `json:"target"`
	// +optional
	BuildArgs map[string]string `json:"buildArgs"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

type Kustomize

type Kustomize struct {
	Context string `json:"context"`
	// +optional
	IgnorePaths []string `json:"ignorePaths"`
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	// +optional
	Namespace string `json:"namespace"`
	// +optional
	Path string `json:"path"`
	// +optional
	Components []string `json:"components"`
	// +optional
	Substitute map[string]string `json:"substitute"`
	// +optional
	Patches []kustomize.Patch `json:"patches"`
}

func (*Kustomize) DeepCopy

func (in *Kustomize) DeepCopy() *Kustomize

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

func (*Kustomize) DeepCopyInto

func (in *Kustomize) DeepCopyInto(out *Kustomize)

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

type Minikube

type Minikube struct {
	// +optional
	Profile string `json:"profile"`
	// +optional
	PortForward bool `json:"portForward"`
	// +optional
	RegistryAliases []string `json:"registryAliases"`
	// +optional
	Addons []string `json:"addons"`
}

func (*Minikube) DeepCopy

func (in *Minikube) DeepCopy() *Minikube

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

func (*Minikube) DeepCopyInto

func (in *Minikube) DeepCopyInto(out *Minikube)

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

type PortForward

type PortForward struct {
	Kind string `json:"kind"`
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
	// +optional
	Network string `json:"network"`
	Port    int    `json:"port"`
	// +optional
	LocalPort *int `json:"localPort"`
}

func (*PortForward) DeepCopy

func (in *PortForward) DeepCopy() *PortForward

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

func (*PortForward) DeepCopyInto

func (in *PortForward) DeepCopyInto(out *PortForward)

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

type Step

type Step struct {
	// Name is the step name.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	Name string `json:"name"`
	// +optional
	Kustomize *Kustomize `json:"kustomize"`
	// +optional
	Helm *Helm `json:"helm"`
}

func (*Step) DeepCopy

func (in *Step) DeepCopy() *Step

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

func (*Step) DeepCopyInto

func (in *Step) DeepCopyInto(out *Step)

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