openshift: kmodules.xyz/openshift/client/clientset/versioned/typed/security/v1/fake Index | Files

package fake

import "kmodules.xyz/openshift/client/clientset/versioned/typed/security/v1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_podsecuritypolicyreview.go fake_podsecuritypolicyselfsubjectreview.go fake_podsecuritypolicysubjectreview.go fake_rangeallocation.go fake_security_client.go fake_securitycontextconstraints.go

type FakePodSecurityPolicyReviews Uses

type FakePodSecurityPolicyReviews struct {
    Fake *FakeSecurityV1
    // contains filtered or unexported fields
}

FakePodSecurityPolicyReviews implements PodSecurityPolicyReviewInterface

func (*FakePodSecurityPolicyReviews) Create Uses

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 Uses

type FakePodSecurityPolicySelfSubjectReviews struct {
    Fake *FakeSecurityV1
    // contains filtered or unexported fields
}

FakePodSecurityPolicySelfSubjectReviews implements PodSecurityPolicySelfSubjectReviewInterface

func (*FakePodSecurityPolicySelfSubjectReviews) Create Uses

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 Uses

type FakePodSecurityPolicySubjectReviews struct {
    Fake *FakeSecurityV1
    // contains filtered or unexported fields
}

FakePodSecurityPolicySubjectReviews implements PodSecurityPolicySubjectReviewInterface

func (*FakePodSecurityPolicySubjectReviews) Create Uses

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 Uses

type FakeRangeAllocations struct {
    Fake *FakeSecurityV1
}

FakeRangeAllocations implements RangeAllocationInterface

func (*FakeRangeAllocations) Create Uses

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 Uses

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 Uses

func (c *FakeRangeAllocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRangeAllocations) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type FakeSecurityContextConstraints struct {
    Fake *FakeSecurityV1
}

FakeSecurityContextConstraints implements SecurityContextConstraintsInterface

func (*FakeSecurityContextConstraints) Create Uses

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 Uses

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 Uses

func (c *FakeSecurityContextConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSecurityContextConstraints) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type FakeSecurityV1 struct {
    *testing.Fake
}

func (*FakeSecurityV1) PodSecurityPolicyReviews Uses

func (c *FakeSecurityV1) PodSecurityPolicyReviews(namespace string) v1.PodSecurityPolicyReviewInterface

func (*FakeSecurityV1) PodSecurityPolicySelfSubjectReviews Uses

func (c *FakeSecurityV1) PodSecurityPolicySelfSubjectReviews(namespace string) v1.PodSecurityPolicySelfSubjectReviewInterface

func (*FakeSecurityV1) PodSecurityPolicySubjectReviews Uses

func (c *FakeSecurityV1) PodSecurityPolicySubjectReviews(namespace string) v1.PodSecurityPolicySubjectReviewInterface

func (*FakeSecurityV1) RESTClient Uses

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 Uses

func (c *FakeSecurityV1) RangeAllocations() v1.RangeAllocationInterface

func (*FakeSecurityV1) SecurityContextConstraints Uses

func (c *FakeSecurityV1) SecurityContextConstraints() v1.SecurityContextConstraintsInterface

Package fake imports 10 packages (graph) and is imported by 1 packages. Updated 2020-09-25. Refresh now. Tools for package owners.