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