fake

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeARPTables

type FakeARPTables struct {
	Fake *FakeVirtualmachineV1alpha1
}

FakeARPTables implements ARPTableInterface

func (*FakeARPTables) Create

func (c *FakeARPTables) Create(aRPTable *v1alpha1.ARPTable) (result *v1alpha1.ARPTable, err error)

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

func (*FakeARPTables) Delete

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

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

func (*FakeARPTables) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeARPTables) Get

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

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

func (*FakeARPTables) List

func (c *FakeARPTables) List(opts v1.ListOptions) (result *v1alpha1.ARPTableList, err error)

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

func (*FakeARPTables) Patch

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

Patch applies the patch and returns the patched aRPTable.

func (*FakeARPTables) Update

func (c *FakeARPTables) Update(aRPTable *v1alpha1.ARPTable) (result *v1alpha1.ARPTable, err error)

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

func (*FakeARPTables) Watch

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

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

type FakeCredentials

type FakeCredentials struct {
	Fake *FakeVirtualmachineV1alpha1
}

FakeCredentials implements CredentialInterface

func (*FakeCredentials) Create

func (c *FakeCredentials) Create(credential *v1alpha1.Credential) (result *v1alpha1.Credential, err error)

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

func (*FakeCredentials) Delete

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

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

func (*FakeCredentials) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCredentials) Get

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

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

func (*FakeCredentials) List

func (c *FakeCredentials) List(opts v1.ListOptions) (result *v1alpha1.CredentialList, err error)

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

func (*FakeCredentials) Patch

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

Patch applies the patch and returns the patched credential.

func (*FakeCredentials) Update

func (c *FakeCredentials) Update(credential *v1alpha1.Credential) (result *v1alpha1.Credential, err error)

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

func (*FakeCredentials) Watch

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

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

type FakeMachineImages

type FakeMachineImages struct {
	Fake *FakeVirtualmachineV1alpha1
}

FakeMachineImages implements MachineImageInterface

func (*FakeMachineImages) Create

func (c *FakeMachineImages) Create(machineImage *v1alpha1.MachineImage) (result *v1alpha1.MachineImage, err error)

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

func (*FakeMachineImages) Delete

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

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

func (*FakeMachineImages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachineImages) Get

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

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

func (*FakeMachineImages) List

func (c *FakeMachineImages) List(opts v1.ListOptions) (result *v1alpha1.MachineImageList, err error)

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

func (*FakeMachineImages) Patch

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

Patch applies the patch and returns the patched machineImage.

func (*FakeMachineImages) Update

func (c *FakeMachineImages) Update(machineImage *v1alpha1.MachineImage) (result *v1alpha1.MachineImage, err error)

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

func (*FakeMachineImages) Watch

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

type FakeSettings

type FakeSettings struct {
	Fake *FakeVirtualmachineV1alpha1
}

FakeSettings implements SettingInterface

func (*FakeSettings) Create

func (c *FakeSettings) Create(setting *v1alpha1.Setting) (result *v1alpha1.Setting, err error)

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

func (*FakeSettings) Delete

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

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

func (*FakeSettings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSettings) Get

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

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

func (*FakeSettings) List

func (c *FakeSettings) List(opts v1.ListOptions) (result *v1alpha1.SettingList, err error)

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

func (*FakeSettings) Patch

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

Patch applies the patch and returns the patched setting.

func (*FakeSettings) Update

func (c *FakeSettings) Update(setting *v1alpha1.Setting) (result *v1alpha1.Setting, err error)

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

func (*FakeSettings) Watch

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

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

type FakeVirtualMachines

type FakeVirtualMachines struct {
	Fake *FakeVirtualmachineV1alpha1
}

FakeVirtualMachines implements VirtualMachineInterface

func (*FakeVirtualMachines) Create

func (c *FakeVirtualMachines) Create(virtualMachine *v1alpha1.VirtualMachine) (result *v1alpha1.VirtualMachine, err error)

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

func (*FakeVirtualMachines) Delete

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

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

func (*FakeVirtualMachines) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachines) Get

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

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

func (*FakeVirtualMachines) List

func (c *FakeVirtualMachines) List(opts v1.ListOptions) (result *v1alpha1.VirtualMachineList, err error)

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

func (*FakeVirtualMachines) Patch

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

Patch applies the patch and returns the patched virtualMachine.

func (*FakeVirtualMachines) Update

func (c *FakeVirtualMachines) Update(virtualMachine *v1alpha1.VirtualMachine) (result *v1alpha1.VirtualMachine, err error)

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

func (*FakeVirtualMachines) Watch

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

type FakeVirtualmachineV1alpha1

type FakeVirtualmachineV1alpha1 struct {
	*testing.Fake
}

func (*FakeVirtualmachineV1alpha1) ARPTables

func (*FakeVirtualmachineV1alpha1) Credentials

func (*FakeVirtualmachineV1alpha1) MachineImages

func (*FakeVirtualmachineV1alpha1) RESTClient

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

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

func (*FakeVirtualmachineV1alpha1) Settings

func (*FakeVirtualmachineV1alpha1) VirtualMachines

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL