test

package
v0.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBuildConfigStore

type FakeBuildConfigStore struct {
	Build *buildapi.BuildConfig
	Err   error
}

func NewFakeBuildConfigStore

func NewFakeBuildConfigStore(build *buildapi.BuildConfig) FakeBuildConfigStore

func (FakeBuildConfigStore) Add

func (s FakeBuildConfigStore) Add(obj interface{}) error

func (FakeBuildConfigStore) ContainedIDs

func (s FakeBuildConfigStore) ContainedIDs() util.StringSet

func (FakeBuildConfigStore) Delete

func (s FakeBuildConfigStore) Delete(obj interface{}) error

func (FakeBuildConfigStore) Get

func (s FakeBuildConfigStore) Get(obj interface{}) (item interface{}, exists bool, err error)

func (FakeBuildConfigStore) GetByKey added in v0.2.2

func (s FakeBuildConfigStore) GetByKey(id string) (item interface{}, exists bool, err error)

func (FakeBuildConfigStore) List

func (s FakeBuildConfigStore) List() []interface{}

func (FakeBuildConfigStore) Replace

func (s FakeBuildConfigStore) Replace(list []interface{}) error

func (FakeBuildConfigStore) Update

func (s FakeBuildConfigStore) Update(obj interface{}) error

type FakeBuildStore

type FakeBuildStore struct {
	Build *buildapi.Build
	Err   error
}

func NewFakeBuildStore

func NewFakeBuildStore(build *buildapi.Build) FakeBuildStore

func (FakeBuildStore) Add

func (s FakeBuildStore) Add(obj interface{}) error

func (FakeBuildStore) ContainedIDs

func (s FakeBuildStore) ContainedIDs() util.StringSet

func (FakeBuildStore) Delete

func (s FakeBuildStore) Delete(obj interface{}) error

func (FakeBuildStore) Get

func (s FakeBuildStore) Get(obj interface{}) (item interface{}, exists bool, err error)

func (FakeBuildStore) GetByKey added in v0.2.2

func (s FakeBuildStore) GetByKey(id string) (item interface{}, exists bool, err error)

func (FakeBuildStore) List

func (s FakeBuildStore) List() []interface{}

func (FakeBuildStore) Replace

func (s FakeBuildStore) Replace(list []interface{}) error

func (FakeBuildStore) Update

func (s FakeBuildStore) Update(obj interface{}) error

Jump to

Keyboard shortcuts

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