addons

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 8 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize()

func Register

func Register[T any](a *Addon[T])

Types

type Addon

type Addon[T any] struct {
	Config     T
	Definition Definition
	// contains filtered or unexported fields
}

func (*Addon) CheckInitialized

func (a *Addon) CheckInitialized()

func (*Addon) CheckNotInitialized

func (a *Addon) CheckNotInitialized()

func (*Addon[T]) RegisterIfNeeded

func (a *Addon[T]) RegisterIfNeeded()

type Definition

type Definition struct {
	Name        string
	Description func() string
	Initialize  func() error
}

type Description

type Description struct {
	Name        string
	Description string
}

func Enabled

func Enabled() []Description

Directories

Path Synopsis
apt
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
pm
api
postgres module
valkey module

Jump to

Keyboard shortcuts

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