Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterSecrets
- func (c *FakeClusterSecrets) Apply(ctx context.Context, ...) (result *v1alpha1.ClusterSecret, err error)
- func (c *FakeClusterSecrets) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.ClusterSecret, err error)
- 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) UpdateStatus(ctx context.Context, clusterSecret *v1alpha1.ClusterSecret, ...) (*v1alpha1.ClusterSecret, error)
- func (c *FakeClusterSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCoreV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterSecrets ¶
type FakeClusterSecrets struct {
Fake *FakeCoreV1alpha1
}
FakeClusterSecrets implements ClusterSecretInterface
func (*FakeClusterSecrets) Apply ¶
func (c *FakeClusterSecrets) Apply(ctx context.Context, clusterSecret *corecssapcomv1alpha1.ClusterSecretApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ClusterSecret, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied clusterSecret.
func (*FakeClusterSecrets) ApplyStatus ¶
func (c *FakeClusterSecrets) ApplyStatus(ctx context.Context, clusterSecret *corecssapcomv1alpha1.ClusterSecretApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ClusterSecret, 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 (*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) UpdateStatus ¶
func (c *FakeClusterSecrets) UpdateStatus(ctx context.Context, clusterSecret *v1alpha1.ClusterSecret, opts v1.UpdateOptions) (*v1alpha1.ClusterSecret, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
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 FakeCoreV1alpha1 ¶
func (*FakeCoreV1alpha1) ClusterSecrets ¶
func (c *FakeCoreV1alpha1) ClusterSecrets() v1alpha1.ClusterSecretInterface
func (*FakeCoreV1alpha1) RESTClient ¶
func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.