Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalicoCleanup ¶
type CalicoCleanup struct{}
CalicoCleanup deletes the Enterprise API server objects a prior Enterprise installation left behind.
func (CalicoCleanup) ExtendInputs ¶
func (CalicoCleanup) ExtendInputs(_ context.Context, ci controller.Inputs) (controller.Inputs, []certificatemanagement.KeyPairInterface, error)
func (CalicoCleanup) Watches ¶
func (CalicoCleanup) Watches(ctrlruntime.Controller) error
type Extension ¶
type Extension struct {
// contains filtered or unexported fields
}
Extension is the Calico Enterprise behavior for the API server controller.
func New ¶
func New(variant operatorv1.ProductVariant, opts eoptions.Options) *Extension
New returns the API server extension for the variant the operator resolved.
func (*Extension) ExtendInputs ¶
func (e *Extension) ExtendInputs(ctx context.Context, ci controller.Inputs) (controller.Inputs, []certificatemanagement.KeyPairInterface, error)
ExtendInputs does the enterprise controller-side work: it builds the trusted bundle, fetches the enterprise CRs, creates the query server certificate, resolves the L7 sidecar images, and stashes them for the modifiers. The base API server render carries none of this.
func (*Extension) Watches ¶
func (e *Extension) Watches(c ctrlruntime.Controller) error
Watches registers the enterprise resources the API server controller reconciles on.
Click to show internal directories.
Click to hide internal directories.