latest

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package latest defines the default output serializations that code should use and imports the required schemas. It also ensures all previously known and supported API versions are available for conversion. Consumers may import this package in lieu of importing individual versions.

Index

Constants

This section is empty.

Variables

View Source
var OldestVersion = unversioned.GroupVersion{Group: "", Version: "v1beta3"}

OldestVersion is the string that represents the oldest server version supported, for client code that wants to hardcode the lowest common denominator.

View Source
var Version = unversioned.GroupVersion{Group: "", Version: "v1"}

Version is the string that represents the current external default version.

View Source
var Versions = []unversioned.GroupVersion{{Group: "", Version: "v1"}, {Group: "", Version: "v1beta3"}}

Versions is the list of versions that are recognized in code. The order provided may be assumed to be most preferred to least preferred, and clients may choose to prefer the earlier items in the list over the latter items when presented with a set of versions to choose.

Functions

func IsKindInAnyOriginGroup added in v1.1.2

func IsKindInAnyOriginGroup(kind string) bool

IsKindInAnyOriginGroup returns true if OpenShift owns the kind described in any apiVersion. TODO: this may not work once we divide builds/deployments/images into their own API groups

func OriginKind added in v0.2.1

func OriginKind(gvk unversioned.GroupVersionKind) bool

OriginKind returns true if OpenShift owns the GroupVersionKind.

Types

This section is empty.

Jump to

Keyboard shortcuts

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