version

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const ThisModulePath = "github.com/docker/attest"

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher added in v0.6.7

type Fetcher interface {
	Get() (*semver.Version, error)
}

type GoModVersionFetcher added in v0.6.7

type GoModVersionFetcher struct{}

func NewGoVersionFetcher added in v0.6.7

func NewGoVersionFetcher() *GoModVersionFetcher

func (*GoModVersionFetcher) Get added in v0.6.7

func (*GoModVersionFetcher) Get() (*semver.Version, error)

Get returns the version of the attest module. this can return nil if the version can't be determined (without an error).

Jump to

Keyboard shortcuts

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