test

package
v3.8.21-1+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDeploymentConfigStore

type FakeDeploymentConfigStore struct {
	DeploymentConfig *deployapi.DeploymentConfig
	Err              error
}

func NewFakeDeploymentConfigStore

func NewFakeDeploymentConfigStore(deployment *deployapi.DeploymentConfig) FakeDeploymentConfigStore

func (FakeDeploymentConfigStore) Add

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

func (FakeDeploymentConfigStore) ContainedIDs

func (s FakeDeploymentConfigStore) ContainedIDs() sets.String

func (FakeDeploymentConfigStore) Delete

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

func (FakeDeploymentConfigStore) Get

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

func (FakeDeploymentConfigStore) GetByKey

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

func (FakeDeploymentConfigStore) List

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

func (FakeDeploymentConfigStore) Replace

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

func (FakeDeploymentConfigStore) Update

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

type FakeDeploymentStore

type FakeDeploymentStore struct {
	Deployment *v1.ReplicationController
	Err        error
}

func NewFakeDeploymentStore

func NewFakeDeploymentStore(deployment *v1.ReplicationController) FakeDeploymentStore

func (FakeDeploymentStore) Add

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

func (FakeDeploymentStore) ContainedIDs

func (s FakeDeploymentStore) ContainedIDs() sets.String

func (FakeDeploymentStore) Delete

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

func (FakeDeploymentStore) Get

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

func (FakeDeploymentStore) GetByKey

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

func (FakeDeploymentStore) List

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

func (FakeDeploymentStore) Replace

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

func (FakeDeploymentStore) Update

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

Jump to

Keyboard shortcuts

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