Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdmissionregistrationV1alpha1
- func (c *FakeAdmissionregistrationV1alpha1) RESTClient() rest.Interface
- func (c *FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicies() v1alpha1.ValidatingAdmissionPolicyInterface
- func (c *FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicyBindings() v1alpha1.ValidatingAdmissionPolicyBindingInterface
- type FakeValidatingAdmissionPolicies
- func (c *FakeValidatingAdmissionPolicies) Apply(ctx context.Context, ...) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
- func (c *FakeValidatingAdmissionPolicies) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
- func (c *FakeValidatingAdmissionPolicies) Create(ctx context.Context, ...) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
- func (c *FakeValidatingAdmissionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeValidatingAdmissionPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeValidatingAdmissionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
- func (c *FakeValidatingAdmissionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ValidatingAdmissionPolicyList, err error)
- func (c *FakeValidatingAdmissionPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
- func (c *FakeValidatingAdmissionPolicies) Update(ctx context.Context, ...) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
- func (c *FakeValidatingAdmissionPolicies) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ValidatingAdmissionPolicy, error)
- func (c *FakeValidatingAdmissionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeValidatingAdmissionPolicyBindings
- func (c *FakeValidatingAdmissionPolicyBindings) Apply(ctx context.Context, ...) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
- func (c *FakeValidatingAdmissionPolicyBindings) Create(ctx context.Context, ...) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
- func (c *FakeValidatingAdmissionPolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeValidatingAdmissionPolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeValidatingAdmissionPolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
- func (c *FakeValidatingAdmissionPolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ValidatingAdmissionPolicyBindingList, err error)
- func (c *FakeValidatingAdmissionPolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
- func (c *FakeValidatingAdmissionPolicyBindings) Update(ctx context.Context, ...) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
- func (c *FakeValidatingAdmissionPolicyBindings) 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 FakeAdmissionregistrationV1alpha1 ¶
func (*FakeAdmissionregistrationV1alpha1) RESTClient ¶
func (c *FakeAdmissionregistrationV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicies ¶
func (c *FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicies() v1alpha1.ValidatingAdmissionPolicyInterface
func (*FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicyBindings ¶
func (c *FakeAdmissionregistrationV1alpha1) ValidatingAdmissionPolicyBindings() v1alpha1.ValidatingAdmissionPolicyBindingInterface
type FakeValidatingAdmissionPolicies ¶
type FakeValidatingAdmissionPolicies struct {
Fake *FakeAdmissionregistrationV1alpha1
}
FakeValidatingAdmissionPolicies implements ValidatingAdmissionPolicyInterface
func (*FakeValidatingAdmissionPolicies) Apply ¶
func (c *FakeValidatingAdmissionPolicies) Apply(ctx context.Context, validatingAdmissionPolicy *admissionregistrationv1alpha1.ValidatingAdmissionPolicyApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied validatingAdmissionPolicy.
func (*FakeValidatingAdmissionPolicies) ApplyStatus ¶ added in v0.27.0
func (c *FakeValidatingAdmissionPolicies) ApplyStatus(ctx context.Context, validatingAdmissionPolicy *admissionregistrationv1alpha1.ValidatingAdmissionPolicyApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ValidatingAdmissionPolicy, 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 (*FakeValidatingAdmissionPolicies) Create ¶
func (c *FakeValidatingAdmissionPolicies) Create(ctx context.Context, validatingAdmissionPolicy *v1alpha1.ValidatingAdmissionPolicy, opts v1.CreateOptions) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
Create takes the representation of a validatingAdmissionPolicy and creates it. Returns the server's representation of the validatingAdmissionPolicy, and an error, if there is any.
func (*FakeValidatingAdmissionPolicies) Delete ¶
func (c *FakeValidatingAdmissionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the validatingAdmissionPolicy and deletes it. Returns an error if one occurs.
func (*FakeValidatingAdmissionPolicies) DeleteCollection ¶
func (c *FakeValidatingAdmissionPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeValidatingAdmissionPolicies) Get ¶
func (c *FakeValidatingAdmissionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
Get takes name of the validatingAdmissionPolicy, and returns the corresponding validatingAdmissionPolicy object, and an error if there is any.
func (*FakeValidatingAdmissionPolicies) List ¶
func (c *FakeValidatingAdmissionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ValidatingAdmissionPolicyList, err error)
List takes label and field selectors, and returns the list of ValidatingAdmissionPolicies that match those selectors.
func (*FakeValidatingAdmissionPolicies) Patch ¶
func (c *FakeValidatingAdmissionPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
Patch applies the patch and returns the patched validatingAdmissionPolicy.
func (*FakeValidatingAdmissionPolicies) Update ¶
func (c *FakeValidatingAdmissionPolicies) Update(ctx context.Context, validatingAdmissionPolicy *v1alpha1.ValidatingAdmissionPolicy, opts v1.UpdateOptions) (result *v1alpha1.ValidatingAdmissionPolicy, err error)
Update takes the representation of a validatingAdmissionPolicy and updates it. Returns the server's representation of the validatingAdmissionPolicy, and an error, if there is any.
func (*FakeValidatingAdmissionPolicies) UpdateStatus ¶ added in v0.27.0
func (c *FakeValidatingAdmissionPolicies) UpdateStatus(ctx context.Context, validatingAdmissionPolicy *v1alpha1.ValidatingAdmissionPolicy, opts v1.UpdateOptions) (*v1alpha1.ValidatingAdmissionPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeValidatingAdmissionPolicies) Watch ¶
func (c *FakeValidatingAdmissionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested validatingAdmissionPolicies.
type FakeValidatingAdmissionPolicyBindings ¶
type FakeValidatingAdmissionPolicyBindings struct {
Fake *FakeAdmissionregistrationV1alpha1
}
FakeValidatingAdmissionPolicyBindings implements ValidatingAdmissionPolicyBindingInterface
func (*FakeValidatingAdmissionPolicyBindings) Apply ¶
func (c *FakeValidatingAdmissionPolicyBindings) Apply(ctx context.Context, validatingAdmissionPolicyBinding *admissionregistrationv1alpha1.ValidatingAdmissionPolicyBindingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied validatingAdmissionPolicyBinding.
func (*FakeValidatingAdmissionPolicyBindings) Create ¶
func (c *FakeValidatingAdmissionPolicyBindings) Create(ctx context.Context, validatingAdmissionPolicyBinding *v1alpha1.ValidatingAdmissionPolicyBinding, opts v1.CreateOptions) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
Create takes the representation of a validatingAdmissionPolicyBinding and creates it. Returns the server's representation of the validatingAdmissionPolicyBinding, and an error, if there is any.
func (*FakeValidatingAdmissionPolicyBindings) Delete ¶
func (c *FakeValidatingAdmissionPolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the validatingAdmissionPolicyBinding and deletes it. Returns an error if one occurs.
func (*FakeValidatingAdmissionPolicyBindings) DeleteCollection ¶
func (c *FakeValidatingAdmissionPolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeValidatingAdmissionPolicyBindings) Get ¶
func (c *FakeValidatingAdmissionPolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
Get takes name of the validatingAdmissionPolicyBinding, and returns the corresponding validatingAdmissionPolicyBinding object, and an error if there is any.
func (*FakeValidatingAdmissionPolicyBindings) List ¶
func (c *FakeValidatingAdmissionPolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ValidatingAdmissionPolicyBindingList, err error)
List takes label and field selectors, and returns the list of ValidatingAdmissionPolicyBindings that match those selectors.
func (*FakeValidatingAdmissionPolicyBindings) Patch ¶
func (c *FakeValidatingAdmissionPolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
Patch applies the patch and returns the patched validatingAdmissionPolicyBinding.
func (*FakeValidatingAdmissionPolicyBindings) Update ¶
func (c *FakeValidatingAdmissionPolicyBindings) Update(ctx context.Context, validatingAdmissionPolicyBinding *v1alpha1.ValidatingAdmissionPolicyBinding, opts v1.UpdateOptions) (result *v1alpha1.ValidatingAdmissionPolicyBinding, err error)
Update takes the representation of a validatingAdmissionPolicyBinding and updates it. Returns the server's representation of the validatingAdmissionPolicyBinding, and an error, if there is any.
func (*FakeValidatingAdmissionPolicyBindings) Watch ¶
func (c *FakeValidatingAdmissionPolicyBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested validatingAdmissionPolicyBindings.