Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGatewayV1alpha1
- type FakeGitHubs
- func (c *FakeGitHubs) Create(gitHub *v1alpha1.GitHub) (result *v1alpha1.GitHub, err error)
- func (c *FakeGitHubs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGitHubs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGitHubs) Get(name string, options v1.GetOptions) (result *v1alpha1.GitHub, err error)
- func (c *FakeGitHubs) List(opts v1.ListOptions) (result *v1alpha1.GitHubList, err error)
- func (c *FakeGitHubs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GitHub, err error)
- func (c *FakeGitHubs) Update(gitHub *v1alpha1.GitHub) (result *v1alpha1.GitHub, err error)
- func (c *FakeGitHubs) UpdateStatus(gitHub *v1alpha1.GitHub) (*v1alpha1.GitHub, error)
- func (c *FakeGitHubs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSlackbots
- func (c *FakeSlackbots) Create(slackbot *v1alpha1.Slackbot) (result *v1alpha1.Slackbot, err error)
- func (c *FakeSlackbots) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSlackbots) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSlackbots) Get(name string, options v1.GetOptions) (result *v1alpha1.Slackbot, err error)
- func (c *FakeSlackbots) List(opts v1.ListOptions) (result *v1alpha1.SlackbotList, err error)
- func (c *FakeSlackbots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Slackbot, err error)
- func (c *FakeSlackbots) Update(slackbot *v1alpha1.Slackbot) (result *v1alpha1.Slackbot, err error)
- func (c *FakeSlackbots) UpdateStatus(slackbot *v1alpha1.Slackbot) (*v1alpha1.Slackbot, error)
- func (c *FakeSlackbots) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGatewayV1alpha1 ¶
func (*FakeGatewayV1alpha1) GitHubs ¶
func (c *FakeGatewayV1alpha1) GitHubs(namespace string) v1alpha1.GitHubInterface
func (*FakeGatewayV1alpha1) RESTClient ¶
func (c *FakeGatewayV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeGatewayV1alpha1) Slackbots ¶
func (c *FakeGatewayV1alpha1) Slackbots(namespace string) v1alpha1.SlackbotInterface
type FakeGitHubs ¶
type FakeGitHubs struct { Fake *FakeGatewayV1alpha1 // contains filtered or unexported fields }
FakeGitHubs implements GitHubInterface
func (*FakeGitHubs) Create ¶
Create takes the representation of a gitHub and creates it. Returns the server's representation of the gitHub, and an error, if there is any.
func (*FakeGitHubs) Delete ¶
func (c *FakeGitHubs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gitHub and deletes it. Returns an error if one occurs.
func (*FakeGitHubs) DeleteCollection ¶
func (c *FakeGitHubs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitHubs) Get ¶
func (c *FakeGitHubs) Get(name string, options v1.GetOptions) (result *v1alpha1.GitHub, err error)
Get takes name of the gitHub, and returns the corresponding gitHub object, and an error if there is any.
func (*FakeGitHubs) List ¶
func (c *FakeGitHubs) List(opts v1.ListOptions) (result *v1alpha1.GitHubList, err error)
List takes label and field selectors, and returns the list of GitHubs that match those selectors.
func (*FakeGitHubs) Patch ¶
func (c *FakeGitHubs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GitHub, err error)
Patch applies the patch and returns the patched gitHub.
func (*FakeGitHubs) Update ¶
Update takes the representation of a gitHub and updates it. Returns the server's representation of the gitHub, and an error, if there is any.
func (*FakeGitHubs) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGitHubs) Watch ¶
func (c *FakeGitHubs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitHubs.
type FakeSlackbots ¶
type FakeSlackbots struct { Fake *FakeGatewayV1alpha1 // contains filtered or unexported fields }
FakeSlackbots implements SlackbotInterface
func (*FakeSlackbots) Create ¶
Create takes the representation of a slackbot and creates it. Returns the server's representation of the slackbot, and an error, if there is any.
func (*FakeSlackbots) Delete ¶
func (c *FakeSlackbots) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the slackbot and deletes it. Returns an error if one occurs.
func (*FakeSlackbots) DeleteCollection ¶
func (c *FakeSlackbots) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSlackbots) Get ¶
func (c *FakeSlackbots) Get(name string, options v1.GetOptions) (result *v1alpha1.Slackbot, err error)
Get takes name of the slackbot, and returns the corresponding slackbot object, and an error if there is any.
func (*FakeSlackbots) List ¶
func (c *FakeSlackbots) List(opts v1.ListOptions) (result *v1alpha1.SlackbotList, err error)
List takes label and field selectors, and returns the list of Slackbots that match those selectors.
func (*FakeSlackbots) Patch ¶
func (c *FakeSlackbots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Slackbot, err error)
Patch applies the patch and returns the patched slackbot.
func (*FakeSlackbots) Update ¶
Update takes the representation of a slackbot and updates it. Returns the server's representation of the slackbot, and an error, if there is any.
func (*FakeSlackbots) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSlackbots) Watch ¶
func (c *FakeSlackbots) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested slackbots.