Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeContainerRuntimeConfigs
- func (c *FakeContainerRuntimeConfigs) Apply(ctx context.Context, ...) (result *v1.ContainerRuntimeConfig, err error)
- func (c *FakeContainerRuntimeConfigs) ApplyStatus(ctx context.Context, ...) (result *v1.ContainerRuntimeConfig, err error)
- func (c *FakeContainerRuntimeConfigs) Create(ctx context.Context, containerRuntimeConfig *v1.ContainerRuntimeConfig, ...) (result *v1.ContainerRuntimeConfig, err error)
- func (c *FakeContainerRuntimeConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeContainerRuntimeConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeContainerRuntimeConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ContainerRuntimeConfig, err error)
- func (c *FakeContainerRuntimeConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ContainerRuntimeConfigList, err error)
- func (c *FakeContainerRuntimeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ContainerRuntimeConfig, err error)
- func (c *FakeContainerRuntimeConfigs) Update(ctx context.Context, containerRuntimeConfig *v1.ContainerRuntimeConfig, ...) (result *v1.ContainerRuntimeConfig, err error)
- func (c *FakeContainerRuntimeConfigs) UpdateStatus(ctx context.Context, containerRuntimeConfig *v1.ContainerRuntimeConfig, ...) (*v1.ContainerRuntimeConfig, error)
- func (c *FakeContainerRuntimeConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeControllerConfigs
- func (c *FakeControllerConfigs) Apply(ctx context.Context, ...) (result *v1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) ApplyStatus(ctx context.Context, ...) (result *v1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) Create(ctx context.Context, controllerConfig *v1.ControllerConfig, ...) (result *v1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeControllerConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeControllerConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ControllerConfigList, err error)
- func (c *FakeControllerConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) Update(ctx context.Context, controllerConfig *v1.ControllerConfig, ...) (result *v1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) UpdateStatus(ctx context.Context, controllerConfig *v1.ControllerConfig, ...) (*v1.ControllerConfig, error)
- func (c *FakeControllerConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeKubeletConfigs
- func (c *FakeKubeletConfigs) Apply(ctx context.Context, ...) (result *v1.KubeletConfig, err error)
- func (c *FakeKubeletConfigs) ApplyStatus(ctx context.Context, ...) (result *v1.KubeletConfig, err error)
- func (c *FakeKubeletConfigs) Create(ctx context.Context, kubeletConfig *v1.KubeletConfig, ...) (result *v1.KubeletConfig, err error)
- func (c *FakeKubeletConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeKubeletConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeKubeletConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.KubeletConfig, err error)
- func (c *FakeKubeletConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.KubeletConfigList, err error)
- func (c *FakeKubeletConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.KubeletConfig, err error)
- func (c *FakeKubeletConfigs) Update(ctx context.Context, kubeletConfig *v1.KubeletConfig, ...) (result *v1.KubeletConfig, err error)
- func (c *FakeKubeletConfigs) UpdateStatus(ctx context.Context, kubeletConfig *v1.KubeletConfig, ...) (*v1.KubeletConfig, error)
- func (c *FakeKubeletConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeMachineConfigPools
- func (c *FakeMachineConfigPools) Apply(ctx context.Context, ...) (result *v1.MachineConfigPool, err error)
- func (c *FakeMachineConfigPools) ApplyStatus(ctx context.Context, ...) (result *v1.MachineConfigPool, err error)
- func (c *FakeMachineConfigPools) Create(ctx context.Context, machineConfigPool *v1.MachineConfigPool, ...) (result *v1.MachineConfigPool, err error)
- func (c *FakeMachineConfigPools) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeMachineConfigPools) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeMachineConfigPools) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MachineConfigPool, err error)
- func (c *FakeMachineConfigPools) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MachineConfigPoolList, err error)
- func (c *FakeMachineConfigPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.MachineConfigPool, err error)
- func (c *FakeMachineConfigPools) Update(ctx context.Context, machineConfigPool *v1.MachineConfigPool, ...) (result *v1.MachineConfigPool, err error)
- func (c *FakeMachineConfigPools) UpdateStatus(ctx context.Context, machineConfigPool *v1.MachineConfigPool, ...) (*v1.MachineConfigPool, error)
- func (c *FakeMachineConfigPools) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeMachineConfigs
- func (c *FakeMachineConfigs) Apply(ctx context.Context, ...) (result *v1.MachineConfig, err error)
- func (c *FakeMachineConfigs) Create(ctx context.Context, machineConfig *v1.MachineConfig, ...) (result *v1.MachineConfig, err error)
- func (c *FakeMachineConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeMachineConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeMachineConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MachineConfig, err error)
- func (c *FakeMachineConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MachineConfigList, err error)
- func (c *FakeMachineConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.MachineConfig, err error)
- func (c *FakeMachineConfigs) Update(ctx context.Context, machineConfig *v1.MachineConfig, ...) (result *v1.MachineConfig, err error)
- func (c *FakeMachineConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeMachineconfigurationV1
- func (c *FakeMachineconfigurationV1) ContainerRuntimeConfigs() v1.ContainerRuntimeConfigInterface
- func (c *FakeMachineconfigurationV1) ControllerConfigs() v1.ControllerConfigInterface
- func (c *FakeMachineconfigurationV1) KubeletConfigs() v1.KubeletConfigInterface
- func (c *FakeMachineconfigurationV1) MachineConfigPools() v1.MachineConfigPoolInterface
- func (c *FakeMachineconfigurationV1) MachineConfigs() v1.MachineConfigInterface
- func (c *FakeMachineconfigurationV1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeContainerRuntimeConfigs ¶
type FakeContainerRuntimeConfigs struct {
Fake *FakeMachineconfigurationV1
}
FakeContainerRuntimeConfigs implements ContainerRuntimeConfigInterface
func (*FakeContainerRuntimeConfigs) Apply ¶
func (c *FakeContainerRuntimeConfigs) Apply(ctx context.Context, containerRuntimeConfig *machineconfigurationv1.ContainerRuntimeConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ContainerRuntimeConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied containerRuntimeConfig.
func (*FakeContainerRuntimeConfigs) ApplyStatus ¶
func (c *FakeContainerRuntimeConfigs) ApplyStatus(ctx context.Context, containerRuntimeConfig *machineconfigurationv1.ContainerRuntimeConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ContainerRuntimeConfig, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeContainerRuntimeConfigs) Create ¶
func (c *FakeContainerRuntimeConfigs) Create(ctx context.Context, containerRuntimeConfig *v1.ContainerRuntimeConfig, opts metav1.CreateOptions) (result *v1.ContainerRuntimeConfig, err error)
Create takes the representation of a containerRuntimeConfig and creates it. Returns the server's representation of the containerRuntimeConfig, and an error, if there is any.
func (*FakeContainerRuntimeConfigs) Delete ¶
func (c *FakeContainerRuntimeConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the containerRuntimeConfig and deletes it. Returns an error if one occurs.
func (*FakeContainerRuntimeConfigs) DeleteCollection ¶
func (c *FakeContainerRuntimeConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerRuntimeConfigs) Get ¶
func (c *FakeContainerRuntimeConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ContainerRuntimeConfig, err error)
Get takes name of the containerRuntimeConfig, and returns the corresponding containerRuntimeConfig object, and an error if there is any.
func (*FakeContainerRuntimeConfigs) List ¶
func (c *FakeContainerRuntimeConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ContainerRuntimeConfigList, err error)
List takes label and field selectors, and returns the list of ContainerRuntimeConfigs that match those selectors.
func (*FakeContainerRuntimeConfigs) Patch ¶
func (c *FakeContainerRuntimeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ContainerRuntimeConfig, err error)
Patch applies the patch and returns the patched containerRuntimeConfig.
func (*FakeContainerRuntimeConfigs) Update ¶
func (c *FakeContainerRuntimeConfigs) Update(ctx context.Context, containerRuntimeConfig *v1.ContainerRuntimeConfig, opts metav1.UpdateOptions) (result *v1.ContainerRuntimeConfig, err error)
Update takes the representation of a containerRuntimeConfig and updates it. Returns the server's representation of the containerRuntimeConfig, and an error, if there is any.
func (*FakeContainerRuntimeConfigs) UpdateStatus ¶
func (c *FakeContainerRuntimeConfigs) UpdateStatus(ctx context.Context, containerRuntimeConfig *v1.ContainerRuntimeConfig, opts metav1.UpdateOptions) (*v1.ContainerRuntimeConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerRuntimeConfigs) Watch ¶
func (c *FakeContainerRuntimeConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerRuntimeConfigs.
type FakeControllerConfigs ¶
type FakeControllerConfigs struct {
Fake *FakeMachineconfigurationV1
}
FakeControllerConfigs implements ControllerConfigInterface
func (*FakeControllerConfigs) Apply ¶
func (c *FakeControllerConfigs) Apply(ctx context.Context, controllerConfig *machineconfigurationv1.ControllerConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ControllerConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied controllerConfig.
func (*FakeControllerConfigs) ApplyStatus ¶
func (c *FakeControllerConfigs) ApplyStatus(ctx context.Context, controllerConfig *machineconfigurationv1.ControllerConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ControllerConfig, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeControllerConfigs) Create ¶
func (c *FakeControllerConfigs) Create(ctx context.Context, controllerConfig *v1.ControllerConfig, opts metav1.CreateOptions) (result *v1.ControllerConfig, err error)
Create takes the representation of a controllerConfig and creates it. Returns the server's representation of the controllerConfig, and an error, if there is any.
func (*FakeControllerConfigs) Delete ¶
func (c *FakeControllerConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the controllerConfig and deletes it. Returns an error if one occurs.
func (*FakeControllerConfigs) DeleteCollection ¶
func (c *FakeControllerConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControllerConfigs) Get ¶
func (c *FakeControllerConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ControllerConfig, err error)
Get takes name of the controllerConfig, and returns the corresponding controllerConfig object, and an error if there is any.
func (*FakeControllerConfigs) List ¶
func (c *FakeControllerConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ControllerConfigList, err error)
List takes label and field selectors, and returns the list of ControllerConfigs that match those selectors.
func (*FakeControllerConfigs) Patch ¶
func (c *FakeControllerConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ControllerConfig, err error)
Patch applies the patch and returns the patched controllerConfig.
func (*FakeControllerConfigs) Update ¶
func (c *FakeControllerConfigs) Update(ctx context.Context, controllerConfig *v1.ControllerConfig, opts metav1.UpdateOptions) (result *v1.ControllerConfig, err error)
Update takes the representation of a controllerConfig and updates it. Returns the server's representation of the controllerConfig, and an error, if there is any.
func (*FakeControllerConfigs) UpdateStatus ¶
func (c *FakeControllerConfigs) UpdateStatus(ctx context.Context, controllerConfig *v1.ControllerConfig, opts metav1.UpdateOptions) (*v1.ControllerConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeControllerConfigs) Watch ¶
func (c *FakeControllerConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controllerConfigs.
type FakeKubeletConfigs ¶
type FakeKubeletConfigs struct {
Fake *FakeMachineconfigurationV1
}
FakeKubeletConfigs implements KubeletConfigInterface
func (*FakeKubeletConfigs) Apply ¶
func (c *FakeKubeletConfigs) Apply(ctx context.Context, kubeletConfig *machineconfigurationv1.KubeletConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.KubeletConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied kubeletConfig.
func (*FakeKubeletConfigs) ApplyStatus ¶
func (c *FakeKubeletConfigs) ApplyStatus(ctx context.Context, kubeletConfig *machineconfigurationv1.KubeletConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.KubeletConfig, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeKubeletConfigs) Create ¶
func (c *FakeKubeletConfigs) Create(ctx context.Context, kubeletConfig *v1.KubeletConfig, opts metav1.CreateOptions) (result *v1.KubeletConfig, err error)
Create takes the representation of a kubeletConfig and creates it. Returns the server's representation of the kubeletConfig, and an error, if there is any.
func (*FakeKubeletConfigs) Delete ¶
func (c *FakeKubeletConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the kubeletConfig and deletes it. Returns an error if one occurs.
func (*FakeKubeletConfigs) DeleteCollection ¶
func (c *FakeKubeletConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKubeletConfigs) Get ¶
func (c *FakeKubeletConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.KubeletConfig, err error)
Get takes name of the kubeletConfig, and returns the corresponding kubeletConfig object, and an error if there is any.
func (*FakeKubeletConfigs) List ¶
func (c *FakeKubeletConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.KubeletConfigList, err error)
List takes label and field selectors, and returns the list of KubeletConfigs that match those selectors.
func (*FakeKubeletConfigs) Patch ¶
func (c *FakeKubeletConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.KubeletConfig, err error)
Patch applies the patch and returns the patched kubeletConfig.
func (*FakeKubeletConfigs) Update ¶
func (c *FakeKubeletConfigs) Update(ctx context.Context, kubeletConfig *v1.KubeletConfig, opts metav1.UpdateOptions) (result *v1.KubeletConfig, err error)
Update takes the representation of a kubeletConfig and updates it. Returns the server's representation of the kubeletConfig, and an error, if there is any.
func (*FakeKubeletConfigs) UpdateStatus ¶
func (c *FakeKubeletConfigs) UpdateStatus(ctx context.Context, kubeletConfig *v1.KubeletConfig, opts metav1.UpdateOptions) (*v1.KubeletConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKubeletConfigs) Watch ¶
func (c *FakeKubeletConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kubeletConfigs.
type FakeMachineConfigPools ¶
type FakeMachineConfigPools struct {
Fake *FakeMachineconfigurationV1
}
FakeMachineConfigPools implements MachineConfigPoolInterface
func (*FakeMachineConfigPools) Apply ¶
func (c *FakeMachineConfigPools) Apply(ctx context.Context, machineConfigPool *machineconfigurationv1.MachineConfigPoolApplyConfiguration, opts metav1.ApplyOptions) (result *v1.MachineConfigPool, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied machineConfigPool.
func (*FakeMachineConfigPools) ApplyStatus ¶
func (c *FakeMachineConfigPools) ApplyStatus(ctx context.Context, machineConfigPool *machineconfigurationv1.MachineConfigPoolApplyConfiguration, opts metav1.ApplyOptions) (result *v1.MachineConfigPool, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeMachineConfigPools) Create ¶
func (c *FakeMachineConfigPools) Create(ctx context.Context, machineConfigPool *v1.MachineConfigPool, opts metav1.CreateOptions) (result *v1.MachineConfigPool, err error)
Create takes the representation of a machineConfigPool and creates it. Returns the server's representation of the machineConfigPool, and an error, if there is any.
func (*FakeMachineConfigPools) Delete ¶
func (c *FakeMachineConfigPools) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the machineConfigPool and deletes it. Returns an error if one occurs.
func (*FakeMachineConfigPools) DeleteCollection ¶
func (c *FakeMachineConfigPools) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineConfigPools) Get ¶
func (c *FakeMachineConfigPools) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MachineConfigPool, err error)
Get takes name of the machineConfigPool, and returns the corresponding machineConfigPool object, and an error if there is any.
func (*FakeMachineConfigPools) List ¶
func (c *FakeMachineConfigPools) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MachineConfigPoolList, err error)
List takes label and field selectors, and returns the list of MachineConfigPools that match those selectors.
func (*FakeMachineConfigPools) Patch ¶
func (c *FakeMachineConfigPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MachineConfigPool, err error)
Patch applies the patch and returns the patched machineConfigPool.
func (*FakeMachineConfigPools) Update ¶
func (c *FakeMachineConfigPools) Update(ctx context.Context, machineConfigPool *v1.MachineConfigPool, opts metav1.UpdateOptions) (result *v1.MachineConfigPool, err error)
Update takes the representation of a machineConfigPool and updates it. Returns the server's representation of the machineConfigPool, and an error, if there is any.
func (*FakeMachineConfigPools) UpdateStatus ¶
func (c *FakeMachineConfigPools) UpdateStatus(ctx context.Context, machineConfigPool *v1.MachineConfigPool, opts metav1.UpdateOptions) (*v1.MachineConfigPool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMachineConfigPools) Watch ¶
func (c *FakeMachineConfigPools) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineConfigPools.
type FakeMachineConfigs ¶
type FakeMachineConfigs struct {
Fake *FakeMachineconfigurationV1
}
FakeMachineConfigs implements MachineConfigInterface
func (*FakeMachineConfigs) Apply ¶
func (c *FakeMachineConfigs) Apply(ctx context.Context, machineConfig *machineconfigurationv1.MachineConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.MachineConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied machineConfig.
func (*FakeMachineConfigs) Create ¶
func (c *FakeMachineConfigs) Create(ctx context.Context, machineConfig *v1.MachineConfig, opts metav1.CreateOptions) (result *v1.MachineConfig, err error)
Create takes the representation of a machineConfig and creates it. Returns the server's representation of the machineConfig, and an error, if there is any.
func (*FakeMachineConfigs) Delete ¶
func (c *FakeMachineConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the machineConfig and deletes it. Returns an error if one occurs.
func (*FakeMachineConfigs) DeleteCollection ¶
func (c *FakeMachineConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineConfigs) Get ¶
func (c *FakeMachineConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MachineConfig, err error)
Get takes name of the machineConfig, and returns the corresponding machineConfig object, and an error if there is any.
func (*FakeMachineConfigs) List ¶
func (c *FakeMachineConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MachineConfigList, err error)
List takes label and field selectors, and returns the list of MachineConfigs that match those selectors.
func (*FakeMachineConfigs) Patch ¶
func (c *FakeMachineConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MachineConfig, err error)
Patch applies the patch and returns the patched machineConfig.
func (*FakeMachineConfigs) Update ¶
func (c *FakeMachineConfigs) Update(ctx context.Context, machineConfig *v1.MachineConfig, opts metav1.UpdateOptions) (result *v1.MachineConfig, err error)
Update takes the representation of a machineConfig and updates it. Returns the server's representation of the machineConfig, and an error, if there is any.
func (*FakeMachineConfigs) Watch ¶
func (c *FakeMachineConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineConfigs.
type FakeMachineconfigurationV1 ¶
func (*FakeMachineconfigurationV1) ContainerRuntimeConfigs ¶
func (c *FakeMachineconfigurationV1) ContainerRuntimeConfigs() v1.ContainerRuntimeConfigInterface
func (*FakeMachineconfigurationV1) ControllerConfigs ¶
func (c *FakeMachineconfigurationV1) ControllerConfigs() v1.ControllerConfigInterface
func (*FakeMachineconfigurationV1) KubeletConfigs ¶
func (c *FakeMachineconfigurationV1) KubeletConfigs() v1.KubeletConfigInterface
func (*FakeMachineconfigurationV1) MachineConfigPools ¶
func (c *FakeMachineconfigurationV1) MachineConfigPools() v1.MachineConfigPoolInterface
func (*FakeMachineconfigurationV1) MachineConfigs ¶
func (c *FakeMachineconfigurationV1) MachineConfigs() v1.MachineConfigInterface
func (*FakeMachineconfigurationV1) RESTClient ¶
func (c *FakeMachineconfigurationV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.