Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddOnDeploymentConfigs
- func (c *FakeAddOnDeploymentConfigs) Create(ctx context.Context, addOnDeploymentConfig *v1alpha1.AddOnDeploymentConfig, ...) (result *v1alpha1.AddOnDeploymentConfig, err error)
- func (c *FakeAddOnDeploymentConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAddOnDeploymentConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAddOnDeploymentConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddOnDeploymentConfig, err error)
- func (c *FakeAddOnDeploymentConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddOnDeploymentConfigList, err error)
- func (c *FakeAddOnDeploymentConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AddOnDeploymentConfig, err error)
- func (c *FakeAddOnDeploymentConfigs) Update(ctx context.Context, addOnDeploymentConfig *v1alpha1.AddOnDeploymentConfig, ...) (result *v1alpha1.AddOnDeploymentConfig, err error)
- func (c *FakeAddOnDeploymentConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAddOnTemplates
- func (c *FakeAddOnTemplates) Create(ctx context.Context, addOnTemplate *v1alpha1.AddOnTemplate, ...) (result *v1alpha1.AddOnTemplate, err error)
- func (c *FakeAddOnTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAddOnTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAddOnTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddOnTemplate, err error)
- func (c *FakeAddOnTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddOnTemplateList, err error)
- func (c *FakeAddOnTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AddOnTemplate, err error)
- func (c *FakeAddOnTemplates) Update(ctx context.Context, addOnTemplate *v1alpha1.AddOnTemplate, ...) (result *v1alpha1.AddOnTemplate, err error)
- func (c *FakeAddOnTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAddonV1alpha1
- func (c *FakeAddonV1alpha1) AddOnDeploymentConfigs(namespace string) v1alpha1.AddOnDeploymentConfigInterface
- func (c *FakeAddonV1alpha1) AddOnTemplates() v1alpha1.AddOnTemplateInterface
- func (c *FakeAddonV1alpha1) ClusterManagementAddOns() v1alpha1.ClusterManagementAddOnInterface
- func (c *FakeAddonV1alpha1) ManagedClusterAddOns(namespace string) v1alpha1.ManagedClusterAddOnInterface
- func (c *FakeAddonV1alpha1) RESTClient() rest.Interface
- type FakeClusterManagementAddOns
- func (c *FakeClusterManagementAddOns) Create(ctx context.Context, clusterManagementAddOn *v1alpha1.ClusterManagementAddOn, ...) (result *v1alpha1.ClusterManagementAddOn, err error)
- func (c *FakeClusterManagementAddOns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterManagementAddOns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterManagementAddOns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterManagementAddOn, err error)
- func (c *FakeClusterManagementAddOns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterManagementAddOnList, err error)
- func (c *FakeClusterManagementAddOns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterManagementAddOn, err error)
- func (c *FakeClusterManagementAddOns) Update(ctx context.Context, clusterManagementAddOn *v1alpha1.ClusterManagementAddOn, ...) (result *v1alpha1.ClusterManagementAddOn, err error)
- func (c *FakeClusterManagementAddOns) UpdateStatus(ctx context.Context, clusterManagementAddOn *v1alpha1.ClusterManagementAddOn, ...) (*v1alpha1.ClusterManagementAddOn, error)
- func (c *FakeClusterManagementAddOns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeManagedClusterAddOns
- func (c *FakeManagedClusterAddOns) Create(ctx context.Context, managedClusterAddOn *v1alpha1.ManagedClusterAddOn, ...) (result *v1alpha1.ManagedClusterAddOn, err error)
- func (c *FakeManagedClusterAddOns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeManagedClusterAddOns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeManagedClusterAddOns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagedClusterAddOn, err error)
- func (c *FakeManagedClusterAddOns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagedClusterAddOnList, err error)
- func (c *FakeManagedClusterAddOns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ManagedClusterAddOn, err error)
- func (c *FakeManagedClusterAddOns) Update(ctx context.Context, managedClusterAddOn *v1alpha1.ManagedClusterAddOn, ...) (result *v1alpha1.ManagedClusterAddOn, err error)
- func (c *FakeManagedClusterAddOns) UpdateStatus(ctx context.Context, managedClusterAddOn *v1alpha1.ManagedClusterAddOn, ...) (*v1alpha1.ManagedClusterAddOn, error)
- func (c *FakeManagedClusterAddOns) 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 FakeAddOnDeploymentConfigs ¶ added in v0.9.0
type FakeAddOnDeploymentConfigs struct { Fake *FakeAddonV1alpha1 // contains filtered or unexported fields }
FakeAddOnDeploymentConfigs implements AddOnDeploymentConfigInterface
func (*FakeAddOnDeploymentConfigs) Create ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) Create(ctx context.Context, addOnDeploymentConfig *v1alpha1.AddOnDeploymentConfig, opts v1.CreateOptions) (result *v1alpha1.AddOnDeploymentConfig, err error)
Create takes the representation of a addOnDeploymentConfig and creates it. Returns the server's representation of the addOnDeploymentConfig, and an error, if there is any.
func (*FakeAddOnDeploymentConfigs) Delete ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the addOnDeploymentConfig and deletes it. Returns an error if one occurs.
func (*FakeAddOnDeploymentConfigs) DeleteCollection ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddOnDeploymentConfigs) Get ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddOnDeploymentConfig, err error)
Get takes name of the addOnDeploymentConfig, and returns the corresponding addOnDeploymentConfig object, and an error if there is any.
func (*FakeAddOnDeploymentConfigs) List ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddOnDeploymentConfigList, err error)
List takes label and field selectors, and returns the list of AddOnDeploymentConfigs that match those selectors.
func (*FakeAddOnDeploymentConfigs) Patch ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AddOnDeploymentConfig, err error)
Patch applies the patch and returns the patched addOnDeploymentConfig.
func (*FakeAddOnDeploymentConfigs) Update ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) Update(ctx context.Context, addOnDeploymentConfig *v1alpha1.AddOnDeploymentConfig, opts v1.UpdateOptions) (result *v1alpha1.AddOnDeploymentConfig, err error)
Update takes the representation of a addOnDeploymentConfig and updates it. Returns the server's representation of the addOnDeploymentConfig, and an error, if there is any.
func (*FakeAddOnDeploymentConfigs) Watch ¶ added in v0.9.0
func (c *FakeAddOnDeploymentConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addOnDeploymentConfigs.
type FakeAddOnTemplates ¶ added in v0.12.0
type FakeAddOnTemplates struct {
Fake *FakeAddonV1alpha1
}
FakeAddOnTemplates implements AddOnTemplateInterface
func (*FakeAddOnTemplates) Create ¶ added in v0.12.0
func (c *FakeAddOnTemplates) Create(ctx context.Context, addOnTemplate *v1alpha1.AddOnTemplate, opts v1.CreateOptions) (result *v1alpha1.AddOnTemplate, err error)
Create takes the representation of a addOnTemplate and creates it. Returns the server's representation of the addOnTemplate, and an error, if there is any.
func (*FakeAddOnTemplates) Delete ¶ added in v0.12.0
func (c *FakeAddOnTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the addOnTemplate and deletes it. Returns an error if one occurs.
func (*FakeAddOnTemplates) DeleteCollection ¶ added in v0.12.0
func (c *FakeAddOnTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddOnTemplates) Get ¶ added in v0.12.0
func (c *FakeAddOnTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddOnTemplate, err error)
Get takes name of the addOnTemplate, and returns the corresponding addOnTemplate object, and an error if there is any.
func (*FakeAddOnTemplates) List ¶ added in v0.12.0
func (c *FakeAddOnTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddOnTemplateList, err error)
List takes label and field selectors, and returns the list of AddOnTemplates that match those selectors.
func (*FakeAddOnTemplates) Patch ¶ added in v0.12.0
func (c *FakeAddOnTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AddOnTemplate, err error)
Patch applies the patch and returns the patched addOnTemplate.
func (*FakeAddOnTemplates) Update ¶ added in v0.12.0
func (c *FakeAddOnTemplates) Update(ctx context.Context, addOnTemplate *v1alpha1.AddOnTemplate, opts v1.UpdateOptions) (result *v1alpha1.AddOnTemplate, err error)
Update takes the representation of a addOnTemplate and updates it. Returns the server's representation of the addOnTemplate, and an error, if there is any.
func (*FakeAddOnTemplates) Watch ¶ added in v0.12.0
func (c *FakeAddOnTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addOnTemplates.
type FakeAddonV1alpha1 ¶
func (*FakeAddonV1alpha1) AddOnDeploymentConfigs ¶ added in v0.9.0
func (c *FakeAddonV1alpha1) AddOnDeploymentConfigs(namespace string) v1alpha1.AddOnDeploymentConfigInterface
func (*FakeAddonV1alpha1) AddOnTemplates ¶ added in v0.12.0
func (c *FakeAddonV1alpha1) AddOnTemplates() v1alpha1.AddOnTemplateInterface
func (*FakeAddonV1alpha1) ClusterManagementAddOns ¶
func (c *FakeAddonV1alpha1) ClusterManagementAddOns() v1alpha1.ClusterManagementAddOnInterface
func (*FakeAddonV1alpha1) ManagedClusterAddOns ¶
func (c *FakeAddonV1alpha1) ManagedClusterAddOns(namespace string) v1alpha1.ManagedClusterAddOnInterface
func (*FakeAddonV1alpha1) RESTClient ¶
func (c *FakeAddonV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeClusterManagementAddOns ¶
type FakeClusterManagementAddOns struct {
Fake *FakeAddonV1alpha1
}
FakeClusterManagementAddOns implements ClusterManagementAddOnInterface
func (*FakeClusterManagementAddOns) Create ¶
func (c *FakeClusterManagementAddOns) Create(ctx context.Context, clusterManagementAddOn *v1alpha1.ClusterManagementAddOn, opts v1.CreateOptions) (result *v1alpha1.ClusterManagementAddOn, err error)
Create takes the representation of a clusterManagementAddOn and creates it. Returns the server's representation of the clusterManagementAddOn, and an error, if there is any.
func (*FakeClusterManagementAddOns) Delete ¶
func (c *FakeClusterManagementAddOns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterManagementAddOn and deletes it. Returns an error if one occurs.
func (*FakeClusterManagementAddOns) DeleteCollection ¶
func (c *FakeClusterManagementAddOns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterManagementAddOns) Get ¶
func (c *FakeClusterManagementAddOns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterManagementAddOn, err error)
Get takes name of the clusterManagementAddOn, and returns the corresponding clusterManagementAddOn object, and an error if there is any.
func (*FakeClusterManagementAddOns) List ¶
func (c *FakeClusterManagementAddOns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterManagementAddOnList, err error)
List takes label and field selectors, and returns the list of ClusterManagementAddOns that match those selectors.
func (*FakeClusterManagementAddOns) Patch ¶
func (c *FakeClusterManagementAddOns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterManagementAddOn, err error)
Patch applies the patch and returns the patched clusterManagementAddOn.
func (*FakeClusterManagementAddOns) Update ¶
func (c *FakeClusterManagementAddOns) Update(ctx context.Context, clusterManagementAddOn *v1alpha1.ClusterManagementAddOn, opts v1.UpdateOptions) (result *v1alpha1.ClusterManagementAddOn, err error)
Update takes the representation of a clusterManagementAddOn and updates it. Returns the server's representation of the clusterManagementAddOn, and an error, if there is any.
func (*FakeClusterManagementAddOns) UpdateStatus ¶
func (c *FakeClusterManagementAddOns) UpdateStatus(ctx context.Context, clusterManagementAddOn *v1alpha1.ClusterManagementAddOn, opts v1.UpdateOptions) (*v1alpha1.ClusterManagementAddOn, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterManagementAddOns) Watch ¶
func (c *FakeClusterManagementAddOns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterManagementAddOns.
type FakeManagedClusterAddOns ¶
type FakeManagedClusterAddOns struct { Fake *FakeAddonV1alpha1 // contains filtered or unexported fields }
FakeManagedClusterAddOns implements ManagedClusterAddOnInterface
func (*FakeManagedClusterAddOns) Create ¶
func (c *FakeManagedClusterAddOns) Create(ctx context.Context, managedClusterAddOn *v1alpha1.ManagedClusterAddOn, opts v1.CreateOptions) (result *v1alpha1.ManagedClusterAddOn, err error)
Create takes the representation of a managedClusterAddOn and creates it. Returns the server's representation of the managedClusterAddOn, and an error, if there is any.
func (*FakeManagedClusterAddOns) Delete ¶
func (c *FakeManagedClusterAddOns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the managedClusterAddOn and deletes it. Returns an error if one occurs.
func (*FakeManagedClusterAddOns) DeleteCollection ¶
func (c *FakeManagedClusterAddOns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeManagedClusterAddOns) Get ¶
func (c *FakeManagedClusterAddOns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagedClusterAddOn, err error)
Get takes name of the managedClusterAddOn, and returns the corresponding managedClusterAddOn object, and an error if there is any.
func (*FakeManagedClusterAddOns) List ¶
func (c *FakeManagedClusterAddOns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagedClusterAddOnList, err error)
List takes label and field selectors, and returns the list of ManagedClusterAddOns that match those selectors.
func (*FakeManagedClusterAddOns) Patch ¶
func (c *FakeManagedClusterAddOns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ManagedClusterAddOn, err error)
Patch applies the patch and returns the patched managedClusterAddOn.
func (*FakeManagedClusterAddOns) Update ¶
func (c *FakeManagedClusterAddOns) Update(ctx context.Context, managedClusterAddOn *v1alpha1.ManagedClusterAddOn, opts v1.UpdateOptions) (result *v1alpha1.ManagedClusterAddOn, err error)
Update takes the representation of a managedClusterAddOn and updates it. Returns the server's representation of the managedClusterAddOn, and an error, if there is any.
func (*FakeManagedClusterAddOns) UpdateStatus ¶
func (c *FakeManagedClusterAddOns) UpdateStatus(ctx context.Context, managedClusterAddOn *v1alpha1.ManagedClusterAddOn, opts v1.UpdateOptions) (*v1alpha1.ManagedClusterAddOn, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeManagedClusterAddOns) Watch ¶
func (c *FakeManagedClusterAddOns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested managedClusterAddOns.