test

package
v3.6.0-rc.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: Apache-2.0 Imports: 8 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    *buildapi.BuildConfigList
	BuildConfig     *buildapi.BuildConfig
	DeletedConfigID string
	sync.Mutex
}

func (*BuildConfigRegistry) CreateBuildConfig

func (r *BuildConfigRegistry) CreateBuildConfig(ctx apirequest.Context, config *buildapi.BuildConfig) error

func (*BuildConfigRegistry) DeleteBuildConfig

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

func (*BuildConfigRegistry) GetBuildConfig

func (r *BuildConfigRegistry) GetBuildConfig(ctx apirequest.Context, id string, options *metav1.GetOptions) (*buildapi.BuildConfig, error)

func (*BuildConfigRegistry) ListBuildConfigs

func (*BuildConfigRegistry) UpdateBuildConfig

func (r *BuildConfigRegistry) UpdateBuildConfig(ctx apirequest.Context, config *buildapi.BuildConfig) error

func (*BuildConfigRegistry) WatchBuildConfigs

func (r *BuildConfigRegistry) WatchBuildConfigs(ctx apirequest.Context, options *metainternal.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 apirequest.Context, build *buildapi.Build) error

func (*BuildRegistry) DeleteBuild

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

func (*BuildRegistry) GetBuild

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

func (*BuildRegistry) ListBuilds

func (*BuildRegistry) UpdateBuild

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

func (*BuildRegistry) WatchBuilds

func (r *BuildRegistry) WatchBuilds(ctx apirequest.Context, options *metainternal.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 apirequest.Context, id string, options *metav1.GetOptions) (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