Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterEnforcerProfiles
- func (c *FakeClusterEnforcerProfiles) Create(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
- func (c *FakeClusterEnforcerProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterEnforcerProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterEnforcerProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
- func (c *FakeClusterEnforcerProfiles) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterEnforcerProfileList, err error)
- func (c *FakeClusterEnforcerProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
- func (c *FakeClusterEnforcerProfiles) Update(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
- func (c *FakeClusterEnforcerProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterEnforcers
- func (c *FakeClusterEnforcers) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterEnforcer, err error)
- func (c *FakeClusterEnforcers) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterEnforcerList, err error)
- func (c *FakeClusterEnforcers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterExternalNetworks
- func (c *FakeClusterExternalNetworks) Create(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
- func (c *FakeClusterExternalNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterExternalNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterExternalNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
- func (c *FakeClusterExternalNetworks) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterExternalNetworkList, err error)
- func (c *FakeClusterExternalNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
- func (c *FakeClusterExternalNetworks) Update(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
- func (c *FakeClusterExternalNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterNetworkRuleSetPolicies
- func (c *FakeClusterNetworkRuleSetPolicies) Create(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
- func (c *FakeClusterNetworkRuleSetPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterNetworkRuleSetPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterNetworkRuleSetPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
- func (c *FakeClusterNetworkRuleSetPolicies) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicyList, err error)
- func (c *FakeClusterNetworkRuleSetPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
- func (c *FakeClusterNetworkRuleSetPolicies) Update(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
- func (c *FakeClusterNetworkRuleSetPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterPUTrafficActions
- func (c *FakeClusterPUTrafficActions) Create(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
- func (c *FakeClusterPUTrafficActions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterPUTrafficActions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterPUTrafficActions) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
- func (c *FakeClusterPUTrafficActions) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterPUTrafficActionList, err error)
- func (c *FakeClusterPUTrafficActions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
- func (c *FakeClusterPUTrafficActions) Update(ctx context.Context, ...) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
- func (c *FakeClusterPUTrafficActions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterProcessingUnits
- func (c *FakeClusterProcessingUnits) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterProcessingUnit, err error)
- func (c *FakeClusterProcessingUnits) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterProcessingUnitList, err error)
- func (c *FakeClusterProcessingUnits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExternalNetworks
- func (c *FakeExternalNetworks) Create(ctx context.Context, externalNetwork *networkprismacloudiov1.ExternalNetwork, ...) (result *networkprismacloudiov1.ExternalNetwork, err error)
- func (c *FakeExternalNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExternalNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExternalNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ExternalNetwork, err error)
- func (c *FakeExternalNetworks) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ExternalNetworkList, err error)
- func (c *FakeExternalNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *networkprismacloudiov1.ExternalNetwork, err error)
- func (c *FakeExternalNetworks) Update(ctx context.Context, externalNetwork *networkprismacloudiov1.ExternalNetwork, ...) (result *networkprismacloudiov1.ExternalNetwork, err error)
- func (c *FakeExternalNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkRuleSetPolicies
- func (c *FakeNetworkRuleSetPolicies) Create(ctx context.Context, ...) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
- func (c *FakeNetworkRuleSetPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkRuleSetPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkRuleSetPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
- func (c *FakeNetworkRuleSetPolicies) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.NetworkRuleSetPolicyList, err error)
- func (c *FakeNetworkRuleSetPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
- func (c *FakeNetworkRuleSetPolicies) Update(ctx context.Context, ...) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
- func (c *FakeNetworkRuleSetPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkV1
- func (c *FakeNetworkV1) ClusterEnforcerProfiles() v1.ClusterEnforcerProfileInterface
- func (c *FakeNetworkV1) ClusterEnforcers() v1.ClusterEnforcerInterface
- func (c *FakeNetworkV1) ClusterExternalNetworks() v1.ClusterExternalNetworkInterface
- func (c *FakeNetworkV1) ClusterNetworkRuleSetPolicies() v1.ClusterNetworkRuleSetPolicyInterface
- func (c *FakeNetworkV1) ClusterPUTrafficActions() v1.ClusterPUTrafficActionInterface
- func (c *FakeNetworkV1) ClusterProcessingUnits() v1.ClusterProcessingUnitInterface
- func (c *FakeNetworkV1) ExternalNetworks(namespace string) v1.ExternalNetworkInterface
- func (c *FakeNetworkV1) NetworkRuleSetPolicies(namespace string) v1.NetworkRuleSetPolicyInterface
- func (c *FakeNetworkV1) PUTrafficActions(namespace string) v1.PUTrafficActionInterface
- func (c *FakeNetworkV1) ProcessingUnits(namespace string) v1.ProcessingUnitInterface
- func (c *FakeNetworkV1) RESTClient() rest.Interface
- type FakePUTrafficActions
- func (c *FakePUTrafficActions) Create(ctx context.Context, pUTrafficAction *networkprismacloudiov1.PUTrafficAction, ...) (result *networkprismacloudiov1.PUTrafficAction, err error)
- func (c *FakePUTrafficActions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePUTrafficActions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePUTrafficActions) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.PUTrafficAction, err error)
- func (c *FakePUTrafficActions) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.PUTrafficActionList, err error)
- func (c *FakePUTrafficActions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *networkprismacloudiov1.PUTrafficAction, err error)
- func (c *FakePUTrafficActions) Update(ctx context.Context, pUTrafficAction *networkprismacloudiov1.PUTrafficAction, ...) (result *networkprismacloudiov1.PUTrafficAction, err error)
- func (c *FakePUTrafficActions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProcessingUnits
- func (c *FakeProcessingUnits) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ProcessingUnit, err error)
- func (c *FakeProcessingUnits) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ProcessingUnitList, err error)
- func (c *FakeProcessingUnits) 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 FakeClusterEnforcerProfiles ¶
type FakeClusterEnforcerProfiles struct {
Fake *FakeNetworkV1
}
FakeClusterEnforcerProfiles implements ClusterEnforcerProfileInterface
func (*FakeClusterEnforcerProfiles) Create ¶
func (c *FakeClusterEnforcerProfiles) Create(ctx context.Context, clusterEnforcerProfile *networkprismacloudiov1.ClusterEnforcerProfile, opts v1.CreateOptions) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
Create takes the representation of a clusterEnforcerProfile and creates it. Returns the server's representation of the clusterEnforcerProfile, and an error, if there is any.
func (*FakeClusterEnforcerProfiles) Delete ¶
func (c *FakeClusterEnforcerProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterEnforcerProfile and deletes it. Returns an error if one occurs.
func (*FakeClusterEnforcerProfiles) DeleteCollection ¶
func (c *FakeClusterEnforcerProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterEnforcerProfiles) Get ¶
func (c *FakeClusterEnforcerProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
Get takes name of the clusterEnforcerProfile, and returns the corresponding clusterEnforcerProfile object, and an error if there is any.
func (*FakeClusterEnforcerProfiles) List ¶
func (c *FakeClusterEnforcerProfiles) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterEnforcerProfileList, err error)
List takes label and field selectors, and returns the list of ClusterEnforcerProfiles that match those selectors.
func (*FakeClusterEnforcerProfiles) Patch ¶
func (c *FakeClusterEnforcerProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
Patch applies the patch and returns the patched clusterEnforcerProfile.
func (*FakeClusterEnforcerProfiles) Update ¶
func (c *FakeClusterEnforcerProfiles) Update(ctx context.Context, clusterEnforcerProfile *networkprismacloudiov1.ClusterEnforcerProfile, opts v1.UpdateOptions) (result *networkprismacloudiov1.ClusterEnforcerProfile, err error)
Update takes the representation of a clusterEnforcerProfile and updates it. Returns the server's representation of the clusterEnforcerProfile, and an error, if there is any.
func (*FakeClusterEnforcerProfiles) Watch ¶
func (c *FakeClusterEnforcerProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterEnforcerProfiles.
type FakeClusterEnforcers ¶
type FakeClusterEnforcers struct {
Fake *FakeNetworkV1
}
FakeClusterEnforcers implements ClusterEnforcerInterface
func (*FakeClusterEnforcers) Get ¶
func (c *FakeClusterEnforcers) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterEnforcer, err error)
Get takes name of the clusterEnforcer, and returns the corresponding clusterEnforcer object, and an error if there is any.
func (*FakeClusterEnforcers) List ¶
func (c *FakeClusterEnforcers) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterEnforcerList, err error)
List takes label and field selectors, and returns the list of ClusterEnforcers that match those selectors.
func (*FakeClusterEnforcers) Watch ¶
func (c *FakeClusterEnforcers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterEnforcers.
type FakeClusterExternalNetworks ¶
type FakeClusterExternalNetworks struct {
Fake *FakeNetworkV1
}
FakeClusterExternalNetworks implements ClusterExternalNetworkInterface
func (*FakeClusterExternalNetworks) Create ¶
func (c *FakeClusterExternalNetworks) Create(ctx context.Context, clusterExternalNetwork *networkprismacloudiov1.ClusterExternalNetwork, opts v1.CreateOptions) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
Create takes the representation of a clusterExternalNetwork and creates it. Returns the server's representation of the clusterExternalNetwork, and an error, if there is any.
func (*FakeClusterExternalNetworks) Delete ¶
func (c *FakeClusterExternalNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterExternalNetwork and deletes it. Returns an error if one occurs.
func (*FakeClusterExternalNetworks) DeleteCollection ¶
func (c *FakeClusterExternalNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterExternalNetworks) Get ¶
func (c *FakeClusterExternalNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
Get takes name of the clusterExternalNetwork, and returns the corresponding clusterExternalNetwork object, and an error if there is any.
func (*FakeClusterExternalNetworks) List ¶
func (c *FakeClusterExternalNetworks) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterExternalNetworkList, err error)
List takes label and field selectors, and returns the list of ClusterExternalNetworks that match those selectors.
func (*FakeClusterExternalNetworks) Patch ¶
func (c *FakeClusterExternalNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
Patch applies the patch and returns the patched clusterExternalNetwork.
func (*FakeClusterExternalNetworks) Update ¶
func (c *FakeClusterExternalNetworks) Update(ctx context.Context, clusterExternalNetwork *networkprismacloudiov1.ClusterExternalNetwork, opts v1.UpdateOptions) (result *networkprismacloudiov1.ClusterExternalNetwork, err error)
Update takes the representation of a clusterExternalNetwork and updates it. Returns the server's representation of the clusterExternalNetwork, and an error, if there is any.
func (*FakeClusterExternalNetworks) Watch ¶
func (c *FakeClusterExternalNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterExternalNetworks.
type FakeClusterNetworkRuleSetPolicies ¶
type FakeClusterNetworkRuleSetPolicies struct {
Fake *FakeNetworkV1
}
FakeClusterNetworkRuleSetPolicies implements ClusterNetworkRuleSetPolicyInterface
func (*FakeClusterNetworkRuleSetPolicies) Create ¶
func (c *FakeClusterNetworkRuleSetPolicies) Create(ctx context.Context, clusterNetworkRuleSetPolicy *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, opts v1.CreateOptions) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
Create takes the representation of a clusterNetworkRuleSetPolicy and creates it. Returns the server's representation of the clusterNetworkRuleSetPolicy, and an error, if there is any.
func (*FakeClusterNetworkRuleSetPolicies) Delete ¶
func (c *FakeClusterNetworkRuleSetPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterNetworkRuleSetPolicy and deletes it. Returns an error if one occurs.
func (*FakeClusterNetworkRuleSetPolicies) DeleteCollection ¶
func (c *FakeClusterNetworkRuleSetPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterNetworkRuleSetPolicies) Get ¶
func (c *FakeClusterNetworkRuleSetPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
Get takes name of the clusterNetworkRuleSetPolicy, and returns the corresponding clusterNetworkRuleSetPolicy object, and an error if there is any.
func (*FakeClusterNetworkRuleSetPolicies) List ¶
func (c *FakeClusterNetworkRuleSetPolicies) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicyList, err error)
List takes label and field selectors, and returns the list of ClusterNetworkRuleSetPolicies that match those selectors.
func (*FakeClusterNetworkRuleSetPolicies) Patch ¶
func (c *FakeClusterNetworkRuleSetPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
Patch applies the patch and returns the patched clusterNetworkRuleSetPolicy.
func (*FakeClusterNetworkRuleSetPolicies) Update ¶
func (c *FakeClusterNetworkRuleSetPolicies) Update(ctx context.Context, clusterNetworkRuleSetPolicy *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, opts v1.UpdateOptions) (result *networkprismacloudiov1.ClusterNetworkRuleSetPolicy, err error)
Update takes the representation of a clusterNetworkRuleSetPolicy and updates it. Returns the server's representation of the clusterNetworkRuleSetPolicy, and an error, if there is any.
func (*FakeClusterNetworkRuleSetPolicies) Watch ¶
func (c *FakeClusterNetworkRuleSetPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterNetworkRuleSetPolicies.
type FakeClusterPUTrafficActions ¶
type FakeClusterPUTrafficActions struct {
Fake *FakeNetworkV1
}
FakeClusterPUTrafficActions implements ClusterPUTrafficActionInterface
func (*FakeClusterPUTrafficActions) Create ¶
func (c *FakeClusterPUTrafficActions) Create(ctx context.Context, clusterPUTrafficAction *networkprismacloudiov1.ClusterPUTrafficAction, opts v1.CreateOptions) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
Create takes the representation of a clusterPUTrafficAction and creates it. Returns the server's representation of the clusterPUTrafficAction, and an error, if there is any.
func (*FakeClusterPUTrafficActions) Delete ¶
func (c *FakeClusterPUTrafficActions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterPUTrafficAction and deletes it. Returns an error if one occurs.
func (*FakeClusterPUTrafficActions) DeleteCollection ¶
func (c *FakeClusterPUTrafficActions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterPUTrafficActions) Get ¶
func (c *FakeClusterPUTrafficActions) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
Get takes name of the clusterPUTrafficAction, and returns the corresponding clusterPUTrafficAction object, and an error if there is any.
func (*FakeClusterPUTrafficActions) List ¶
func (c *FakeClusterPUTrafficActions) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterPUTrafficActionList, err error)
List takes label and field selectors, and returns the list of ClusterPUTrafficActions that match those selectors.
func (*FakeClusterPUTrafficActions) Patch ¶
func (c *FakeClusterPUTrafficActions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
Patch applies the patch and returns the patched clusterPUTrafficAction.
func (*FakeClusterPUTrafficActions) Update ¶
func (c *FakeClusterPUTrafficActions) Update(ctx context.Context, clusterPUTrafficAction *networkprismacloudiov1.ClusterPUTrafficAction, opts v1.UpdateOptions) (result *networkprismacloudiov1.ClusterPUTrafficAction, err error)
Update takes the representation of a clusterPUTrafficAction and updates it. Returns the server's representation of the clusterPUTrafficAction, and an error, if there is any.
func (*FakeClusterPUTrafficActions) Watch ¶
func (c *FakeClusterPUTrafficActions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterPUTrafficActions.
type FakeClusterProcessingUnits ¶
type FakeClusterProcessingUnits struct {
Fake *FakeNetworkV1
}
FakeClusterProcessingUnits implements ClusterProcessingUnitInterface
func (*FakeClusterProcessingUnits) Get ¶
func (c *FakeClusterProcessingUnits) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ClusterProcessingUnit, err error)
Get takes name of the clusterProcessingUnit, and returns the corresponding clusterProcessingUnit object, and an error if there is any.
func (*FakeClusterProcessingUnits) List ¶
func (c *FakeClusterProcessingUnits) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ClusterProcessingUnitList, err error)
List takes label and field selectors, and returns the list of ClusterProcessingUnits that match those selectors.
func (*FakeClusterProcessingUnits) Watch ¶
func (c *FakeClusterProcessingUnits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterProcessingUnits.
type FakeExternalNetworks ¶
type FakeExternalNetworks struct { Fake *FakeNetworkV1 // contains filtered or unexported fields }
FakeExternalNetworks implements ExternalNetworkInterface
func (*FakeExternalNetworks) Create ¶
func (c *FakeExternalNetworks) Create(ctx context.Context, externalNetwork *networkprismacloudiov1.ExternalNetwork, opts v1.CreateOptions) (result *networkprismacloudiov1.ExternalNetwork, err error)
Create takes the representation of a externalNetwork and creates it. Returns the server's representation of the externalNetwork, and an error, if there is any.
func (*FakeExternalNetworks) Delete ¶
func (c *FakeExternalNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the externalNetwork and deletes it. Returns an error if one occurs.
func (*FakeExternalNetworks) DeleteCollection ¶
func (c *FakeExternalNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalNetworks) Get ¶
func (c *FakeExternalNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ExternalNetwork, err error)
Get takes name of the externalNetwork, and returns the corresponding externalNetwork object, and an error if there is any.
func (*FakeExternalNetworks) List ¶
func (c *FakeExternalNetworks) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ExternalNetworkList, err error)
List takes label and field selectors, and returns the list of ExternalNetworks that match those selectors.
func (*FakeExternalNetworks) Patch ¶
func (c *FakeExternalNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *networkprismacloudiov1.ExternalNetwork, err error)
Patch applies the patch and returns the patched externalNetwork.
func (*FakeExternalNetworks) Update ¶
func (c *FakeExternalNetworks) Update(ctx context.Context, externalNetwork *networkprismacloudiov1.ExternalNetwork, opts v1.UpdateOptions) (result *networkprismacloudiov1.ExternalNetwork, err error)
Update takes the representation of a externalNetwork and updates it. Returns the server's representation of the externalNetwork, and an error, if there is any.
func (*FakeExternalNetworks) Watch ¶
func (c *FakeExternalNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalNetworks.
type FakeNetworkRuleSetPolicies ¶
type FakeNetworkRuleSetPolicies struct { Fake *FakeNetworkV1 // contains filtered or unexported fields }
FakeNetworkRuleSetPolicies implements NetworkRuleSetPolicyInterface
func (*FakeNetworkRuleSetPolicies) Create ¶
func (c *FakeNetworkRuleSetPolicies) Create(ctx context.Context, networkRuleSetPolicy *networkprismacloudiov1.NetworkRuleSetPolicy, opts v1.CreateOptions) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
Create takes the representation of a networkRuleSetPolicy and creates it. Returns the server's representation of the networkRuleSetPolicy, and an error, if there is any.
func (*FakeNetworkRuleSetPolicies) Delete ¶
func (c *FakeNetworkRuleSetPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkRuleSetPolicy and deletes it. Returns an error if one occurs.
func (*FakeNetworkRuleSetPolicies) DeleteCollection ¶
func (c *FakeNetworkRuleSetPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkRuleSetPolicies) Get ¶
func (c *FakeNetworkRuleSetPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
Get takes name of the networkRuleSetPolicy, and returns the corresponding networkRuleSetPolicy object, and an error if there is any.
func (*FakeNetworkRuleSetPolicies) List ¶
func (c *FakeNetworkRuleSetPolicies) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.NetworkRuleSetPolicyList, err error)
List takes label and field selectors, and returns the list of NetworkRuleSetPolicies that match those selectors.
func (*FakeNetworkRuleSetPolicies) Patch ¶
func (c *FakeNetworkRuleSetPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
Patch applies the patch and returns the patched networkRuleSetPolicy.
func (*FakeNetworkRuleSetPolicies) Update ¶
func (c *FakeNetworkRuleSetPolicies) Update(ctx context.Context, networkRuleSetPolicy *networkprismacloudiov1.NetworkRuleSetPolicy, opts v1.UpdateOptions) (result *networkprismacloudiov1.NetworkRuleSetPolicy, err error)
Update takes the representation of a networkRuleSetPolicy and updates it. Returns the server's representation of the networkRuleSetPolicy, and an error, if there is any.
func (*FakeNetworkRuleSetPolicies) Watch ¶
func (c *FakeNetworkRuleSetPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkRuleSetPolicies.
type FakeNetworkV1 ¶
func (*FakeNetworkV1) ClusterEnforcerProfiles ¶
func (c *FakeNetworkV1) ClusterEnforcerProfiles() v1.ClusterEnforcerProfileInterface
func (*FakeNetworkV1) ClusterEnforcers ¶
func (c *FakeNetworkV1) ClusterEnforcers() v1.ClusterEnforcerInterface
func (*FakeNetworkV1) ClusterExternalNetworks ¶
func (c *FakeNetworkV1) ClusterExternalNetworks() v1.ClusterExternalNetworkInterface
func (*FakeNetworkV1) ClusterNetworkRuleSetPolicies ¶
func (c *FakeNetworkV1) ClusterNetworkRuleSetPolicies() v1.ClusterNetworkRuleSetPolicyInterface
func (*FakeNetworkV1) ClusterPUTrafficActions ¶
func (c *FakeNetworkV1) ClusterPUTrafficActions() v1.ClusterPUTrafficActionInterface
func (*FakeNetworkV1) ClusterProcessingUnits ¶
func (c *FakeNetworkV1) ClusterProcessingUnits() v1.ClusterProcessingUnitInterface
func (*FakeNetworkV1) ExternalNetworks ¶
func (c *FakeNetworkV1) ExternalNetworks(namespace string) v1.ExternalNetworkInterface
func (*FakeNetworkV1) NetworkRuleSetPolicies ¶
func (c *FakeNetworkV1) NetworkRuleSetPolicies(namespace string) v1.NetworkRuleSetPolicyInterface
func (*FakeNetworkV1) PUTrafficActions ¶
func (c *FakeNetworkV1) PUTrafficActions(namespace string) v1.PUTrafficActionInterface
func (*FakeNetworkV1) ProcessingUnits ¶
func (c *FakeNetworkV1) ProcessingUnits(namespace string) v1.ProcessingUnitInterface
func (*FakeNetworkV1) RESTClient ¶
func (c *FakeNetworkV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePUTrafficActions ¶
type FakePUTrafficActions struct { Fake *FakeNetworkV1 // contains filtered or unexported fields }
FakePUTrafficActions implements PUTrafficActionInterface
func (*FakePUTrafficActions) Create ¶
func (c *FakePUTrafficActions) Create(ctx context.Context, pUTrafficAction *networkprismacloudiov1.PUTrafficAction, opts v1.CreateOptions) (result *networkprismacloudiov1.PUTrafficAction, err error)
Create takes the representation of a pUTrafficAction and creates it. Returns the server's representation of the pUTrafficAction, and an error, if there is any.
func (*FakePUTrafficActions) Delete ¶
func (c *FakePUTrafficActions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pUTrafficAction and deletes it. Returns an error if one occurs.
func (*FakePUTrafficActions) DeleteCollection ¶
func (c *FakePUTrafficActions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePUTrafficActions) Get ¶
func (c *FakePUTrafficActions) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.PUTrafficAction, err error)
Get takes name of the pUTrafficAction, and returns the corresponding pUTrafficAction object, and an error if there is any.
func (*FakePUTrafficActions) List ¶
func (c *FakePUTrafficActions) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.PUTrafficActionList, err error)
List takes label and field selectors, and returns the list of PUTrafficActions that match those selectors.
func (*FakePUTrafficActions) Patch ¶
func (c *FakePUTrafficActions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *networkprismacloudiov1.PUTrafficAction, err error)
Patch applies the patch and returns the patched pUTrafficAction.
func (*FakePUTrafficActions) Update ¶
func (c *FakePUTrafficActions) Update(ctx context.Context, pUTrafficAction *networkprismacloudiov1.PUTrafficAction, opts v1.UpdateOptions) (result *networkprismacloudiov1.PUTrafficAction, err error)
Update takes the representation of a pUTrafficAction and updates it. Returns the server's representation of the pUTrafficAction, and an error, if there is any.
func (*FakePUTrafficActions) Watch ¶
func (c *FakePUTrafficActions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pUTrafficActions.
type FakeProcessingUnits ¶
type FakeProcessingUnits struct { Fake *FakeNetworkV1 // contains filtered or unexported fields }
FakeProcessingUnits implements ProcessingUnitInterface
func (*FakeProcessingUnits) Get ¶
func (c *FakeProcessingUnits) Get(ctx context.Context, name string, options v1.GetOptions) (result *networkprismacloudiov1.ProcessingUnit, err error)
Get takes name of the processingUnit, and returns the corresponding processingUnit object, and an error if there is any.
func (*FakeProcessingUnits) List ¶
func (c *FakeProcessingUnits) List(ctx context.Context, opts v1.ListOptions) (result *networkprismacloudiov1.ProcessingUnitList, err error)
List takes label and field selectors, and returns the list of ProcessingUnits that match those selectors.
func (*FakeProcessingUnits) Watch ¶
func (c *FakeProcessingUnits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested processingUnits.
Source Files ¶
- doc.go
- fake_clusterenforcer.go
- fake_clusterenforcerprofile.go
- fake_clusterexternalnetwork.go
- fake_clusternetworkrulesetpolicy.go
- fake_clusterprocessingunit.go
- fake_clusterputrafficaction.go
- fake_externalnetwork.go
- fake_networkprismacloudio_client.go
- fake_networkrulesetpolicy.go
- fake_processingunit.go
- fake_putrafficaction.go