apiextensions: github.com/giantswarm/apiextensions/pkg/clientset/versioned/typed/infrastructure/v1alpha2/fake Index | Files

package fake

import "github.com/giantswarm/apiextensions/pkg/clientset/versioned/typed/infrastructure/v1alpha2/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_awscluster.go fake_awscontrolplane.go fake_awsmachinedeployment.go fake_g8scontrolplane.go fake_infrastructure_client.go

type FakeAWSClusters Uses

type FakeAWSClusters struct {
    Fake *FakeInfrastructureV1alpha2
    // contains filtered or unexported fields
}

FakeAWSClusters implements AWSClusterInterface

func (*FakeAWSClusters) Create Uses

func (c *FakeAWSClusters) Create(aWSCluster *v1alpha2.AWSCluster) (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 Uses

func (c *FakeAWSClusters) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAWSClusters) DeleteCollection Uses

func (c *FakeAWSClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAWSClusters) Get Uses

func (c *FakeAWSClusters) Get(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 Uses

func (c *FakeAWSClusters) List(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 Uses

func (c *FakeAWSClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.AWSCluster, err error)

Patch applies the patch and returns the patched aWSCluster.

func (*FakeAWSClusters) Update Uses

func (c *FakeAWSClusters) Update(aWSCluster *v1alpha2.AWSCluster) (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 Uses

func (c *FakeAWSClusters) UpdateStatus(aWSCluster *v1alpha2.AWSCluster) (*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 Uses

func (c *FakeAWSClusters) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeAWSControlPlanes Uses

type FakeAWSControlPlanes struct {
    Fake *FakeInfrastructureV1alpha2
    // contains filtered or unexported fields
}

FakeAWSControlPlanes implements AWSControlPlaneInterface

func (*FakeAWSControlPlanes) Create Uses

func (c *FakeAWSControlPlanes) Create(aWSControlPlane *v1alpha2.AWSControlPlane) (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 Uses

func (c *FakeAWSControlPlanes) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAWSControlPlanes) DeleteCollection Uses

func (c *FakeAWSControlPlanes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAWSControlPlanes) Get Uses

func (c *FakeAWSControlPlanes) Get(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 Uses

func (c *FakeAWSControlPlanes) List(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 Uses

func (c *FakeAWSControlPlanes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.AWSControlPlane, err error)

Patch applies the patch and returns the patched aWSControlPlane.

func (*FakeAWSControlPlanes) Update Uses

func (c *FakeAWSControlPlanes) Update(aWSControlPlane *v1alpha2.AWSControlPlane) (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) UpdateStatus Uses

func (c *FakeAWSControlPlanes) UpdateStatus(aWSControlPlane *v1alpha2.AWSControlPlane) (*v1alpha2.AWSControlPlane, error)

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

func (*FakeAWSControlPlanes) Watch Uses

func (c *FakeAWSControlPlanes) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeAWSMachineDeployments Uses

type FakeAWSMachineDeployments struct {
    Fake *FakeInfrastructureV1alpha2
    // contains filtered or unexported fields
}

FakeAWSMachineDeployments implements AWSMachineDeploymentInterface

func (*FakeAWSMachineDeployments) Create Uses

func (c *FakeAWSMachineDeployments) Create(aWSMachineDeployment *v1alpha2.AWSMachineDeployment) (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 Uses

func (c *FakeAWSMachineDeployments) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAWSMachineDeployments) DeleteCollection Uses

func (c *FakeAWSMachineDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAWSMachineDeployments) Get Uses

func (c *FakeAWSMachineDeployments) Get(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 Uses

func (c *FakeAWSMachineDeployments) List(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 Uses

func (c *FakeAWSMachineDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.AWSMachineDeployment, err error)

Patch applies the patch and returns the patched aWSMachineDeployment.

func (*FakeAWSMachineDeployments) Update Uses

func (c *FakeAWSMachineDeployments) Update(aWSMachineDeployment *v1alpha2.AWSMachineDeployment) (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 Uses

func (c *FakeAWSMachineDeployments) UpdateStatus(aWSMachineDeployment *v1alpha2.AWSMachineDeployment) (*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 Uses

func (c *FakeAWSMachineDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeG8sControlPlanes Uses

type FakeG8sControlPlanes struct {
    Fake *FakeInfrastructureV1alpha2
    // contains filtered or unexported fields
}

FakeG8sControlPlanes implements G8sControlPlaneInterface

func (*FakeG8sControlPlanes) Create Uses

func (c *FakeG8sControlPlanes) Create(g8sControlPlane *v1alpha2.G8sControlPlane) (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 Uses

func (c *FakeG8sControlPlanes) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeG8sControlPlanes) DeleteCollection Uses

func (c *FakeG8sControlPlanes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeG8sControlPlanes) Get Uses

func (c *FakeG8sControlPlanes) Get(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 Uses

func (c *FakeG8sControlPlanes) List(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 Uses

func (c *FakeG8sControlPlanes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.G8sControlPlane, err error)

Patch applies the patch and returns the patched g8sControlPlane.

func (*FakeG8sControlPlanes) Update Uses

func (c *FakeG8sControlPlanes) Update(g8sControlPlane *v1alpha2.G8sControlPlane) (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 Uses

func (c *FakeG8sControlPlanes) UpdateStatus(g8sControlPlane *v1alpha2.G8sControlPlane) (*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 Uses

func (c *FakeG8sControlPlanes) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeInfrastructureV1alpha2 Uses

type FakeInfrastructureV1alpha2 struct {
    *testing.Fake
}

func (*FakeInfrastructureV1alpha2) AWSClusters Uses

func (c *FakeInfrastructureV1alpha2) AWSClusters(namespace string) v1alpha2.AWSClusterInterface

func (*FakeInfrastructureV1alpha2) AWSControlPlanes Uses

func (c *FakeInfrastructureV1alpha2) AWSControlPlanes(namespace string) v1alpha2.AWSControlPlaneInterface

func (*FakeInfrastructureV1alpha2) AWSMachineDeployments Uses

func (c *FakeInfrastructureV1alpha2) AWSMachineDeployments(namespace string) v1alpha2.AWSMachineDeploymentInterface

func (*FakeInfrastructureV1alpha2) G8sControlPlanes Uses

func (c *FakeInfrastructureV1alpha2) G8sControlPlanes(namespace string) v1alpha2.G8sControlPlaneInterface

func (*FakeInfrastructureV1alpha2) RESTClient Uses

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

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2020-04-06. Refresh now. Tools for package owners.