Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfiguratorV1alpha1
- type FakeCustomConfigMaps
- func (c *FakeCustomConfigMaps) Create(ctx context.Context, customConfigMap *v1alpha1.CustomConfigMap, ...) (result *v1alpha1.CustomConfigMap, err error)
- func (c *FakeCustomConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCustomConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCustomConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomConfigMap, err error)
- func (c *FakeCustomConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomConfigMapList, err error)
- func (c *FakeCustomConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CustomConfigMap, err error)
- func (c *FakeCustomConfigMaps) Update(ctx context.Context, customConfigMap *v1alpha1.CustomConfigMap, ...) (result *v1alpha1.CustomConfigMap, err error)
- func (c *FakeCustomConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCustomSecrets
- func (c *FakeCustomSecrets) Create(ctx context.Context, customSecret *v1alpha1.CustomSecret, ...) (result *v1alpha1.CustomSecret, err error)
- func (c *FakeCustomSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCustomSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCustomSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomSecret, err error)
- func (c *FakeCustomSecrets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomSecretList, err error)
- func (c *FakeCustomSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CustomSecret, err error)
- func (c *FakeCustomSecrets) Update(ctx context.Context, customSecret *v1alpha1.CustomSecret, ...) (result *v1alpha1.CustomSecret, err error)
- func (c *FakeCustomSecrets) 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 FakeConfiguratorV1alpha1 ¶
func (*FakeConfiguratorV1alpha1) CustomConfigMaps ¶
func (c *FakeConfiguratorV1alpha1) CustomConfigMaps(namespace string) v1alpha1.CustomConfigMapInterface
func (*FakeConfiguratorV1alpha1) CustomSecrets ¶
func (c *FakeConfiguratorV1alpha1) CustomSecrets(namespace string) v1alpha1.CustomSecretInterface
func (*FakeConfiguratorV1alpha1) RESTClient ¶
func (c *FakeConfiguratorV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeCustomConfigMaps ¶
type FakeCustomConfigMaps struct { Fake *FakeConfiguratorV1alpha1 // contains filtered or unexported fields }
FakeCustomConfigMaps implements CustomConfigMapInterface
func (*FakeCustomConfigMaps) Create ¶
func (c *FakeCustomConfigMaps) Create(ctx context.Context, customConfigMap *v1alpha1.CustomConfigMap, opts v1.CreateOptions) (result *v1alpha1.CustomConfigMap, err error)
Create takes the representation of a customConfigMap and creates it. Returns the server's representation of the customConfigMap, and an error, if there is any.
func (*FakeCustomConfigMaps) Delete ¶
func (c *FakeCustomConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the customConfigMap and deletes it. Returns an error if one occurs.
func (*FakeCustomConfigMaps) DeleteCollection ¶
func (c *FakeCustomConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomConfigMaps) Get ¶
func (c *FakeCustomConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomConfigMap, err error)
Get takes name of the customConfigMap, and returns the corresponding customConfigMap object, and an error if there is any.
func (*FakeCustomConfigMaps) List ¶
func (c *FakeCustomConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomConfigMapList, err error)
List takes label and field selectors, and returns the list of CustomConfigMaps that match those selectors.
func (*FakeCustomConfigMaps) Patch ¶
func (c *FakeCustomConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CustomConfigMap, err error)
Patch applies the patch and returns the patched customConfigMap.
func (*FakeCustomConfigMaps) Update ¶
func (c *FakeCustomConfigMaps) Update(ctx context.Context, customConfigMap *v1alpha1.CustomConfigMap, opts v1.UpdateOptions) (result *v1alpha1.CustomConfigMap, err error)
Update takes the representation of a customConfigMap and updates it. Returns the server's representation of the customConfigMap, and an error, if there is any.
func (*FakeCustomConfigMaps) Watch ¶
func (c *FakeCustomConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customConfigMaps.
type FakeCustomSecrets ¶
type FakeCustomSecrets struct { Fake *FakeConfiguratorV1alpha1 // contains filtered or unexported fields }
FakeCustomSecrets implements CustomSecretInterface
func (*FakeCustomSecrets) Create ¶
func (c *FakeCustomSecrets) Create(ctx context.Context, customSecret *v1alpha1.CustomSecret, opts v1.CreateOptions) (result *v1alpha1.CustomSecret, err error)
Create takes the representation of a customSecret and creates it. Returns the server's representation of the customSecret, and an error, if there is any.
func (*FakeCustomSecrets) Delete ¶
func (c *FakeCustomSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the customSecret and deletes it. Returns an error if one occurs.
func (*FakeCustomSecrets) DeleteCollection ¶
func (c *FakeCustomSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomSecrets) Get ¶
func (c *FakeCustomSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomSecret, err error)
Get takes name of the customSecret, and returns the corresponding customSecret object, and an error if there is any.
func (*FakeCustomSecrets) List ¶
func (c *FakeCustomSecrets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomSecretList, err error)
List takes label and field selectors, and returns the list of CustomSecrets that match those selectors.
func (*FakeCustomSecrets) Patch ¶
func (c *FakeCustomSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CustomSecret, err error)
Patch applies the patch and returns the patched customSecret.
func (*FakeCustomSecrets) Update ¶
func (c *FakeCustomSecrets) Update(ctx context.Context, customSecret *v1alpha1.CustomSecret, opts v1.UpdateOptions) (result *v1alpha1.CustomSecret, err error)
Update takes the representation of a customSecret and updates it. Returns the server's representation of the customSecret, and an error, if there is any.
func (*FakeCustomSecrets) Watch ¶
func (c *FakeCustomSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customSecrets.