versions

package
v0.0.396 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolsIntroducedCompression      = 3
	ToolsIntroducedInlineInvocation = 4
)
View Source
const IntroducedGrpcTranscodeNode = 35
View Source
const ToolAPIVersion = 4

Embedded into provisioning tools.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalVersions added in v0.0.108

type InternalVersions struct {
	// APIVersion represents the overall version of Namespaces's semantics, which
	// are built into Namespace itself (i.e. is not versioned as part of the
	// foundation repository). Whenever new non-backwards compatible semantics are
	// added to Namespace, this number must be bumped.
	APIVersion int `json:"api_version"`
	// MinimumAPIVersion represents the minimum requested version that this version
	// of foundation supports. If a module requests, e.g. a minimum version of 28,
	// which is below the version here specified, then Namespace will fail with a
	// error that says our version of Namespace is too recent. This is used during
	// development when maintaining backwards compatibility is too expensive.
	MinimumAPIVersion int `json:"minimum_api_version"`
	CacheVersion      int `json:"cache_version"`
}

func Builtin added in v0.0.108

func Builtin() InternalVersions

func LastNonJSONVersion added in v0.0.108

func LastNonJSONVersion() InternalVersions

func LoadAt added in v0.0.108

func LoadAt(fsys fs.FS, path string) (InternalVersions, error)

func LoadAtOrDefaults added in v0.0.108

func LoadAtOrDefaults(fsys fs.FS, path string) (InternalVersions, error)

Jump to

Keyboard shortcuts

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