package
0.21.1
Repository: https://github.com/aryan9600/source-controller.git
Documentation: pkg.go.dev

# Functions

ArtifactDir returns the artifact dir path in the form of <source-kind>/<source-namespace>/<source-name>.
ArtifactPath returns the artifact path in the form of <source-kind>/<source-namespace>/<source-name>/<artifact-filename>.
BucketNotReady sets the meta.ReadyCondition on the Bucket to 'False', with the given reason and message.
BucketProgressing resets the conditions of the Bucket to metav1.Condition of type meta.ReadyCondition with status 'Unknown' and meta.ProgressingReason reason and message.
BucketReady sets the given Artifact and URL on the Bucket and sets the meta.ReadyCondition to 'True', with the given reason and message.
BucketReadyMessage returns the message of the metav1.Condition of type meta.ReadyCondition with status 'True' if present, or an empty string.
GitRepositoryNotReady sets the meta.ReadyCondition on the given GitRepository to 'False', with the given reason and message.
GitRepositoryProgressing resets the conditions of the GitRepository to metav1.Condition of type meta.ReadyCondition with status 'Unknown' and meta.ProgressingReason reason and message.
GitRepositoryReady sets the given Artifact and URL on the GitRepository and sets the meta.ReadyCondition to 'True', with the given reason and message.
GitRepositoryReadyMessage returns the message of the metav1.Condition of type meta.ReadyCondition with status 'True' if present, or an empty string.
HelmChartNotReady sets the meta.ReadyCondition on the given HelmChart to 'False', with the given reason and message.
HelmChartProgressing resets the conditions of the HelmChart to meta.Condition of type meta.ReadyCondition with status 'Unknown' and meta.ProgressingReason reason and message.
HelmChartReady sets the given Artifact and URL on the HelmChart and sets the meta.ReadyCondition to 'True', with the given reason and message.
HelmChartReadyMessage returns the message of the meta.ReadyCondition with status 'True', or an empty string.
HelmRepositoryNotReady sets the meta.ReadyCondition on the given HelmRepository to 'False', with the given reason and message.
HelmRepositoryProgressing resets the conditions of the HelmRepository to metav1.Condition of type meta.ReadyCondition with status 'Unknown' and meta.ProgressingReason reason and message.
HelmRepositoryReady sets the given Artifact and URL on the HelmRepository and sets the meta.ReadyCondition to 'True', with the given reason and message.
HelmRepositoryReadyMessage returns the message of the metav1.Condition of type meta.ReadyCondition with status 'True' if present, or an empty string.

# Constants

No description provided by the author
AuthenticationFailedReason represents the fact that a given secret does not have the required fields or the provided credentials do not match.
BucketKind is the string representation of a Bucket.
BucketOperationFailedReason represents the fact that the bucket listing or download operations failed.
BucketOperationSucceedReason represents the fact that the bucket listing and download operations succeeded.
ChartPackageFailedReason represent the fact that the package of the Helm chart failed.
ChartPackageSucceededReason represents the fact that the package of the Helm chart succeeded.
ChartPullFailedReason represents the fact that the pull of the Helm chart failed.
ChartPullSucceededReason represents the fact that the pull of the Helm chart succeeded.
No description provided by the author
GitOperationFailedReason represents the fact that the git clone, pull or checkout operations failed.
GitOperationSucceedReason represents the fact that the git clone, pull and checkout operations succeeded.
GitRepositoryKind is the string representation of a GitRepository.
GoGitImplementation represents the go-git Git implementation kind.
No description provided by the author
HelmChartKind is the string representation of a HelmChart.
HelmRepositoryKind is the string representation of a HelmRepository.
HelmRepositoryURLIndexKey is the key to use for indexing HelmRepository resources by their HelmRepositorySpec.URL.
IndexationFailedReason represents the fact that the indexation of the given Helm repository failed.
IndexationSucceededReason represents the fact that the indexation of the given Helm repository succeeded.
LibGit2Implementation represents the git2go Git implementation kind.
ReconcileStrategyChartVersion reconciles when the version of the Helm chart is different.
ReconcileStrategyRevision reconciles when the Revision of the source is different.
No description provided by the author
SourceIndexKey is the key used for indexing resources resources based on their Source.
StorageOperationFailedReason signals a failure caused by a storage operation.
URLInvalidReason represents the fact that a given source has an invalid URL.
VerificationFailedReason represents the fact that the cryptographic provenance verification for the source failed.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

Artifact represents the output of a source synchronisation.
Bucket is the Schema for the buckets API.
BucketList contains a list of Bucket.
BucketSpec defines the desired state of an S3 compatible bucket.
BucketStatus defines the observed state of a bucket.
GitRepository is the Schema for the gitrepositories API.
GitRepositoryInclude defines a source with a from and to path.
GitRepositoryList contains a list of GitRepository +kubebuilder:object:root=true.
GitRepositoryRef defines the Git ref used for pull and checkout operations.
GitRepositorySpec defines the desired state of a Git repository.
GitRepositoryStatus defines the observed state of a Git repository.
GitRepositoryVerification defines the OpenPGP signature verification process.
HelmChart is the Schema for the helmcharts API.
HelmChartList contains a list of HelmChart.
HelmChartSpec defines the desired state of a Helm chart.
HelmChartStatus defines the observed state of the HelmChart.
HelmRepository is the Schema for the helmrepositories API.
HelmRepositoryList contains a list of HelmRepository +kubebuilder:object:root=true.
HelmRepositorySpec defines the reference to a Helm repository.
HelmRepositoryStatus defines the observed state of the HelmRepository.
LocalHelmChartSourceReference contains enough information to let you locate the typed referenced object at namespace level.

# Interfaces

Source interface must be supported by all API types.