Documentation ¶
Index ¶
- Constants
- type Controller
- func (harbor *Controller) Apply(ctx context.Context, harborcluster *goharborv1.HarborCluster, ...) (*lcm.CRStatus, error)
- func (harbor *Controller) Delete(_ context.Context, _ *goharborv1.HarborCluster) (*lcm.CRStatus, error)
- func (harbor *Controller) Upgrade(_ context.Context, _ *goharborv1.HarborCluster) (*lcm.CRStatus, error)
Constants ¶
View Source
const ( GetHarborCRError = "Get harbor.goharbor.io CR error" CreateHarborCRError = "Create harbor.goharbor.io CR error" UpdateHarborCRError = "Update harbor.goharbor.io CR error" EmptyHarborCRStatusError = "Empty harbor.goharbor.io CR status error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func NewHarborController ¶
func NewHarborController(options ...k8s.Option) *Controller
func (*Controller) Apply ¶
func (harbor *Controller) Apply(ctx context.Context, harborcluster *goharborv1.HarborCluster, options ...lcm.Option) (*lcm.CRStatus, error)
Apply Harbor instance.
func (*Controller) Delete ¶
func (harbor *Controller) Delete(_ context.Context, _ *goharborv1.HarborCluster) (*lcm.CRStatus, error)
func (*Controller) Upgrade ¶
func (harbor *Controller) Upgrade(_ context.Context, _ *goharborv1.HarborCluster) (*lcm.CRStatus, error)
Click to show internal directories.
Click to hide internal directories.