capability

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package capability defines the common language used by cluster capability runbooks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Observation

type Observation struct {
	ID              capabilitycontract.ID
	ContractVersion string
	Name            string
	Status          Status
	Ownership       Ownership
	Provider        string
	ReasonCode      string
	Detail          string
}

Observation is a read-only capability fact reported by Molejo.

type Ownership

type Ownership string

Ownership describes who is responsible for the lifecycle of a capability.

const (
	OwnershipExternal        Ownership = "external"
	OwnershipRunbookManaged  Ownership = "runbook-managed"
	OwnershipMolejoManaged   Ownership = "molejo-managed"
	OwnershipProviderManaged Ownership = "provider-managed"
)

type Status

type Status string

Status is the observed availability of a capability.

const (
	StatusAvailable   Status = "available"
	StatusUnavailable Status = "unavailable"
	StatusDegraded    Status = "degraded"
	StatusUnknown     Status = "unknown"
)

Directories

Path Synopsis
Package storage verifies an operator-selected Kubernetes StorageClass.
Package storage verifies an operator-selected Kubernetes StorageClass.

Jump to

Keyboard shortcuts

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