executiontopology

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Version = 1

Variables

This section is empty.

Functions

func IsUnsafePathError

func IsUnsafePathError(err error) bool

Types

type Mapping

type Mapping struct {
	Kind       string `json:"kind" yaml:"kind"`
	Alias      string `json:"alias" yaml:"alias"`
	SourceRepo string `json:"source_repo" yaml:"source_repo"`
	SourcePath string `json:"source_path" yaml:"source_path"`
	Version    string `json:"version,omitempty" yaml:"version,omitempty"`
}

type Topology

type Topology struct {
	Version  int       `json:"version" yaml:"version"`
	Mappings []Mapping `json:"mappings" yaml:"mappings"`
	Digest   string    `json:"digest,omitempty" yaml:"-"`
}

func Load

func Load(path string) (*Topology, error)

func (*Topology) Resolve

func (t *Topology) Resolve(kind, alias string) (Mapping, bool)

type UnsafePathError

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

func (*UnsafePathError) Error

func (e *UnsafePathError) Error() string

Jump to

Keyboard shortcuts

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