registered

package
v1.1.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package to keep track of API Versions that should be registered in api.Scheme.

Index

Constants

This section is empty.

Variables

View Source
var RegisteredVersions []string

List of registered API versions. The list is in the order of most preferred to the least.

Functions

func GroupVersionsForGroup added in v1.1.0

func GroupVersionsForGroup(group string) []string

GroupVersionsForGroup returns the registered versions of a group in the form of "group/version".

func IsRegisteredAPIVersion

func IsRegisteredAPIVersion(version string) bool

Returns true if the given api version is one of the registered api versions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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