test

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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

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

func (FakeBuildConfigStore) List

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

func (FakeBuildConfigStore) ListKeys

func (s FakeBuildConfigStore) ListKeys() []string

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{}) (interface{}, bool, error)

func (FakeBuildStore) GetByKey

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

func (FakeBuildStore) List

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

func (FakeBuildStore) ListKeys

func (s FakeBuildStore) ListKeys() []string

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