fake

package
v0.0.0-...-8784027 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: MIT 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 FakeAADGroupSyncs

type FakeAADGroupSyncs struct {
	Fake *FakeAadV1
	// contains filtered or unexported fields
}

FakeAADGroupSyncs implements AADGroupSyncInterface

func (*FakeAADGroupSyncs) Create

func (c *FakeAADGroupSyncs) Create(aADGroupSync *aadmicrosoftcomv1.AADGroupSync) (result *aadmicrosoftcomv1.AADGroupSync, err error)

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

func (*FakeAADGroupSyncs) Delete

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

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

func (*FakeAADGroupSyncs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAADGroupSyncs) Get

func (c *FakeAADGroupSyncs) Get(name string, options v1.GetOptions) (result *aadmicrosoftcomv1.AADGroupSync, err error)

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

func (*FakeAADGroupSyncs) List

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

func (*FakeAADGroupSyncs) Patch

func (c *FakeAADGroupSyncs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *aadmicrosoftcomv1.AADGroupSync, err error)

Patch applies the patch and returns the patched aADGroupSync.

func (*FakeAADGroupSyncs) Update

func (c *FakeAADGroupSyncs) Update(aADGroupSync *aadmicrosoftcomv1.AADGroupSync) (result *aadmicrosoftcomv1.AADGroupSync, err error)

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

func (*FakeAADGroupSyncs) Watch

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

type FakeAadV1

type FakeAadV1 struct {
	*testing.Fake
}

func (*FakeAadV1) AADGroupSyncs

func (c *FakeAadV1) AADGroupSyncs(namespace string) v1.AADGroupSyncInterface

func (*FakeAadV1) RESTClient

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

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

Jump to

Keyboard shortcuts

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