specs

package
v6.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const (
	FLAG_V1_0 = "1.0"
	FLAG_V1_1 = "1.1"
	FLAG_V1_2 = "1.2"
)

Variables

This section is empty.

Functions

func Match

func Match(version string) *string

Match returns the spec version if it is valid, otherwise it returns nil

func ParseAndValidate added in v6.0.1

func ParseAndValidate(spec string) (string, error)

Types

type SplitVersionFilter

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

func NewSplitVersionFilter

func NewSplitVersionFilter() SplitVersionFilter

func (*SplitVersionFilter) ShouldFilter

func (f *SplitVersionFilter) ShouldFilter(matcher string, apiVersion string) bool

Jump to

Keyboard shortcuts

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