Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNetworkPolicies
- func (c *FakeNetworkPolicies) Create(networkPolicy *networking.NetworkPolicy) (result *networking.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNetworkPolicies) Get(name string, options v1.GetOptions) (result *networking.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) List(opts v1.ListOptions) (result *networking.NetworkPolicyList, err error)
- func (c *FakeNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *networking.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Update(networkPolicy *networking.NetworkPolicy) (result *networking.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworking
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNetworkPolicies ¶
type FakeNetworkPolicies struct { Fake *FakeNetworking // contains filtered or unexported fields }
FakeNetworkPolicies implements NetworkPolicyInterface
func (*FakeNetworkPolicies) Create ¶
func (c *FakeNetworkPolicies) Create(networkPolicy *networking.NetworkPolicy) (result *networking.NetworkPolicy, err error)
func (*FakeNetworkPolicies) Delete ¶
func (c *FakeNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
func (*FakeNetworkPolicies) DeleteCollection ¶
func (c *FakeNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeNetworkPolicies) Get ¶
func (c *FakeNetworkPolicies) Get(name string, options v1.GetOptions) (result *networking.NetworkPolicy, err error)
func (*FakeNetworkPolicies) List ¶
func (c *FakeNetworkPolicies) List(opts v1.ListOptions) (result *networking.NetworkPolicyList, err error)
func (*FakeNetworkPolicies) Patch ¶
func (c *FakeNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *networking.NetworkPolicy, err error)
Patch applies the patch and returns the patched networkPolicy.
func (*FakeNetworkPolicies) Update ¶
func (c *FakeNetworkPolicies) Update(networkPolicy *networking.NetworkPolicy) (result *networking.NetworkPolicy, err error)
func (*FakeNetworkPolicies) Watch ¶
func (c *FakeNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkPolicies.
type FakeNetworking ¶
func (*FakeNetworking) NetworkPolicies ¶
func (c *FakeNetworking) NetworkPolicies(namespace string) internalversion.NetworkPolicyInterface
func (*FakeNetworking) RESTClient ¶
func (c *FakeNetworking) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
Click to show internal directories.
Click to hide internal directories.