Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAssignmentDedicatedHosts
- func (c *FakeAssignmentDedicatedHosts) Create(ctx context.Context, assignmentDedicatedHost *v1alpha1.AssignmentDedicatedHost, ...) (result *v1alpha1.AssignmentDedicatedHost, err error)
- func (c *FakeAssignmentDedicatedHosts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAssignmentDedicatedHosts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAssignmentDedicatedHosts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AssignmentDedicatedHost, err error)
- func (c *FakeAssignmentDedicatedHosts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AssignmentDedicatedHostList, err error)
- func (c *FakeAssignmentDedicatedHosts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AssignmentDedicatedHost, err error)
- func (c *FakeAssignmentDedicatedHosts) Update(ctx context.Context, assignmentDedicatedHost *v1alpha1.AssignmentDedicatedHost, ...) (result *v1alpha1.AssignmentDedicatedHost, err error)
- func (c *FakeAssignmentDedicatedHosts) UpdateStatus(ctx context.Context, assignmentDedicatedHost *v1alpha1.AssignmentDedicatedHost, ...) (*v1alpha1.AssignmentDedicatedHost, error)
- func (c *FakeAssignmentDedicatedHosts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAssignmentVirtualMachines
- func (c *FakeAssignmentVirtualMachines) Create(ctx context.Context, ...) (result *v1alpha1.AssignmentVirtualMachine, err error)
- func (c *FakeAssignmentVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAssignmentVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAssignmentVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AssignmentVirtualMachine, err error)
- func (c *FakeAssignmentVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AssignmentVirtualMachineList, err error)
- func (c *FakeAssignmentVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AssignmentVirtualMachine, err error)
- func (c *FakeAssignmentVirtualMachines) Update(ctx context.Context, ...) (result *v1alpha1.AssignmentVirtualMachine, err error)
- func (c *FakeAssignmentVirtualMachines) UpdateStatus(ctx context.Context, ...) (*v1alpha1.AssignmentVirtualMachine, error)
- func (c *FakeAssignmentVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigurations
- func (c *FakeConfigurations) Create(ctx context.Context, configuration *v1alpha1.Configuration, ...) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigurationList, err error)
- func (c *FakeConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) Update(ctx context.Context, configuration *v1alpha1.Configuration, ...) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) UpdateStatus(ctx context.Context, configuration *v1alpha1.Configuration, ...) (*v1alpha1.Configuration, error)
- func (c *FakeConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMaintenanceV1alpha1
- func (c *FakeMaintenanceV1alpha1) AssignmentDedicatedHosts(namespace string) v1alpha1.AssignmentDedicatedHostInterface
- func (c *FakeMaintenanceV1alpha1) AssignmentVirtualMachines(namespace string) v1alpha1.AssignmentVirtualMachineInterface
- func (c *FakeMaintenanceV1alpha1) Configurations(namespace string) v1alpha1.ConfigurationInterface
- func (c *FakeMaintenanceV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAssignmentDedicatedHosts ¶
type FakeAssignmentDedicatedHosts struct { Fake *FakeMaintenanceV1alpha1 // contains filtered or unexported fields }
FakeAssignmentDedicatedHosts implements AssignmentDedicatedHostInterface
func (*FakeAssignmentDedicatedHosts) Create ¶
func (c *FakeAssignmentDedicatedHosts) Create(ctx context.Context, assignmentDedicatedHost *v1alpha1.AssignmentDedicatedHost, opts v1.CreateOptions) (result *v1alpha1.AssignmentDedicatedHost, err error)
Create takes the representation of a assignmentDedicatedHost and creates it. Returns the server's representation of the assignmentDedicatedHost, and an error, if there is any.
func (*FakeAssignmentDedicatedHosts) Delete ¶
func (c *FakeAssignmentDedicatedHosts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the assignmentDedicatedHost and deletes it. Returns an error if one occurs.
func (*FakeAssignmentDedicatedHosts) DeleteCollection ¶
func (c *FakeAssignmentDedicatedHosts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAssignmentDedicatedHosts) Get ¶
func (c *FakeAssignmentDedicatedHosts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AssignmentDedicatedHost, err error)
Get takes name of the assignmentDedicatedHost, and returns the corresponding assignmentDedicatedHost object, and an error if there is any.
func (*FakeAssignmentDedicatedHosts) List ¶
func (c *FakeAssignmentDedicatedHosts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AssignmentDedicatedHostList, err error)
List takes label and field selectors, and returns the list of AssignmentDedicatedHosts that match those selectors.
func (*FakeAssignmentDedicatedHosts) Patch ¶
func (c *FakeAssignmentDedicatedHosts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AssignmentDedicatedHost, err error)
Patch applies the patch and returns the patched assignmentDedicatedHost.
func (*FakeAssignmentDedicatedHosts) Update ¶
func (c *FakeAssignmentDedicatedHosts) Update(ctx context.Context, assignmentDedicatedHost *v1alpha1.AssignmentDedicatedHost, opts v1.UpdateOptions) (result *v1alpha1.AssignmentDedicatedHost, err error)
Update takes the representation of a assignmentDedicatedHost and updates it. Returns the server's representation of the assignmentDedicatedHost, and an error, if there is any.
func (*FakeAssignmentDedicatedHosts) UpdateStatus ¶
func (c *FakeAssignmentDedicatedHosts) UpdateStatus(ctx context.Context, assignmentDedicatedHost *v1alpha1.AssignmentDedicatedHost, opts v1.UpdateOptions) (*v1alpha1.AssignmentDedicatedHost, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAssignmentDedicatedHosts) Watch ¶
func (c *FakeAssignmentDedicatedHosts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested assignmentDedicatedHosts.
type FakeAssignmentVirtualMachines ¶
type FakeAssignmentVirtualMachines struct { Fake *FakeMaintenanceV1alpha1 // contains filtered or unexported fields }
FakeAssignmentVirtualMachines implements AssignmentVirtualMachineInterface
func (*FakeAssignmentVirtualMachines) Create ¶
func (c *FakeAssignmentVirtualMachines) Create(ctx context.Context, assignmentVirtualMachine *v1alpha1.AssignmentVirtualMachine, opts v1.CreateOptions) (result *v1alpha1.AssignmentVirtualMachine, err error)
Create takes the representation of a assignmentVirtualMachine and creates it. Returns the server's representation of the assignmentVirtualMachine, and an error, if there is any.
func (*FakeAssignmentVirtualMachines) Delete ¶
func (c *FakeAssignmentVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the assignmentVirtualMachine and deletes it. Returns an error if one occurs.
func (*FakeAssignmentVirtualMachines) DeleteCollection ¶
func (c *FakeAssignmentVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAssignmentVirtualMachines) Get ¶
func (c *FakeAssignmentVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AssignmentVirtualMachine, err error)
Get takes name of the assignmentVirtualMachine, and returns the corresponding assignmentVirtualMachine object, and an error if there is any.
func (*FakeAssignmentVirtualMachines) List ¶
func (c *FakeAssignmentVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AssignmentVirtualMachineList, err error)
List takes label and field selectors, and returns the list of AssignmentVirtualMachines that match those selectors.
func (*FakeAssignmentVirtualMachines) Patch ¶
func (c *FakeAssignmentVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AssignmentVirtualMachine, err error)
Patch applies the patch and returns the patched assignmentVirtualMachine.
func (*FakeAssignmentVirtualMachines) Update ¶
func (c *FakeAssignmentVirtualMachines) Update(ctx context.Context, assignmentVirtualMachine *v1alpha1.AssignmentVirtualMachine, opts v1.UpdateOptions) (result *v1alpha1.AssignmentVirtualMachine, err error)
Update takes the representation of a assignmentVirtualMachine and updates it. Returns the server's representation of the assignmentVirtualMachine, and an error, if there is any.
func (*FakeAssignmentVirtualMachines) UpdateStatus ¶
func (c *FakeAssignmentVirtualMachines) UpdateStatus(ctx context.Context, assignmentVirtualMachine *v1alpha1.AssignmentVirtualMachine, opts v1.UpdateOptions) (*v1alpha1.AssignmentVirtualMachine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAssignmentVirtualMachines) Watch ¶
func (c *FakeAssignmentVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested assignmentVirtualMachines.
type FakeConfigurations ¶
type FakeConfigurations struct { Fake *FakeMaintenanceV1alpha1 // contains filtered or unexported fields }
FakeConfigurations implements ConfigurationInterface
func (*FakeConfigurations) Create ¶
func (c *FakeConfigurations) Create(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.CreateOptions) (result *v1alpha1.Configuration, err error)
Create takes the representation of a configuration and creates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) Delete ¶
func (c *FakeConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configuration and deletes it. Returns an error if one occurs.
func (*FakeConfigurations) DeleteCollection ¶
func (c *FakeConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigurations) Get ¶
func (c *FakeConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Configuration, err error)
Get takes name of the configuration, and returns the corresponding configuration object, and an error if there is any.
func (*FakeConfigurations) List ¶
func (c *FakeConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigurationList, err error)
List takes label and field selectors, and returns the list of Configurations that match those selectors.
func (*FakeConfigurations) Patch ¶
func (c *FakeConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Configuration, err error)
Patch applies the patch and returns the patched configuration.
func (*FakeConfigurations) Update ¶
func (c *FakeConfigurations) Update(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.UpdateOptions) (result *v1alpha1.Configuration, err error)
Update takes the representation of a configuration and updates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) UpdateStatus ¶
func (c *FakeConfigurations) UpdateStatus(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.UpdateOptions) (*v1alpha1.Configuration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigurations) Watch ¶
func (c *FakeConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configurations.
type FakeMaintenanceV1alpha1 ¶
func (*FakeMaintenanceV1alpha1) AssignmentDedicatedHosts ¶
func (c *FakeMaintenanceV1alpha1) AssignmentDedicatedHosts(namespace string) v1alpha1.AssignmentDedicatedHostInterface
func (*FakeMaintenanceV1alpha1) AssignmentVirtualMachines ¶
func (c *FakeMaintenanceV1alpha1) AssignmentVirtualMachines(namespace string) v1alpha1.AssignmentVirtualMachineInterface
func (*FakeMaintenanceV1alpha1) Configurations ¶
func (c *FakeMaintenanceV1alpha1) Configurations(namespace string) v1alpha1.ConfigurationInterface
func (*FakeMaintenanceV1alpha1) RESTClient ¶
func (c *FakeMaintenanceV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.