Versions in this module Expand all Collapse all v1 v1.8.0 Dec 5, 2025 Changes in this version + const GitHubAppName + const QuayURL + var ErrInvalidJSON = errors.New("invalid JSON") + var ErrInvalidURL = errors.New("invalid URL") + var ErrJSONContainsSpaces = errors.New("contains unexpected spaces") + var ErrSecretAlreadyExists = fmt.Errorf("secret already exists") + func ValidateJSON(p string, s string) error + func ValidateURL(location string) error + type ACS struct + func NewACS() *ACS + func (a *ACS) Data(_ context.Context, _ *config.Config) (map[string][]byte, error) + func (a *ACS) LoggerWith(logger *slog.Logger) *slog.Logger + func (a *ACS) PersistentFlags(c *cobra.Command) + func (a *ACS) SetArgument(_, _ string) error + func (a *ACS) Type() corev1.SecretType + func (a *ACS) Validate() error + type Azure struct + func NewAzure() *Azure + func (a *Azure) Data(context.Context, *config.Config) (map[string][]byte, error) + func (a *Azure) LoggerWith(logger *slog.Logger) *slog.Logger + func (a *Azure) PersistentFlags(c *cobra.Command) + func (a *Azure) SetArgument(string, string) error + func (a *Azure) Type() corev1.SecretType + func (a *Azure) Validate() error + type BitBucket struct + func NewBitBucket() *BitBucket + func (b *BitBucket) Data(_ context.Context, _ *config.Config) (map[string][]byte, error) + func (b *BitBucket) LoggerWith(logger *slog.Logger) *slog.Logger + func (b *BitBucket) PersistentFlags(c *cobra.Command) + func (b *BitBucket) SetArgument(_, _ string) error + func (b *BitBucket) Type() corev1.SecretType + func (b *BitBucket) Validate() error + type GitHub struct + func NewGitHub(logger *slog.Logger, kube *k8s.Kube) *GitHub + func (g *GitHub) Data(ctx context.Context, cfg *config.Config) (map[string][]byte, error) + func (g *GitHub) LoggerWith(logger *slog.Logger) *slog.Logger + func (g *GitHub) PersistentFlags(c *cobra.Command) + func (g *GitHub) SetArgument(k, v string) error + func (g *GitHub) Type() corev1.SecretType + func (g *GitHub) Validate() error + type GitLab struct + func NewGitLab(logger *slog.Logger) *GitLab + func (g *GitLab) Data(_ context.Context, _ *config.Config) (map[string][]byte, error) + func (g *GitLab) LoggerWith(logger *slog.Logger) *slog.Logger + func (g *GitLab) PersistentFlags(c *cobra.Command) + func (g *GitLab) SetArgument(string, string) error + func (g *GitLab) Type() corev1.SecretType + func (g *GitLab) Validate() error + type ImageRegistry struct + func NewContainerRegistry(defaultURL string) *ImageRegistry + func (i *ImageRegistry) Data(_ context.Context, _ *config.Config) (map[string][]byte, error) + func (i *ImageRegistry) LoggerWith(logger *slog.Logger) *slog.Logger + func (i *ImageRegistry) PersistentFlags(cmd *cobra.Command) + func (i *ImageRegistry) SetArgument(_, _ string) error + func (i *ImageRegistry) Type() corev1.SecretType + func (i *ImageRegistry) Validate() error + type Integration struct + func NewSecret(logger *slog.Logger, kube *k8s.Kube, name string, data Interface) *Integration + func (i *Integration) Create(ctx context.Context, cfg *config.Config) error + func (i *Integration) Delete(ctx context.Context, cfg *config.Config) error + func (i *Integration) Exists(ctx context.Context, cfg *config.Config) (bool, error) + func (i *Integration) PersistentFlags(cmd *cobra.Command) + func (i *Integration) SetArgument(k, v string) error + func (i *Integration) Validate() error + type Interface interface + Data func(context.Context, *config.Config) (map[string][]byte, error) + LoggerWith func(*slog.Logger) *slog.Logger + PersistentFlags func(*cobra.Command) + SetArgument func(string, string) error + Type func() corev1.SecretType + Validate func() error + type Jenkins struct + func NewJenkins() *Jenkins + func (j *Jenkins) Data(_ context.Context, _ *config.Config) (map[string][]byte, error) + func (j *Jenkins) LoggerWith(logger *slog.Logger) *slog.Logger + func (j *Jenkins) PersistentFlags(c *cobra.Command) + func (j *Jenkins) SetArgument(string, string) error + func (j *Jenkins) Type() corev1.SecretType + func (j *Jenkins) Validate() error + type TrustedArtifactSigner struct + func NewTrustedArtifactSigner() *TrustedArtifactSigner + func (t *TrustedArtifactSigner) Data(_ context.Context, _ *config.Config) (map[string][]byte, error) + func (t *TrustedArtifactSigner) LoggerWith(logger *slog.Logger) *slog.Logger + func (t *TrustedArtifactSigner) PersistentFlags(c *cobra.Command) + func (t *TrustedArtifactSigner) SetArgument(string, string) error + func (t *TrustedArtifactSigner) Type() corev1.SecretType + func (t *TrustedArtifactSigner) Validate() error + type Trustification struct + func NewTrustification() *Trustification + func (t *Trustification) Data(_ context.Context, _ *config.Config) (map[string][]byte, error) + func (t *Trustification) LoggerWith(logger *slog.Logger) *slog.Logger + func (t *Trustification) PersistentFlags(c *cobra.Command) + func (t *Trustification) SetArgument(string, string) error + func (t *Trustification) Type() corev1.SecretType + func (t *Trustification) Validate() error