Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSriovNetworkNodePolicies
- func (c *FakeSriovNetworkNodePolicies) Create(ctx context.Context, ...) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
- func (c *FakeSriovNetworkNodePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSriovNetworkNodePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSriovNetworkNodePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
- func (c *FakeSriovNetworkNodePolicies) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovNetworkNodePolicyList, err error)
- func (c *FakeSriovNetworkNodePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
- func (c *FakeSriovNetworkNodePolicies) Update(ctx context.Context, ...) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
- func (c *FakeSriovNetworkNodePolicies) UpdateStatus(ctx context.Context, ...) (*sriovnetworkv1.SriovNetworkNodePolicy, error)
- func (c *FakeSriovNetworkNodePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSriovNetworkNodeStates
- func (c *FakeSriovNetworkNodeStates) Create(ctx context.Context, ...) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
- func (c *FakeSriovNetworkNodeStates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSriovNetworkNodeStates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSriovNetworkNodeStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
- func (c *FakeSriovNetworkNodeStates) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovNetworkNodeStateList, err error)
- func (c *FakeSriovNetworkNodeStates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
- func (c *FakeSriovNetworkNodeStates) Update(ctx context.Context, ...) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
- func (c *FakeSriovNetworkNodeStates) UpdateStatus(ctx context.Context, ...) (*sriovnetworkv1.SriovNetworkNodeState, error)
- func (c *FakeSriovNetworkNodeStates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSriovNetworks
- func (c *FakeSriovNetworks) Create(ctx context.Context, sriovNetwork *sriovnetworkv1.SriovNetwork, ...) (result *sriovnetworkv1.SriovNetwork, err error)
- func (c *FakeSriovNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSriovNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSriovNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovNetwork, err error)
- func (c *FakeSriovNetworks) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovNetworkList, err error)
- func (c *FakeSriovNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *sriovnetworkv1.SriovNetwork, err error)
- func (c *FakeSriovNetworks) Update(ctx context.Context, sriovNetwork *sriovnetworkv1.SriovNetwork, ...) (result *sriovnetworkv1.SriovNetwork, err error)
- func (c *FakeSriovNetworks) UpdateStatus(ctx context.Context, sriovNetwork *sriovnetworkv1.SriovNetwork, ...) (*sriovnetworkv1.SriovNetwork, error)
- func (c *FakeSriovNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSriovOperatorConfigs
- func (c *FakeSriovOperatorConfigs) Create(ctx context.Context, sriovOperatorConfig *sriovnetworkv1.SriovOperatorConfig, ...) (result *sriovnetworkv1.SriovOperatorConfig, err error)
- func (c *FakeSriovOperatorConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSriovOperatorConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSriovOperatorConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovOperatorConfig, err error)
- func (c *FakeSriovOperatorConfigs) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovOperatorConfigList, err error)
- func (c *FakeSriovOperatorConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *sriovnetworkv1.SriovOperatorConfig, err error)
- func (c *FakeSriovOperatorConfigs) Update(ctx context.Context, sriovOperatorConfig *sriovnetworkv1.SriovOperatorConfig, ...) (result *sriovnetworkv1.SriovOperatorConfig, err error)
- func (c *FakeSriovOperatorConfigs) UpdateStatus(ctx context.Context, sriovOperatorConfig *sriovnetworkv1.SriovOperatorConfig, ...) (*sriovnetworkv1.SriovOperatorConfig, error)
- func (c *FakeSriovOperatorConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSriovnetworkV1
- func (c *FakeSriovnetworkV1) RESTClient() rest.Interface
- func (c *FakeSriovnetworkV1) SriovNetworkNodePolicies(namespace string) v1.SriovNetworkNodePolicyInterface
- func (c *FakeSriovnetworkV1) SriovNetworkNodeStates(namespace string) v1.SriovNetworkNodeStateInterface
- func (c *FakeSriovnetworkV1) SriovNetworks(namespace string) v1.SriovNetworkInterface
- func (c *FakeSriovnetworkV1) SriovOperatorConfigs(namespace string) v1.SriovOperatorConfigInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSriovNetworkNodePolicies ¶
type FakeSriovNetworkNodePolicies struct { Fake *FakeSriovnetworkV1 // contains filtered or unexported fields }
FakeSriovNetworkNodePolicies implements SriovNetworkNodePolicyInterface
func (*FakeSriovNetworkNodePolicies) Create ¶
func (c *FakeSriovNetworkNodePolicies) Create(ctx context.Context, sriovNetworkNodePolicy *sriovnetworkv1.SriovNetworkNodePolicy, opts v1.CreateOptions) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
Create takes the representation of a sriovNetworkNodePolicy and creates it. Returns the server's representation of the sriovNetworkNodePolicy, and an error, if there is any.
func (*FakeSriovNetworkNodePolicies) Delete ¶
func (c *FakeSriovNetworkNodePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sriovNetworkNodePolicy and deletes it. Returns an error if one occurs.
func (*FakeSriovNetworkNodePolicies) DeleteCollection ¶
func (c *FakeSriovNetworkNodePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSriovNetworkNodePolicies) Get ¶
func (c *FakeSriovNetworkNodePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
Get takes name of the sriovNetworkNodePolicy, and returns the corresponding sriovNetworkNodePolicy object, and an error if there is any.
func (*FakeSriovNetworkNodePolicies) List ¶
func (c *FakeSriovNetworkNodePolicies) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovNetworkNodePolicyList, err error)
List takes label and field selectors, and returns the list of SriovNetworkNodePolicies that match those selectors.
func (*FakeSriovNetworkNodePolicies) Patch ¶
func (c *FakeSriovNetworkNodePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
Patch applies the patch and returns the patched sriovNetworkNodePolicy.
func (*FakeSriovNetworkNodePolicies) Update ¶
func (c *FakeSriovNetworkNodePolicies) Update(ctx context.Context, sriovNetworkNodePolicy *sriovnetworkv1.SriovNetworkNodePolicy, opts v1.UpdateOptions) (result *sriovnetworkv1.SriovNetworkNodePolicy, err error)
Update takes the representation of a sriovNetworkNodePolicy and updates it. Returns the server's representation of the sriovNetworkNodePolicy, and an error, if there is any.
func (*FakeSriovNetworkNodePolicies) UpdateStatus ¶
func (c *FakeSriovNetworkNodePolicies) UpdateStatus(ctx context.Context, sriovNetworkNodePolicy *sriovnetworkv1.SriovNetworkNodePolicy, opts v1.UpdateOptions) (*sriovnetworkv1.SriovNetworkNodePolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSriovNetworkNodePolicies) Watch ¶
func (c *FakeSriovNetworkNodePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sriovNetworkNodePolicies.
type FakeSriovNetworkNodeStates ¶
type FakeSriovNetworkNodeStates struct { Fake *FakeSriovnetworkV1 // contains filtered or unexported fields }
FakeSriovNetworkNodeStates implements SriovNetworkNodeStateInterface
func (*FakeSriovNetworkNodeStates) Create ¶
func (c *FakeSriovNetworkNodeStates) Create(ctx context.Context, sriovNetworkNodeState *sriovnetworkv1.SriovNetworkNodeState, opts v1.CreateOptions) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
Create takes the representation of a sriovNetworkNodeState and creates it. Returns the server's representation of the sriovNetworkNodeState, and an error, if there is any.
func (*FakeSriovNetworkNodeStates) Delete ¶
func (c *FakeSriovNetworkNodeStates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sriovNetworkNodeState and deletes it. Returns an error if one occurs.
func (*FakeSriovNetworkNodeStates) DeleteCollection ¶
func (c *FakeSriovNetworkNodeStates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSriovNetworkNodeStates) Get ¶
func (c *FakeSriovNetworkNodeStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
Get takes name of the sriovNetworkNodeState, and returns the corresponding sriovNetworkNodeState object, and an error if there is any.
func (*FakeSriovNetworkNodeStates) List ¶
func (c *FakeSriovNetworkNodeStates) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovNetworkNodeStateList, err error)
List takes label and field selectors, and returns the list of SriovNetworkNodeStates that match those selectors.
func (*FakeSriovNetworkNodeStates) Patch ¶
func (c *FakeSriovNetworkNodeStates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
Patch applies the patch and returns the patched sriovNetworkNodeState.
func (*FakeSriovNetworkNodeStates) Update ¶
func (c *FakeSriovNetworkNodeStates) Update(ctx context.Context, sriovNetworkNodeState *sriovnetworkv1.SriovNetworkNodeState, opts v1.UpdateOptions) (result *sriovnetworkv1.SriovNetworkNodeState, err error)
Update takes the representation of a sriovNetworkNodeState and updates it. Returns the server's representation of the sriovNetworkNodeState, and an error, if there is any.
func (*FakeSriovNetworkNodeStates) UpdateStatus ¶
func (c *FakeSriovNetworkNodeStates) UpdateStatus(ctx context.Context, sriovNetworkNodeState *sriovnetworkv1.SriovNetworkNodeState, opts v1.UpdateOptions) (*sriovnetworkv1.SriovNetworkNodeState, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSriovNetworkNodeStates) Watch ¶
func (c *FakeSriovNetworkNodeStates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sriovNetworkNodeStates.
type FakeSriovNetworks ¶
type FakeSriovNetworks struct { Fake *FakeSriovnetworkV1 // contains filtered or unexported fields }
FakeSriovNetworks implements SriovNetworkInterface
func (*FakeSriovNetworks) Create ¶
func (c *FakeSriovNetworks) Create(ctx context.Context, sriovNetwork *sriovnetworkv1.SriovNetwork, opts v1.CreateOptions) (result *sriovnetworkv1.SriovNetwork, err error)
Create takes the representation of a sriovNetwork and creates it. Returns the server's representation of the sriovNetwork, and an error, if there is any.
func (*FakeSriovNetworks) Delete ¶
func (c *FakeSriovNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sriovNetwork and deletes it. Returns an error if one occurs.
func (*FakeSriovNetworks) DeleteCollection ¶
func (c *FakeSriovNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSriovNetworks) Get ¶
func (c *FakeSriovNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovNetwork, err error)
Get takes name of the sriovNetwork, and returns the corresponding sriovNetwork object, and an error if there is any.
func (*FakeSriovNetworks) List ¶
func (c *FakeSriovNetworks) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovNetworkList, err error)
List takes label and field selectors, and returns the list of SriovNetworks that match those selectors.
func (*FakeSriovNetworks) Patch ¶
func (c *FakeSriovNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *sriovnetworkv1.SriovNetwork, err error)
Patch applies the patch and returns the patched sriovNetwork.
func (*FakeSriovNetworks) Update ¶
func (c *FakeSriovNetworks) Update(ctx context.Context, sriovNetwork *sriovnetworkv1.SriovNetwork, opts v1.UpdateOptions) (result *sriovnetworkv1.SriovNetwork, err error)
Update takes the representation of a sriovNetwork and updates it. Returns the server's representation of the sriovNetwork, and an error, if there is any.
func (*FakeSriovNetworks) UpdateStatus ¶
func (c *FakeSriovNetworks) UpdateStatus(ctx context.Context, sriovNetwork *sriovnetworkv1.SriovNetwork, opts v1.UpdateOptions) (*sriovnetworkv1.SriovNetwork, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSriovNetworks) Watch ¶
func (c *FakeSriovNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sriovNetworks.
type FakeSriovOperatorConfigs ¶
type FakeSriovOperatorConfigs struct { Fake *FakeSriovnetworkV1 // contains filtered or unexported fields }
FakeSriovOperatorConfigs implements SriovOperatorConfigInterface
func (*FakeSriovOperatorConfigs) Create ¶
func (c *FakeSriovOperatorConfigs) Create(ctx context.Context, sriovOperatorConfig *sriovnetworkv1.SriovOperatorConfig, opts v1.CreateOptions) (result *sriovnetworkv1.SriovOperatorConfig, err error)
Create takes the representation of a sriovOperatorConfig and creates it. Returns the server's representation of the sriovOperatorConfig, and an error, if there is any.
func (*FakeSriovOperatorConfigs) Delete ¶
func (c *FakeSriovOperatorConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sriovOperatorConfig and deletes it. Returns an error if one occurs.
func (*FakeSriovOperatorConfigs) DeleteCollection ¶
func (c *FakeSriovOperatorConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSriovOperatorConfigs) Get ¶
func (c *FakeSriovOperatorConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *sriovnetworkv1.SriovOperatorConfig, err error)
Get takes name of the sriovOperatorConfig, and returns the corresponding sriovOperatorConfig object, and an error if there is any.
func (*FakeSriovOperatorConfigs) List ¶
func (c *FakeSriovOperatorConfigs) List(ctx context.Context, opts v1.ListOptions) (result *sriovnetworkv1.SriovOperatorConfigList, err error)
List takes label and field selectors, and returns the list of SriovOperatorConfigs that match those selectors.
func (*FakeSriovOperatorConfigs) Patch ¶
func (c *FakeSriovOperatorConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *sriovnetworkv1.SriovOperatorConfig, err error)
Patch applies the patch and returns the patched sriovOperatorConfig.
func (*FakeSriovOperatorConfigs) Update ¶
func (c *FakeSriovOperatorConfigs) Update(ctx context.Context, sriovOperatorConfig *sriovnetworkv1.SriovOperatorConfig, opts v1.UpdateOptions) (result *sriovnetworkv1.SriovOperatorConfig, err error)
Update takes the representation of a sriovOperatorConfig and updates it. Returns the server's representation of the sriovOperatorConfig, and an error, if there is any.
func (*FakeSriovOperatorConfigs) UpdateStatus ¶
func (c *FakeSriovOperatorConfigs) UpdateStatus(ctx context.Context, sriovOperatorConfig *sriovnetworkv1.SriovOperatorConfig, opts v1.UpdateOptions) (*sriovnetworkv1.SriovOperatorConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSriovOperatorConfigs) Watch ¶
func (c *FakeSriovOperatorConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sriovOperatorConfigs.
type FakeSriovnetworkV1 ¶
func (*FakeSriovnetworkV1) RESTClient ¶
func (c *FakeSriovnetworkV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSriovnetworkV1) SriovNetworkNodePolicies ¶
func (c *FakeSriovnetworkV1) SriovNetworkNodePolicies(namespace string) v1.SriovNetworkNodePolicyInterface
func (*FakeSriovnetworkV1) SriovNetworkNodeStates ¶
func (c *FakeSriovnetworkV1) SriovNetworkNodeStates(namespace string) v1.SriovNetworkNodeStateInterface
func (*FakeSriovnetworkV1) SriovNetworks ¶
func (c *FakeSriovnetworkV1) SriovNetworks(namespace string) v1.SriovNetworkInterface
func (*FakeSriovnetworkV1) SriovOperatorConfigs ¶
func (c *FakeSriovnetworkV1) SriovOperatorConfigs(namespace string) v1.SriovOperatorConfigInterface