Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, configStore *configstore.Store) (commonCtrl.Reconciler, error)
- type ChartMuseum
- type ChartMuseumInternalCertificate
- type Core
- type CoreAdminPassword
- type CoreCSRF
- type CoreEncryptionKey
- type CoreIngress
- type CoreInternalCertificate
- type CoreSecret
- type CoreTokenCertificate
- type ErrInvalidIngressController
- type Exporter
- type ExporterInternalCertificate
- type GithubSource
- type InternalTLSCertificate
- type InternalTLSCertificateAuthority
- type InternalTLSCertificateAuthorityIssuer
- type InternalTLSIssuer
- type JobService
- type JobServiceInternalCertificate
- type JobServiceSecret
- type NetworkPolicy
- type NotaryIngress
- type NotaryServer
- type NotaryServerCertificate
- type NotaryServerInternalCertificate
- type NotarySigner
- type NotarySignerCertificate
- type NotarySignerCertificateAuthority
- type NotarySignerCertificateAuthorityIssuer
- type NotarySignerCertificateIssuer
- type NotarySignerEncryptionKey
- type NotarySignerMigrationSecret
- type Portal
- type PortalInternalCertificate
- type Reconciler
- func (r *Reconciler) AddChartMuseum(ctx context.Context, harbor *goharborv1.Harbor, ...) (ChartMuseum, error)
- func (r *Reconciler) AddChartMuseumConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ChartMuseumInternalCertificate, error)
- func (r *Reconciler) AddChartMuseumIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddChartMuseumInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ChartMuseumInternalCertificate, error)
- func (r *Reconciler) AddCore(ctx context.Context, harbor *goharborv1.Harbor, ...) (Core, error)
- func (r *Reconciler) AddCoreAdminPassword(ctx context.Context, harbor *goharborv1.Harbor) (CoreAdminPassword, error)
- func (r *Reconciler) AddCoreCSRF(ctx context.Context, harbor *goharborv1.Harbor) (CoreCSRF, error)
- func (r *Reconciler) AddCoreConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (CoreInternalCertificate, CoreCSRF, CoreTokenCertificate, CoreSecret, ...)
- func (r *Reconciler) AddCoreEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (CoreEncryptionKey, error)
- func (r *Reconciler) AddCoreIngress(ctx context.Context, harbor *goharborv1.Harbor, core Core, portal Portal) (CoreIngress, error)
- func (r *Reconciler) AddCoreIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddCoreInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (CoreInternalCertificate, error)
- func (r *Reconciler) AddCoreSecret(ctx context.Context, harbor *goharborv1.Harbor) (CoreSecret, error)
- func (r *Reconciler) AddCoreTokenCertificate(ctx context.Context, harbor *goharborv1.Harbor) (CoreTokenCertificate, error)
- func (r *Reconciler) AddExporter(ctx context.Context, harbor *goharborv1.Harbor, core Core, ...) (Exporter, error)
- func (r *Reconciler) AddExporterConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ExporterInternalCertificate, error)
- func (r *Reconciler) AddExporterInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ExporterInternalCertificate, error)
- func (r *Reconciler) AddInternalTLSCACertificate(ctx context.Context, harbor *goharborv1.Harbor, ...) (InternalTLSCertificateAuthority, error)
- func (r *Reconciler) AddInternalTLSCAIssuer(ctx context.Context, harbor *goharborv1.Harbor) (InternalTLSCertificateAuthorityIssuer, error)
- func (r *Reconciler) AddInternalTLSConfiguration(ctx context.Context, harbor *goharborv1.Harbor) (InternalTLSCertificateAuthorityIssuer, InternalTLSCertificateAuthority, ...)
- func (r *Reconciler) AddInternalTLSIssuer(ctx context.Context, harbor *goharborv1.Harbor, ca InternalTLSCertificate) (InternalTLSIssuer, error)
- func (r *Reconciler) AddJobService(ctx context.Context, harbor *goharborv1.Harbor, core Core, ...) (JobService, error)
- func (r *Reconciler) AddJobServiceConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (JobServiceInternalCertificate, JobServiceSecret, error)
- func (r *Reconciler) AddJobServiceIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddJobServiceInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (JobServiceInternalCertificate, error)
- func (r *Reconciler) AddJobServiceSecret(ctx context.Context, harbor *goharborv1.Harbor) (JobServiceSecret, error)
- func (r *Reconciler) AddNetworkPolicies(ctx context.Context, harbor *goharborv1.Harbor) error
- func (r *Reconciler) AddNotaryIngress(ctx context.Context, harbor *goharborv1.Harbor, notary NotaryServer) (NotaryIngress, error)
- func (r *Reconciler) AddNotaryServer(ctx context.Context, harbor *goharborv1.Harbor, ...) (NotaryServer, error)
- func (r *Reconciler) AddNotaryServerClientCertificate(ctx context.Context, harbor *goharborv1.Harbor, ...) (NotaryServerCertificate, error)
- func (r *Reconciler) AddNotaryServerConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer, ...) (NotaryServerCertificate, NotaryServerInternalCertificate, error)
- func (r *Reconciler) AddNotaryServerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddNotaryServerInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (NotaryServerInternalCertificate, error)
- func (r *Reconciler) AddNotarySigner(ctx context.Context, harbor *goharborv1.Harbor, ...) (NotarySigner, error)
- func (r *Reconciler) AddNotarySignerCertificate(ctx context.Context, harbor *goharborv1.Harbor, ...) (NotarySignerCertificate, error)
- func (r *Reconciler) AddNotarySignerCertificateAuthority(ctx context.Context, harbor *goharborv1.Harbor, ...) (NotarySignerCertificateAuthority, error)
- func (r *Reconciler) AddNotarySignerCertificateAuthorityIssuer(ctx context.Context, harbor *goharborv1.Harbor) (NotarySignerCertificateAuthorityIssuer, error)
- func (r *Reconciler) AddNotarySignerCertificateIssuer(ctx context.Context, harbor *goharborv1.Harbor, ...) (NotarySignerCertificateIssuer, error)
- func (r *Reconciler) AddNotarySignerConfigurations(ctx context.Context, harbor *goharborv1.Harbor) (NotarySignerCertificateIssuer, NotarySignerCertificate, ...)
- func (r *Reconciler) AddNotarySignerEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (NotarySignerEncryptionKey, error)
- func (r *Reconciler) AddNotarySignerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddPortal(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (PortalInternalCertificate, Portal, error)
- func (r *Reconciler) AddPortalEgressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddPortalIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddPortalInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (PortalInternalCertificate, error)
- func (r *Reconciler) AddRegistry(ctx context.Context, harbor *goharborv1.Harbor, ...) (Registry, error)
- func (r *Reconciler) AddRegistryAuthenticationSecret(ctx context.Context, harbor *goharborv1.Harbor) (RegistryAuthSecret, error)
- func (r *Reconciler) AddRegistryConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (RegistryInternalCertificate, RegistryAuthSecret, RegistryHTTPSecret, error)
- func (r *Reconciler) AddRegistryController(ctx context.Context, harbor *goharborv1.Harbor, registry Registry, ...) (RegistryControllerInternalCertificate, RegistryController, error)
- func (r *Reconciler) AddRegistryControllerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddRegistryControllerInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (RegistryControllerInternalCertificate, error)
- func (r *Reconciler) AddRegistryHTTPSecret(ctx context.Context, harbor *goharborv1.Harbor) (RegistryHTTPSecret, error)
- func (r *Reconciler) AddRegistryIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddRegistryInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (RegistryInternalCertificate, error)
- func (r *Reconciler) AddResources(ctx context.Context, resource resources.Resource) error
- func (r *Reconciler) AddTrivy(ctx context.Context, harbor *goharborv1.Harbor, ...) (Trivy, error)
- func (r *Reconciler) AddTrivyConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (TrivyInternalCertificate, TrivyUpdateSecret, error)
- func (r *Reconciler) AddTrivyIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
- func (r *Reconciler) AddTrivyInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (TrivyInternalCertificate, error)
- func (r *Reconciler) AddTrivyUpdateSecret(ctx context.Context, harbor *goharborv1.Harbor) (TrivyUpdateSecret, error)
- func (r *Reconciler) ChartMuseumStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.ChartMuseumChartStorageDriverSpec
- func (r *Reconciler) GetCSRFSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetChartMuseum(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.ChartMuseum, error)
- func (r *Reconciler) GetChartMuseumIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetCore(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Core, error)
- func (r *Reconciler) GetCoreAdminPassword(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetCoreEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetCoreIngress(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.Ingress, error)
- func (r *Reconciler) GetCoreIngressAnnotations(ctx context.Context, harbor *goharborv1.Harbor) map[string]string
- func (r *Reconciler) GetCoreIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetCoreIngressRuleValue(ctx context.Context, harbor *goharborv1.Harbor, ...) (*netv1.IngressRuleValue, error)
- func (r *Reconciler) GetCoreIngressRules(ctx context.Context, harbor *goharborv1.Harbor) ([]netv1.IngressRule, error)
- func (r *Reconciler) GetCoreSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetCoreTokenCertificate(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
- func (r *Reconciler) GetDefaultGithubToken() (string, error)
- func (r *Reconciler) GetDefaultNotaryMigrationSource() (*GithubSource, error)
- func (r *Reconciler) GetExporter(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Exporter, error)
- func (r *Reconciler) GetGithubToken(configKey string) (string, error)
- func (r *Reconciler) GetInternalTLSCertificate(ctx context.Context, harbor *goharborv1.Harbor, ...) (*certv1.Certificate, error)
- func (r *Reconciler) GetInternalTLSCertificateAuthority(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
- func (r *Reconciler) GetInternalTLSCertificateAuthorityIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
- func (r *Reconciler) GetInternalTLSCertificateName(ctx context.Context, harbor *goharborv1.Harbor, ...) string
- func (r *Reconciler) GetInternalTLSCertificateSecretName(ctx context.Context, harbor *goharborv1.Harbor, ...) string
- func (r *Reconciler) GetInternalTLSIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
- func (r *Reconciler) GetJobService(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.JobService, error)
- func (r *Reconciler) GetJobServiceIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetJobServiceSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetNotaryIngressAnnotations(ctx context.Context, harbor *goharborv1.Harbor) map[string]string
- func (r *Reconciler) GetNotaryIngressRules(ctx context.Context, harbor *goharborv1.Harbor) ([]netv1.IngressRule, error)
- func (r *Reconciler) GetNotaryServer(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.NotaryServer, error)
- func (r *Reconciler) GetNotaryServerCertificate(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
- func (r *Reconciler) GetNotaryServerIngress(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.Ingress, error)
- func (r *Reconciler) GetNotaryServerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetNotarySigner(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.NotarySigner, error)
- func (r *Reconciler) GetNotarySignerCertificate(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
- func (r *Reconciler) GetNotarySignerCertificateAuthority(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
- func (r *Reconciler) GetNotarySignerCertificateAuthorityIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
- func (r *Reconciler) GetNotarySignerCertificateIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
- func (r *Reconciler) GetNotarySignerEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetNotarySignerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetPortal(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Portal, error)
- func (r *Reconciler) GetPortalEgressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetPortalIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetRegistry(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Registry, error)
- func (r *Reconciler) GetRegistryAuthenticationSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetRegistryControllerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetRegistryCtl(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.RegistryController, error)
- func (r *Reconciler) GetRegistryHTTPSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) GetRegistryIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetTrivy(ctx context.Context, harbor *goharborv1.Harbor, hasUpdateSecret bool) (*goharborv1.Trivy, error)
- func (r *Reconciler) GetTrivyIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetTrivyUpdateSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
- func (r *Reconciler) JobServiceScanDataExportsStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.JobServiceStorageVolumeSpec
- func (r *Reconciler) NewEmpty(_ context.Context) resources.Resource
- func (r *Reconciler) RegistryStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.RegistryStorageDriverSpec
- func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
- func (r *Reconciler) TrivyCacheStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.TrivyStorageVolumeSpec
- func (r *Reconciler) TrivyReportsStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.TrivyStorageVolumeSpec
- type Registry
- type RegistryAuthSecret
- type RegistryController
- type RegistryControllerInternalCertificate
- type RegistryHTTPSecret
- type RegistryInternalCertificate
- type Trivy
- type TrivyInternalCertificate
- type TrivyUpdateSecret
Constants ¶
View Source
const ( CoreAdminPasswordLength = 32 CoreAdminPasswordNumDigits = 5 CoreAdminPasswordNumSpecials = 10 )
View Source
const ( CoreSecretPasswordLength = 128 CoreSecretPasswordNumDigits = 16 CoreSecretPasswordNumSpecials = 48 )
View Source
const ( CoreTokenServiceDefaultKeySize = 4096 CoreTokenServiceDefaultCertificateDuration = 3 * 30 * 24 * time.Hour )
View Source
const ( EncryptionKeyLength = 16 EncryptionKeyNumDigits = 8 EncryptionKeyNumSpecials = 2 )
View Source
const ( CSRFSecretPasswordLength = 32 CSRFSecretPasswordNumDigits = 5 CSRFSecretPasswordNumSpecials = 0 )
View Source
const ( NCPIngressValueTrue = "true" ContourIngressValueTrue = "true" )
View Source
const ( InternalTLSCertificateAuthorityDurationConfigKey = "internal-tls-certificate-authority-duration" InternalTLSCertificateAuthorityDurationDefaultConfig = 365 * 24 * time.Hour )
View Source
const ( InternalTLSDurationConfigKey = "internal-tls-duration" InternalTLSDurationDefaultConfig = 90 * 24 * time.Hour )
View Source
const ( JobServiceSecretLength = 16 JobServiceSecretNumDigits = 6 JobServiceSecretNumSpecials = 6 )
View Source
const ( NotaryServerCertificateDurationConfigKey = "notaryserver-certificate-duration" NotaryServerKeyAlgorithmDefaultConfig = "ecdsa" NotaryServerCertificateDurationDefaultConfig = 90 * 24 * time.Hour )
View Source
const ( NotaryServerCertificateAlgorithmConfigKey = "notaryserver-certificate-algorithm" NotaryServerCertificateAlgorithmDefaultConfig = certv1.ECDSAKeyAlgorithm )
View Source
const ( TokenServiceIssuer = "harbor-token-issuer" NotaryServerAuthenticationService = "harbor-notary" )
View Source
const ( NotarySignerCertificateAuthorityDurationConfigKey = "notary-signer-certificate-authority-duration" NotarySignerCertificateAuthorityDurationDefaultConfig = 365 * 24 * time.Hour )
View Source
const ( NotarySignerEncryptionKeyLength = 128 NotarySignerEncryptionKeyNumDigits = 16 NotarySignerEncryptionKeyNumSpecials = 48 )
View Source
const ( NotarySignerCertificateDurationConfigKey = "notarysigner-certificate-duration" NotarySignerCertificateDurationDefaultConfig = 90 * 24 * time.Hour )
View Source
const ( NotarySignerCertificateAlgorithmConfigKey = "notarysigner-certificate-algorithm" NotarySignerCertificateAlgorithmDefaultConfig = certv1.ECDSAKeyAlgorithm )
View Source
const ( // https://github.com/goharbor/harbor/blob/master/make/photon/prepare/utils/configs.py#L14 RegistryAuthenticationUsername = "harbor_registry_user" RegistryAuthenticationPasswordLength = 32 RegistryAuthenticationPasswordNumDigits = 10 RegistryAuthenticationPasswordNumSpecials = 10 )
View Source
const ( RegistrySecretPasswordLength = 128 RegistrySecretPasswordNumDigits = 16 RegistrySecretPasswordNumSpecials = 48 )
View Source
const (
ChartMuseumAuthenticationUsername = "chart_controller"
)
View Source
const (
ConfigRegistryEncryptionCostKey = "registry-encryption-cost"
)
View Source
const (
DefaultJobServiceLogSweeper = 14 * time.Hour
)
View Source
const GithubCredentialsConfigKey = "github-token"
View Source
const NotaryMigrationGithubSourceConfigKey = "notary-migration-github-source"
View Source
const (
RegistryAuthRealm = "harbor-registry-basic-realm"
)
View Source
const TrivyGithubCredentialsConfigKey = "trivy-github-credentials" //nolint:gosec
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, configStore *configstore.Store) (commonCtrl.Reconciler, error)
Types ¶
type ChartMuseum ¶
type CoreAdminPassword ¶
type CoreEncryptionKey ¶
type CoreIngress ¶
type CoreInternalCertificate ¶
type CoreSecret ¶
type CoreTokenCertificate ¶
type ErrInvalidIngressController ¶
type ErrInvalidIngressController struct {
Controller harbormetav1.IngressController
}
func (ErrInvalidIngressController) Error ¶
func (err ErrInvalidIngressController) Error() string
type GithubSource ¶
type InternalTLSCertificate ¶
type InternalTLSIssuer ¶
type JobService ¶
type JobServiceSecret ¶
type NetworkPolicy ¶
type NotaryIngress ¶
type NotaryServer ¶
type NotaryServerCertificate ¶
type NotarySigner ¶
type NotarySignerCertificate ¶
type Reconciler ¶
type Reconciler struct {
*commonCtrl.Controller
}
Reconciler reconciles a Harbor object.
func (*Reconciler) AddChartMuseum ¶
func (r *Reconciler) AddChartMuseum(ctx context.Context, harbor *goharborv1.Harbor, certificate ChartMuseumInternalCertificate, coreSecret CoreSecret) (ChartMuseum, error)
func (*Reconciler) AddChartMuseumConfigurations ¶
func (r *Reconciler) AddChartMuseumConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ChartMuseumInternalCertificate, error)
func (*Reconciler) AddChartMuseumIngressNetworkPolicy ¶
func (r *Reconciler) AddChartMuseumIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddChartMuseumInternalCertificate ¶
func (r *Reconciler) AddChartMuseumInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ChartMuseumInternalCertificate, error)
func (*Reconciler) AddCore ¶
func (r *Reconciler) AddCore(ctx context.Context, harbor *goharborv1.Harbor, coreCertificate CoreInternalCertificate, registryAuth RegistryAuthSecret, csrf CoreCSRF, tokenCertificate CoreTokenCertificate, secret CoreSecret, adminPassword CoreAdminPassword, encryptionKey CoreEncryptionKey) (Core, error)
func (*Reconciler) AddCoreAdminPassword ¶
func (r *Reconciler) AddCoreAdminPassword(ctx context.Context, harbor *goharborv1.Harbor) (CoreAdminPassword, error)
func (*Reconciler) AddCoreCSRF ¶
func (r *Reconciler) AddCoreCSRF(ctx context.Context, harbor *goharborv1.Harbor) (CoreCSRF, error)
func (*Reconciler) AddCoreConfigurations ¶
func (r *Reconciler) AddCoreConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (CoreInternalCertificate, CoreCSRF, CoreTokenCertificate, CoreSecret, CoreAdminPassword, CoreEncryptionKey, error)
func (*Reconciler) AddCoreEncryptionKey ¶
func (r *Reconciler) AddCoreEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (CoreEncryptionKey, error)
func (*Reconciler) AddCoreIngress ¶
func (r *Reconciler) AddCoreIngress(ctx context.Context, harbor *goharborv1.Harbor, core Core, portal Portal) (CoreIngress, error)
func (*Reconciler) AddCoreIngressNetworkPolicy ¶
func (r *Reconciler) AddCoreIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddCoreInternalCertificate ¶
func (r *Reconciler) AddCoreInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (CoreInternalCertificate, error)
func (*Reconciler) AddCoreSecret ¶
func (r *Reconciler) AddCoreSecret(ctx context.Context, harbor *goharborv1.Harbor) (CoreSecret, error)
func (*Reconciler) AddCoreTokenCertificate ¶
func (r *Reconciler) AddCoreTokenCertificate(ctx context.Context, harbor *goharborv1.Harbor) (CoreTokenCertificate, error)
func (*Reconciler) AddExporter ¶
func (r *Reconciler) AddExporter(ctx context.Context, harbor *goharborv1.Harbor, core Core, certificate ExporterInternalCertificate) (Exporter, error)
func (*Reconciler) AddExporterConfigurations ¶
func (r *Reconciler) AddExporterConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ExporterInternalCertificate, error)
func (*Reconciler) AddExporterInternalCertificate ¶
func (r *Reconciler) AddExporterInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (ExporterInternalCertificate, error)
func (*Reconciler) AddInternalTLSCACertificate ¶
func (r *Reconciler) AddInternalTLSCACertificate(ctx context.Context, harbor *goharborv1.Harbor, caIssuer InternalTLSCertificateAuthorityIssuer) (InternalTLSCertificateAuthority, error)
func (*Reconciler) AddInternalTLSCAIssuer ¶
func (r *Reconciler) AddInternalTLSCAIssuer(ctx context.Context, harbor *goharborv1.Harbor) (InternalTLSCertificateAuthorityIssuer, error)
func (*Reconciler) AddInternalTLSConfiguration ¶
func (r *Reconciler) AddInternalTLSConfiguration(ctx context.Context, harbor *goharborv1.Harbor) (InternalTLSCertificateAuthorityIssuer, InternalTLSCertificateAuthority, InternalTLSIssuer, error)
func (*Reconciler) AddInternalTLSIssuer ¶
func (r *Reconciler) AddInternalTLSIssuer(ctx context.Context, harbor *goharborv1.Harbor, ca InternalTLSCertificate) (InternalTLSIssuer, error)
func (*Reconciler) AddJobService ¶
func (r *Reconciler) AddJobService(ctx context.Context, harbor *goharborv1.Harbor, core Core, certificate JobServiceInternalCertificate, coreSecret CoreSecret, jobServiceSecret JobServiceSecret) (JobService, error)
func (*Reconciler) AddJobServiceConfigurations ¶
func (r *Reconciler) AddJobServiceConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (JobServiceInternalCertificate, JobServiceSecret, error)
func (*Reconciler) AddJobServiceIngressNetworkPolicy ¶
func (r *Reconciler) AddJobServiceIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddJobServiceInternalCertificate ¶
func (r *Reconciler) AddJobServiceInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (JobServiceInternalCertificate, error)
func (*Reconciler) AddJobServiceSecret ¶
func (r *Reconciler) AddJobServiceSecret(ctx context.Context, harbor *goharborv1.Harbor) (JobServiceSecret, error)
func (*Reconciler) AddNetworkPolicies ¶
func (r *Reconciler) AddNetworkPolicies(ctx context.Context, harbor *goharborv1.Harbor) error
func (*Reconciler) AddNotaryIngress ¶
func (r *Reconciler) AddNotaryIngress(ctx context.Context, harbor *goharborv1.Harbor, notary NotaryServer) (NotaryIngress, error)
func (*Reconciler) AddNotaryServer ¶
func (r *Reconciler) AddNotaryServer(ctx context.Context, harbor *goharborv1.Harbor, certificate NotaryServerInternalCertificate, authCert NotaryServerCertificate) (NotaryServer, error)
func (*Reconciler) AddNotaryServerClientCertificate ¶
func (r *Reconciler) AddNotaryServerClientCertificate(ctx context.Context, harbor *goharborv1.Harbor, issuer NotarySignerCertificateIssuer) (NotaryServerCertificate, error)
func (*Reconciler) AddNotaryServerConfigurations ¶
func (r *Reconciler) AddNotaryServerConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer, notaryIssuer NotarySignerCertificateIssuer) (NotaryServerCertificate, NotaryServerInternalCertificate, error)
func (*Reconciler) AddNotaryServerIngressNetworkPolicy ¶
func (r *Reconciler) AddNotaryServerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddNotaryServerInternalCertificate ¶
func (r *Reconciler) AddNotaryServerInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (NotaryServerInternalCertificate, error)
func (*Reconciler) AddNotarySigner ¶
func (r *Reconciler) AddNotarySigner(ctx context.Context, harbor *goharborv1.Harbor, certificate NotarySignerCertificate, encryptionKey NotarySignerEncryptionKey) (NotarySigner, error)
func (*Reconciler) AddNotarySignerCertificate ¶
func (r *Reconciler) AddNotarySignerCertificate(ctx context.Context, harbor *goharborv1.Harbor, issuer NotarySignerCertificateIssuer) (NotarySignerCertificate, error)
func (*Reconciler) AddNotarySignerCertificateAuthority ¶
func (r *Reconciler) AddNotarySignerCertificateAuthority(ctx context.Context, harbor *goharborv1.Harbor, issuer NotarySignerCertificateAuthorityIssuer) (NotarySignerCertificateAuthority, error)
func (*Reconciler) AddNotarySignerCertificateAuthorityIssuer ¶
func (r *Reconciler) AddNotarySignerCertificateAuthorityIssuer(ctx context.Context, harbor *goharborv1.Harbor) (NotarySignerCertificateAuthorityIssuer, error)
func (*Reconciler) AddNotarySignerCertificateIssuer ¶
func (r *Reconciler) AddNotarySignerCertificateIssuer(ctx context.Context, harbor *goharborv1.Harbor, ca NotarySignerCertificateAuthority) (NotarySignerCertificateIssuer, error)
func (*Reconciler) AddNotarySignerConfigurations ¶
func (r *Reconciler) AddNotarySignerConfigurations(ctx context.Context, harbor *goharborv1.Harbor) (NotarySignerCertificateIssuer, NotarySignerCertificate, NotarySignerEncryptionKey, error)
func (*Reconciler) AddNotarySignerEncryptionKey ¶
func (r *Reconciler) AddNotarySignerEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (NotarySignerEncryptionKey, error)
func (*Reconciler) AddNotarySignerIngressNetworkPolicy ¶
func (r *Reconciler) AddNotarySignerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddPortal ¶
func (r *Reconciler) AddPortal(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (PortalInternalCertificate, Portal, error)
func (*Reconciler) AddPortalEgressNetworkPolicy ¶
func (r *Reconciler) AddPortalEgressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddPortalIngressNetworkPolicy ¶
func (r *Reconciler) AddPortalIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddPortalInternalCertificate ¶
func (r *Reconciler) AddPortalInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (PortalInternalCertificate, error)
func (*Reconciler) AddRegistry ¶
func (r *Reconciler) AddRegistry(ctx context.Context, harbor *goharborv1.Harbor, certificate RegistryInternalCertificate, authSecret RegistryAuthSecret, httpSecret RegistryHTTPSecret) (Registry, error)
func (*Reconciler) AddRegistryAuthenticationSecret ¶
func (r *Reconciler) AddRegistryAuthenticationSecret(ctx context.Context, harbor *goharborv1.Harbor) (RegistryAuthSecret, error)
func (*Reconciler) AddRegistryConfigurations ¶
func (r *Reconciler) AddRegistryConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (RegistryInternalCertificate, RegistryAuthSecret, RegistryHTTPSecret, error)
func (*Reconciler) AddRegistryController ¶
func (r *Reconciler) AddRegistryController(ctx context.Context, harbor *goharborv1.Harbor, registry Registry, tlsIssuer InternalTLSIssuer) (RegistryControllerInternalCertificate, RegistryController, error)
func (*Reconciler) AddRegistryControllerIngressNetworkPolicy ¶
func (r *Reconciler) AddRegistryControllerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddRegistryControllerInternalCertificate ¶
func (r *Reconciler) AddRegistryControllerInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (RegistryControllerInternalCertificate, error)
func (*Reconciler) AddRegistryHTTPSecret ¶
func (r *Reconciler) AddRegistryHTTPSecret(ctx context.Context, harbor *goharborv1.Harbor) (RegistryHTTPSecret, error)
func (*Reconciler) AddRegistryIngressNetworkPolicy ¶
func (r *Reconciler) AddRegistryIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddRegistryInternalCertificate ¶
func (r *Reconciler) AddRegistryInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (RegistryInternalCertificate, error)
func (*Reconciler) AddResources ¶
func (*Reconciler) AddTrivy ¶
func (r *Reconciler) AddTrivy(ctx context.Context, harbor *goharborv1.Harbor, certificate TrivyInternalCertificate, secretUpdate TrivyUpdateSecret) (Trivy, error)
func (*Reconciler) AddTrivyConfigurations ¶
func (r *Reconciler) AddTrivyConfigurations(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (TrivyInternalCertificate, TrivyUpdateSecret, error)
func (*Reconciler) AddTrivyIngressNetworkPolicy ¶
func (r *Reconciler) AddTrivyIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (NetworkPolicy, error)
func (*Reconciler) AddTrivyInternalCertificate ¶
func (r *Reconciler) AddTrivyInternalCertificate(ctx context.Context, harbor *goharborv1.Harbor, tlsIssuer InternalTLSIssuer) (TrivyInternalCertificate, error)
func (*Reconciler) AddTrivyUpdateSecret ¶
func (r *Reconciler) AddTrivyUpdateSecret(ctx context.Context, harbor *goharborv1.Harbor) (TrivyUpdateSecret, error)
func (*Reconciler) ChartMuseumStorage ¶
func (r *Reconciler) ChartMuseumStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.ChartMuseumChartStorageDriverSpec
func (*Reconciler) GetCSRFSecret ¶
func (r *Reconciler) GetCSRFSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetChartMuseum ¶
func (r *Reconciler) GetChartMuseum(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.ChartMuseum, error)
func (*Reconciler) GetChartMuseumIngressNetworkPolicy ¶
func (r *Reconciler) GetChartMuseumIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetCore ¶
func (r *Reconciler) GetCore(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Core, error)
func (*Reconciler) GetCoreAdminPassword ¶
func (r *Reconciler) GetCoreAdminPassword(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetCoreEncryptionKey ¶
func (r *Reconciler) GetCoreEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetCoreIngress ¶
func (r *Reconciler) GetCoreIngress(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.Ingress, error)
func (*Reconciler) GetCoreIngressAnnotations ¶
func (r *Reconciler) GetCoreIngressAnnotations(ctx context.Context, harbor *goharborv1.Harbor) map[string]string
func (*Reconciler) GetCoreIngressNetworkPolicy ¶
func (r *Reconciler) GetCoreIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetCoreIngressRuleValue ¶
func (r *Reconciler) GetCoreIngressRuleValue(ctx context.Context, harbor *goharborv1.Harbor, core, portal *netv1.IngressBackend) (*netv1.IngressRuleValue, error)
func (*Reconciler) GetCoreIngressRules ¶
func (r *Reconciler) GetCoreIngressRules(ctx context.Context, harbor *goharborv1.Harbor) ([]netv1.IngressRule, error)
func (*Reconciler) GetCoreSecret ¶
func (r *Reconciler) GetCoreSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetCoreTokenCertificate ¶
func (r *Reconciler) GetCoreTokenCertificate(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
func (*Reconciler) GetDefaultGithubToken ¶
func (r *Reconciler) GetDefaultGithubToken() (string, error)
func (*Reconciler) GetDefaultNotaryMigrationSource ¶
func (r *Reconciler) GetDefaultNotaryMigrationSource() (*GithubSource, error)
func (*Reconciler) GetExporter ¶
func (r *Reconciler) GetExporter(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Exporter, error)
func (*Reconciler) GetGithubToken ¶
func (r *Reconciler) GetGithubToken(configKey string) (string, error)
func (*Reconciler) GetInternalTLSCertificate ¶
func (r *Reconciler) GetInternalTLSCertificate(ctx context.Context, harbor *goharborv1.Harbor, component harbormetav1.ComponentWithTLS) (*certv1.Certificate, error)
func (*Reconciler) GetInternalTLSCertificateAuthority ¶
func (r *Reconciler) GetInternalTLSCertificateAuthority(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
func (*Reconciler) GetInternalTLSCertificateAuthorityIssuer ¶
func (r *Reconciler) GetInternalTLSCertificateAuthorityIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
func (*Reconciler) GetInternalTLSCertificateName ¶
func (r *Reconciler) GetInternalTLSCertificateName(ctx context.Context, harbor *goharborv1.Harbor, component harbormetav1.ComponentWithTLS) string
func (*Reconciler) GetInternalTLSCertificateSecretName ¶
func (r *Reconciler) GetInternalTLSCertificateSecretName(ctx context.Context, harbor *goharborv1.Harbor, component harbormetav1.ComponentWithTLS) string
func (*Reconciler) GetInternalTLSIssuer ¶
func (r *Reconciler) GetInternalTLSIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
func (*Reconciler) GetJobService ¶
func (r *Reconciler) GetJobService(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.JobService, error)
func (*Reconciler) GetJobServiceIngressNetworkPolicy ¶
func (r *Reconciler) GetJobServiceIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetJobServiceSecret ¶
func (r *Reconciler) GetJobServiceSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetNotaryIngressAnnotations ¶
func (r *Reconciler) GetNotaryIngressAnnotations(ctx context.Context, harbor *goharborv1.Harbor) map[string]string
func (*Reconciler) GetNotaryIngressRules ¶
func (r *Reconciler) GetNotaryIngressRules(ctx context.Context, harbor *goharborv1.Harbor) ([]netv1.IngressRule, error)
func (*Reconciler) GetNotaryServer ¶
func (r *Reconciler) GetNotaryServer(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.NotaryServer, error)
func (*Reconciler) GetNotaryServerCertificate ¶
func (r *Reconciler) GetNotaryServerCertificate(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
func (*Reconciler) GetNotaryServerIngress ¶
func (r *Reconciler) GetNotaryServerIngress(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.Ingress, error)
func (*Reconciler) GetNotaryServerIngressNetworkPolicy ¶
func (r *Reconciler) GetNotaryServerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetNotarySigner ¶
func (r *Reconciler) GetNotarySigner(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.NotarySigner, error)
func (*Reconciler) GetNotarySignerCertificate ¶
func (r *Reconciler) GetNotarySignerCertificate(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
func (*Reconciler) GetNotarySignerCertificateAuthority ¶
func (r *Reconciler) GetNotarySignerCertificateAuthority(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Certificate, error)
func (*Reconciler) GetNotarySignerCertificateAuthorityIssuer ¶
func (r *Reconciler) GetNotarySignerCertificateAuthorityIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
func (*Reconciler) GetNotarySignerCertificateIssuer ¶
func (r *Reconciler) GetNotarySignerCertificateIssuer(ctx context.Context, harbor *goharborv1.Harbor) (*certv1.Issuer, error)
func (*Reconciler) GetNotarySignerEncryptionKey ¶
func (r *Reconciler) GetNotarySignerEncryptionKey(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetNotarySignerIngressNetworkPolicy ¶
func (r *Reconciler) GetNotarySignerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetPortal ¶
func (r *Reconciler) GetPortal(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Portal, error)
func (*Reconciler) GetPortalEgressNetworkPolicy ¶
func (r *Reconciler) GetPortalEgressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetPortalIngressNetworkPolicy ¶
func (r *Reconciler) GetPortalIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetRegistry ¶
func (r *Reconciler) GetRegistry(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.Registry, error)
func (*Reconciler) GetRegistryAuthenticationSecret ¶
func (r *Reconciler) GetRegistryAuthenticationSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetRegistryControllerIngressNetworkPolicy ¶
func (r *Reconciler) GetRegistryControllerIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetRegistryCtl ¶
func (r *Reconciler) GetRegistryCtl(ctx context.Context, harbor *goharborv1.Harbor) (*goharborv1.RegistryController, error)
func (*Reconciler) GetRegistryHTTPSecret ¶
func (r *Reconciler) GetRegistryHTTPSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) GetRegistryIngressNetworkPolicy ¶
func (r *Reconciler) GetRegistryIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetTrivy ¶
func (r *Reconciler) GetTrivy(ctx context.Context, harbor *goharborv1.Harbor, hasUpdateSecret bool) (*goharborv1.Trivy, error)
func (*Reconciler) GetTrivyIngressNetworkPolicy ¶
func (r *Reconciler) GetTrivyIngressNetworkPolicy(ctx context.Context, harbor *goharborv1.Harbor) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetTrivyUpdateSecret ¶
func (r *Reconciler) GetTrivyUpdateSecret(ctx context.Context, harbor *goharborv1.Harbor) (*corev1.Secret, error)
func (*Reconciler) JobServiceScanDataExportsStorage ¶
func (r *Reconciler) JobServiceScanDataExportsStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.JobServiceStorageVolumeSpec
func (*Reconciler) RegistryStorage ¶
func (r *Reconciler) RegistryStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.RegistryStorageDriverSpec
func (*Reconciler) SetupWithManager ¶
func (*Reconciler) TrivyCacheStorage ¶
func (r *Reconciler) TrivyCacheStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.TrivyStorageVolumeSpec
func (*Reconciler) TrivyReportsStorage ¶
func (r *Reconciler) TrivyReportsStorage(ctx context.Context, harbor *goharborv1.Harbor) goharborv1.TrivyStorageVolumeSpec
type RegistryAuthSecret ¶
type RegistryController ¶
type RegistryHTTPSecret ¶
type TrivyUpdateSecret ¶
Click to show internal directories.
Click to hide internal directories.