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