Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuildConfigs
- func (c *FakeBuildConfigs) Apply(ctx context.Context, ...) (result *buildv1.BuildConfig, err error)
- func (c *FakeBuildConfigs) ApplyStatus(ctx context.Context, ...) (result *buildv1.BuildConfig, err error)
- func (c *FakeBuildConfigs) Create(ctx context.Context, buildConfig *buildv1.BuildConfig, opts v1.CreateOptions) (result *buildv1.BuildConfig, err error)
- func (c *FakeBuildConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuildConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuildConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *buildv1.BuildConfig, err error)
- func (c *FakeBuildConfigs) Instantiate(ctx context.Context, buildConfigName string, ...) (result *buildv1.Build, err error)
- func (c *FakeBuildConfigs) List(ctx context.Context, opts v1.ListOptions) (result *buildv1.BuildConfigList, err error)
- func (c *FakeBuildConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *buildv1.BuildConfig, err error)
- func (c *FakeBuildConfigs) Update(ctx context.Context, buildConfig *buildv1.BuildConfig, opts v1.UpdateOptions) (result *buildv1.BuildConfig, err error)
- func (c *FakeBuildConfigs) UpdateStatus(ctx context.Context, buildConfig *buildv1.BuildConfig, opts v1.UpdateOptions) (*buildv1.BuildConfig, error)
- func (c *FakeBuildConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBuildV1
- type FakeBuilds
- func (c *FakeBuilds) Apply(ctx context.Context, build *applyconfigurationsbuildv1.BuildApplyConfiguration, ...) (result *buildv1.Build, err error)
- func (c *FakeBuilds) ApplyStatus(ctx context.Context, build *applyconfigurationsbuildv1.BuildApplyConfiguration, ...) (result *buildv1.Build, err error)
- func (c *FakeBuilds) Clone(ctx context.Context, buildName string, buildRequest *buildv1.BuildRequest, ...) (result *buildv1.Build, err error)
- func (c *FakeBuilds) Create(ctx context.Context, build *buildv1.Build, opts v1.CreateOptions) (result *buildv1.Build, err error)
- func (c *FakeBuilds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuilds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuilds) Get(ctx context.Context, name string, options v1.GetOptions) (result *buildv1.Build, err error)
- func (c *FakeBuilds) List(ctx context.Context, opts v1.ListOptions) (result *buildv1.BuildList, err error)
- func (c *FakeBuilds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *buildv1.Build, err error)
- func (c *FakeBuilds) Update(ctx context.Context, build *buildv1.Build, opts v1.UpdateOptions) (result *buildv1.Build, err error)
- func (c *FakeBuilds) UpdateDetails(ctx context.Context, buildName string, build *buildv1.Build, ...) (result *buildv1.Build, err error)
- func (c *FakeBuilds) UpdateStatus(ctx context.Context, build *buildv1.Build, opts v1.UpdateOptions) (*buildv1.Build, error)
- func (c *FakeBuilds) Watch(ctx context.Context, 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) Apply ¶
func (c *FakeBuildConfigs) Apply(ctx context.Context, buildConfig *applyconfigurationsbuildv1.BuildConfigApplyConfiguration, opts v1.ApplyOptions) (result *buildv1.BuildConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied buildConfig.
func (*FakeBuildConfigs) ApplyStatus ¶
func (c *FakeBuildConfigs) ApplyStatus(ctx context.Context, buildConfig *applyconfigurationsbuildv1.BuildConfigApplyConfiguration, opts v1.ApplyOptions) (result *buildv1.BuildConfig, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeBuildConfigs) Create ¶
func (c *FakeBuildConfigs) Create(ctx context.Context, buildConfig *buildv1.BuildConfig, opts v1.CreateOptions) (result *buildv1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuildConfigs) Get ¶
func (c *FakeBuildConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *buildv1.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(ctx context.Context, buildConfigName string, buildRequest *buildv1.BuildRequest, opts v1.CreateOptions) (result *buildv1.Build, err error)
Instantiate takes the representation of a buildRequest and creates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuildConfigs) List ¶
func (c *FakeBuildConfigs) List(ctx context.Context, opts v1.ListOptions) (result *buildv1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *buildv1.BuildConfig, err error)
Patch applies the patch and returns the patched buildConfig.
func (*FakeBuildConfigs) Update ¶
func (c *FakeBuildConfigs) Update(ctx context.Context, buildConfig *buildv1.BuildConfig, opts v1.UpdateOptions) (result *buildv1.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(ctx context.Context, buildConfig *buildv1.BuildConfig, opts v1.UpdateOptions) (*buildv1.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(ctx context.Context, 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.BuildInterface
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 BuildInterface
func (*FakeBuilds) Apply ¶
func (c *FakeBuilds) Apply(ctx context.Context, build *applyconfigurationsbuildv1.BuildApplyConfiguration, opts v1.ApplyOptions) (result *buildv1.Build, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied build.
func (*FakeBuilds) ApplyStatus ¶
func (c *FakeBuilds) ApplyStatus(ctx context.Context, build *applyconfigurationsbuildv1.BuildApplyConfiguration, opts v1.ApplyOptions) (result *buildv1.Build, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeBuilds) Clone ¶
func (c *FakeBuilds) Clone(ctx context.Context, buildName string, buildRequest *buildv1.BuildRequest, opts v1.CreateOptions) (result *buildv1.Build, err error)
Clone takes the representation of a buildRequest and creates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) Create ¶
func (c *FakeBuilds) Create(ctx context.Context, build *buildv1.Build, opts v1.CreateOptions) (result *buildv1.Build, err error)
Create takes the representation of a build and creates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) Delete ¶
func (c *FakeBuilds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the build and deletes it. Returns an error if one occurs.
func (*FakeBuilds) DeleteCollection ¶
func (c *FakeBuilds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilds) Get ¶
func (c *FakeBuilds) Get(ctx context.Context, name string, options v1.GetOptions) (result *buildv1.Build, err error)
Get takes name of the build, and returns the corresponding build object, and an error if there is any.
func (*FakeBuilds) List ¶
func (c *FakeBuilds) List(ctx context.Context, opts v1.ListOptions) (result *buildv1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *buildv1.Build, err error)
Patch applies the patch and returns the patched build.
func (*FakeBuilds) Update ¶
func (c *FakeBuilds) Update(ctx context.Context, build *buildv1.Build, opts v1.UpdateOptions) (result *buildv1.Build, err error)
Update takes the representation of a build and updates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) UpdateDetails ¶
func (c *FakeBuilds) UpdateDetails(ctx context.Context, buildName string, build *buildv1.Build, opts v1.UpdateOptions) (result *buildv1.Build, err error)
UpdateDetails takes the representation of a build and updates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) UpdateStatus ¶
func (c *FakeBuilds) UpdateStatus(ctx context.Context, build *buildv1.Build, opts v1.UpdateOptions) (*buildv1.Build, error)
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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.