test

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildConfigRegistry

type BuildConfigRegistry struct {
	Err             error
	BuildConfigs    *api.BuildConfigList
	BuildConfig     *api.BuildConfig
	DeletedConfigID string
	sync.Mutex
}

func (*BuildConfigRegistry) CreateBuildConfig

func (r *BuildConfigRegistry) CreateBuildConfig(ctx kapi.Context, config *api.BuildConfig) error

func (*BuildConfigRegistry) DeleteBuildConfig

func (r *BuildConfigRegistry) DeleteBuildConfig(ctx kapi.Context, id string) error

func (*BuildConfigRegistry) GetBuildConfig

func (r *BuildConfigRegistry) GetBuildConfig(ctx kapi.Context, id string) (*api.BuildConfig, error)

func (*BuildConfigRegistry) ListBuildConfigs

func (r *BuildConfigRegistry) ListBuildConfigs(ctx kapi.Context, labels labels.Selector) (*api.BuildConfigList, error)

func (*BuildConfigRegistry) UpdateBuildConfig

func (r *BuildConfigRegistry) UpdateBuildConfig(ctx kapi.Context, config *api.BuildConfig) error

func (*BuildConfigRegistry) WatchBuildConfigs added in v0.2.1

func (r *BuildConfigRegistry) WatchBuildConfigs(ctx kapi.Context, label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error)

type BuildRegistry

type BuildRegistry struct {
	Err            error
	Builds         *buildapi.BuildList
	Build          *buildapi.Build
	DeletedBuildID string
	sync.Mutex
}

func (*BuildRegistry) CreateBuild

func (r *BuildRegistry) CreateBuild(ctx kapi.Context, build *buildapi.Build) error

func (*BuildRegistry) DeleteBuild

func (r *BuildRegistry) DeleteBuild(ctx kapi.Context, id string) error

func (*BuildRegistry) GetBuild

func (r *BuildRegistry) GetBuild(ctx kapi.Context, id string) (*buildapi.Build, error)

func (*BuildRegistry) ListBuilds

func (r *BuildRegistry) ListBuilds(ctx kapi.Context, labels labels.Selector) (*buildapi.BuildList, error)

func (*BuildRegistry) UpdateBuild

func (r *BuildRegistry) UpdateBuild(ctx kapi.Context, build *buildapi.Build) error

func (*BuildRegistry) WatchBuilds

func (r *BuildRegistry) WatchBuilds(ctx kapi.Context, label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error)

Jump to

Keyboard shortcuts

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