test

package
v3.8.19-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 4 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) buildlister.BuildConfigLister

Types

type FakeBuildConfigIndex added in v1.4.0

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

func (*FakeBuildConfigIndex) BuildConfigs

func (*FakeBuildConfigIndex) Get

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 added in v0.2.1

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 added in v0.2.2

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

func (FakeBuildStore) List

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

func (FakeBuildStore) ListKeys added in v0.4.4

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