api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2015 License: Apache-2.0 Imports: 17 Imported by: 2,032

Documentation

Overview

Package api includes all OpenShift-specific types used to communicate between the various parts of the OpenShift and the Kubernetes systems.

Unlike the upstream Kubernetes, API objects in OpenShift are separated into individual packages.

Index

Constants

This section is empty.

Variables

Codec is the identity codec for this package - it can only convert itself to itself.

View Source
var NameMayNotBe = []string{".", ".."}
View Source
var NameMayNotContain = []string{"/", "%"}

Functions

func GetNameValidationFunc

func GetNameValidationFunc(nameFunc validation.ValidateNameFunc) validation.ValidateNameFunc

GetNameValidationFunc returns a name validation function that includes the standard restrictions we want for all types

func MinimalNameRequirements

func MinimalNameRequirements(name string, prefix bool) (bool, string)

Types

This section is empty.

Directories

Path Synopsis