pattern

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

func (*Action) GetBaseImage

func (r *Action) GetBaseImage() string

func (*Action) GetMatchImage added in v0.0.7

func (r *Action) GetMatchImage() string

func (*Action) GetMutates

func (r *Action) GetMutates(p *v1.Platform) []v1alpha1.Mutate

func (*Action) GetPlatforms added in v0.0.7

func (r *Action) GetPlatforms() []v1alpha1.Platform

type Rule

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

func NewRule

func NewRule(conf *v1alpha1.ImageSpec) (*Rule, error)

func (*Rule) LessThan added in v0.0.6

func (r *Rule) LessThan(o *Rule) bool

func (*Rule) Match

func (r *Rule) Match(image string) (*Action, bool)

Jump to

Keyboard shortcuts

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