fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConnectivityHubs added in v0.5.0

type FakeConnectivityHubs struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeConnectivityHubs implements ConnectivityHubInterface

func (*FakeConnectivityHubs) Create added in v0.5.0

func (c *FakeConnectivityHubs) Create(ctx context.Context, connectivityHub *v1alpha1.ConnectivityHub, opts v1.CreateOptions) (result *v1alpha1.ConnectivityHub, err error)

Create takes the representation of a connectivityHub and creates it. Returns the server's representation of the connectivityHub, and an error, if there is any.

func (*FakeConnectivityHubs) Delete added in v0.5.0

func (c *FakeConnectivityHubs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the connectivityHub and deletes it. Returns an error if one occurs.

func (*FakeConnectivityHubs) DeleteCollection added in v0.5.0

func (c *FakeConnectivityHubs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConnectivityHubs) Get added in v0.5.0

func (c *FakeConnectivityHubs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConnectivityHub, err error)

Get takes name of the connectivityHub, and returns the corresponding connectivityHub object, and an error if there is any.

func (*FakeConnectivityHubs) List added in v0.5.0

List takes label and field selectors, and returns the list of ConnectivityHubs that match those selectors.

func (*FakeConnectivityHubs) Patch added in v0.5.0

func (c *FakeConnectivityHubs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConnectivityHub, err error)

Patch applies the patch and returns the patched connectivityHub.

func (*FakeConnectivityHubs) Update added in v0.5.0

func (c *FakeConnectivityHubs) Update(ctx context.Context, connectivityHub *v1alpha1.ConnectivityHub, opts v1.UpdateOptions) (result *v1alpha1.ConnectivityHub, err error)

Update takes the representation of a connectivityHub and updates it. Returns the server's representation of the connectivityHub, and an error, if there is any.

func (*FakeConnectivityHubs) UpdateStatus added in v0.5.0

func (c *FakeConnectivityHubs) UpdateStatus(ctx context.Context, connectivityHub *v1alpha1.ConnectivityHub, opts v1.UpdateOptions) (*v1alpha1.ConnectivityHub, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeConnectivityHubs) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested connectivityHubs.

type FakeConnectivitySpokes added in v0.5.0

type FakeConnectivitySpokes struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeConnectivitySpokes implements ConnectivitySpokeInterface

func (*FakeConnectivitySpokes) Create added in v0.5.0

func (c *FakeConnectivitySpokes) Create(ctx context.Context, connectivitySpoke *v1alpha1.ConnectivitySpoke, opts v1.CreateOptions) (result *v1alpha1.ConnectivitySpoke, err error)

Create takes the representation of a connectivitySpoke and creates it. Returns the server's representation of the connectivitySpoke, and an error, if there is any.

func (*FakeConnectivitySpokes) Delete added in v0.5.0

func (c *FakeConnectivitySpokes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the connectivitySpoke and deletes it. Returns an error if one occurs.

func (*FakeConnectivitySpokes) DeleteCollection added in v0.5.0

func (c *FakeConnectivitySpokes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConnectivitySpokes) Get added in v0.5.0

func (c *FakeConnectivitySpokes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConnectivitySpoke, err error)

Get takes name of the connectivitySpoke, and returns the corresponding connectivitySpoke object, and an error if there is any.

func (*FakeConnectivitySpokes) List added in v0.5.0

List takes label and field selectors, and returns the list of ConnectivitySpokes that match those selectors.

func (*FakeConnectivitySpokes) Patch added in v0.5.0

func (c *FakeConnectivitySpokes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConnectivitySpoke, err error)

Patch applies the patch and returns the patched connectivitySpoke.

func (*FakeConnectivitySpokes) Update added in v0.5.0

func (c *FakeConnectivitySpokes) Update(ctx context.Context, connectivitySpoke *v1alpha1.ConnectivitySpoke, opts v1.UpdateOptions) (result *v1alpha1.ConnectivitySpoke, err error)

Update takes the representation of a connectivitySpoke and updates it. Returns the server's representation of the connectivitySpoke, and an error, if there is any.

func (*FakeConnectivitySpokes) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeConnectivitySpokes) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested connectivitySpokes.

type FakeManagementConnectivityTests

type FakeManagementConnectivityTests struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeManagementConnectivityTests implements ManagementConnectivityTestInterface

func (*FakeManagementConnectivityTests) Create

Create takes the representation of a managementConnectivityTest and creates it. Returns the server's representation of the managementConnectivityTest, and an error, if there is any.

func (*FakeManagementConnectivityTests) Delete

Delete takes name of the managementConnectivityTest and deletes it. Returns an error if one occurs.

func (*FakeManagementConnectivityTests) DeleteCollection

func (c *FakeManagementConnectivityTests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeManagementConnectivityTests) Get

Get takes name of the managementConnectivityTest, and returns the corresponding managementConnectivityTest object, and an error if there is any.

func (*FakeManagementConnectivityTests) List

List takes label and field selectors, and returns the list of ManagementConnectivityTests that match those selectors.

func (*FakeManagementConnectivityTests) Patch

func (c *FakeManagementConnectivityTests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ManagementConnectivityTest, err error)

Patch applies the patch and returns the patched managementConnectivityTest.

func (*FakeManagementConnectivityTests) Update

Update takes the representation of a managementConnectivityTest and updates it. Returns the server's representation of the managementConnectivityTest, and an error, if there is any.

func (*FakeManagementConnectivityTests) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeManagementConnectivityTests) Watch

Watch returns a watch.Interface that watches the requested managementConnectivityTests.

type FakeNetworkV1alpha1

type FakeNetworkV1alpha1 struct {
	*testing.Fake
}

func (*FakeNetworkV1alpha1) ConnectivityHubs added in v0.5.0

func (c *FakeNetworkV1alpha1) ConnectivityHubs(namespace string) v1alpha1.ConnectivityHubInterface

func (*FakeNetworkV1alpha1) ConnectivitySpokes added in v0.5.0

func (c *FakeNetworkV1alpha1) ConnectivitySpokes(namespace string) v1alpha1.ConnectivitySpokeInterface

func (*FakeNetworkV1alpha1) ManagementConnectivityTests

func (c *FakeNetworkV1alpha1) ManagementConnectivityTests(namespace string) v1alpha1.ManagementConnectivityTestInterface

func (*FakeNetworkV1alpha1) RESTClient

func (c *FakeNetworkV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeNetworkV1alpha1) ServicesEdgeCacheKeysets added in v0.4.0

func (c *FakeNetworkV1alpha1) ServicesEdgeCacheKeysets(namespace string) v1alpha1.ServicesEdgeCacheKeysetInterface

func (*FakeNetworkV1alpha1) ServicesEdgeCacheOrigins added in v0.4.0

func (c *FakeNetworkV1alpha1) ServicesEdgeCacheOrigins(namespace string) v1alpha1.ServicesEdgeCacheOriginInterface

func (*FakeNetworkV1alpha1) ServicesEdgeCacheServices added in v0.4.0

func (c *FakeNetworkV1alpha1) ServicesEdgeCacheServices(namespace string) v1alpha1.ServicesEdgeCacheServiceInterface

type FakeServicesEdgeCacheKeysets added in v0.4.0

type FakeServicesEdgeCacheKeysets struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeServicesEdgeCacheKeysets implements ServicesEdgeCacheKeysetInterface

func (*FakeServicesEdgeCacheKeysets) Create added in v0.4.0

Create takes the representation of a servicesEdgeCacheKeyset and creates it. Returns the server's representation of the servicesEdgeCacheKeyset, and an error, if there is any.

func (*FakeServicesEdgeCacheKeysets) Delete added in v0.4.0

Delete takes name of the servicesEdgeCacheKeyset and deletes it. Returns an error if one occurs.

func (*FakeServicesEdgeCacheKeysets) DeleteCollection added in v0.4.0

func (c *FakeServicesEdgeCacheKeysets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeServicesEdgeCacheKeysets) Get added in v0.4.0

Get takes name of the servicesEdgeCacheKeyset, and returns the corresponding servicesEdgeCacheKeyset object, and an error if there is any.

func (*FakeServicesEdgeCacheKeysets) List added in v0.4.0

List takes label and field selectors, and returns the list of ServicesEdgeCacheKeysets that match those selectors.

func (*FakeServicesEdgeCacheKeysets) Patch added in v0.4.0

func (c *FakeServicesEdgeCacheKeysets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServicesEdgeCacheKeyset, err error)

Patch applies the patch and returns the patched servicesEdgeCacheKeyset.

func (*FakeServicesEdgeCacheKeysets) Update added in v0.4.0

Update takes the representation of a servicesEdgeCacheKeyset and updates it. Returns the server's representation of the servicesEdgeCacheKeyset, and an error, if there is any.

func (*FakeServicesEdgeCacheKeysets) UpdateStatus added in v0.4.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeServicesEdgeCacheKeysets) Watch added in v0.4.0

Watch returns a watch.Interface that watches the requested servicesEdgeCacheKeysets.

type FakeServicesEdgeCacheOrigins added in v0.4.0

type FakeServicesEdgeCacheOrigins struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeServicesEdgeCacheOrigins implements ServicesEdgeCacheOriginInterface

func (*FakeServicesEdgeCacheOrigins) Create added in v0.4.0

Create takes the representation of a servicesEdgeCacheOrigin and creates it. Returns the server's representation of the servicesEdgeCacheOrigin, and an error, if there is any.

func (*FakeServicesEdgeCacheOrigins) Delete added in v0.4.0

Delete takes name of the servicesEdgeCacheOrigin and deletes it. Returns an error if one occurs.

func (*FakeServicesEdgeCacheOrigins) DeleteCollection added in v0.4.0

func (c *FakeServicesEdgeCacheOrigins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeServicesEdgeCacheOrigins) Get added in v0.4.0

Get takes name of the servicesEdgeCacheOrigin, and returns the corresponding servicesEdgeCacheOrigin object, and an error if there is any.

func (*FakeServicesEdgeCacheOrigins) List added in v0.4.0

List takes label and field selectors, and returns the list of ServicesEdgeCacheOrigins that match those selectors.

func (*FakeServicesEdgeCacheOrigins) Patch added in v0.4.0

func (c *FakeServicesEdgeCacheOrigins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServicesEdgeCacheOrigin, err error)

Patch applies the patch and returns the patched servicesEdgeCacheOrigin.

func (*FakeServicesEdgeCacheOrigins) Update added in v0.4.0

Update takes the representation of a servicesEdgeCacheOrigin and updates it. Returns the server's representation of the servicesEdgeCacheOrigin, and an error, if there is any.

func (*FakeServicesEdgeCacheOrigins) UpdateStatus added in v0.4.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeServicesEdgeCacheOrigins) Watch added in v0.4.0

Watch returns a watch.Interface that watches the requested servicesEdgeCacheOrigins.

type FakeServicesEdgeCacheServices added in v0.4.0

type FakeServicesEdgeCacheServices struct {
	Fake *FakeNetworkV1alpha1
	// contains filtered or unexported fields
}

FakeServicesEdgeCacheServices implements ServicesEdgeCacheServiceInterface

func (*FakeServicesEdgeCacheServices) Create added in v0.4.0

Create takes the representation of a servicesEdgeCacheService and creates it. Returns the server's representation of the servicesEdgeCacheService, and an error, if there is any.

func (*FakeServicesEdgeCacheServices) Delete added in v0.4.0

Delete takes name of the servicesEdgeCacheService and deletes it. Returns an error if one occurs.

func (*FakeServicesEdgeCacheServices) DeleteCollection added in v0.4.0

func (c *FakeServicesEdgeCacheServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeServicesEdgeCacheServices) Get added in v0.4.0

Get takes name of the servicesEdgeCacheService, and returns the corresponding servicesEdgeCacheService object, and an error if there is any.

func (*FakeServicesEdgeCacheServices) List added in v0.4.0

List takes label and field selectors, and returns the list of ServicesEdgeCacheServices that match those selectors.

func (*FakeServicesEdgeCacheServices) Patch added in v0.4.0

func (c *FakeServicesEdgeCacheServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServicesEdgeCacheService, err error)

Patch applies the patch and returns the patched servicesEdgeCacheService.

func (*FakeServicesEdgeCacheServices) Update added in v0.4.0

Update takes the representation of a servicesEdgeCacheService and updates it. Returns the server's representation of the servicesEdgeCacheService, and an error, if there is any.

func (*FakeServicesEdgeCacheServices) UpdateStatus added in v0.4.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeServicesEdgeCacheServices) Watch added in v0.4.0

Watch returns a watch.Interface that watches the requested servicesEdgeCacheServices.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL