Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeInstancetypeV1alpha2
- func (c *FakeInstancetypeV1alpha2) RESTClient() rest.Interface
- func (c *FakeInstancetypeV1alpha2) VirtualMachineClusterInstancetypes() v1alpha2.VirtualMachineClusterInstancetypeInterface
- func (c *FakeInstancetypeV1alpha2) VirtualMachineClusterPreferences() v1alpha2.VirtualMachineClusterPreferenceInterface
- func (c *FakeInstancetypeV1alpha2) VirtualMachineInstancetypes(namespace string) v1alpha2.VirtualMachineInstancetypeInterface
- func (c *FakeInstancetypeV1alpha2) VirtualMachinePreferences(namespace string) v1alpha2.VirtualMachinePreferenceInterface
- type FakeVirtualMachineClusterInstancetypes
- func (c *FakeVirtualMachineClusterInstancetypes) Create(ctx context.Context, ...) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
- func (c *FakeVirtualMachineClusterInstancetypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineClusterInstancetypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineClusterInstancetypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
- func (c *FakeVirtualMachineClusterInstancetypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineClusterInstancetypeList, err error)
- func (c *FakeVirtualMachineClusterInstancetypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
- func (c *FakeVirtualMachineClusterInstancetypes) Update(ctx context.Context, ...) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
- func (c *FakeVirtualMachineClusterInstancetypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineClusterPreferences
- func (c *FakeVirtualMachineClusterPreferences) Create(ctx context.Context, ...) (result *v1alpha2.VirtualMachineClusterPreference, err error)
- func (c *FakeVirtualMachineClusterPreferences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineClusterPreferences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineClusterPreferences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineClusterPreference, err error)
- func (c *FakeVirtualMachineClusterPreferences) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineClusterPreferenceList, err error)
- func (c *FakeVirtualMachineClusterPreferences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineClusterPreference, err error)
- func (c *FakeVirtualMachineClusterPreferences) Update(ctx context.Context, ...) (result *v1alpha2.VirtualMachineClusterPreference, err error)
- func (c *FakeVirtualMachineClusterPreferences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineInstancetypes
- func (c *FakeVirtualMachineInstancetypes) Create(ctx context.Context, ...) (result *v1alpha2.VirtualMachineInstancetype, err error)
- func (c *FakeVirtualMachineInstancetypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineInstancetypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineInstancetypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineInstancetype, err error)
- func (c *FakeVirtualMachineInstancetypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineInstancetypeList, err error)
- func (c *FakeVirtualMachineInstancetypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachineInstancetype, err error)
- func (c *FakeVirtualMachineInstancetypes) Update(ctx context.Context, ...) (result *v1alpha2.VirtualMachineInstancetype, err error)
- func (c *FakeVirtualMachineInstancetypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachinePreferences
- func (c *FakeVirtualMachinePreferences) Create(ctx context.Context, ...) (result *v1alpha2.VirtualMachinePreference, err error)
- func (c *FakeVirtualMachinePreferences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachinePreferences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachinePreferences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachinePreference, err error)
- func (c *FakeVirtualMachinePreferences) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachinePreferenceList, err error)
- func (c *FakeVirtualMachinePreferences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.VirtualMachinePreference, err error)
- func (c *FakeVirtualMachinePreferences) Update(ctx context.Context, ...) (result *v1alpha2.VirtualMachinePreference, err error)
- func (c *FakeVirtualMachinePreferences) 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 FakeInstancetypeV1alpha2 ¶
func (*FakeInstancetypeV1alpha2) RESTClient ¶
func (c *FakeInstancetypeV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeInstancetypeV1alpha2) VirtualMachineClusterInstancetypes ¶
func (c *FakeInstancetypeV1alpha2) VirtualMachineClusterInstancetypes() v1alpha2.VirtualMachineClusterInstancetypeInterface
func (*FakeInstancetypeV1alpha2) VirtualMachineClusterPreferences ¶
func (c *FakeInstancetypeV1alpha2) VirtualMachineClusterPreferences() v1alpha2.VirtualMachineClusterPreferenceInterface
func (*FakeInstancetypeV1alpha2) VirtualMachineInstancetypes ¶
func (c *FakeInstancetypeV1alpha2) VirtualMachineInstancetypes(namespace string) v1alpha2.VirtualMachineInstancetypeInterface
func (*FakeInstancetypeV1alpha2) VirtualMachinePreferences ¶
func (c *FakeInstancetypeV1alpha2) VirtualMachinePreferences(namespace string) v1alpha2.VirtualMachinePreferenceInterface
type FakeVirtualMachineClusterInstancetypes ¶
type FakeVirtualMachineClusterInstancetypes struct {
Fake *FakeInstancetypeV1alpha2
}
FakeVirtualMachineClusterInstancetypes implements VirtualMachineClusterInstancetypeInterface
func (*FakeVirtualMachineClusterInstancetypes) Create ¶
func (c *FakeVirtualMachineClusterInstancetypes) Create(ctx context.Context, virtualMachineClusterInstancetype *v1alpha2.VirtualMachineClusterInstancetype, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
Create takes the representation of a virtualMachineClusterInstancetype and creates it. Returns the server's representation of the virtualMachineClusterInstancetype, and an error, if there is any.
func (*FakeVirtualMachineClusterInstancetypes) Delete ¶
func (c *FakeVirtualMachineClusterInstancetypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineClusterInstancetype and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineClusterInstancetypes) DeleteCollection ¶
func (c *FakeVirtualMachineClusterInstancetypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineClusterInstancetypes) Get ¶
func (c *FakeVirtualMachineClusterInstancetypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
Get takes name of the virtualMachineClusterInstancetype, and returns the corresponding virtualMachineClusterInstancetype object, and an error if there is any.
func (*FakeVirtualMachineClusterInstancetypes) List ¶
func (c *FakeVirtualMachineClusterInstancetypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineClusterInstancetypeList, err error)
List takes label and field selectors, and returns the list of VirtualMachineClusterInstancetypes that match those selectors.
func (*FakeVirtualMachineClusterInstancetypes) Patch ¶
func (c *FakeVirtualMachineClusterInstancetypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
Patch applies the patch and returns the patched virtualMachineClusterInstancetype.
func (*FakeVirtualMachineClusterInstancetypes) Update ¶
func (c *FakeVirtualMachineClusterInstancetypes) Update(ctx context.Context, virtualMachineClusterInstancetype *v1alpha2.VirtualMachineClusterInstancetype, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineClusterInstancetype, err error)
Update takes the representation of a virtualMachineClusterInstancetype and updates it. Returns the server's representation of the virtualMachineClusterInstancetype, and an error, if there is any.
func (*FakeVirtualMachineClusterInstancetypes) Watch ¶
func (c *FakeVirtualMachineClusterInstancetypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineClusterInstancetypes.
type FakeVirtualMachineClusterPreferences ¶
type FakeVirtualMachineClusterPreferences struct {
Fake *FakeInstancetypeV1alpha2
}
FakeVirtualMachineClusterPreferences implements VirtualMachineClusterPreferenceInterface
func (*FakeVirtualMachineClusterPreferences) Create ¶
func (c *FakeVirtualMachineClusterPreferences) Create(ctx context.Context, virtualMachineClusterPreference *v1alpha2.VirtualMachineClusterPreference, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineClusterPreference, err error)
Create takes the representation of a virtualMachineClusterPreference and creates it. Returns the server's representation of the virtualMachineClusterPreference, and an error, if there is any.
func (*FakeVirtualMachineClusterPreferences) Delete ¶
func (c *FakeVirtualMachineClusterPreferences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineClusterPreference and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineClusterPreferences) DeleteCollection ¶
func (c *FakeVirtualMachineClusterPreferences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineClusterPreferences) Get ¶
func (c *FakeVirtualMachineClusterPreferences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineClusterPreference, err error)
Get takes name of the virtualMachineClusterPreference, and returns the corresponding virtualMachineClusterPreference object, and an error if there is any.
func (*FakeVirtualMachineClusterPreferences) List ¶
func (c *FakeVirtualMachineClusterPreferences) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineClusterPreferenceList, err error)
List takes label and field selectors, and returns the list of VirtualMachineClusterPreferences that match those selectors.
func (*FakeVirtualMachineClusterPreferences) Patch ¶
func (c *FakeVirtualMachineClusterPreferences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineClusterPreference, err error)
Patch applies the patch and returns the patched virtualMachineClusterPreference.
func (*FakeVirtualMachineClusterPreferences) Update ¶
func (c *FakeVirtualMachineClusterPreferences) Update(ctx context.Context, virtualMachineClusterPreference *v1alpha2.VirtualMachineClusterPreference, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineClusterPreference, err error)
Update takes the representation of a virtualMachineClusterPreference and updates it. Returns the server's representation of the virtualMachineClusterPreference, and an error, if there is any.
func (*FakeVirtualMachineClusterPreferences) Watch ¶
func (c *FakeVirtualMachineClusterPreferences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineClusterPreferences.
type FakeVirtualMachineInstancetypes ¶
type FakeVirtualMachineInstancetypes struct { Fake *FakeInstancetypeV1alpha2 // contains filtered or unexported fields }
FakeVirtualMachineInstancetypes implements VirtualMachineInstancetypeInterface
func (*FakeVirtualMachineInstancetypes) Create ¶
func (c *FakeVirtualMachineInstancetypes) Create(ctx context.Context, virtualMachineInstancetype *v1alpha2.VirtualMachineInstancetype, opts v1.CreateOptions) (result *v1alpha2.VirtualMachineInstancetype, err error)
Create takes the representation of a virtualMachineInstancetype and creates it. Returns the server's representation of the virtualMachineInstancetype, and an error, if there is any.
func (*FakeVirtualMachineInstancetypes) Delete ¶
func (c *FakeVirtualMachineInstancetypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineInstancetype and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineInstancetypes) DeleteCollection ¶
func (c *FakeVirtualMachineInstancetypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineInstancetypes) Get ¶
func (c *FakeVirtualMachineInstancetypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachineInstancetype, err error)
Get takes name of the virtualMachineInstancetype, and returns the corresponding virtualMachineInstancetype object, and an error if there is any.
func (*FakeVirtualMachineInstancetypes) List ¶
func (c *FakeVirtualMachineInstancetypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachineInstancetypeList, err error)
List takes label and field selectors, and returns the list of VirtualMachineInstancetypes that match those selectors.
func (*FakeVirtualMachineInstancetypes) Patch ¶
func (c *FakeVirtualMachineInstancetypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachineInstancetype, err error)
Patch applies the patch and returns the patched virtualMachineInstancetype.
func (*FakeVirtualMachineInstancetypes) Update ¶
func (c *FakeVirtualMachineInstancetypes) Update(ctx context.Context, virtualMachineInstancetype *v1alpha2.VirtualMachineInstancetype, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachineInstancetype, err error)
Update takes the representation of a virtualMachineInstancetype and updates it. Returns the server's representation of the virtualMachineInstancetype, and an error, if there is any.
func (*FakeVirtualMachineInstancetypes) Watch ¶
func (c *FakeVirtualMachineInstancetypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineInstancetypes.
type FakeVirtualMachinePreferences ¶
type FakeVirtualMachinePreferences struct { Fake *FakeInstancetypeV1alpha2 // contains filtered or unexported fields }
FakeVirtualMachinePreferences implements VirtualMachinePreferenceInterface
func (*FakeVirtualMachinePreferences) Create ¶
func (c *FakeVirtualMachinePreferences) Create(ctx context.Context, virtualMachinePreference *v1alpha2.VirtualMachinePreference, opts v1.CreateOptions) (result *v1alpha2.VirtualMachinePreference, err error)
Create takes the representation of a virtualMachinePreference and creates it. Returns the server's representation of the virtualMachinePreference, and an error, if there is any.
func (*FakeVirtualMachinePreferences) Delete ¶
func (c *FakeVirtualMachinePreferences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachinePreference and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachinePreferences) DeleteCollection ¶
func (c *FakeVirtualMachinePreferences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachinePreferences) Get ¶
func (c *FakeVirtualMachinePreferences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.VirtualMachinePreference, err error)
Get takes name of the virtualMachinePreference, and returns the corresponding virtualMachinePreference object, and an error if there is any.
func (*FakeVirtualMachinePreferences) List ¶
func (c *FakeVirtualMachinePreferences) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.VirtualMachinePreferenceList, err error)
List takes label and field selectors, and returns the list of VirtualMachinePreferences that match those selectors.
func (*FakeVirtualMachinePreferences) Patch ¶
func (c *FakeVirtualMachinePreferences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.VirtualMachinePreference, err error)
Patch applies the patch and returns the patched virtualMachinePreference.
func (*FakeVirtualMachinePreferences) Update ¶
func (c *FakeVirtualMachinePreferences) Update(ctx context.Context, virtualMachinePreference *v1alpha2.VirtualMachinePreference, opts v1.UpdateOptions) (result *v1alpha2.VirtualMachinePreference, err error)
Update takes the representation of a virtualMachinePreference and updates it. Returns the server's representation of the virtualMachinePreference, and an error, if there is any.
func (*FakeVirtualMachinePreferences) Watch ¶
func (c *FakeVirtualMachinePreferences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachinePreferences.