v1

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1 contains the implementation for v1 of the CNAB Dependencies specification.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPrerequisiteInstallationName

func BuildPrerequisiteInstallationName(installation string, dependency string) string

BuildPrerequisiteInstallationName generates the name of a prerequisite dependency installation.

Types

type DependencyLock added in v1.0.11

type DependencyLock struct {
	Alias     string
	Reference string
}

type DependencySolver added in v1.0.11

type DependencySolver struct {
}

TODO: move this logic onto the new ExtendedBundle struct

func (*DependencySolver) ResolveDependencies added in v1.0.11

func (s *DependencySolver) ResolveDependencies(bun cnab.ExtendedBundle) ([]DependencyLock, error)

func (*DependencySolver) ResolveVersion added in v1.0.11

func (s *DependencySolver) ResolveVersion(name string, dep depsv1ext.Dependency) (cnab.OCIReference, error)

ResolveVersion returns the bundle name, its version and any error.

Jump to

Keyboard shortcuts

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