variables

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleUniquenessVariable

type BundleUniquenessVariable struct {
	*input.SimpleVariable
}

func NewBundleUniquenessVariable

func NewBundleUniquenessVariable(id deppy.Identifier, atMostIDs ...deppy.Identifier) *BundleUniquenessVariable

NewBundleUniquenessVariable creates a new variable that instructs the resolver to choose at most a single bundle from the input 'atMostID'. Examples: 1. restrict the solution to at most a single bundle per package 2. restrict the solution to at most a single bundler per provided gvk this guarantees that no two operators provide the same gvk and no two version of the same operator are running at the same time

type BundleVariable

type BundleVariable struct {
	*input.SimpleVariable
	// contains filtered or unexported fields
}

func NewBundleVariable

func NewBundleVariable(bundleEntity *olmentity.BundleEntity, dependencyBundleEntities []*olmentity.BundleEntity) *BundleVariable

func (*BundleVariable) BundleEntity

func (b *BundleVariable) BundleEntity() *olmentity.BundleEntity

func (*BundleVariable) Dependencies

func (b *BundleVariable) Dependencies() []*olmentity.BundleEntity

type RequiredPackageVariable

type RequiredPackageVariable struct {
	*input.SimpleVariable
	// contains filtered or unexported fields
}

func NewRequiredPackageVariable

func NewRequiredPackageVariable(packageName string, bundleEntities []*olmentity.BundleEntity) *RequiredPackageVariable

func (*RequiredPackageVariable) BundleEntities

func (r *RequiredPackageVariable) BundleEntities() []*olmentity.BundleEntity

Jump to

Keyboard shortcuts

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