testapi

package
v1.1.0-alpha.0....-2e2def3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourcePath

func ResourcePath(resource, namespace, name string) string

Returns the appropriate path for the given resource, namespace and name. For example, this is of the form: /experimental/v1/namespaces/foo/pods/pod0 for v1.

func ResourcePathWithPrefix

func ResourcePathWithPrefix(prefix, resource, namespace, name string) string

Returns the appropriate path for the given prefix (watch, proxy, redirect, etc), resource, namespace and name. For example, this is of the form: /experimental/v1/watch/namespaces/foo/pods/pod0 for v1.

Types

This section is empty.

Jump to

Keyboard shortcuts

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