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