fake

package
v3.7.0-0.126.4+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 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 FakeSecurity

type FakeSecurity struct {
	*testing.Fake
}

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