Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAciV1
- type FakeSnatLocalInfos
- func (c *FakeSnatLocalInfos) Create(ctx context.Context, snatLocalInfo *acisnatv1.SnatLocalInfo, ...) (result *acisnatv1.SnatLocalInfo, err error)
- func (c *FakeSnatLocalInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSnatLocalInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSnatLocalInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *acisnatv1.SnatLocalInfo, err error)
- func (c *FakeSnatLocalInfos) List(ctx context.Context, opts v1.ListOptions) (result *acisnatv1.SnatLocalInfoList, err error)
- func (c *FakeSnatLocalInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *acisnatv1.SnatLocalInfo, err error)
- func (c *FakeSnatLocalInfos) Update(ctx context.Context, snatLocalInfo *acisnatv1.SnatLocalInfo, ...) (result *acisnatv1.SnatLocalInfo, err error)
- func (c *FakeSnatLocalInfos) 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 FakeAciV1 ¶
func (*FakeAciV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAciV1) SnatLocalInfos ¶
func (c *FakeAciV1) SnatLocalInfos(namespace string) v1.SnatLocalInfoInterface
type FakeSnatLocalInfos ¶
type FakeSnatLocalInfos struct { Fake *FakeAciV1 // contains filtered or unexported fields }
FakeSnatLocalInfos implements SnatLocalInfoInterface
func (*FakeSnatLocalInfos) Create ¶
func (c *FakeSnatLocalInfos) Create(ctx context.Context, snatLocalInfo *acisnatv1.SnatLocalInfo, opts v1.CreateOptions) (result *acisnatv1.SnatLocalInfo, err error)
Create takes the representation of a snatLocalInfo and creates it. Returns the server's representation of the snatLocalInfo, and an error, if there is any.
func (*FakeSnatLocalInfos) Delete ¶
func (c *FakeSnatLocalInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the snatLocalInfo and deletes it. Returns an error if one occurs.
func (*FakeSnatLocalInfos) DeleteCollection ¶
func (c *FakeSnatLocalInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSnatLocalInfos) Get ¶
func (c *FakeSnatLocalInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *acisnatv1.SnatLocalInfo, err error)
Get takes name of the snatLocalInfo, and returns the corresponding snatLocalInfo object, and an error if there is any.
func (*FakeSnatLocalInfos) List ¶
func (c *FakeSnatLocalInfos) List(ctx context.Context, opts v1.ListOptions) (result *acisnatv1.SnatLocalInfoList, err error)
List takes label and field selectors, and returns the list of SnatLocalInfos that match those selectors.
func (*FakeSnatLocalInfos) Patch ¶
func (c *FakeSnatLocalInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *acisnatv1.SnatLocalInfo, err error)
Patch applies the patch and returns the patched snatLocalInfo.
func (*FakeSnatLocalInfos) Update ¶
func (c *FakeSnatLocalInfos) Update(ctx context.Context, snatLocalInfo *acisnatv1.SnatLocalInfo, opts v1.UpdateOptions) (result *acisnatv1.SnatLocalInfo, err error)
Update takes the representation of a snatLocalInfo and updates it. Returns the server's representation of the snatLocalInfo, and an error, if there is any.
func (*FakeSnatLocalInfos) Watch ¶
func (c *FakeSnatLocalInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested snatLocalInfos.