fake

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 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 FakeAuthenticationV1alpha1

type FakeAuthenticationV1alpha1 struct {
	*testing.Fake
}

func (*FakeAuthenticationV1alpha1) IDPPresets

func (*FakeAuthenticationV1alpha1) RESTClient

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

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

type FakeIDPPresets

type FakeIDPPresets struct {
	Fake *FakeAuthenticationV1alpha1
}

FakeIDPPresets implements IDPPresetInterface

func (*FakeIDPPresets) Create

func (c *FakeIDPPresets) Create(iDPPreset *v1alpha1.IDPPreset) (result *v1alpha1.IDPPreset, err error)

Create takes the representation of a iDPPreset and creates it. Returns the server's representation of the iDPPreset, and an error, if there is any.

func (*FakeIDPPresets) Delete

func (c *FakeIDPPresets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the iDPPreset and deletes it. Returns an error if one occurs.

func (*FakeIDPPresets) DeleteCollection

func (c *FakeIDPPresets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIDPPresets) Get

func (c *FakeIDPPresets) Get(name string, options v1.GetOptions) (result *v1alpha1.IDPPreset, err error)

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

func (*FakeIDPPresets) List

func (c *FakeIDPPresets) List(opts v1.ListOptions) (result *v1alpha1.IDPPresetList, err error)

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

func (*FakeIDPPresets) Patch

func (c *FakeIDPPresets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IDPPreset, err error)

Patch applies the patch and returns the patched iDPPreset.

func (*FakeIDPPresets) Update

func (c *FakeIDPPresets) Update(iDPPreset *v1alpha1.IDPPreset) (result *v1alpha1.IDPPreset, err error)

Update takes the representation of a iDPPreset and updates it. Returns the server's representation of the iDPPreset, and an error, if there is any.

func (*FakeIDPPresets) Watch

func (c *FakeIDPPresets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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