v1alpha1

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

+kubebuilder:object:generate=true +groupName=idpbuilder.cnoe.io

Index

Constants

View Source
const (
	GitProviderGitea   = "gitea"
	GitProviderGitHub  = "github"
	GiteaAdminUserName = "giteaAdmin"
	SourceTypeLocal    = "local"
	SourceTypeRemote   = "remote"
	SourceTypeEmbedded = "embedded"
)
View Source
const (
	// LastObservedCLIStartTimeAnnotation indicates when the controller acted on a resource.
	LastObservedCLIStartTimeAnnotation = "cnoe.io/last-observed-cli-start-time"
	// CliStartTimeAnnotation indicates when the CLI was invoked.
	CliStartTimeAnnotation = "cnoe.io/cli-start-time"
	// PackagePriorityAnnotation indicates the priority of a package (higher = wins conflicts).
	PackagePriorityAnnotation = "cnoe.io/package-priority"
	// PackageSourcePathAnnotation indicates the source path of a package.
	PackageSourcePathAnnotation = "cnoe.io/package-source-path"
	FieldManager                = "idpbuilder"
	// If GetSecretLabelKey is set to GetSecretLabelValue on a kubernetes secret, secret key and values can be used by the get command.
	CLISecretLabelKey      = "cnoe.io/cli-secret"
	CLISecretLabelValue    = "true"
	PackageNameLabelKey    = "cnoe.io/package-name"
	PackageTypeLabelKey    = "cnoe.io/package-type"
	PackageTypeLabelCore   = "core"
	PackageTypeLabelCustom = "custom"

	ArgoCDPackageName       = "argocd"
	GiteaPackageName        = "gitea"
	IngressNginxPackageName = "nginx"
)
View Source
const (
	CNOEURIScheme = "cnoe://"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "idpbuilder.cnoe.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 ArgoCDPackageSpec added in v0.2.0

type ArgoCDPackageSpec struct {
	// ApplicationFile specifies the absolute path to the ArgoCD application file
	ApplicationFile string `json:"applicationFile"`
	Name            string `json:"name"`
	Namespace       string `json:"namespace"`
	// +kubebuilder:validation:Enum:=Application;ApplicationSet
	Type string `json:"type"`
}

func (*ArgoCDPackageSpec) DeepCopy added in v0.2.0

func (in *ArgoCDPackageSpec) DeepCopy() *ArgoCDPackageSpec

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

func (*ArgoCDPackageSpec) DeepCopyInto added in v0.2.0

func (in *ArgoCDPackageSpec) DeepCopyInto(out *ArgoCDPackageSpec)

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

type ArgoCDStatus added in v0.2.0

type ArgoCDStatus struct {
	Available   bool `json:"available,omitempty"`
	AppsCreated bool `json:"appsCreated,omitempty"`
}

func (*ArgoCDStatus) DeepCopy added in v0.2.0

func (in *ArgoCDStatus) DeepCopy() *ArgoCDStatus

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

func (*ArgoCDStatus) DeepCopyInto added in v0.2.0

func (in *ArgoCDStatus) DeepCopyInto(out *ArgoCDStatus)

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

type ArgoPackageConfigSpec

type ArgoPackageConfigSpec struct {
	// Enabled controls whether to install ArgoCD.
	Enabled bool `json:"enabled,omitempty"`
}

ArgoPackageConfigSpec Allows for configuration of the ArgoCD Installation. If no fields are specified then the binary embedded resources will be used to install ArgoCD.

func (*ArgoPackageConfigSpec) DeepCopy

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

func (*ArgoPackageConfigSpec) DeepCopyInto

func (in *ArgoPackageConfigSpec) DeepCopyInto(out *ArgoPackageConfigSpec)

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

type BuildCustomizationSpec added in v0.8.0

type BuildCustomizationSpec struct {
	Protocol                string           `json:"protocol,omitempty"`
	Host                    string           `json:"host,omitempty"`
	IngressHost             string           `json:"ingressHost,omitempty"`
	Port                    string           `json:"port,omitempty"`
	UsePathRouting          bool             `json:"usePathRouting,omitempty"`
	SelfSignedCert          string           `json:"selfSignedCert,omitempty"`
	StaticPassword          bool             `json:"staticPassword,omitempty"`
	RegistryMirrors         []RegistryMirror `json:"registryMirrors,omitempty"`
	InsecureRegistryMirrors bool             `json:"insecureRegistryMirrors,omitempty"`
}

BuildCustomizationSpec fields cannot change once a cluster is created

func (*BuildCustomizationSpec) DeepCopy added in v0.8.0

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

func (*BuildCustomizationSpec) DeepCopyInto added in v0.8.0

func (in *BuildCustomizationSpec) DeepCopyInto(out *BuildCustomizationSpec)

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

type Commit added in v0.2.0

type Commit struct {
	// Hash is the digest of the most recent commit
	// +kubebuilder:validation:Optional
	Hash string `json:"hash"`
}

func (*Commit) DeepCopy added in v0.2.0

func (in *Commit) DeepCopy() *Commit

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

func (*Commit) DeepCopyInto added in v0.2.0

func (in *Commit) DeepCopyInto(out *Commit)

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

type CustomPackage added in v0.2.0

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

	Spec   CustomPackageSpec   `json:"spec,omitempty"`
	Status CustomPackageStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*CustomPackage) DeepCopy added in v0.2.0

func (in *CustomPackage) DeepCopy() *CustomPackage

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

func (*CustomPackage) DeepCopyInto added in v0.2.0

func (in *CustomPackage) DeepCopyInto(out *CustomPackage)

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

func (*CustomPackage) DeepCopyObject added in v0.2.0

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

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

type CustomPackageList added in v0.2.0

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

+kubebuilder:object:root=true

func (*CustomPackageList) DeepCopy added in v0.2.0

func (in *CustomPackageList) DeepCopy() *CustomPackageList

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

func (*CustomPackageList) DeepCopyInto added in v0.2.0

func (in *CustomPackageList) DeepCopyInto(out *CustomPackageList)

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

func (*CustomPackageList) DeepCopyObject added in v0.2.0

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

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

type CustomPackageSpec added in v0.2.0

type CustomPackageSpec struct {
	ArgoCD ArgoCDPackageSpec `json:"argoCD,omitempty"`
	// GitServerURL specifies the base URL for the git server for API calls.
	// for example, https://gitea.cnoe.localtest.me:8443
	GitServerURL           string          `json:"gitServerURL"`
	GitServerAuthSecretRef SecretReference `json:"gitServerAuthSecretRef"`
	// InternalGitServeURL specifies the base URL for the git server accessible within the cluster.
	// for example, http://my-gitea-http.gitea.svc.cluster.local:3000
	InternalGitServeURL string               `json:"internalGitServeURL"`
	RemoteRepository    RemoteRepositorySpec `json:"remoteRepository"`
	// Replicate specifies whether to replicate remote or local contents to the local gitea server.
	// +kubebuilder:default:=false
	Replicate bool `json:"replicate"`
}

CustomPackageSpec controls the installation of the custom applications.

func (*CustomPackageSpec) DeepCopy added in v0.2.0

func (in *CustomPackageSpec) DeepCopy() *CustomPackageSpec

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

func (*CustomPackageSpec) DeepCopyInto added in v0.2.0

func (in *CustomPackageSpec) DeepCopyInto(out *CustomPackageSpec)

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

type CustomPackageStatus added in v0.2.0

type CustomPackageStatus struct {
	// A Custom package is considered synced when the in-cluster repository url is set as the repository URL
	// This only applies for a package that references local directories
	Synced            bool        `json:"synced,omitempty"`
	GitRepositoryRefs []ObjectRef `json:"gitRepositoryRefs,omitempty"`
}

func (*CustomPackageStatus) DeepCopy added in v0.2.0

func (in *CustomPackageStatus) DeepCopy() *CustomPackageStatus

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

func (*CustomPackageStatus) DeepCopyInto added in v0.2.0

func (in *CustomPackageStatus) DeepCopyInto(out *CustomPackageStatus)

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

type EmbeddedArgoApplicationsPackageConfigSpec

type EmbeddedArgoApplicationsPackageConfigSpec struct {
	// Enabled controls whether to install the embedded argo applications and the associated GitServer
	Enabled bool `json:"enabled,omitempty"`
}

EmbeddedArgoApplicationsPackageConfigSpec Controls the installation of the embedded argo applications.

func (*EmbeddedArgoApplicationsPackageConfigSpec) DeepCopy

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

func (*EmbeddedArgoApplicationsPackageConfigSpec) DeepCopyInto

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

type GitRepository added in v0.2.0

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

	Spec   GitRepositorySpec   `json:"spec,omitempty"`
	Status GitRepositoryStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*GitRepository) DeepCopy added in v0.2.0

func (in *GitRepository) DeepCopy() *GitRepository

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

func (*GitRepository) DeepCopyInto added in v0.2.0

func (in *GitRepository) DeepCopyInto(out *GitRepository)

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

func (*GitRepository) DeepCopyObject added in v0.2.0

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

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

type GitRepositoryList added in v0.2.0

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

+kubebuilder:object:root=true

func (*GitRepositoryList) DeepCopy added in v0.2.0

func (in *GitRepositoryList) DeepCopy() *GitRepositoryList

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

func (*GitRepositoryList) DeepCopyInto added in v0.2.0

func (in *GitRepositoryList) DeepCopyInto(out *GitRepositoryList)

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

func (*GitRepositoryList) DeepCopyObject added in v0.2.0

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

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

type GitRepositorySource added in v0.2.0

type GitRepositorySource struct {
	// +kubebuilder:validation:Enum:=argocd;gitea;nginx
	// +kubebuilder:validation:Optional
	EmbeddedAppName string `json:"embeddedAppName,omitempty"`
	// Path is the absolute path to directory that contains Kustomize structure or raw manifests.
	// This is required when Type is set to local.
	// +kubebuilder:validation:Optional
	Path             string               `json:"path"`
	RemoteRepository RemoteRepositorySpec `json:"remoteRepository"`
	// Type is the source type.
	// +kubebuilder:validation:Enum:=local;embedded;remote
	// +kubebuilder:default:=embedded
	Type string `json:"type"`
}

func (*GitRepositorySource) DeepCopy added in v0.2.0

func (in *GitRepositorySource) DeepCopy() *GitRepositorySource

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

func (*GitRepositorySource) DeepCopyInto added in v0.2.0

func (in *GitRepositorySource) DeepCopyInto(out *GitRepositorySource)

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

type GitRepositorySpec added in v0.2.0

type GitRepositorySpec struct {
	// +kubebuilder:validation:Optional
	Customization PackageCustomization `json:"customization,omitempty"`
	// SecretRef is the reference to secret that contain Git server credentials
	// +kubebuilder:validation:Optional
	SecretRef SecretReference     `json:"secretRef"`
	Source    GitRepositorySource `json:"source,omitempty"`
	Provider  Provider            `json:"provider"`
}

func (*GitRepositorySpec) DeepCopy added in v0.2.0

func (in *GitRepositorySpec) DeepCopy() *GitRepositorySpec

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

func (*GitRepositorySpec) DeepCopyInto added in v0.2.0

func (in *GitRepositorySpec) DeepCopyInto(out *GitRepositorySpec)

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

type GitRepositoryStatus added in v0.2.0

type GitRepositoryStatus struct {
	// LatestCommit is the most recent commit known to the controller
	// +kubebuilder:validation:Optional
	LatestCommit Commit `json:"commit"`
	// ExternalGitRepositoryUrl is the url for the in-cluster repository accessible from local machine.
	// +kubebuilder:validation:Optional
	ExternalGitRepositoryUrl string `json:"externalGitRepositoryUrl"`
	// InternalGitRepositoryUrl is the url for the in-cluster repository accessible within the cluster.
	// +kubebuilder:validation:Optional
	InternalGitRepositoryUrl string `json:"internalGitRepositoryUrl"`
	// Path is the path within the repository that contains the files.
	// +kubebuilder:validation:Optional
	Path   string `json:"path"`
	Synced bool   `json:"synced"`
}

func (*GitRepositoryStatus) DeepCopy added in v0.2.0

func (in *GitRepositoryStatus) DeepCopy() *GitRepositoryStatus

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

func (*GitRepositoryStatus) DeepCopyInto added in v0.2.0

func (in *GitRepositoryStatus) DeepCopyInto(out *GitRepositoryStatus)

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

type GiteaStatus added in v0.2.0

type GiteaStatus struct {
	Available                bool   `json:"available,omitempty"`
	ExternalURL              string `json:"externalURL,omitempty"`
	InternalURL              string `json:"internalURL,omitempty"`
	AdminUserSecretName      string `json:"adminUserSecretNameecret,omitempty"`
	AdminUserSecretNamespace string `json:"adminUserSecretNamespace,omitempty"`
}

func (*GiteaStatus) DeepCopy added in v0.2.0

func (in *GiteaStatus) DeepCopy() *GiteaStatus

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

func (*GiteaStatus) DeepCopyInto added in v0.2.0

func (in *GiteaStatus) DeepCopyInto(out *GiteaStatus)

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

type Localbuild

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

	Spec   LocalbuildSpec   `json:"spec,omitempty"`
	Status LocalbuildStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=localbuilds,scope=Cluster

func (*Localbuild) DeepCopy

func (in *Localbuild) DeepCopy() *Localbuild

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

func (*Localbuild) DeepCopyInto

func (in *Localbuild) DeepCopyInto(out *Localbuild)

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

func (*Localbuild) DeepCopyObject

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

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

func (*Localbuild) GetArgoApplicationName

func (l *Localbuild) GetArgoApplicationName(name string) string

func (*Localbuild) GetArgoProjectName

func (l *Localbuild) GetArgoProjectName() string

type LocalbuildList

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

+kubebuilder:object:root=true

func (*LocalbuildList) DeepCopy

func (in *LocalbuildList) DeepCopy() *LocalbuildList

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

func (*LocalbuildList) DeepCopyInto

func (in *LocalbuildList) DeepCopyInto(out *LocalbuildList)

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

func (*LocalbuildList) DeepCopyObject

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

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

type LocalbuildSpec

type LocalbuildSpec struct {
	PackageConfigs     PackageConfigsSpec     `json:"packageConfigs,omitempty"`
	BuildCustomization BuildCustomizationSpec `json:"buildCustomization,omitempty"`
}

func (*LocalbuildSpec) DeepCopy

func (in *LocalbuildSpec) DeepCopy() *LocalbuildSpec

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

func (*LocalbuildSpec) DeepCopyInto

func (in *LocalbuildSpec) DeepCopyInto(out *LocalbuildSpec)

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

type LocalbuildStatus

type LocalbuildStatus struct {
	// ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.
	// +optional
	ObservedGeneration int64        `json:"observedGeneration,omitempty"`
	ArgoCD             ArgoCDStatus `json:"ArgoCD,omitempty"`
	Nginx              NginxStatus  `json:"nginx,omitempty"`
	Gitea              GiteaStatus  `json:"gitea,omitempty"`
}

func (*LocalbuildStatus) DeepCopy

func (in *LocalbuildStatus) DeepCopy() *LocalbuildStatus

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

func (*LocalbuildStatus) DeepCopyInto

func (in *LocalbuildStatus) DeepCopyInto(out *LocalbuildStatus)

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

type NginxStatus added in v0.2.0

type NginxStatus struct {
	Available bool `json:"available,omitempty"`
}

func (*NginxStatus) DeepCopy added in v0.2.0

func (in *NginxStatus) DeepCopy() *NginxStatus

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

func (*NginxStatus) DeepCopyInto added in v0.2.0

func (in *NginxStatus) DeepCopyInto(out *NginxStatus)

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

type ObjectRef added in v0.2.0

type ObjectRef struct {
	APIVersion string `json:"apiVersion,omitempty"`
	Name       string `json:"name,omitempty"`
	Namespace  string `json:"namespace,omitempty"`
	Kind       string `json:"kind,omitempty"`
	UID        string `json:"uid,omitempty"`
}

func (*ObjectRef) DeepCopy added in v0.2.0

func (in *ObjectRef) DeepCopy() *ObjectRef

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

func (*ObjectRef) DeepCopyInto added in v0.2.0

func (in *ObjectRef) DeepCopyInto(out *ObjectRef)

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

type PackageConfigsSpec

type PackageConfigsSpec struct {
	Argo                     ArgoPackageConfigSpec                     `json:"argoPackageConfigs,omitempty"`
	EmbeddedArgoApplications EmbeddedArgoApplicationsPackageConfigSpec `json:"embeddedArgoApplicationsPackageConfigs,omitempty"`
	CustomPackageFiles       []string                                  `json:"customPackageFiles,omitempty"`
	CustomPackageDirs        []string                                  `json:"customPackageDirs,omitempty"`
	CustomPackageUrls        []string                                  `json:"customPackageUrls,omitempty"`
	// +kubebuilder:validation:Optional
	CorePackageCustomization map[string]PackageCustomization `json:"packageCustomization,omitempty"`
}

func (*PackageConfigsSpec) DeepCopy

func (in *PackageConfigsSpec) DeepCopy() *PackageConfigsSpec

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

func (*PackageConfigsSpec) DeepCopyInto

func (in *PackageConfigsSpec) DeepCopyInto(out *PackageConfigsSpec)

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

type PackageCustomization added in v0.4.0

type PackageCustomization struct {
	// Name is the name of the package to be customized. e.g. argocd
	Name string `json:"name,omitempty'"`
	// FilePath is the absolute file path to a YAML file that contains Kubernetes manifests.
	FilePath string `json:"filePath,omitempty"`
}

PackageCustomization defines how packages are customized

func (*PackageCustomization) DeepCopy added in v0.4.0

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

func (*PackageCustomization) DeepCopyInto added in v0.4.0

func (in *PackageCustomization) DeepCopyInto(out *PackageCustomization)

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

type Provider added in v0.5.0

type Provider struct {
	// +kubebuilder:validation:Enum:=gitea;github
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// GitURL is the base URL of Git server used for API calls.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^https?:\/\/.+$`
	GitURL string `json:"gitURL"`
	// InternalGitURL is the base URL of Git server accessible within the cluster only.
	InternalGitURL   string `json:"internalGitURL"`
	OrganizationName string `json:"organizationName"`
}

func (*Provider) DeepCopy added in v0.5.0

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto added in v0.5.0

func (in *Provider) DeepCopyInto(out *Provider)

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

type RegistryMirror added in v0.10.2

type RegistryMirror struct {
	// TargetRegistry is the registry that should be mirrored (e.g., "docker.io", "ghcr.io")
	TargetRegistry string `json:"targetRegistry,omitempty"`
	// RegistryAddress is the address of the mirror registry (e.g., "http://kind-registry:5000")
	RegistryAddress string `json:"registryAddress,omitempty"`
}

RegistryMirror defines an external registry mirror configuration

func (*RegistryMirror) DeepCopy added in v0.10.2

func (in *RegistryMirror) DeepCopy() *RegistryMirror

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

func (*RegistryMirror) DeepCopyInto added in v0.10.2

func (in *RegistryMirror) DeepCopyInto(out *RegistryMirror)

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

type RemoteRepositorySpec added in v0.5.0

type RemoteRepositorySpec struct {
	CloneSubmodules bool   `json:"cloneSubmodules"`
	Path            string `json:"path"`
	// Url specifies the url to the repository containing the ArgoCD application file
	Url string `json:"url"`
	// Ref specifies the specific ref supported by git fetch
	Ref string `json:"ref"`
}

RemoteRepositorySpec specifies information about remote repositories.

func (*RemoteRepositorySpec) DeepCopy added in v0.5.0

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

func (*RemoteRepositorySpec) DeepCopyInto added in v0.5.0

func (in *RemoteRepositorySpec) DeepCopyInto(out *RemoteRepositorySpec)

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

type SecretReference added in v0.2.0

type SecretReference struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*SecretReference) DeepCopy added in v0.2.0

func (in *SecretReference) DeepCopy() *SecretReference

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

func (*SecretReference) DeepCopyInto added in v0.2.0

func (in *SecretReference) DeepCopyInto(out *SecretReference)

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