apiextensions: github.com/giantswarm/apiextensions/pkg/clientset/versioned/typed/provider/v1alpha1/fake Index | Files

package fake

import "github.com/giantswarm/apiextensions/pkg/clientset/versioned/typed/provider/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_awsconfig.go fake_azureconfig.go fake_kvmconfig.go fake_provider_client.go

type FakeAWSConfigs Uses

type FakeAWSConfigs struct {
    Fake *FakeProviderV1alpha1
    // contains filtered or unexported fields
}

FakeAWSConfigs implements AWSConfigInterface

func (*FakeAWSConfigs) Create Uses

func (c *FakeAWSConfigs) Create(aWSConfig *v1alpha1.AWSConfig) (result *v1alpha1.AWSConfig, err error)

Create takes the representation of a aWSConfig and creates it. Returns the server's representation of the aWSConfig, and an error, if there is any.

func (*FakeAWSConfigs) Delete Uses

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

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

func (*FakeAWSConfigs) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeAWSConfigs) Get Uses

func (c *FakeAWSConfigs) Get(name string, options v1.GetOptions) (result *v1alpha1.AWSConfig, err error)

Get takes name of the aWSConfig, and returns the corresponding aWSConfig object, and an error if there is any.

func (*FakeAWSConfigs) List Uses

func (c *FakeAWSConfigs) List(opts v1.ListOptions) (result *v1alpha1.AWSConfigList, err error)

List takes label and field selectors, and returns the list of AWSConfigs that match those selectors.

func (*FakeAWSConfigs) Patch Uses

func (c *FakeAWSConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AWSConfig, err error)

Patch applies the patch and returns the patched aWSConfig.

func (*FakeAWSConfigs) Update Uses

func (c *FakeAWSConfigs) Update(aWSConfig *v1alpha1.AWSConfig) (result *v1alpha1.AWSConfig, err error)

Update takes the representation of a aWSConfig and updates it. Returns the server's representation of the aWSConfig, and an error, if there is any.

func (*FakeAWSConfigs) UpdateStatus Uses

func (c *FakeAWSConfigs) UpdateStatus(aWSConfig *v1alpha1.AWSConfig) (*v1alpha1.AWSConfig, error)

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

func (*FakeAWSConfigs) Watch Uses

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

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

type FakeAzureConfigs Uses

type FakeAzureConfigs struct {
    Fake *FakeProviderV1alpha1
    // contains filtered or unexported fields
}

FakeAzureConfigs implements AzureConfigInterface

func (*FakeAzureConfigs) Create Uses

func (c *FakeAzureConfigs) Create(azureConfig *v1alpha1.AzureConfig) (result *v1alpha1.AzureConfig, err error)

Create takes the representation of a azureConfig and creates it. Returns the server's representation of the azureConfig, and an error, if there is any.

func (*FakeAzureConfigs) Delete Uses

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

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

func (*FakeAzureConfigs) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeAzureConfigs) Get Uses

func (c *FakeAzureConfigs) Get(name string, options v1.GetOptions) (result *v1alpha1.AzureConfig, err error)

Get takes name of the azureConfig, and returns the corresponding azureConfig object, and an error if there is any.

func (*FakeAzureConfigs) List Uses

func (c *FakeAzureConfigs) List(opts v1.ListOptions) (result *v1alpha1.AzureConfigList, err error)

List takes label and field selectors, and returns the list of AzureConfigs that match those selectors.

func (*FakeAzureConfigs) Patch Uses

func (c *FakeAzureConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AzureConfig, err error)

Patch applies the patch and returns the patched azureConfig.

func (*FakeAzureConfigs) Update Uses

func (c *FakeAzureConfigs) Update(azureConfig *v1alpha1.AzureConfig) (result *v1alpha1.AzureConfig, err error)

Update takes the representation of a azureConfig and updates it. Returns the server's representation of the azureConfig, and an error, if there is any.

func (*FakeAzureConfigs) UpdateStatus Uses

func (c *FakeAzureConfigs) UpdateStatus(azureConfig *v1alpha1.AzureConfig) (*v1alpha1.AzureConfig, error)

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

func (*FakeAzureConfigs) Watch Uses

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

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

type FakeKVMConfigs Uses

type FakeKVMConfigs struct {
    Fake *FakeProviderV1alpha1
    // contains filtered or unexported fields
}

FakeKVMConfigs implements KVMConfigInterface

func (*FakeKVMConfigs) Create Uses

func (c *FakeKVMConfigs) Create(kVMConfig *v1alpha1.KVMConfig) (result *v1alpha1.KVMConfig, err error)

Create takes the representation of a kVMConfig and creates it. Returns the server's representation of the kVMConfig, and an error, if there is any.

func (*FakeKVMConfigs) Delete Uses

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

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

func (*FakeKVMConfigs) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeKVMConfigs) Get Uses

func (c *FakeKVMConfigs) Get(name string, options v1.GetOptions) (result *v1alpha1.KVMConfig, err error)

Get takes name of the kVMConfig, and returns the corresponding kVMConfig object, and an error if there is any.

func (*FakeKVMConfigs) List Uses

func (c *FakeKVMConfigs) List(opts v1.ListOptions) (result *v1alpha1.KVMConfigList, err error)

List takes label and field selectors, and returns the list of KVMConfigs that match those selectors.

func (*FakeKVMConfigs) Patch Uses

func (c *FakeKVMConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.KVMConfig, err error)

Patch applies the patch and returns the patched kVMConfig.

func (*FakeKVMConfigs) Update Uses

func (c *FakeKVMConfigs) Update(kVMConfig *v1alpha1.KVMConfig) (result *v1alpha1.KVMConfig, err error)

Update takes the representation of a kVMConfig and updates it. Returns the server's representation of the kVMConfig, and an error, if there is any.

func (*FakeKVMConfigs) UpdateStatus Uses

func (c *FakeKVMConfigs) UpdateStatus(kVMConfig *v1alpha1.KVMConfig) (*v1alpha1.KVMConfig, error)

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

func (*FakeKVMConfigs) Watch Uses

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

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

type FakeProviderV1alpha1 Uses

type FakeProviderV1alpha1 struct {
    *testing.Fake
}

func (*FakeProviderV1alpha1) AWSConfigs Uses

func (c *FakeProviderV1alpha1) AWSConfigs(namespace string) v1alpha1.AWSConfigInterface

func (*FakeProviderV1alpha1) AzureConfigs Uses

func (c *FakeProviderV1alpha1) AzureConfigs(namespace string) v1alpha1.AzureConfigInterface

func (*FakeProviderV1alpha1) KVMConfigs Uses

func (c *FakeProviderV1alpha1) KVMConfigs(namespace string) v1alpha1.KVMConfigInterface

func (*FakeProviderV1alpha1) RESTClient Uses

func (c *FakeProviderV1alpha1) 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-05. Refresh now. Tools for package owners.