providerbinding

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: 2 Imported by: 0

Documentation

Overview

Package providerbinding contains typed, read-only external provider facts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	Capability          capabilitycontract.ID
	Configured          bool
	Health              Health
	ConformanceRequired bool
	Conformant          bool
	ReasonCode          string
	Limitations         []string
	ObservedAt          *time.Time
}

type Health

type Health string
const (
	HealthUnknown     Health = "Unknown"
	HealthHealthy     Health = "Healthy"
	HealthDegraded    Health = "Degraded"
	HealthUnavailable Health = "Unavailable"
)

type Inventory

type Inventory struct {
	// contains filtered or unexported fields
}

func New

func New(bindings ...Binding) Inventory

func (Inventory) Find

func (i Inventory) Find(id capabilitycontract.ID) (Binding, bool)

func (Inventory) With

func (i Inventory) With(bindings ...Binding) Inventory

Jump to

Keyboard shortcuts

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