Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddonsConfigurations
- func (c *FakeAddonsConfigurations) Create(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, ...) (result *v1alpha1.AddonsConfiguration, err error)
- func (c *FakeAddonsConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAddonsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAddonsConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddonsConfiguration, err error)
- func (c *FakeAddonsConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddonsConfigurationList, err error)
- func (c *FakeAddonsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AddonsConfiguration, err error)
- func (c *FakeAddonsConfigurations) Update(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, ...) (result *v1alpha1.AddonsConfiguration, err error)
- func (c *FakeAddonsConfigurations) UpdateStatus(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, ...) (*v1alpha1.AddonsConfiguration, error)
- func (c *FakeAddonsConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAddonsV1alpha1
- type FakeClusterAddonsConfigurations
- func (c *FakeClusterAddonsConfigurations) Create(ctx context.Context, ...) (result *v1alpha1.ClusterAddonsConfiguration, err error)
- func (c *FakeClusterAddonsConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterAddonsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterAddonsConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterAddonsConfiguration, err error)
- func (c *FakeClusterAddonsConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterAddonsConfigurationList, err error)
- func (c *FakeClusterAddonsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterAddonsConfiguration, err error)
- func (c *FakeClusterAddonsConfigurations) Update(ctx context.Context, ...) (result *v1alpha1.ClusterAddonsConfiguration, err error)
- func (c *FakeClusterAddonsConfigurations) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ClusterAddonsConfiguration, error)
- func (c *FakeClusterAddonsConfigurations) 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 FakeAddonsConfigurations ¶
type FakeAddonsConfigurations struct { Fake *FakeAddonsV1alpha1 // contains filtered or unexported fields }
FakeAddonsConfigurations implements AddonsConfigurationInterface
func (*FakeAddonsConfigurations) Create ¶
func (c *FakeAddonsConfigurations) Create(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, opts v1.CreateOptions) (result *v1alpha1.AddonsConfiguration, err error)
Create takes the representation of a addonsConfiguration and creates it. Returns the server's representation of the addonsConfiguration, and an error, if there is any.
func (*FakeAddonsConfigurations) Delete ¶
func (c *FakeAddonsConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the addonsConfiguration and deletes it. Returns an error if one occurs.
func (*FakeAddonsConfigurations) DeleteCollection ¶
func (c *FakeAddonsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddonsConfigurations) Get ¶
func (c *FakeAddonsConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddonsConfiguration, err error)
Get takes name of the addonsConfiguration, and returns the corresponding addonsConfiguration object, and an error if there is any.
func (*FakeAddonsConfigurations) List ¶
func (c *FakeAddonsConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddonsConfigurationList, err error)
List takes label and field selectors, and returns the list of AddonsConfigurations that match those selectors.
func (*FakeAddonsConfigurations) Patch ¶
func (c *FakeAddonsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AddonsConfiguration, err error)
Patch applies the patch and returns the patched addonsConfiguration.
func (*FakeAddonsConfigurations) Update ¶
func (c *FakeAddonsConfigurations) Update(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, opts v1.UpdateOptions) (result *v1alpha1.AddonsConfiguration, err error)
Update takes the representation of a addonsConfiguration and updates it. Returns the server's representation of the addonsConfiguration, and an error, if there is any.
func (*FakeAddonsConfigurations) UpdateStatus ¶
func (c *FakeAddonsConfigurations) UpdateStatus(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, opts v1.UpdateOptions) (*v1alpha1.AddonsConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAddonsConfigurations) Watch ¶
func (c *FakeAddonsConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addonsConfigurations.
type FakeAddonsV1alpha1 ¶
func (*FakeAddonsV1alpha1) AddonsConfigurations ¶
func (c *FakeAddonsV1alpha1) AddonsConfigurations(namespace string) v1alpha1.AddonsConfigurationInterface
func (*FakeAddonsV1alpha1) ClusterAddonsConfigurations ¶
func (c *FakeAddonsV1alpha1) ClusterAddonsConfigurations() v1alpha1.ClusterAddonsConfigurationInterface
func (*FakeAddonsV1alpha1) RESTClient ¶
func (c *FakeAddonsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeClusterAddonsConfigurations ¶
type FakeClusterAddonsConfigurations struct {
Fake *FakeAddonsV1alpha1
}
FakeClusterAddonsConfigurations implements ClusterAddonsConfigurationInterface
func (*FakeClusterAddonsConfigurations) Create ¶
func (c *FakeClusterAddonsConfigurations) Create(ctx context.Context, clusterAddonsConfiguration *v1alpha1.ClusterAddonsConfiguration, opts v1.CreateOptions) (result *v1alpha1.ClusterAddonsConfiguration, err error)
Create takes the representation of a clusterAddonsConfiguration and creates it. Returns the server's representation of the clusterAddonsConfiguration, and an error, if there is any.
func (*FakeClusterAddonsConfigurations) Delete ¶
func (c *FakeClusterAddonsConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterAddonsConfiguration and deletes it. Returns an error if one occurs.
func (*FakeClusterAddonsConfigurations) DeleteCollection ¶
func (c *FakeClusterAddonsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterAddonsConfigurations) Get ¶
func (c *FakeClusterAddonsConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterAddonsConfiguration, err error)
Get takes name of the clusterAddonsConfiguration, and returns the corresponding clusterAddonsConfiguration object, and an error if there is any.
func (*FakeClusterAddonsConfigurations) List ¶
func (c *FakeClusterAddonsConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterAddonsConfigurationList, err error)
List takes label and field selectors, and returns the list of ClusterAddonsConfigurations that match those selectors.
func (*FakeClusterAddonsConfigurations) Patch ¶
func (c *FakeClusterAddonsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterAddonsConfiguration, err error)
Patch applies the patch and returns the patched clusterAddonsConfiguration.
func (*FakeClusterAddonsConfigurations) Update ¶
func (c *FakeClusterAddonsConfigurations) Update(ctx context.Context, clusterAddonsConfiguration *v1alpha1.ClusterAddonsConfiguration, opts v1.UpdateOptions) (result *v1alpha1.ClusterAddonsConfiguration, err error)
Update takes the representation of a clusterAddonsConfiguration and updates it. Returns the server's representation of the clusterAddonsConfiguration, and an error, if there is any.
func (*FakeClusterAddonsConfigurations) UpdateStatus ¶
func (c *FakeClusterAddonsConfigurations) UpdateStatus(ctx context.Context, clusterAddonsConfiguration *v1alpha1.ClusterAddonsConfiguration, opts v1.UpdateOptions) (*v1alpha1.ClusterAddonsConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterAddonsConfigurations) Watch ¶
func (c *FakeClusterAddonsConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterAddonsConfigurations.