fake

package
v3.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePodSecurityPolicyReviews added in v3.7.0

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

FakePodSecurityPolicyReviews implements PodSecurityPolicyReviewInterface

func (*FakePodSecurityPolicyReviews) Create added in v3.7.0

func (c *FakePodSecurityPolicyReviews) Create(podSecurityPolicyReview *security.PodSecurityPolicyReview) (result *security.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 added in v3.7.0

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

FakePodSecurityPolicySelfSubjectReviews implements PodSecurityPolicySelfSubjectReviewInterface

func (*FakePodSecurityPolicySelfSubjectReviews) Create added in v3.7.0

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 added in v3.7.0

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

FakePodSecurityPolicySubjectReviews implements PodSecurityPolicySubjectReviewInterface

func (*FakePodSecurityPolicySubjectReviews) Create added in v3.7.0

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 FakeSecurity

type FakeSecurity struct {
	*testing.Fake
}

func (*FakeSecurity) PodSecurityPolicyReviews added in v3.7.0

func (c *FakeSecurity) PodSecurityPolicyReviews(namespace string) internalversion.PodSecurityPolicyReviewInterface

func (*FakeSecurity) PodSecurityPolicySelfSubjectReviews added in v3.7.0

func (c *FakeSecurity) PodSecurityPolicySelfSubjectReviews(namespace string) internalversion.PodSecurityPolicySelfSubjectReviewInterface

func (*FakeSecurity) PodSecurityPolicySubjectReviews added in v3.7.0

func (c *FakeSecurity) PodSecurityPolicySubjectReviews(namespace string) internalversion.PodSecurityPolicySubjectReviewInterface

func (*FakeSecurity) RESTClient

func (c *FakeSecurity) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeSecurity) SecurityContextConstraints

func (c *FakeSecurity) SecurityContextConstraints() internalversion.SecurityContextConstraintsInterface

type FakeSecurityContextConstraints

type FakeSecurityContextConstraints struct {
	Fake *FakeSecurity
}

FakeSecurityContextConstraints implements SecurityContextConstraintsInterface

func (*FakeSecurityContextConstraints) Create

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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSecurityContextConstraints) Get

Get takes name of the securityContextConstraints, and returns the corresponding securityContextConstraints object, and an error if there is any.

func (*FakeSecurityContextConstraints) List

List takes label and field selectors, and returns the list of SecurityContextConstraints that match those selectors.

func (*FakeSecurityContextConstraints) Patch

func (c *FakeSecurityContextConstraints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *security.SecurityContextConstraints, err error)

Patch applies the patch and returns the patched securityContextConstraints.

func (*FakeSecurityContextConstraints) Update

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

Watch returns a watch.Interface that watches the requested securityContextConstraints.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL