test

package
v1.5.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeBuildConfigIndex added in v1.4.0

func NewFakeBuildConfigIndex(build *buildapi.BuildConfig) oscache.StoreToBuildConfigLister

Types

type FakeBuildConfigIndex added in v1.4.0

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

func (*FakeBuildConfigIndex) GetConfigsForImageStreamTrigger added in v1.4.0

func (i *FakeBuildConfigIndex) GetConfigsForImageStreamTrigger(namespace, name string) ([]*buildapi.BuildConfig, error)

func (*FakeBuildConfigIndex) List added in v1.4.0

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() sets.String

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{}, resourceVersion string) error

func (FakeBuildStore) Resync added in v1.3.0

func (s FakeBuildStore) Resync() 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