spec

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 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 Document

type Document struct {
	Version   versions.Version
	Endpoints Endpoints
}

type Documents

type Documents []Document

func (Documents) Add

func (doc Documents) Add(endpoint documents.Endpoint) Documents

func (Documents) Latest

func (doc Documents) Latest() (v Document)

func (Documents) Len

func (doc Documents) Len() int

func (Documents) Less

func (doc Documents) Less(i, j int) bool

func (Documents) Match added in v1.2.85

func (doc Documents) Match(ver versions.Version) (v Document)

func (Documents) Swap

func (doc Documents) Swap(i, j int)

type Endpoints

type Endpoints []documents.Endpoint

func (Endpoints) Contains

func (endpoints Endpoints) Contains(endpoint documents.Endpoint) (idx int, ok bool)

func (Endpoints) Len

func (endpoints Endpoints) Len() int

func (Endpoints) Less

func (endpoints Endpoints) Less(i, j int) bool

func (Endpoints) Swap

func (endpoints Endpoints) Swap(i, j int)

Jump to

Keyboard shortcuts

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