registered

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2016 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

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