Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterConfigMaps
- func (c *FakeClusterConfigMaps) Create(ctx context.Context, clusterConfigMap *v1alpha1.ClusterConfigMap, ...) (result *v1alpha1.ClusterConfigMap, err error)
- func (c *FakeClusterConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterConfigMap, err error)
- func (c *FakeClusterConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterConfigMapList, err error)
- func (c *FakeClusterConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterConfigMap, err error)
- func (c *FakeClusterConfigMaps) Update(ctx context.Context, clusterConfigMap *v1alpha1.ClusterConfigMap, ...) (result *v1alpha1.ClusterConfigMap, err error)
- func (c *FakeClusterConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterSecrets
- func (c *FakeClusterSecrets) Create(ctx context.Context, clusterSecret *v1alpha1.ClusterSecret, ...) (result *v1alpha1.ClusterSecret, err error)
- func (c *FakeClusterSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterSecret, err error)
- func (c *FakeClusterSecrets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterSecretList, err error)
- func (c *FakeClusterSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterSecret, err error)
- func (c *FakeClusterSecrets) Update(ctx context.Context, clusterSecret *v1alpha1.ClusterSecret, ...) (result *v1alpha1.ClusterSecret, err error)
- func (c *FakeClusterSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterconfigsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterConfigMaps ¶
type FakeClusterConfigMaps struct { Fake *FakeClusterconfigsV1alpha1 // contains filtered or unexported fields }
FakeClusterConfigMaps implements ClusterConfigMapInterface
func (*FakeClusterConfigMaps) Create ¶
func (c *FakeClusterConfigMaps) Create(ctx context.Context, clusterConfigMap *v1alpha1.ClusterConfigMap, opts v1.CreateOptions) (result *v1alpha1.ClusterConfigMap, err error)
Create takes the representation of a clusterConfigMap and creates it. Returns the server's representation of the clusterConfigMap, and an error, if there is any.
func (*FakeClusterConfigMaps) Delete ¶
func (c *FakeClusterConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterConfigMap and deletes it. Returns an error if one occurs.
func (*FakeClusterConfigMaps) DeleteCollection ¶
func (c *FakeClusterConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterConfigMaps) Get ¶
func (c *FakeClusterConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterConfigMap, err error)
Get takes name of the clusterConfigMap, and returns the corresponding clusterConfigMap object, and an error if there is any.
func (*FakeClusterConfigMaps) List ¶
func (c *FakeClusterConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterConfigMapList, err error)
List takes label and field selectors, and returns the list of ClusterConfigMaps that match those selectors.
func (*FakeClusterConfigMaps) Patch ¶
func (c *FakeClusterConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterConfigMap, err error)
Patch applies the patch and returns the patched clusterConfigMap.
func (*FakeClusterConfigMaps) Update ¶
func (c *FakeClusterConfigMaps) Update(ctx context.Context, clusterConfigMap *v1alpha1.ClusterConfigMap, opts v1.UpdateOptions) (result *v1alpha1.ClusterConfigMap, err error)
Update takes the representation of a clusterConfigMap and updates it. Returns the server's representation of the clusterConfigMap, and an error, if there is any.
func (*FakeClusterConfigMaps) Watch ¶
func (c *FakeClusterConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterConfigMaps.
type FakeClusterSecrets ¶
type FakeClusterSecrets struct { Fake *FakeClusterconfigsV1alpha1 // contains filtered or unexported fields }
FakeClusterSecrets implements ClusterSecretInterface
func (*FakeClusterSecrets) Create ¶
func (c *FakeClusterSecrets) Create(ctx context.Context, clusterSecret *v1alpha1.ClusterSecret, opts v1.CreateOptions) (result *v1alpha1.ClusterSecret, err error)
Create takes the representation of a clusterSecret and creates it. Returns the server's representation of the clusterSecret, and an error, if there is any.
func (*FakeClusterSecrets) Delete ¶
func (c *FakeClusterSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterSecret and deletes it. Returns an error if one occurs.
func (*FakeClusterSecrets) DeleteCollection ¶
func (c *FakeClusterSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterSecrets) Get ¶
func (c *FakeClusterSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterSecret, err error)
Get takes name of the clusterSecret, and returns the corresponding clusterSecret object, and an error if there is any.
func (*FakeClusterSecrets) List ¶
func (c *FakeClusterSecrets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterSecretList, err error)
List takes label and field selectors, and returns the list of ClusterSecrets that match those selectors.
func (*FakeClusterSecrets) Patch ¶
func (c *FakeClusterSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterSecret, err error)
Patch applies the patch and returns the patched clusterSecret.
func (*FakeClusterSecrets) Update ¶
func (c *FakeClusterSecrets) Update(ctx context.Context, clusterSecret *v1alpha1.ClusterSecret, opts v1.UpdateOptions) (result *v1alpha1.ClusterSecret, err error)
Update takes the representation of a clusterSecret and updates it. Returns the server's representation of the clusterSecret, and an error, if there is any.
func (*FakeClusterSecrets) Watch ¶
func (c *FakeClusterSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterSecrets.
type FakeClusterconfigsV1alpha1 ¶
func (*FakeClusterconfigsV1alpha1) ClusterConfigMaps ¶
func (c *FakeClusterconfigsV1alpha1) ClusterConfigMaps(namespace string) v1alpha1.ClusterConfigMapInterface
func (*FakeClusterconfigsV1alpha1) ClusterSecrets ¶
func (c *FakeClusterconfigsV1alpha1) ClusterSecrets(namespace string) v1alpha1.ClusterSecretInterface
func (*FakeClusterconfigsV1alpha1) RESTClient ¶
func (c *FakeClusterconfigsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.