testing

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2017 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateList

func CreateList(prefix string, helper storage.Interface, list runtime.Object) error

CreateList will properly create a list using the storage interface

func CreateObj

func CreateObj(helper storage.Interface, name string, obj, out runtime.Object, ttl uint64) error

CreateObj will create a single object using the storage interface

func CreateObjList

func CreateObjList(prefix string, helper storage.Interface, items []runtime.Object) error

CreateObjList will create a list from the array of objects

Types

type TestResource

type TestResource struct {
	unversioned.TypeMeta `json:",inline"`
	api.ObjectMeta       `json:"metadata"`
	Value                int `json:"value"`
}

func (*TestResource) CodecDecodeSelf

func (x *TestResource) CodecDecodeSelf(d *codec1978.Decoder)

func (*TestResource) CodecEncodeSelf

func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder)

func (*TestResource) GetObjectKind

func (obj *TestResource) GetObjectKind() unversioned.ObjectKind

Jump to

Keyboard shortcuts

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