Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAkoV1beta1
- type FakeAviInfraSettings
- func (c *FakeAviInfraSettings) Create(ctx context.Context, aviInfraSetting *v1beta1.AviInfraSetting, ...) (result *v1beta1.AviInfraSetting, err error)
- func (c *FakeAviInfraSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAviInfraSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAviInfraSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AviInfraSetting, err error)
- func (c *FakeAviInfraSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AviInfraSettingList, err error)
- func (c *FakeAviInfraSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AviInfraSetting, err error)
- func (c *FakeAviInfraSettings) Update(ctx context.Context, aviInfraSetting *v1beta1.AviInfraSetting, ...) (result *v1beta1.AviInfraSetting, err error)
- func (c *FakeAviInfraSettings) UpdateStatus(ctx context.Context, aviInfraSetting *v1beta1.AviInfraSetting, ...) (*v1beta1.AviInfraSetting, error)
- func (c *FakeAviInfraSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHTTPRules
- func (c *FakeHTTPRules) Create(ctx context.Context, hTTPRule *v1beta1.HTTPRule, opts v1.CreateOptions) (result *v1beta1.HTTPRule, err error)
- func (c *FakeHTTPRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHTTPRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHTTPRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.HTTPRule, err error)
- func (c *FakeHTTPRules) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.HTTPRuleList, err error)
- func (c *FakeHTTPRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.HTTPRule, err error)
- func (c *FakeHTTPRules) Update(ctx context.Context, hTTPRule *v1beta1.HTTPRule, opts v1.UpdateOptions) (result *v1beta1.HTTPRule, err error)
- func (c *FakeHTTPRules) UpdateStatus(ctx context.Context, hTTPRule *v1beta1.HTTPRule, opts v1.UpdateOptions) (*v1beta1.HTTPRule, error)
- func (c *FakeHTTPRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHostRules
- func (c *FakeHostRules) Create(ctx context.Context, hostRule *v1beta1.HostRule, opts v1.CreateOptions) (result *v1beta1.HostRule, err error)
- func (c *FakeHostRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHostRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHostRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.HostRule, err error)
- func (c *FakeHostRules) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.HostRuleList, err error)
- func (c *FakeHostRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.HostRule, err error)
- func (c *FakeHostRules) Update(ctx context.Context, hostRule *v1beta1.HostRule, opts v1.UpdateOptions) (result *v1beta1.HostRule, err error)
- func (c *FakeHostRules) UpdateStatus(ctx context.Context, hostRule *v1beta1.HostRule, opts v1.UpdateOptions) (*v1beta1.HostRule, error)
- func (c *FakeHostRules) 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 FakeAkoV1beta1 ¶
func (*FakeAkoV1beta1) AviInfraSettings ¶
func (c *FakeAkoV1beta1) AviInfraSettings() v1beta1.AviInfraSettingInterface
func (*FakeAkoV1beta1) HTTPRules ¶
func (c *FakeAkoV1beta1) HTTPRules(namespace string) v1beta1.HTTPRuleInterface
func (*FakeAkoV1beta1) HostRules ¶
func (c *FakeAkoV1beta1) HostRules(namespace string) v1beta1.HostRuleInterface
func (*FakeAkoV1beta1) RESTClient ¶
func (c *FakeAkoV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeAviInfraSettings ¶
type FakeAviInfraSettings struct {
Fake *FakeAkoV1beta1
}
FakeAviInfraSettings implements AviInfraSettingInterface
func (*FakeAviInfraSettings) Create ¶
func (c *FakeAviInfraSettings) Create(ctx context.Context, aviInfraSetting *v1beta1.AviInfraSetting, opts v1.CreateOptions) (result *v1beta1.AviInfraSetting, err error)
Create takes the representation of a aviInfraSetting and creates it. Returns the server's representation of the aviInfraSetting, and an error, if there is any.
func (*FakeAviInfraSettings) Delete ¶
func (c *FakeAviInfraSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aviInfraSetting and deletes it. Returns an error if one occurs.
func (*FakeAviInfraSettings) DeleteCollection ¶
func (c *FakeAviInfraSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAviInfraSettings) Get ¶
func (c *FakeAviInfraSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AviInfraSetting, err error)
Get takes name of the aviInfraSetting, and returns the corresponding aviInfraSetting object, and an error if there is any.
func (*FakeAviInfraSettings) List ¶
func (c *FakeAviInfraSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AviInfraSettingList, err error)
List takes label and field selectors, and returns the list of AviInfraSettings that match those selectors.
func (*FakeAviInfraSettings) Patch ¶
func (c *FakeAviInfraSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AviInfraSetting, err error)
Patch applies the patch and returns the patched aviInfraSetting.
func (*FakeAviInfraSettings) Update ¶
func (c *FakeAviInfraSettings) Update(ctx context.Context, aviInfraSetting *v1beta1.AviInfraSetting, opts v1.UpdateOptions) (result *v1beta1.AviInfraSetting, err error)
Update takes the representation of a aviInfraSetting and updates it. Returns the server's representation of the aviInfraSetting, and an error, if there is any.
func (*FakeAviInfraSettings) UpdateStatus ¶
func (c *FakeAviInfraSettings) UpdateStatus(ctx context.Context, aviInfraSetting *v1beta1.AviInfraSetting, opts v1.UpdateOptions) (*v1beta1.AviInfraSetting, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAviInfraSettings) Watch ¶
func (c *FakeAviInfraSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aviInfraSettings.
type FakeHTTPRules ¶
type FakeHTTPRules struct { Fake *FakeAkoV1beta1 // contains filtered or unexported fields }
FakeHTTPRules implements HTTPRuleInterface
func (*FakeHTTPRules) Create ¶
func (c *FakeHTTPRules) Create(ctx context.Context, hTTPRule *v1beta1.HTTPRule, opts v1.CreateOptions) (result *v1beta1.HTTPRule, err error)
Create takes the representation of a hTTPRule and creates it. Returns the server's representation of the hTTPRule, and an error, if there is any.
func (*FakeHTTPRules) Delete ¶
func (c *FakeHTTPRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hTTPRule and deletes it. Returns an error if one occurs.
func (*FakeHTTPRules) DeleteCollection ¶
func (c *FakeHTTPRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPRules) Get ¶
func (c *FakeHTTPRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.HTTPRule, err error)
Get takes name of the hTTPRule, and returns the corresponding hTTPRule object, and an error if there is any.
func (*FakeHTTPRules) List ¶
func (c *FakeHTTPRules) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.HTTPRuleList, err error)
List takes label and field selectors, and returns the list of HTTPRules that match those selectors.
func (*FakeHTTPRules) Patch ¶
func (c *FakeHTTPRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.HTTPRule, err error)
Patch applies the patch and returns the patched hTTPRule.
func (*FakeHTTPRules) Update ¶
func (c *FakeHTTPRules) Update(ctx context.Context, hTTPRule *v1beta1.HTTPRule, opts v1.UpdateOptions) (result *v1beta1.HTTPRule, err error)
Update takes the representation of a hTTPRule and updates it. Returns the server's representation of the hTTPRule, and an error, if there is any.
func (*FakeHTTPRules) UpdateStatus ¶
func (c *FakeHTTPRules) UpdateStatus(ctx context.Context, hTTPRule *v1beta1.HTTPRule, opts v1.UpdateOptions) (*v1beta1.HTTPRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHTTPRules) Watch ¶
func (c *FakeHTTPRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPRules.
type FakeHostRules ¶
type FakeHostRules struct { Fake *FakeAkoV1beta1 // contains filtered or unexported fields }
FakeHostRules implements HostRuleInterface
func (*FakeHostRules) Create ¶
func (c *FakeHostRules) Create(ctx context.Context, hostRule *v1beta1.HostRule, opts v1.CreateOptions) (result *v1beta1.HostRule, err error)
Create takes the representation of a hostRule and creates it. Returns the server's representation of the hostRule, and an error, if there is any.
func (*FakeHostRules) Delete ¶
func (c *FakeHostRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hostRule and deletes it. Returns an error if one occurs.
func (*FakeHostRules) DeleteCollection ¶
func (c *FakeHostRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHostRules) Get ¶
func (c *FakeHostRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.HostRule, err error)
Get takes name of the hostRule, and returns the corresponding hostRule object, and an error if there is any.
func (*FakeHostRules) List ¶
func (c *FakeHostRules) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.HostRuleList, err error)
List takes label and field selectors, and returns the list of HostRules that match those selectors.
func (*FakeHostRules) Patch ¶
func (c *FakeHostRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.HostRule, err error)
Patch applies the patch and returns the patched hostRule.
func (*FakeHostRules) Update ¶
func (c *FakeHostRules) Update(ctx context.Context, hostRule *v1beta1.HostRule, opts v1.UpdateOptions) (result *v1beta1.HostRule, err error)
Update takes the representation of a hostRule and updates it. Returns the server's representation of the hostRule, and an error, if there is any.
func (*FakeHostRules) UpdateStatus ¶
func (c *FakeHostRules) UpdateStatus(ctx context.Context, hostRule *v1beta1.HostRule, opts v1.UpdateOptions) (*v1beta1.HostRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHostRules) Watch ¶
func (c *FakeHostRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hostRules.