Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePodSecurityPolicyReviews
- type FakePodSecurityPolicySelfSubjectReviews
- type FakePodSecurityPolicySubjectReviews
- type FakeRangeAllocations
- func (c *FakeRangeAllocations) Apply(ctx context.Context, ...) (result *securityv1.RangeAllocation, err error)
- func (c *FakeRangeAllocations) Create(ctx context.Context, rangeAllocation *securityv1.RangeAllocation, ...) (result *securityv1.RangeAllocation, err error)
- func (c *FakeRangeAllocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRangeAllocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRangeAllocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *securityv1.RangeAllocation, err error)
- func (c *FakeRangeAllocations) List(ctx context.Context, opts v1.ListOptions) (result *securityv1.RangeAllocationList, err error)
- func (c *FakeRangeAllocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *securityv1.RangeAllocation, err error)
- func (c *FakeRangeAllocations) Update(ctx context.Context, rangeAllocation *securityv1.RangeAllocation, ...) (result *securityv1.RangeAllocation, err error)
- func (c *FakeRangeAllocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSecurityContextConstraints
- func (c *FakeSecurityContextConstraints) Apply(ctx context.Context, ...) (result *securityv1.SecurityContextConstraints, err error)
- func (c *FakeSecurityContextConstraints) Create(ctx context.Context, ...) (result *securityv1.SecurityContextConstraints, err error)
- func (c *FakeSecurityContextConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSecurityContextConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSecurityContextConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *securityv1.SecurityContextConstraints, err error)
- func (c *FakeSecurityContextConstraints) List(ctx context.Context, opts v1.ListOptions) (result *securityv1.SecurityContextConstraintsList, err error)
- func (c *FakeSecurityContextConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *securityv1.SecurityContextConstraints, err error)
- func (c *FakeSecurityContextConstraints) Update(ctx context.Context, ...) (result *securityv1.SecurityContextConstraints, err error)
- func (c *FakeSecurityContextConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSecurityV1
- func (c *FakeSecurityV1) PodSecurityPolicyReviews(namespace string) v1.PodSecurityPolicyReviewInterface
- func (c *FakeSecurityV1) PodSecurityPolicySelfSubjectReviews(namespace string) v1.PodSecurityPolicySelfSubjectReviewInterface
- func (c *FakeSecurityV1) PodSecurityPolicySubjectReviews(namespace string) v1.PodSecurityPolicySubjectReviewInterface
- func (c *FakeSecurityV1) RESTClient() rest.Interface
- func (c *FakeSecurityV1) RangeAllocations() v1.RangeAllocationInterface
- func (c *FakeSecurityV1) SecurityContextConstraints() v1.SecurityContextConstraintsInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePodSecurityPolicyReviews ¶
type FakePodSecurityPolicyReviews struct { Fake *FakeSecurityV1 // contains filtered or unexported fields }
FakePodSecurityPolicyReviews implements PodSecurityPolicyReviewInterface
func (*FakePodSecurityPolicyReviews) Create ¶
func (c *FakePodSecurityPolicyReviews) Create(ctx context.Context, podSecurityPolicyReview *v1.PodSecurityPolicyReview, opts metav1.CreateOptions) (result *v1.PodSecurityPolicyReview, err error)
Create takes the representation of a podSecurityPolicyReview and creates it. Returns the server's representation of the podSecurityPolicyReview, and an error, if there is any.
type FakePodSecurityPolicySelfSubjectReviews ¶
type FakePodSecurityPolicySelfSubjectReviews struct { Fake *FakeSecurityV1 // contains filtered or unexported fields }
FakePodSecurityPolicySelfSubjectReviews implements PodSecurityPolicySelfSubjectReviewInterface
func (*FakePodSecurityPolicySelfSubjectReviews) Create ¶
func (c *FakePodSecurityPolicySelfSubjectReviews) Create(ctx context.Context, podSecurityPolicySelfSubjectReview *v1.PodSecurityPolicySelfSubjectReview, opts metav1.CreateOptions) (result *v1.PodSecurityPolicySelfSubjectReview, err error)
Create takes the representation of a podSecurityPolicySelfSubjectReview and creates it. Returns the server's representation of the podSecurityPolicySelfSubjectReview, and an error, if there is any.
type FakePodSecurityPolicySubjectReviews ¶
type FakePodSecurityPolicySubjectReviews struct { Fake *FakeSecurityV1 // contains filtered or unexported fields }
FakePodSecurityPolicySubjectReviews implements PodSecurityPolicySubjectReviewInterface
func (*FakePodSecurityPolicySubjectReviews) Create ¶
func (c *FakePodSecurityPolicySubjectReviews) Create(ctx context.Context, podSecurityPolicySubjectReview *v1.PodSecurityPolicySubjectReview, opts metav1.CreateOptions) (result *v1.PodSecurityPolicySubjectReview, err error)
Create takes the representation of a podSecurityPolicySubjectReview and creates it. Returns the server's representation of the podSecurityPolicySubjectReview, and an error, if there is any.
type FakeRangeAllocations ¶
type FakeRangeAllocations struct {
Fake *FakeSecurityV1
}
FakeRangeAllocations implements RangeAllocationInterface
func (*FakeRangeAllocations) Apply ¶
func (c *FakeRangeAllocations) Apply(ctx context.Context, rangeAllocation *applyconfigurationssecurityv1.RangeAllocationApplyConfiguration, opts v1.ApplyOptions) (result *securityv1.RangeAllocation, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied rangeAllocation.
func (*FakeRangeAllocations) Create ¶
func (c *FakeRangeAllocations) Create(ctx context.Context, rangeAllocation *securityv1.RangeAllocation, opts v1.CreateOptions) (result *securityv1.RangeAllocation, err error)
Create takes the representation of a rangeAllocation and creates it. Returns the server's representation of the rangeAllocation, and an error, if there is any.
func (*FakeRangeAllocations) Delete ¶
func (c *FakeRangeAllocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the rangeAllocation and deletes it. Returns an error if one occurs.
func (*FakeRangeAllocations) DeleteCollection ¶
func (c *FakeRangeAllocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRangeAllocations) Get ¶
func (c *FakeRangeAllocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *securityv1.RangeAllocation, err error)
Get takes name of the rangeAllocation, and returns the corresponding rangeAllocation object, and an error if there is any.
func (*FakeRangeAllocations) List ¶
func (c *FakeRangeAllocations) List(ctx context.Context, opts v1.ListOptions) (result *securityv1.RangeAllocationList, err error)
List takes label and field selectors, and returns the list of RangeAllocations that match those selectors.
func (*FakeRangeAllocations) Patch ¶
func (c *FakeRangeAllocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *securityv1.RangeAllocation, err error)
Patch applies the patch and returns the patched rangeAllocation.
func (*FakeRangeAllocations) Update ¶
func (c *FakeRangeAllocations) Update(ctx context.Context, rangeAllocation *securityv1.RangeAllocation, opts v1.UpdateOptions) (result *securityv1.RangeAllocation, err error)
Update takes the representation of a rangeAllocation and updates it. Returns the server's representation of the rangeAllocation, and an error, if there is any.
func (*FakeRangeAllocations) Watch ¶
func (c *FakeRangeAllocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rangeAllocations.
type FakeSecurityContextConstraints ¶
type FakeSecurityContextConstraints struct {
Fake *FakeSecurityV1
}
FakeSecurityContextConstraints implements SecurityContextConstraintsInterface
func (*FakeSecurityContextConstraints) Apply ¶
func (c *FakeSecurityContextConstraints) Apply(ctx context.Context, securityContextConstraints *applyconfigurationssecurityv1.SecurityContextConstraintsApplyConfiguration, opts v1.ApplyOptions) (result *securityv1.SecurityContextConstraints, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied securityContextConstraints.
func (*FakeSecurityContextConstraints) Create ¶
func (c *FakeSecurityContextConstraints) Create(ctx context.Context, securityContextConstraints *securityv1.SecurityContextConstraints, opts v1.CreateOptions) (result *securityv1.SecurityContextConstraints, err error)
Create takes the representation of a securityContextConstraints and creates it. Returns the server's representation of the securityContextConstraints, and an error, if there is any.
func (*FakeSecurityContextConstraints) Delete ¶
func (c *FakeSecurityContextConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the securityContextConstraints and deletes it. Returns an error if one occurs.
func (*FakeSecurityContextConstraints) DeleteCollection ¶
func (c *FakeSecurityContextConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecurityContextConstraints) Get ¶
func (c *FakeSecurityContextConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *securityv1.SecurityContextConstraints, err error)
Get takes name of the securityContextConstraints, and returns the corresponding securityContextConstraints object, and an error if there is any.
func (*FakeSecurityContextConstraints) List ¶
func (c *FakeSecurityContextConstraints) List(ctx context.Context, opts v1.ListOptions) (result *securityv1.SecurityContextConstraintsList, err error)
List takes label and field selectors, and returns the list of SecurityContextConstraints that match those selectors.
func (*FakeSecurityContextConstraints) Patch ¶
func (c *FakeSecurityContextConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *securityv1.SecurityContextConstraints, err error)
Patch applies the patch and returns the patched securityContextConstraints.
func (*FakeSecurityContextConstraints) Update ¶
func (c *FakeSecurityContextConstraints) Update(ctx context.Context, securityContextConstraints *securityv1.SecurityContextConstraints, opts v1.UpdateOptions) (result *securityv1.SecurityContextConstraints, err error)
Update takes the representation of a securityContextConstraints and updates it. Returns the server's representation of the securityContextConstraints, and an error, if there is any.
func (*FakeSecurityContextConstraints) Watch ¶
func (c *FakeSecurityContextConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested securityContextConstraints.
type FakeSecurityV1 ¶
func (*FakeSecurityV1) PodSecurityPolicyReviews ¶
func (c *FakeSecurityV1) PodSecurityPolicyReviews(namespace string) v1.PodSecurityPolicyReviewInterface
func (*FakeSecurityV1) PodSecurityPolicySelfSubjectReviews ¶
func (c *FakeSecurityV1) PodSecurityPolicySelfSubjectReviews(namespace string) v1.PodSecurityPolicySelfSubjectReviewInterface
func (*FakeSecurityV1) PodSecurityPolicySubjectReviews ¶
func (c *FakeSecurityV1) PodSecurityPolicySubjectReviews(namespace string) v1.PodSecurityPolicySubjectReviewInterface
func (*FakeSecurityV1) RESTClient ¶
func (c *FakeSecurityV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSecurityV1) RangeAllocations ¶
func (c *FakeSecurityV1) RangeAllocations() v1.RangeAllocationInterface
func (*FakeSecurityV1) SecurityContextConstraints ¶
func (c *FakeSecurityV1) SecurityContextConstraints() v1.SecurityContextConstraintsInterface