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