Documentation ¶
Index ¶
- Constants
- func New() clusters.Addon
- type Addon
- func (a *Addon) Delete(ctx context.Context, cluster clusters.Cluster) error
- func (a *Addon) Dependencies(_ context.Context, _ clusters.Cluster) []clusters.AddonName
- func (a *Addon) Deploy(ctx context.Context, cluster clusters.Cluster) error
- func (a *Addon) DumpDiagnostics(context.Context, clusters.Cluster) (map[string][]byte, error)
- func (a *Addon) Name() clusters.AddonName
- func (a *Addon) Ready(ctx context.Context, cluster clusters.Cluster) ([]runtime.Object, bool, error)
- type Builder
Constants ¶
View Source
const ( // AddonName indicates the unique name of this addon. AddonName clusters.AddonName = "metallb" // DefaultNamespace indicates the default namespace this addon will be deployed to. DefaultNamespace = "metallb-system" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Addon ¶ added in v0.40.0
type Addon struct {
// contains filtered or unexported fields
}
func (*Addon) Dependencies ¶ added in v0.40.0
func (*Addon) DumpDiagnostics ¶ added in v0.40.0
type Builder ¶ added in v0.40.0
type Builder struct {
// contains filtered or unexported fields
}
Builder is a configuration tool for metallb cluster.Addons.
func NewBuilder ¶ added in v0.40.0
func NewBuilder() *Builder
NewBuilder provides a new Builder object with default addon settings.
func (*Builder) WithIPAddressPoolDisabled ¶ added in v0.40.0
WithIPAddressPoolDisabled instructs the builder to create addons with pool creation disabled.
Click to show internal directories.
Click to hide internal directories.