Help us shape the future of Go! Take the 2026 Go Developer Survey

delivery

package
v0.4.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ContractVersion = "baseharbor.delivery/v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode string
const (
	ModeDirect    Mode = "direct"
	ModeDelegated Mode = "delegated"
)

type Placement

type Placement string
const (
	PlacementApplication Placement = "application"
	PlacementShared      Placement = "shared"
	PlacementExternal    Placement = "external"
)

type ReconciliationOwner

type ReconciliationOwner string
const (
	OwnerBaseHarbor ReconciliationOwner = "baseharbor"
	OwnerExternal   ReconciliationOwner = "external"
)

type Selection

type Selection struct {
	Mode       Mode                `json:"mode"`
	Provider   string              `json:"provider"`
	Owner      ReconciliationOwner `json:"owner"`
	Placement  Placement           `json:"placement,omitempty"`
	Revision   string              `json:"revision,omitempty"`
	Provenance string              `json:"provenance,omitempty"`
}

func Direct

func Direct() Selection

func (Selection) Normalize

func (s Selection) Normalize() Selection

func (Selection) Validate

func (s Selection) Validate() error

Jump to

Keyboard shortcuts

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