Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize()
Types ¶
type Addon ¶
type Addon[T any] struct { Config T Definition Definition // contains filtered or unexported fields }
func (*Addon) CheckInitialized ¶
func (a *Addon) CheckInitialized()
CheckInitialized checks that the addon has been initialized and therefore it is safe to assume that its configuration is final and that it has registered anything it needs with the rest of the system.
If not, it panics.
Includes a call to instance.CheckLockedDown.
func (*Addon) CheckNotInitialized ¶
func (a *Addon) CheckNotInitialized()
CheckNotInitialized checks that the addon has not been initialized yet and therefore it is safe to apply customizations / configuration changes to it.
If not, it panics.
Includes a call to instance.CheckCanCustomize.
func (*Addon[T]) RegisterIfNeeded ¶
func (a *Addon[T]) RegisterIfNeeded()
type Definition ¶
type Description ¶
func Enabled ¶
func Enabled() []Description
Directories
¶
| Path | Synopsis |
|---|---|
|
apt/getkey
command
|
|
|
internal
Package internal provides internal types and functions for the bootstrap addon.
|
Package internal provides internal types and functions for the bootstrap addon. |
|
textedit
Package textedit provides helpers for making changes to line-oriented text files.
|
Package textedit provides helpers for making changes to line-oriented text files. |
|
input
module
|
|
|
containerd
module
|
|
|
docker
module
|
|
|
gcs
module
|
|
|
gocache
module
|
|
|
gcs
module
|
|
|
s3
module
|
|
|
k3s
module
|
|
|
k8s
module
|
|
|
postgres
module
|
|
|
valkey
module
|
Click to show internal directories.
Click to hide internal directories.