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
Click to show internal directories.
Click to hide internal directories.