Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAWSClusters
- func (c *FakeAWSClusters) Create(ctx context.Context, aWSCluster *v1alpha2.AWSCluster, opts v1.CreateOptions) (result *v1alpha2.AWSCluster, err error)
- func (c *FakeAWSClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAWSClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAWSClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AWSCluster, err error)
- func (c *FakeAWSClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AWSClusterList, err error)
- func (c *FakeAWSClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.AWSCluster, err error)
- func (c *FakeAWSClusters) Update(ctx context.Context, aWSCluster *v1alpha2.AWSCluster, opts v1.UpdateOptions) (result *v1alpha2.AWSCluster, err error)
- func (c *FakeAWSClusters) UpdateStatus(ctx context.Context, aWSCluster *v1alpha2.AWSCluster, opts v1.UpdateOptions) (*v1alpha2.AWSCluster, error)
- func (c *FakeAWSClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAWSControlPlanes
- func (c *FakeAWSControlPlanes) Create(ctx context.Context, aWSControlPlane *v1alpha2.AWSControlPlane, ...) (result *v1alpha2.AWSControlPlane, err error)
- func (c *FakeAWSControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAWSControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAWSControlPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AWSControlPlane, err error)
- func (c *FakeAWSControlPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AWSControlPlaneList, err error)
- func (c *FakeAWSControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.AWSControlPlane, err error)
- func (c *FakeAWSControlPlanes) Update(ctx context.Context, aWSControlPlane *v1alpha2.AWSControlPlane, ...) (result *v1alpha2.AWSControlPlane, err error)
- func (c *FakeAWSControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAWSMachineDeployments
- func (c *FakeAWSMachineDeployments) Create(ctx context.Context, aWSMachineDeployment *v1alpha2.AWSMachineDeployment, ...) (result *v1alpha2.AWSMachineDeployment, err error)
- func (c *FakeAWSMachineDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAWSMachineDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAWSMachineDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AWSMachineDeployment, err error)
- func (c *FakeAWSMachineDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AWSMachineDeploymentList, err error)
- func (c *FakeAWSMachineDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.AWSMachineDeployment, err error)
- func (c *FakeAWSMachineDeployments) Update(ctx context.Context, aWSMachineDeployment *v1alpha2.AWSMachineDeployment, ...) (result *v1alpha2.AWSMachineDeployment, err error)
- func (c *FakeAWSMachineDeployments) UpdateStatus(ctx context.Context, aWSMachineDeployment *v1alpha2.AWSMachineDeployment, ...) (*v1alpha2.AWSMachineDeployment, error)
- func (c *FakeAWSMachineDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeG8sControlPlanes
- func (c *FakeG8sControlPlanes) Create(ctx context.Context, g8sControlPlane *v1alpha2.G8sControlPlane, ...) (result *v1alpha2.G8sControlPlane, err error)
- func (c *FakeG8sControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeG8sControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeG8sControlPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.G8sControlPlane, err error)
- func (c *FakeG8sControlPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.G8sControlPlaneList, err error)
- func (c *FakeG8sControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.G8sControlPlane, err error)
- func (c *FakeG8sControlPlanes) Update(ctx context.Context, g8sControlPlane *v1alpha2.G8sControlPlane, ...) (result *v1alpha2.G8sControlPlane, err error)
- func (c *FakeG8sControlPlanes) UpdateStatus(ctx context.Context, g8sControlPlane *v1alpha2.G8sControlPlane, ...) (*v1alpha2.G8sControlPlane, error)
- func (c *FakeG8sControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInfrastructureV1alpha2
- func (c *FakeInfrastructureV1alpha2) AWSClusters(namespace string) v1alpha2.AWSClusterInterface
- func (c *FakeInfrastructureV1alpha2) AWSControlPlanes(namespace string) v1alpha2.AWSControlPlaneInterface
- func (c *FakeInfrastructureV1alpha2) AWSMachineDeployments(namespace string) v1alpha2.AWSMachineDeploymentInterface
- func (c *FakeInfrastructureV1alpha2) G8sControlPlanes(namespace string) v1alpha2.G8sControlPlaneInterface
- func (c *FakeInfrastructureV1alpha2) NetworkPools(namespace string) v1alpha2.NetworkPoolInterface
- func (c *FakeInfrastructureV1alpha2) RESTClient() rest.Interface
- type FakeNetworkPools
- func (c *FakeNetworkPools) Create(ctx context.Context, networkPool *v1alpha2.NetworkPool, opts v1.CreateOptions) (result *v1alpha2.NetworkPool, err error)
- func (c *FakeNetworkPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.NetworkPool, err error)
- func (c *FakeNetworkPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.NetworkPoolList, err error)
- func (c *FakeNetworkPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.NetworkPool, err error)
- func (c *FakeNetworkPools) Update(ctx context.Context, networkPool *v1alpha2.NetworkPool, opts v1.UpdateOptions) (result *v1alpha2.NetworkPool, err error)
- func (c *FakeNetworkPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAWSClusters ¶
type FakeAWSClusters struct { Fake *FakeInfrastructureV1alpha2 // contains filtered or unexported fields }
FakeAWSClusters implements AWSClusterInterface
func (*FakeAWSClusters) Create ¶
func (c *FakeAWSClusters) Create(ctx context.Context, aWSCluster *v1alpha2.AWSCluster, opts v1.CreateOptions) (result *v1alpha2.AWSCluster, err error)
Create takes the representation of a aWSCluster and creates it. Returns the server's representation of the aWSCluster, and an error, if there is any.
func (*FakeAWSClusters) Delete ¶
func (c *FakeAWSClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aWSCluster and deletes it. Returns an error if one occurs.
func (*FakeAWSClusters) DeleteCollection ¶
func (c *FakeAWSClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAWSClusters) Get ¶
func (c *FakeAWSClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AWSCluster, err error)
Get takes name of the aWSCluster, and returns the corresponding aWSCluster object, and an error if there is any.
func (*FakeAWSClusters) List ¶
func (c *FakeAWSClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AWSClusterList, err error)
List takes label and field selectors, and returns the list of AWSClusters that match those selectors.
func (*FakeAWSClusters) Patch ¶
func (c *FakeAWSClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.AWSCluster, err error)
Patch applies the patch and returns the patched aWSCluster.
func (*FakeAWSClusters) Update ¶
func (c *FakeAWSClusters) Update(ctx context.Context, aWSCluster *v1alpha2.AWSCluster, opts v1.UpdateOptions) (result *v1alpha2.AWSCluster, err error)
Update takes the representation of a aWSCluster and updates it. Returns the server's representation of the aWSCluster, and an error, if there is any.
func (*FakeAWSClusters) UpdateStatus ¶
func (c *FakeAWSClusters) UpdateStatus(ctx context.Context, aWSCluster *v1alpha2.AWSCluster, opts v1.UpdateOptions) (*v1alpha2.AWSCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAWSClusters) Watch ¶
func (c *FakeAWSClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aWSClusters.
type FakeAWSControlPlanes ¶
type FakeAWSControlPlanes struct { Fake *FakeInfrastructureV1alpha2 // contains filtered or unexported fields }
FakeAWSControlPlanes implements AWSControlPlaneInterface
func (*FakeAWSControlPlanes) Create ¶
func (c *FakeAWSControlPlanes) Create(ctx context.Context, aWSControlPlane *v1alpha2.AWSControlPlane, opts v1.CreateOptions) (result *v1alpha2.AWSControlPlane, err error)
Create takes the representation of a aWSControlPlane and creates it. Returns the server's representation of the aWSControlPlane, and an error, if there is any.
func (*FakeAWSControlPlanes) Delete ¶
func (c *FakeAWSControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aWSControlPlane and deletes it. Returns an error if one occurs.
func (*FakeAWSControlPlanes) DeleteCollection ¶
func (c *FakeAWSControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAWSControlPlanes) Get ¶
func (c *FakeAWSControlPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AWSControlPlane, err error)
Get takes name of the aWSControlPlane, and returns the corresponding aWSControlPlane object, and an error if there is any.
func (*FakeAWSControlPlanes) List ¶
func (c *FakeAWSControlPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AWSControlPlaneList, err error)
List takes label and field selectors, and returns the list of AWSControlPlanes that match those selectors.
func (*FakeAWSControlPlanes) Patch ¶
func (c *FakeAWSControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.AWSControlPlane, err error)
Patch applies the patch and returns the patched aWSControlPlane.
func (*FakeAWSControlPlanes) Update ¶
func (c *FakeAWSControlPlanes) Update(ctx context.Context, aWSControlPlane *v1alpha2.AWSControlPlane, opts v1.UpdateOptions) (result *v1alpha2.AWSControlPlane, err error)
Update takes the representation of a aWSControlPlane and updates it. Returns the server's representation of the aWSControlPlane, and an error, if there is any.
func (*FakeAWSControlPlanes) Watch ¶
func (c *FakeAWSControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aWSControlPlanes.
type FakeAWSMachineDeployments ¶
type FakeAWSMachineDeployments struct { Fake *FakeInfrastructureV1alpha2 // contains filtered or unexported fields }
FakeAWSMachineDeployments implements AWSMachineDeploymentInterface
func (*FakeAWSMachineDeployments) Create ¶
func (c *FakeAWSMachineDeployments) Create(ctx context.Context, aWSMachineDeployment *v1alpha2.AWSMachineDeployment, opts v1.CreateOptions) (result *v1alpha2.AWSMachineDeployment, err error)
Create takes the representation of a aWSMachineDeployment and creates it. Returns the server's representation of the aWSMachineDeployment, and an error, if there is any.
func (*FakeAWSMachineDeployments) Delete ¶
func (c *FakeAWSMachineDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aWSMachineDeployment and deletes it. Returns an error if one occurs.
func (*FakeAWSMachineDeployments) DeleteCollection ¶
func (c *FakeAWSMachineDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAWSMachineDeployments) Get ¶
func (c *FakeAWSMachineDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.AWSMachineDeployment, err error)
Get takes name of the aWSMachineDeployment, and returns the corresponding aWSMachineDeployment object, and an error if there is any.
func (*FakeAWSMachineDeployments) List ¶
func (c *FakeAWSMachineDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.AWSMachineDeploymentList, err error)
List takes label and field selectors, and returns the list of AWSMachineDeployments that match those selectors.
func (*FakeAWSMachineDeployments) Patch ¶
func (c *FakeAWSMachineDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.AWSMachineDeployment, err error)
Patch applies the patch and returns the patched aWSMachineDeployment.
func (*FakeAWSMachineDeployments) Update ¶
func (c *FakeAWSMachineDeployments) Update(ctx context.Context, aWSMachineDeployment *v1alpha2.AWSMachineDeployment, opts v1.UpdateOptions) (result *v1alpha2.AWSMachineDeployment, err error)
Update takes the representation of a aWSMachineDeployment and updates it. Returns the server's representation of the aWSMachineDeployment, and an error, if there is any.
func (*FakeAWSMachineDeployments) UpdateStatus ¶
func (c *FakeAWSMachineDeployments) UpdateStatus(ctx context.Context, aWSMachineDeployment *v1alpha2.AWSMachineDeployment, opts v1.UpdateOptions) (*v1alpha2.AWSMachineDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAWSMachineDeployments) Watch ¶
func (c *FakeAWSMachineDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aWSMachineDeployments.
type FakeG8sControlPlanes ¶
type FakeG8sControlPlanes struct { Fake *FakeInfrastructureV1alpha2 // contains filtered or unexported fields }
FakeG8sControlPlanes implements G8sControlPlaneInterface
func (*FakeG8sControlPlanes) Create ¶
func (c *FakeG8sControlPlanes) Create(ctx context.Context, g8sControlPlane *v1alpha2.G8sControlPlane, opts v1.CreateOptions) (result *v1alpha2.G8sControlPlane, err error)
Create takes the representation of a g8sControlPlane and creates it. Returns the server's representation of the g8sControlPlane, and an error, if there is any.
func (*FakeG8sControlPlanes) Delete ¶
func (c *FakeG8sControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the g8sControlPlane and deletes it. Returns an error if one occurs.
func (*FakeG8sControlPlanes) DeleteCollection ¶
func (c *FakeG8sControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeG8sControlPlanes) Get ¶
func (c *FakeG8sControlPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.G8sControlPlane, err error)
Get takes name of the g8sControlPlane, and returns the corresponding g8sControlPlane object, and an error if there is any.
func (*FakeG8sControlPlanes) List ¶
func (c *FakeG8sControlPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.G8sControlPlaneList, err error)
List takes label and field selectors, and returns the list of G8sControlPlanes that match those selectors.
func (*FakeG8sControlPlanes) Patch ¶
func (c *FakeG8sControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.G8sControlPlane, err error)
Patch applies the patch and returns the patched g8sControlPlane.
func (*FakeG8sControlPlanes) Update ¶
func (c *FakeG8sControlPlanes) Update(ctx context.Context, g8sControlPlane *v1alpha2.G8sControlPlane, opts v1.UpdateOptions) (result *v1alpha2.G8sControlPlane, err error)
Update takes the representation of a g8sControlPlane and updates it. Returns the server's representation of the g8sControlPlane, and an error, if there is any.
func (*FakeG8sControlPlanes) UpdateStatus ¶
func (c *FakeG8sControlPlanes) UpdateStatus(ctx context.Context, g8sControlPlane *v1alpha2.G8sControlPlane, opts v1.UpdateOptions) (*v1alpha2.G8sControlPlane, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeG8sControlPlanes) Watch ¶
func (c *FakeG8sControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested g8sControlPlanes.
type FakeInfrastructureV1alpha2 ¶
func (*FakeInfrastructureV1alpha2) AWSClusters ¶
func (c *FakeInfrastructureV1alpha2) AWSClusters(namespace string) v1alpha2.AWSClusterInterface
func (*FakeInfrastructureV1alpha2) AWSControlPlanes ¶
func (c *FakeInfrastructureV1alpha2) AWSControlPlanes(namespace string) v1alpha2.AWSControlPlaneInterface
func (*FakeInfrastructureV1alpha2) AWSMachineDeployments ¶
func (c *FakeInfrastructureV1alpha2) AWSMachineDeployments(namespace string) v1alpha2.AWSMachineDeploymentInterface
func (*FakeInfrastructureV1alpha2) G8sControlPlanes ¶
func (c *FakeInfrastructureV1alpha2) G8sControlPlanes(namespace string) v1alpha2.G8sControlPlaneInterface
func (*FakeInfrastructureV1alpha2) NetworkPools ¶ added in v2.5.0
func (c *FakeInfrastructureV1alpha2) NetworkPools(namespace string) v1alpha2.NetworkPoolInterface
func (*FakeInfrastructureV1alpha2) RESTClient ¶
func (c *FakeInfrastructureV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeNetworkPools ¶ added in v2.5.0
type FakeNetworkPools struct { Fake *FakeInfrastructureV1alpha2 // contains filtered or unexported fields }
FakeNetworkPools implements NetworkPoolInterface
func (*FakeNetworkPools) Create ¶ added in v2.5.0
func (c *FakeNetworkPools) Create(ctx context.Context, networkPool *v1alpha2.NetworkPool, opts v1.CreateOptions) (result *v1alpha2.NetworkPool, err error)
Create takes the representation of a networkPool and creates it. Returns the server's representation of the networkPool, and an error, if there is any.
func (*FakeNetworkPools) Delete ¶ added in v2.5.0
func (c *FakeNetworkPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkPool and deletes it. Returns an error if one occurs.
func (*FakeNetworkPools) DeleteCollection ¶ added in v2.5.0
func (c *FakeNetworkPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkPools) Get ¶ added in v2.5.0
func (c *FakeNetworkPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.NetworkPool, err error)
Get takes name of the networkPool, and returns the corresponding networkPool object, and an error if there is any.
func (*FakeNetworkPools) List ¶ added in v2.5.0
func (c *FakeNetworkPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.NetworkPoolList, err error)
List takes label and field selectors, and returns the list of NetworkPools that match those selectors.
func (*FakeNetworkPools) Patch ¶ added in v2.5.0
func (c *FakeNetworkPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.NetworkPool, err error)
Patch applies the patch and returns the patched networkPool.
func (*FakeNetworkPools) Update ¶ added in v2.5.0
func (c *FakeNetworkPools) Update(ctx context.Context, networkPool *v1alpha2.NetworkPool, opts v1.UpdateOptions) (result *v1alpha2.NetworkPool, err error)
Update takes the representation of a networkPool and updates it. Returns the server's representation of the networkPool, and an error, if there is any.
func (*FakeNetworkPools) Watch ¶ added in v2.5.0
func (c *FakeNetworkPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkPools.