extension

package
v0.1.0-alpha.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package extension defines a hook server for multi-stage cluster addons.

Index

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

type Handler struct {
	client.Client
	HookRecord map[string]string
}

Handler is the handler object with client.Client for the hook server.

func NewHandler

func NewHandler(c client.Client) *Handler

NewHandler gives an extension handler.

func (*Handler) DoAfterClusterUpgrade

DoAfterClusterUpgrade satisfies the CAPI interface for hook server.

func (*Handler) DoAfterControlPlaneInitialized

DoAfterControlPlaneInitialized satisfies the CAPI interface for hook server.

func (*Handler) DoBeforeClusterUpgrade

DoBeforeClusterUpgrade satisfies the CAPI interface for hook server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL