fake

package
v0.0.0-...-c9b6943 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBindingsV1alpha1

type FakeBindingsV1alpha1 struct {
	*testing.Fake
}

func (*FakeBindingsV1alpha1) GithubBindings

func (c *FakeBindingsV1alpha1) GithubBindings(namespace string) v1alpha1.GithubBindingInterface

func (*FakeBindingsV1alpha1) GoogleCloudSQLBindings

func (c *FakeBindingsV1alpha1) GoogleCloudSQLBindings(namespace string) v1alpha1.GoogleCloudSQLBindingInterface

func (*FakeBindingsV1alpha1) RESTClient

func (c *FakeBindingsV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeBindingsV1alpha1) SQLBindings

func (c *FakeBindingsV1alpha1) SQLBindings(namespace string) v1alpha1.SQLBindingInterface

func (*FakeBindingsV1alpha1) SlackBindings

func (c *FakeBindingsV1alpha1) SlackBindings(namespace string) v1alpha1.SlackBindingInterface

func (*FakeBindingsV1alpha1) TwitterBindings

func (c *FakeBindingsV1alpha1) TwitterBindings(namespace string) v1alpha1.TwitterBindingInterface

type FakeGithubBindings

type FakeGithubBindings struct {
	Fake *FakeBindingsV1alpha1
	// contains filtered or unexported fields
}

FakeGithubBindings implements GithubBindingInterface

func (*FakeGithubBindings) Create

func (c *FakeGithubBindings) Create(githubBinding *v1alpha1.GithubBinding) (result *v1alpha1.GithubBinding, err error)

Create takes the representation of a githubBinding and creates it. Returns the server's representation of the githubBinding, and an error, if there is any.

func (*FakeGithubBindings) Delete

func (c *FakeGithubBindings) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the githubBinding and deletes it. Returns an error if one occurs.

func (*FakeGithubBindings) DeleteCollection

func (c *FakeGithubBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeGithubBindings) Get

func (c *FakeGithubBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.GithubBinding, err error)

Get takes name of the githubBinding, and returns the corresponding githubBinding object, and an error if there is any.

func (*FakeGithubBindings) List

func (c *FakeGithubBindings) List(opts v1.ListOptions) (result *v1alpha1.GithubBindingList, err error)

List takes label and field selectors, and returns the list of GithubBindings that match those selectors.

func (*FakeGithubBindings) Patch

func (c *FakeGithubBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GithubBinding, err error)

Patch applies the patch and returns the patched githubBinding.

func (*FakeGithubBindings) Update

func (c *FakeGithubBindings) Update(githubBinding *v1alpha1.GithubBinding) (result *v1alpha1.GithubBinding, err error)

Update takes the representation of a githubBinding and updates it. Returns the server's representation of the githubBinding, and an error, if there is any.

func (*FakeGithubBindings) UpdateStatus

func (c *FakeGithubBindings) UpdateStatus(githubBinding *v1alpha1.GithubBinding) (*v1alpha1.GithubBinding, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeGithubBindings) Watch

Watch returns a watch.Interface that watches the requested githubBindings.

type FakeGoogleCloudSQLBindings

type FakeGoogleCloudSQLBindings struct {
	Fake *FakeBindingsV1alpha1
	// contains filtered or unexported fields
}

FakeGoogleCloudSQLBindings implements GoogleCloudSQLBindingInterface

func (*FakeGoogleCloudSQLBindings) Create

func (c *FakeGoogleCloudSQLBindings) Create(googleCloudSQLBinding *v1alpha1.GoogleCloudSQLBinding) (result *v1alpha1.GoogleCloudSQLBinding, err error)

Create takes the representation of a googleCloudSQLBinding and creates it. Returns the server's representation of the googleCloudSQLBinding, and an error, if there is any.

func (*FakeGoogleCloudSQLBindings) Delete

func (c *FakeGoogleCloudSQLBindings) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the googleCloudSQLBinding and deletes it. Returns an error if one occurs.

func (*FakeGoogleCloudSQLBindings) DeleteCollection

func (c *FakeGoogleCloudSQLBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeGoogleCloudSQLBindings) Get

func (c *FakeGoogleCloudSQLBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.GoogleCloudSQLBinding, err error)

Get takes name of the googleCloudSQLBinding, and returns the corresponding googleCloudSQLBinding object, and an error if there is any.

func (*FakeGoogleCloudSQLBindings) List

List takes label and field selectors, and returns the list of GoogleCloudSQLBindings that match those selectors.

func (*FakeGoogleCloudSQLBindings) Patch

func (c *FakeGoogleCloudSQLBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GoogleCloudSQLBinding, err error)

Patch applies the patch and returns the patched googleCloudSQLBinding.

func (*FakeGoogleCloudSQLBindings) Update

func (c *FakeGoogleCloudSQLBindings) Update(googleCloudSQLBinding *v1alpha1.GoogleCloudSQLBinding) (result *v1alpha1.GoogleCloudSQLBinding, err error)

Update takes the representation of a googleCloudSQLBinding and updates it. Returns the server's representation of the googleCloudSQLBinding, and an error, if there is any.

func (*FakeGoogleCloudSQLBindings) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeGoogleCloudSQLBindings) Watch

Watch returns a watch.Interface that watches the requested googleCloudSQLBindings.

type FakeSQLBindings

type FakeSQLBindings struct {
	Fake *FakeBindingsV1alpha1
	// contains filtered or unexported fields
}

FakeSQLBindings implements SQLBindingInterface

func (*FakeSQLBindings) Create

func (c *FakeSQLBindings) Create(sQLBinding *v1alpha1.SQLBinding) (result *v1alpha1.SQLBinding, err error)

Create takes the representation of a sQLBinding and creates it. Returns the server's representation of the sQLBinding, and an error, if there is any.

func (*FakeSQLBindings) Delete

func (c *FakeSQLBindings) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the sQLBinding and deletes it. Returns an error if one occurs.

func (*FakeSQLBindings) DeleteCollection

func (c *FakeSQLBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSQLBindings) Get

func (c *FakeSQLBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.SQLBinding, err error)

Get takes name of the sQLBinding, and returns the corresponding sQLBinding object, and an error if there is any.

func (*FakeSQLBindings) List

func (c *FakeSQLBindings) List(opts v1.ListOptions) (result *v1alpha1.SQLBindingList, err error)

List takes label and field selectors, and returns the list of SQLBindings that match those selectors.

func (*FakeSQLBindings) Patch

func (c *FakeSQLBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SQLBinding, err error)

Patch applies the patch and returns the patched sQLBinding.

func (*FakeSQLBindings) Update

func (c *FakeSQLBindings) Update(sQLBinding *v1alpha1.SQLBinding) (result *v1alpha1.SQLBinding, err error)

Update takes the representation of a sQLBinding and updates it. Returns the server's representation of the sQLBinding, and an error, if there is any.

func (*FakeSQLBindings) UpdateStatus

func (c *FakeSQLBindings) UpdateStatus(sQLBinding *v1alpha1.SQLBinding) (*v1alpha1.SQLBinding, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSQLBindings) Watch

func (c *FakeSQLBindings) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested sQLBindings.

type FakeSlackBindings

type FakeSlackBindings struct {
	Fake *FakeBindingsV1alpha1
	// contains filtered or unexported fields
}

FakeSlackBindings implements SlackBindingInterface

func (*FakeSlackBindings) Create

func (c *FakeSlackBindings) Create(slackBinding *v1alpha1.SlackBinding) (result *v1alpha1.SlackBinding, err error)

Create takes the representation of a slackBinding and creates it. Returns the server's representation of the slackBinding, and an error, if there is any.

func (*FakeSlackBindings) Delete

func (c *FakeSlackBindings) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the slackBinding and deletes it. Returns an error if one occurs.

func (*FakeSlackBindings) DeleteCollection

func (c *FakeSlackBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSlackBindings) Get

func (c *FakeSlackBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.SlackBinding, err error)

Get takes name of the slackBinding, and returns the corresponding slackBinding object, and an error if there is any.

func (*FakeSlackBindings) List

func (c *FakeSlackBindings) List(opts v1.ListOptions) (result *v1alpha1.SlackBindingList, err error)

List takes label and field selectors, and returns the list of SlackBindings that match those selectors.

func (*FakeSlackBindings) Patch

func (c *FakeSlackBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SlackBinding, err error)

Patch applies the patch and returns the patched slackBinding.

func (*FakeSlackBindings) Update

func (c *FakeSlackBindings) Update(slackBinding *v1alpha1.SlackBinding) (result *v1alpha1.SlackBinding, err error)

Update takes the representation of a slackBinding and updates it. Returns the server's representation of the slackBinding, and an error, if there is any.

func (*FakeSlackBindings) UpdateStatus

func (c *FakeSlackBindings) UpdateStatus(slackBinding *v1alpha1.SlackBinding) (*v1alpha1.SlackBinding, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSlackBindings) Watch

Watch returns a watch.Interface that watches the requested slackBindings.

type FakeTwitterBindings

type FakeTwitterBindings struct {
	Fake *FakeBindingsV1alpha1
	// contains filtered or unexported fields
}

FakeTwitterBindings implements TwitterBindingInterface

func (*FakeTwitterBindings) Create

func (c *FakeTwitterBindings) Create(twitterBinding *v1alpha1.TwitterBinding) (result *v1alpha1.TwitterBinding, err error)

Create takes the representation of a twitterBinding and creates it. Returns the server's representation of the twitterBinding, and an error, if there is any.

func (*FakeTwitterBindings) Delete

func (c *FakeTwitterBindings) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the twitterBinding and deletes it. Returns an error if one occurs.

func (*FakeTwitterBindings) DeleteCollection

func (c *FakeTwitterBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTwitterBindings) Get

func (c *FakeTwitterBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.TwitterBinding, err error)

Get takes name of the twitterBinding, and returns the corresponding twitterBinding object, and an error if there is any.

func (*FakeTwitterBindings) List

func (c *FakeTwitterBindings) List(opts v1.ListOptions) (result *v1alpha1.TwitterBindingList, err error)

List takes label and field selectors, and returns the list of TwitterBindings that match those selectors.

func (*FakeTwitterBindings) Patch

func (c *FakeTwitterBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TwitterBinding, err error)

Patch applies the patch and returns the patched twitterBinding.

func (*FakeTwitterBindings) Update

func (c *FakeTwitterBindings) Update(twitterBinding *v1alpha1.TwitterBinding) (result *v1alpha1.TwitterBinding, err error)

Update takes the representation of a twitterBinding and updates it. Returns the server's representation of the twitterBinding, and an error, if there is any.

func (*FakeTwitterBindings) UpdateStatus

func (c *FakeTwitterBindings) UpdateStatus(twitterBinding *v1alpha1.TwitterBinding) (*v1alpha1.TwitterBinding, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTwitterBindings) Watch

Watch returns a watch.Interface that watches the requested twitterBindings.

Jump to

Keyboard shortcuts

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