Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=flux.local
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildKit.
func (*BuildKit) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Helm.
func (*Helm) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kustomize.
func (*Kustomize) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Minikube.
func (*Minikube) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
func (*Step) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.