Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, configStore *configstore.Store) (commonCtrl.Reconciler, error)
- type NetworkPolicy
- type Reconciler
- func (r *Reconciler) AddIngressNetworkPolicy(ctx context.Context, exporter *goharborv1.Exporter) (NetworkPolicy, error)
- func (r *Reconciler) AddNetworkPolicies(ctx context.Context, exporter *goharborv1.Exporter) error
- func (r *Reconciler) AddResources(ctx context.Context, resource resources.Resource) error
- func (r *Reconciler) GetDeployment(ctx context.Context, exporter *goharborv1.Exporter) (*appsv1.Deployment, error)
- func (r *Reconciler) GetIngressNetworkPolicy(ctx context.Context, exporter *goharborv1.Exporter) (*netv1.NetworkPolicy, error)
- func (r *Reconciler) GetService(ctx context.Context, exporter *goharborv1.Exporter) (*corev1.Service, error)
- func (r *Reconciler) NewEmpty(_ context.Context) resources.Resource
- func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
Constants ¶
View Source
const ( ConfigPath = "/etc/exporter" HealthPath = "/" InternalCertificatesVolumeName = "internal-certificates" InternalCertificateAuthorityDirectory = "/harbor_cust_cert" InternalCertificatesPath = ConfigPath + "/ssl" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, configStore *configstore.Store) (commonCtrl.Reconciler, error)
Types ¶
type NetworkPolicy ¶
type Reconciler ¶
type Reconciler struct {
*commonCtrl.Controller
}
Reconciler reconciles a Exporter object.
func (*Reconciler) AddIngressNetworkPolicy ¶
func (r *Reconciler) AddIngressNetworkPolicy(ctx context.Context, exporter *goharborv1.Exporter) (NetworkPolicy, error)
func (*Reconciler) AddNetworkPolicies ¶
func (r *Reconciler) AddNetworkPolicies(ctx context.Context, exporter *goharborv1.Exporter) error
func (*Reconciler) AddResources ¶
func (*Reconciler) GetDeployment ¶
func (r *Reconciler) GetDeployment(ctx context.Context, exporter *goharborv1.Exporter) (*appsv1.Deployment, error)
func (*Reconciler) GetIngressNetworkPolicy ¶
func (r *Reconciler) GetIngressNetworkPolicy(ctx context.Context, exporter *goharborv1.Exporter) (*netv1.NetworkPolicy, error)
func (*Reconciler) GetService ¶
func (r *Reconciler) GetService(ctx context.Context, exporter *goharborv1.Exporter) (*corev1.Service, error)
func (*Reconciler) SetupWithManager ¶
Click to show internal directories.
Click to hide internal directories.