Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNetworkManagementConnectivityTests
- func (c *FakeNetworkManagementConnectivityTests) Create(ctx context.Context, ...) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
- func (c *FakeNetworkManagementConnectivityTests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkManagementConnectivityTests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkManagementConnectivityTests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
- func (c *FakeNetworkManagementConnectivityTests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkManagementConnectivityTestList, err error)
- func (c *FakeNetworkManagementConnectivityTests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
- func (c *FakeNetworkManagementConnectivityTests) Update(ctx context.Context, ...) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
- func (c *FakeNetworkManagementConnectivityTests) UpdateStatus(ctx context.Context, ...) (*v1alpha1.NetworkManagementConnectivityTest, error)
- func (c *FakeNetworkManagementConnectivityTests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkmanagementV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNetworkManagementConnectivityTests ¶
type FakeNetworkManagementConnectivityTests struct { Fake *FakeNetworkmanagementV1alpha1 // contains filtered or unexported fields }
FakeNetworkManagementConnectivityTests implements NetworkManagementConnectivityTestInterface
func (*FakeNetworkManagementConnectivityTests) Create ¶
func (c *FakeNetworkManagementConnectivityTests) Create(ctx context.Context, networkManagementConnectivityTest *v1alpha1.NetworkManagementConnectivityTest, opts v1.CreateOptions) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
Create takes the representation of a networkManagementConnectivityTest and creates it. Returns the server's representation of the networkManagementConnectivityTest, and an error, if there is any.
func (*FakeNetworkManagementConnectivityTests) Delete ¶
func (c *FakeNetworkManagementConnectivityTests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkManagementConnectivityTest and deletes it. Returns an error if one occurs.
func (*FakeNetworkManagementConnectivityTests) DeleteCollection ¶
func (c *FakeNetworkManagementConnectivityTests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkManagementConnectivityTests) Get ¶
func (c *FakeNetworkManagementConnectivityTests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
Get takes name of the networkManagementConnectivityTest, and returns the corresponding networkManagementConnectivityTest object, and an error if there is any.
func (*FakeNetworkManagementConnectivityTests) List ¶
func (c *FakeNetworkManagementConnectivityTests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkManagementConnectivityTestList, err error)
List takes label and field selectors, and returns the list of NetworkManagementConnectivityTests that match those selectors.
func (*FakeNetworkManagementConnectivityTests) Patch ¶
func (c *FakeNetworkManagementConnectivityTests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
Patch applies the patch and returns the patched networkManagementConnectivityTest.
func (*FakeNetworkManagementConnectivityTests) Update ¶
func (c *FakeNetworkManagementConnectivityTests) Update(ctx context.Context, networkManagementConnectivityTest *v1alpha1.NetworkManagementConnectivityTest, opts v1.UpdateOptions) (result *v1alpha1.NetworkManagementConnectivityTest, err error)
Update takes the representation of a networkManagementConnectivityTest and updates it. Returns the server's representation of the networkManagementConnectivityTest, and an error, if there is any.
func (*FakeNetworkManagementConnectivityTests) UpdateStatus ¶
func (c *FakeNetworkManagementConnectivityTests) UpdateStatus(ctx context.Context, networkManagementConnectivityTest *v1alpha1.NetworkManagementConnectivityTest, opts v1.UpdateOptions) (*v1alpha1.NetworkManagementConnectivityTest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkManagementConnectivityTests) Watch ¶
func (c *FakeNetworkManagementConnectivityTests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkManagementConnectivityTests.
type FakeNetworkmanagementV1alpha1 ¶
func (*FakeNetworkmanagementV1alpha1) NetworkManagementConnectivityTests ¶
func (c *FakeNetworkmanagementV1alpha1) NetworkManagementConnectivityTests(namespace string) v1alpha1.NetworkManagementConnectivityTestInterface
func (*FakeNetworkmanagementV1alpha1) RESTClient ¶
func (c *FakeNetworkmanagementV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.