Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeTagV1alpha1
- type FakeTags
- func (c *FakeTags) Create(ctx context.Context, tag *v1alpha1.Tag, opts v1.CreateOptions) (result *v1alpha1.Tag, err error)
- func (c *FakeTags) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTags) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTags) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Tag, err error)
- func (c *FakeTags) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TagList, err error)
- func (c *FakeTags) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Tag, err error)
- func (c *FakeTags) Update(ctx context.Context, tag *v1alpha1.Tag, opts v1.UpdateOptions) (result *v1alpha1.Tag, err error)
- func (c *FakeTags) UpdateStatus(ctx context.Context, tag *v1alpha1.Tag, opts v1.UpdateOptions) (*v1alpha1.Tag, error)
- func (c *FakeTags) 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 FakeTagV1alpha1 ¶
func (*FakeTagV1alpha1) RESTClient ¶
func (c *FakeTagV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTagV1alpha1) Tags ¶
func (c *FakeTagV1alpha1) Tags(namespace string) v1alpha1.TagInterface
type FakeTags ¶
type FakeTags struct { Fake *FakeTagV1alpha1 // contains filtered or unexported fields }
FakeTags implements TagInterface
func (*FakeTags) Create ¶
func (c *FakeTags) Create(ctx context.Context, tag *v1alpha1.Tag, opts v1.CreateOptions) (result *v1alpha1.Tag, err error)
Create takes the representation of a tag and creates it. Returns the server's representation of the tag, and an error, if there is any.
func (*FakeTags) Delete ¶
Delete takes name of the tag and deletes it. Returns an error if one occurs.
func (*FakeTags) DeleteCollection ¶
func (c *FakeTags) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTags) Get ¶
func (c *FakeTags) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Tag, err error)
Get takes name of the tag, and returns the corresponding tag object, and an error if there is any.
func (*FakeTags) List ¶
func (c *FakeTags) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TagList, err error)
List takes label and field selectors, and returns the list of Tags that match those selectors.
func (*FakeTags) Patch ¶
func (c *FakeTags) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Tag, err error)
Patch applies the patch and returns the patched tag.
func (*FakeTags) Update ¶
func (c *FakeTags) Update(ctx context.Context, tag *v1alpha1.Tag, opts v1.UpdateOptions) (result *v1alpha1.Tag, err error)
Update takes the representation of a tag and updates it. Returns the server's representation of the tag, and an error, if there is any.
func (*FakeTags) UpdateStatus ¶
func (c *FakeTags) UpdateStatus(ctx context.Context, tag *v1alpha1.Tag, opts v1.UpdateOptions) (*v1alpha1.Tag, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().