test

package
v0.0.0-...-4d083f9 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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    *api.BuildConfigList
	BuildConfig     *api.BuildConfig
	DeletedConfigID string
	sync.Mutex
}

func (*BuildConfigRegistry) CreateBuildConfig

func (r *BuildConfigRegistry) CreateBuildConfig(ctx apirequest.Context, config *api.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) (*api.BuildConfig, error)

func (*BuildConfigRegistry) ListBuildConfigs

func (r *BuildConfigRegistry) ListBuildConfigs(ctx apirequest.Context, options *metainternal.ListOptions) (*api.BuildConfigList, error)

func (*BuildConfigRegistry) UpdateBuildConfig

func (r *BuildConfigRegistry) UpdateBuildConfig(ctx apirequest.Context, config *api.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

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

func (*BuildStorage) Get

func (r *BuildStorage) Get(ctx apirequest.Context, id string, options *metav1.GetOptions) (runtime.Object, error)

type BuildStorageWithOptions

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

func (*BuildStorageWithOptions) Get

func (*BuildStorageWithOptions) NewGetOptions

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