constraint

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 8 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(rt *runtime.Runtime) (bool, error)

func (PackageCondition) JSONSchema added in v1.4.0

func (PackageCondition) JSONSchema() *jsonschema.Schema

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) JSONSchema added in v1.4.0

func (VersionConstraints) JSONSchema() *jsonschema.Schema

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) JSONSchema added in v1.4.0

func (VersionFilter) JSONSchema() *jsonschema.Schema

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