Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNetworkSecurityAuthorizationPolicies
- func (c *FakeNetworkSecurityAuthorizationPolicies) Create(ctx context.Context, ...) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
- func (c *FakeNetworkSecurityAuthorizationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkSecurityAuthorizationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkSecurityAuthorizationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
- func (c *FakeNetworkSecurityAuthorizationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkSecurityAuthorizationPolicyList, err error)
- func (c *FakeNetworkSecurityAuthorizationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
- func (c *FakeNetworkSecurityAuthorizationPolicies) Update(ctx context.Context, ...) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
- func (c *FakeNetworkSecurityAuthorizationPolicies) UpdateStatus(ctx context.Context, ...) (*v1beta1.NetworkSecurityAuthorizationPolicy, error)
- func (c *FakeNetworkSecurityAuthorizationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkSecurityClientTLSPolicies
- func (c *FakeNetworkSecurityClientTLSPolicies) Create(ctx context.Context, ...) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
- func (c *FakeNetworkSecurityClientTLSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkSecurityClientTLSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkSecurityClientTLSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
- func (c *FakeNetworkSecurityClientTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkSecurityClientTLSPolicyList, err error)
- func (c *FakeNetworkSecurityClientTLSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
- func (c *FakeNetworkSecurityClientTLSPolicies) Update(ctx context.Context, ...) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
- func (c *FakeNetworkSecurityClientTLSPolicies) UpdateStatus(ctx context.Context, ...) (*v1beta1.NetworkSecurityClientTLSPolicy, error)
- func (c *FakeNetworkSecurityClientTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkSecurityServerTLSPolicies
- func (c *FakeNetworkSecurityServerTLSPolicies) Create(ctx context.Context, ...) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
- func (c *FakeNetworkSecurityServerTLSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkSecurityServerTLSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkSecurityServerTLSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
- func (c *FakeNetworkSecurityServerTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkSecurityServerTLSPolicyList, err error)
- func (c *FakeNetworkSecurityServerTLSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
- func (c *FakeNetworkSecurityServerTLSPolicies) Update(ctx context.Context, ...) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
- func (c *FakeNetworkSecurityServerTLSPolicies) UpdateStatus(ctx context.Context, ...) (*v1beta1.NetworkSecurityServerTLSPolicy, error)
- func (c *FakeNetworkSecurityServerTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworksecurityV1beta1
- func (c *FakeNetworksecurityV1beta1) NetworkSecurityAuthorizationPolicies(namespace string) v1beta1.NetworkSecurityAuthorizationPolicyInterface
- func (c *FakeNetworksecurityV1beta1) NetworkSecurityClientTLSPolicies(namespace string) v1beta1.NetworkSecurityClientTLSPolicyInterface
- func (c *FakeNetworksecurityV1beta1) NetworkSecurityServerTLSPolicies(namespace string) v1beta1.NetworkSecurityServerTLSPolicyInterface
- func (c *FakeNetworksecurityV1beta1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNetworkSecurityAuthorizationPolicies ¶ added in v1.54.0
type FakeNetworkSecurityAuthorizationPolicies struct { Fake *FakeNetworksecurityV1beta1 // contains filtered or unexported fields }
FakeNetworkSecurityAuthorizationPolicies implements NetworkSecurityAuthorizationPolicyInterface
func (*FakeNetworkSecurityAuthorizationPolicies) Create ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) Create(ctx context.Context, networkSecurityAuthorizationPolicy *v1beta1.NetworkSecurityAuthorizationPolicy, opts v1.CreateOptions) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
Create takes the representation of a networkSecurityAuthorizationPolicy and creates it. Returns the server's representation of the networkSecurityAuthorizationPolicy, and an error, if there is any.
func (*FakeNetworkSecurityAuthorizationPolicies) Delete ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkSecurityAuthorizationPolicy and deletes it. Returns an error if one occurs.
func (*FakeNetworkSecurityAuthorizationPolicies) DeleteCollection ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkSecurityAuthorizationPolicies) Get ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
Get takes name of the networkSecurityAuthorizationPolicy, and returns the corresponding networkSecurityAuthorizationPolicy object, and an error if there is any.
func (*FakeNetworkSecurityAuthorizationPolicies) List ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkSecurityAuthorizationPolicyList, err error)
List takes label and field selectors, and returns the list of NetworkSecurityAuthorizationPolicies that match those selectors.
func (*FakeNetworkSecurityAuthorizationPolicies) Patch ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
Patch applies the patch and returns the patched networkSecurityAuthorizationPolicy.
func (*FakeNetworkSecurityAuthorizationPolicies) Update ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) Update(ctx context.Context, networkSecurityAuthorizationPolicy *v1beta1.NetworkSecurityAuthorizationPolicy, opts v1.UpdateOptions) (result *v1beta1.NetworkSecurityAuthorizationPolicy, err error)
Update takes the representation of a networkSecurityAuthorizationPolicy and updates it. Returns the server's representation of the networkSecurityAuthorizationPolicy, and an error, if there is any.
func (*FakeNetworkSecurityAuthorizationPolicies) UpdateStatus ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) UpdateStatus(ctx context.Context, networkSecurityAuthorizationPolicy *v1beta1.NetworkSecurityAuthorizationPolicy, opts v1.UpdateOptions) (*v1beta1.NetworkSecurityAuthorizationPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkSecurityAuthorizationPolicies) Watch ¶ added in v1.54.0
func (c *FakeNetworkSecurityAuthorizationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkSecurityAuthorizationPolicies.
type FakeNetworkSecurityClientTLSPolicies ¶
type FakeNetworkSecurityClientTLSPolicies struct { Fake *FakeNetworksecurityV1beta1 // contains filtered or unexported fields }
FakeNetworkSecurityClientTLSPolicies implements NetworkSecurityClientTLSPolicyInterface
func (*FakeNetworkSecurityClientTLSPolicies) Create ¶
func (c *FakeNetworkSecurityClientTLSPolicies) Create(ctx context.Context, networkSecurityClientTLSPolicy *v1beta1.NetworkSecurityClientTLSPolicy, opts v1.CreateOptions) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
Create takes the representation of a networkSecurityClientTLSPolicy and creates it. Returns the server's representation of the networkSecurityClientTLSPolicy, and an error, if there is any.
func (*FakeNetworkSecurityClientTLSPolicies) Delete ¶
func (c *FakeNetworkSecurityClientTLSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkSecurityClientTLSPolicy and deletes it. Returns an error if one occurs.
func (*FakeNetworkSecurityClientTLSPolicies) DeleteCollection ¶
func (c *FakeNetworkSecurityClientTLSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkSecurityClientTLSPolicies) Get ¶
func (c *FakeNetworkSecurityClientTLSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
Get takes name of the networkSecurityClientTLSPolicy, and returns the corresponding networkSecurityClientTLSPolicy object, and an error if there is any.
func (*FakeNetworkSecurityClientTLSPolicies) List ¶
func (c *FakeNetworkSecurityClientTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkSecurityClientTLSPolicyList, err error)
List takes label and field selectors, and returns the list of NetworkSecurityClientTLSPolicies that match those selectors.
func (*FakeNetworkSecurityClientTLSPolicies) Patch ¶
func (c *FakeNetworkSecurityClientTLSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
Patch applies the patch and returns the patched networkSecurityClientTLSPolicy.
func (*FakeNetworkSecurityClientTLSPolicies) Update ¶
func (c *FakeNetworkSecurityClientTLSPolicies) Update(ctx context.Context, networkSecurityClientTLSPolicy *v1beta1.NetworkSecurityClientTLSPolicy, opts v1.UpdateOptions) (result *v1beta1.NetworkSecurityClientTLSPolicy, err error)
Update takes the representation of a networkSecurityClientTLSPolicy and updates it. Returns the server's representation of the networkSecurityClientTLSPolicy, and an error, if there is any.
func (*FakeNetworkSecurityClientTLSPolicies) UpdateStatus ¶
func (c *FakeNetworkSecurityClientTLSPolicies) UpdateStatus(ctx context.Context, networkSecurityClientTLSPolicy *v1beta1.NetworkSecurityClientTLSPolicy, opts v1.UpdateOptions) (*v1beta1.NetworkSecurityClientTLSPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkSecurityClientTLSPolicies) Watch ¶
func (c *FakeNetworkSecurityClientTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkSecurityClientTLSPolicies.
type FakeNetworkSecurityServerTLSPolicies ¶
type FakeNetworkSecurityServerTLSPolicies struct { Fake *FakeNetworksecurityV1beta1 // contains filtered or unexported fields }
FakeNetworkSecurityServerTLSPolicies implements NetworkSecurityServerTLSPolicyInterface
func (*FakeNetworkSecurityServerTLSPolicies) Create ¶
func (c *FakeNetworkSecurityServerTLSPolicies) Create(ctx context.Context, networkSecurityServerTLSPolicy *v1beta1.NetworkSecurityServerTLSPolicy, opts v1.CreateOptions) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
Create takes the representation of a networkSecurityServerTLSPolicy and creates it. Returns the server's representation of the networkSecurityServerTLSPolicy, and an error, if there is any.
func (*FakeNetworkSecurityServerTLSPolicies) Delete ¶
func (c *FakeNetworkSecurityServerTLSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkSecurityServerTLSPolicy and deletes it. Returns an error if one occurs.
func (*FakeNetworkSecurityServerTLSPolicies) DeleteCollection ¶
func (c *FakeNetworkSecurityServerTLSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkSecurityServerTLSPolicies) Get ¶
func (c *FakeNetworkSecurityServerTLSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
Get takes name of the networkSecurityServerTLSPolicy, and returns the corresponding networkSecurityServerTLSPolicy object, and an error if there is any.
func (*FakeNetworkSecurityServerTLSPolicies) List ¶
func (c *FakeNetworkSecurityServerTLSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NetworkSecurityServerTLSPolicyList, err error)
List takes label and field selectors, and returns the list of NetworkSecurityServerTLSPolicies that match those selectors.
func (*FakeNetworkSecurityServerTLSPolicies) Patch ¶
func (c *FakeNetworkSecurityServerTLSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
Patch applies the patch and returns the patched networkSecurityServerTLSPolicy.
func (*FakeNetworkSecurityServerTLSPolicies) Update ¶
func (c *FakeNetworkSecurityServerTLSPolicies) Update(ctx context.Context, networkSecurityServerTLSPolicy *v1beta1.NetworkSecurityServerTLSPolicy, opts v1.UpdateOptions) (result *v1beta1.NetworkSecurityServerTLSPolicy, err error)
Update takes the representation of a networkSecurityServerTLSPolicy and updates it. Returns the server's representation of the networkSecurityServerTLSPolicy, and an error, if there is any.
func (*FakeNetworkSecurityServerTLSPolicies) UpdateStatus ¶
func (c *FakeNetworkSecurityServerTLSPolicies) UpdateStatus(ctx context.Context, networkSecurityServerTLSPolicy *v1beta1.NetworkSecurityServerTLSPolicy, opts v1.UpdateOptions) (*v1beta1.NetworkSecurityServerTLSPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkSecurityServerTLSPolicies) Watch ¶
func (c *FakeNetworkSecurityServerTLSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkSecurityServerTLSPolicies.
type FakeNetworksecurityV1beta1 ¶
func (*FakeNetworksecurityV1beta1) NetworkSecurityAuthorizationPolicies ¶ added in v1.54.0
func (c *FakeNetworksecurityV1beta1) NetworkSecurityAuthorizationPolicies(namespace string) v1beta1.NetworkSecurityAuthorizationPolicyInterface
func (*FakeNetworksecurityV1beta1) NetworkSecurityClientTLSPolicies ¶
func (c *FakeNetworksecurityV1beta1) NetworkSecurityClientTLSPolicies(namespace string) v1beta1.NetworkSecurityClientTLSPolicyInterface
func (*FakeNetworksecurityV1beta1) NetworkSecurityServerTLSPolicies ¶
func (c *FakeNetworksecurityV1beta1) NetworkSecurityServerTLSPolicies(namespace string) v1beta1.NetworkSecurityServerTLSPolicyInterface
func (*FakeNetworksecurityV1beta1) RESTClient ¶
func (c *FakeNetworksecurityV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.