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