Documentation
¶
Overview ¶
Package extension defines a hook server for multi-stage cluster addons.
Index ¶
- Constants
- type Handler
- func (*Handler) DoAfterClusterUpgrade(ctx context.Context, request *runtimehooksv1.AfterClusterUpgradeRequest, ...)
- func (e *Handler) DoAfterControlPlaneInitialized(ctx context.Context, ...)
- func (e *Handler) DoBeforeClusterUpgrade(ctx context.Context, request *runtimehooksv1.BeforeClusterUpgradeRequest, ...)
Constants ¶
View Source
const (
// BeforeClusterUpgradeHook is the hook for before cluster upgrade.
BeforeClusterUpgradeHook = "BeforeClusterUpgrade"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is the handler object with client.Client for the hook server.
func (*Handler) DoAfterClusterUpgrade ¶
func (*Handler) DoAfterClusterUpgrade(ctx context.Context, request *runtimehooksv1.AfterClusterUpgradeRequest, response *runtimehooksv1.AfterClusterUpgradeResponse)
DoAfterClusterUpgrade satisfies the CAPI interface for hook server.
func (*Handler) DoAfterControlPlaneInitialized ¶
func (e *Handler) DoAfterControlPlaneInitialized(ctx context.Context, request *runtimehooksv1.AfterControlPlaneInitializedRequest, response *runtimehooksv1.AfterControlPlaneInitializedResponse)
DoAfterControlPlaneInitialized satisfies the CAPI interface for hook server.
func (*Handler) DoBeforeClusterUpgrade ¶
func (e *Handler) DoBeforeClusterUpgrade(ctx context.Context, request *runtimehooksv1.BeforeClusterUpgradeRequest, response *runtimehooksv1.BeforeClusterUpgradeResponse)
DoBeforeClusterUpgrade satisfies the CAPI interface for hook server.
Click to show internal directories.
Click to hide internal directories.