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: 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, options *kapi.ListOptions) (*api.BuildConfigList, error)

func (*BuildConfigRegistry) UpdateBuildConfig

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

func (*BuildConfigRegistry) WatchBuildConfigs

func (r *BuildConfigRegistry) WatchBuildConfigs(ctx kapi.Context, options *kapi.ListOptions) (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, options *kapi.ListOptions) (*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, options *kapi.ListOptions) (watch.Interface, error)

type BuildStorage added in v1.0.7

type BuildStorage struct {
	Err    error
	Build  *buildapi.Build
	Builds *buildapi.BuildList
	sync.Mutex
}

func (*BuildStorage) Get added in v1.0.7

func (r *BuildStorage) Get(ctx kapi.Context, id string) (runtime.Object, error)

type BuildStorageWithOptions added in v1.0.7

type BuildStorageWithOptions struct {
	Err   error
	Build *buildapi.Build
	sync.Mutex
}

func (*BuildStorageWithOptions) Get added in v1.0.7

func (*BuildStorageWithOptions) NewGetOptions added in v1.0.7

func (r *BuildStorageWithOptions) NewGetOptions() (runtime.Object, bool, string)

Jump to

Keyboard shortcuts

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