Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuildConfigs
- func (c *FakeBuildConfigs) Create(buildConfig *build_v1.BuildConfig) (result *build_v1.BuildConfig, err error)
- func (c *FakeBuildConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuildConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuildConfigs) Get(name string, options v1.GetOptions) (result *build_v1.BuildConfig, err error)
- func (c *FakeBuildConfigs) Instantiate(buildConfigName string, buildRequest *build_v1.BuildRequest) (result *build_v1.Build, err error)
- func (c *FakeBuildConfigs) List(opts v1.ListOptions) (result *build_v1.BuildConfigList, err error)
- func (c *FakeBuildConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *build_v1.BuildConfig, err error)
- func (c *FakeBuildConfigs) Update(buildConfig *build_v1.BuildConfig) (result *build_v1.BuildConfig, err error)
- func (c *FakeBuildConfigs) UpdateStatus(buildConfig *build_v1.BuildConfig) (*build_v1.BuildConfig, error)
- func (c *FakeBuildConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBuildV1
- type FakeBuilds
- func (c *FakeBuilds) Clone(buildResourceName string, buildRequest *build_v1.BuildRequest) (result *build_v1.Build, err error)
- func (c *FakeBuilds) Create(buildResource *build_v1.Build) (result *build_v1.Build, err error)
- func (c *FakeBuilds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuilds) Get(name string, options v1.GetOptions) (result *build_v1.Build, err error)
- func (c *FakeBuilds) List(opts v1.ListOptions) (result *build_v1.BuildList, err error)
- func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *build_v1.Build, err error)
- func (c *FakeBuilds) Update(buildResource *build_v1.Build) (result *build_v1.Build, err error)
- func (c *FakeBuilds) UpdateDetails(buildResourceName string, buildResource *build_v1.Build) (result *build_v1.Build, err error)
- func (c *FakeBuilds) UpdateStatus(buildResource *build_v1.Build) (*build_v1.Build, error)
- func (c *FakeBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuildConfigs ¶
type FakeBuildConfigs struct { Fake *FakeBuildV1 // contains filtered or unexported fields }
FakeBuildConfigs implements BuildConfigInterface
func (*FakeBuildConfigs) Create ¶
func (c *FakeBuildConfigs) Create(buildConfig *build_v1.BuildConfig) (result *build_v1.BuildConfig, err error)
Create takes the representation of a buildConfig and creates it. Returns the server's representation of the buildConfig, and an error, if there is any.
func (*FakeBuildConfigs) Delete ¶
func (c *FakeBuildConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the buildConfig and deletes it. Returns an error if one occurs.
func (*FakeBuildConfigs) DeleteCollection ¶
func (c *FakeBuildConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuildConfigs) Get ¶
func (c *FakeBuildConfigs) Get(name string, options v1.GetOptions) (result *build_v1.BuildConfig, err error)
Get takes name of the buildConfig, and returns the corresponding buildConfig object, and an error if there is any.
func (*FakeBuildConfigs) Instantiate ¶
func (c *FakeBuildConfigs) Instantiate(buildConfigName string, buildRequest *build_v1.BuildRequest) (result *build_v1.Build, err error)
Instantiate takes the representation of a buildRequest and creates it. Returns the server's representation of the buildResource, and an error, if there is any.
func (*FakeBuildConfigs) List ¶
func (c *FakeBuildConfigs) List(opts v1.ListOptions) (result *build_v1.BuildConfigList, err error)
List takes label and field selectors, and returns the list of BuildConfigs that match those selectors.
func (*FakeBuildConfigs) Patch ¶
func (c *FakeBuildConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *build_v1.BuildConfig, err error)
Patch applies the patch and returns the patched buildConfig.
func (*FakeBuildConfigs) Update ¶
func (c *FakeBuildConfigs) Update(buildConfig *build_v1.BuildConfig) (result *build_v1.BuildConfig, err error)
Update takes the representation of a buildConfig and updates it. Returns the server's representation of the buildConfig, and an error, if there is any.
func (*FakeBuildConfigs) UpdateStatus ¶
func (c *FakeBuildConfigs) UpdateStatus(buildConfig *build_v1.BuildConfig) (*build_v1.BuildConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuildConfigs) Watch ¶
func (c *FakeBuildConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested buildConfigs.
type FakeBuildV1 ¶
func (*FakeBuildV1) BuildConfigs ¶
func (c *FakeBuildV1) BuildConfigs(namespace string) v1.BuildConfigInterface
func (*FakeBuildV1) Builds ¶
func (c *FakeBuildV1) Builds(namespace string) v1.BuildResourceInterface
func (*FakeBuildV1) RESTClient ¶
func (c *FakeBuildV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeBuilds ¶
type FakeBuilds struct { Fake *FakeBuildV1 // contains filtered or unexported fields }
FakeBuilds implements BuildResourceInterface
func (*FakeBuilds) Clone ¶
func (c *FakeBuilds) Clone(buildResourceName string, buildRequest *build_v1.BuildRequest) (result *build_v1.Build, err error)
Clone takes the representation of a buildRequest and creates it. Returns the server's representation of the buildResource, and an error, if there is any.
func (*FakeBuilds) Create ¶
Create takes the representation of a buildResource and creates it. Returns the server's representation of the buildResource, and an error, if there is any.
func (*FakeBuilds) Delete ¶
func (c *FakeBuilds) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the buildResource and deletes it. Returns an error if one occurs.
func (*FakeBuilds) DeleteCollection ¶
func (c *FakeBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilds) Get ¶
func (c *FakeBuilds) Get(name string, options v1.GetOptions) (result *build_v1.Build, err error)
Get takes name of the buildResource, and returns the corresponding buildResource object, and an error if there is any.
func (*FakeBuilds) List ¶
func (c *FakeBuilds) List(opts v1.ListOptions) (result *build_v1.BuildList, err error)
List takes label and field selectors, and returns the list of Builds that match those selectors.
func (*FakeBuilds) Patch ¶
func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *build_v1.Build, err error)
Patch applies the patch and returns the patched buildResource.
func (*FakeBuilds) Update ¶
Update takes the representation of a buildResource and updates it. Returns the server's representation of the buildResource, and an error, if there is any.
func (*FakeBuilds) UpdateDetails ¶
func (c *FakeBuilds) UpdateDetails(buildResourceName string, buildResource *build_v1.Build) (result *build_v1.Build, err error)
UpdateDetails takes the representation of a buildResource and updates it. Returns the server's representation of the buildResource, and an error, if there is any.
func (*FakeBuilds) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuilds) Watch ¶
func (c *FakeBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.