Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNimbessV1
- type FakeUnifiedNetworkPolicies
- func (c *FakeUnifiedNetworkPolicies) Create(unifiedNetworkPolicy *unpv1.UnifiedNetworkPolicy) (result *unpv1.UnifiedNetworkPolicy, err error)
- func (c *FakeUnifiedNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUnifiedNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUnifiedNetworkPolicies) Get(name string, options v1.GetOptions) (result *unpv1.UnifiedNetworkPolicy, err error)
- func (c *FakeUnifiedNetworkPolicies) List(opts v1.ListOptions) (result *unpv1.UnifiedNetworkPolicyList, err error)
- func (c *FakeUnifiedNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *unpv1.UnifiedNetworkPolicy, err error)
- func (c *FakeUnifiedNetworkPolicies) Update(unifiedNetworkPolicy *unpv1.UnifiedNetworkPolicy) (result *unpv1.UnifiedNetworkPolicy, err error)
- func (c *FakeUnifiedNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUnpConfigs
- func (c *FakeUnpConfigs) Create(unpConfig *unpv1.UnpConfig) (result *unpv1.UnpConfig, err error)
- func (c *FakeUnpConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUnpConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUnpConfigs) Get(name string, options v1.GetOptions) (result *unpv1.UnpConfig, err error)
- func (c *FakeUnpConfigs) List(opts v1.ListOptions) (result *unpv1.UnpConfigList, err error)
- func (c *FakeUnpConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *unpv1.UnpConfig, err error)
- func (c *FakeUnpConfigs) Update(unpConfig *unpv1.UnpConfig) (result *unpv1.UnpConfig, err error)
- func (c *FakeUnpConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNimbessV1 ¶
func (*FakeNimbessV1) RESTClient ¶
func (c *FakeNimbessV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeNimbessV1) UnifiedNetworkPolicies ¶
func (c *FakeNimbessV1) UnifiedNetworkPolicies(namespace string) v1.UnifiedNetworkPolicyInterface
type FakeUnifiedNetworkPolicies ¶
type FakeUnifiedNetworkPolicies struct { Fake *FakeNimbessV1 // contains filtered or unexported fields }
FakeUnifiedNetworkPolicies implements UnifiedNetworkPolicyInterface
func (*FakeUnifiedNetworkPolicies) Create ¶
func (c *FakeUnifiedNetworkPolicies) Create(unifiedNetworkPolicy *unpv1.UnifiedNetworkPolicy) (result *unpv1.UnifiedNetworkPolicy, err error)
Create takes the representation of a unifiedNetworkPolicy and creates it. Returns the server's representation of the unifiedNetworkPolicy, and an error, if there is any.
func (*FakeUnifiedNetworkPolicies) Delete ¶
func (c *FakeUnifiedNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the unifiedNetworkPolicy and deletes it. Returns an error if one occurs.
func (*FakeUnifiedNetworkPolicies) DeleteCollection ¶
func (c *FakeUnifiedNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUnifiedNetworkPolicies) Get ¶
func (c *FakeUnifiedNetworkPolicies) Get(name string, options v1.GetOptions) (result *unpv1.UnifiedNetworkPolicy, err error)
Get takes name of the unifiedNetworkPolicy, and returns the corresponding unifiedNetworkPolicy object, and an error if there is any.
func (*FakeUnifiedNetworkPolicies) List ¶
func (c *FakeUnifiedNetworkPolicies) List(opts v1.ListOptions) (result *unpv1.UnifiedNetworkPolicyList, err error)
List takes label and field selectors, and returns the list of UnifiedNetworkPolicies that match those selectors.
func (*FakeUnifiedNetworkPolicies) Patch ¶
func (c *FakeUnifiedNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *unpv1.UnifiedNetworkPolicy, err error)
Patch applies the patch and returns the patched unifiedNetworkPolicy.
func (*FakeUnifiedNetworkPolicies) Update ¶
func (c *FakeUnifiedNetworkPolicies) Update(unifiedNetworkPolicy *unpv1.UnifiedNetworkPolicy) (result *unpv1.UnifiedNetworkPolicy, err error)
Update takes the representation of a unifiedNetworkPolicy and updates it. Returns the server's representation of the unifiedNetworkPolicy, and an error, if there is any.
func (*FakeUnifiedNetworkPolicies) Watch ¶
func (c *FakeUnifiedNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested unifiedNetworkPolicies.
type FakeUnpConfigs ¶
type FakeUnpConfigs struct { Fake *FakeNimbessV1 // contains filtered or unexported fields }
FakeUnpConfigs implements UnpConfigInterface
func (*FakeUnpConfigs) Create ¶
Create takes the representation of a unpConfig and creates it. Returns the server's representation of the unpConfig, and an error, if there is any.
func (*FakeUnpConfigs) Delete ¶
func (c *FakeUnpConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the unpConfig and deletes it. Returns an error if one occurs.
func (*FakeUnpConfigs) DeleteCollection ¶
func (c *FakeUnpConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUnpConfigs) Get ¶
func (c *FakeUnpConfigs) Get(name string, options v1.GetOptions) (result *unpv1.UnpConfig, err error)
Get takes name of the unpConfig, and returns the corresponding unpConfig object, and an error if there is any.
func (*FakeUnpConfigs) List ¶
func (c *FakeUnpConfigs) List(opts v1.ListOptions) (result *unpv1.UnpConfigList, err error)
List takes label and field selectors, and returns the list of UnpConfigs that match those selectors.
func (*FakeUnpConfigs) Patch ¶
func (c *FakeUnpConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *unpv1.UnpConfig, err error)
Patch applies the patch and returns the patched unpConfig.
func (*FakeUnpConfigs) Update ¶
Update takes the representation of a unpConfig and updates it. Returns the server's representation of the unpConfig, and an error, if there is any.
func (*FakeUnpConfigs) Watch ¶
func (c *FakeUnpConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested unpConfigs.