apps

package
v0.3.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppFinalizer = "apps.home-cloud.io/finalizer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Namespace   string
	Routes      []AppRoute
	Databases   []AppDatabase
	Persistence []AppPersistence
	Secrets     []AppSecret
	Disks       []AppDisk
}

func (AppConfig) ToValues added in v0.1.1

func (c AppConfig) ToValues(values map[string]interface{}) (map[string]interface{}, error)

ToValues converts the AppConfig into a values map and adds to the given existing values map

type AppDatabase

type AppDatabase struct {
	Name string
	Type string
	Init string
}

type AppDisk added in v0.1.1

type AppDisk struct {
	Name      string
	ClaimName string `yaml:"claimName"`
}

type AppPersistence

type AppPersistence struct {
	Name string
	Size string
}

type AppReconciler

type AppReconciler struct {
	client.Client
	Scheme                *runtime.Scheme
	Config                chassis.Config
	DependencyReconcilers []dependencyReconcilerFunc
}

AppReconciler reconciles a App object

func (*AppReconciler) HandleDiskEvent added in v0.3.0

func (r *AppReconciler) HandleDiskEvent() handler.EventHandler

func (*AppReconciler) HandleInstallEvent added in v0.3.0

func (r *AppReconciler) HandleInstallEvent() handler.EventHandler

func (*AppReconciler) Reconcile

func (r *AppReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AppReconciler) SetupWithManager

func (r *AppReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type AppRoute

type AppRoute struct {
	Name    string
	Service AppService
}

type AppSecret

type AppSecret struct {
	Name string
	Keys []SecretKey
}

type AppService

type AppService struct {
	Name string
	Port uint32
}

type AppValues

type AppValues struct {
	Config AppConfig `yaml:"homeCloud"`
}

type DiskItem added in v0.1.1

type DiskItem struct {
	Name string
}

type Disks added in v0.1.1

type Disks []DiskItem

type HelmChartVersion

type HelmChartVersion struct {
	APIVersion  string    `yaml:"apiVersion"`
	AppVersion  string    `yaml:"appVersion"`
	Created     time.Time `yaml:"created"`
	Description string    `yaml:"description"`
	Digest      string    `yaml:"digest"`
	Name        string    `yaml:"name"`
	Type        string    `yaml:"type"`
	Urls        []string  `yaml:"urls"`
	Version     string    `yaml:"version"`
}

HelmChartVersion represents the versions of the "entries" within a HelmRepositoryIndex

type HelmRepositoryIndex

type HelmRepositoryIndex struct {
	APIVersion string                        `yaml:"apiVersion"`
	Entries    map[string][]HelmChartVersion `yaml:"entries"`
	Generated  time.Time                     `yaml:"generated"`
}

HelmRepositoryIndex represents the index.yaml file that holds the information of helm charts within a helm repo

type SecretKey

type SecretKey struct {
	Name                string
	Length              int
	NoSpecialCharacters bool `yaml:"noSpecialCharacters"`
}

Jump to

Keyboard shortcuts

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