constraint

package
v1.3.0-0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageCondition

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

func NewPackageCondition

func NewPackageCondition(s string) *PackageCondition

func (*PackageCondition) Check

func (pkgCondition *PackageCondition) Check() (bool, error)

func (*PackageCondition) Raw

func (pkgCondition *PackageCondition) Raw() string

func (*PackageCondition) UnmarshalYAML

func (pkgCondition *PackageCondition) UnmarshalYAML(unmarshal func(interface{}) error) error

type VersionConstraints

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

func NewVersionConstraints

func NewVersionConstraints(s string) *VersionConstraints

func (*VersionConstraints) Check

func (constraints *VersionConstraints) Check(v string) (bool, error)

func (*VersionConstraints) UnmarshalYAML

func (constraints *VersionConstraints) UnmarshalYAML(unmarshal func(interface{}) error) error

type VersionFilter

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

func NewVersionFilter

func NewVersionFilter(s string) *VersionFilter

func (*VersionFilter) Check

func (vf *VersionFilter) Check(v string) (bool, error)

func (*VersionFilter) Raw

func (vf *VersionFilter) Raw() string

func (*VersionFilter) UnmarshalYAML

func (vf *VersionFilter) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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