fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 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 FakeConfigOsPolicyAssignments added in v0.5.0

type FakeConfigOsPolicyAssignments struct {
	Fake *FakeOsV1alpha1
	// contains filtered or unexported fields
}

FakeConfigOsPolicyAssignments implements ConfigOsPolicyAssignmentInterface

func (*FakeConfigOsPolicyAssignments) Create added in v0.5.0

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

func (*FakeConfigOsPolicyAssignments) Delete added in v0.5.0

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

func (*FakeConfigOsPolicyAssignments) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeConfigOsPolicyAssignments) Get added in v0.5.0

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

func (*FakeConfigOsPolicyAssignments) List added in v0.5.0

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

func (*FakeConfigOsPolicyAssignments) Patch added in v0.5.0

func (c *FakeConfigOsPolicyAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConfigOsPolicyAssignment, err error)

Patch applies the patch and returns the patched configOsPolicyAssignment.

func (*FakeConfigOsPolicyAssignments) Update added in v0.5.0

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

func (*FakeConfigOsPolicyAssignments) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeConfigOsPolicyAssignments) Watch added in v0.5.0

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

type FakeConfigPatchDeployments

type FakeConfigPatchDeployments struct {
	Fake *FakeOsV1alpha1
	// contains filtered or unexported fields
}

FakeConfigPatchDeployments implements ConfigPatchDeploymentInterface

func (*FakeConfigPatchDeployments) Create

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

func (*FakeConfigPatchDeployments) Delete

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

func (*FakeConfigPatchDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeConfigPatchDeployments) Get

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

func (*FakeConfigPatchDeployments) List

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

func (*FakeConfigPatchDeployments) Patch

func (c *FakeConfigPatchDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConfigPatchDeployment, err error)

Patch applies the patch and returns the patched configPatchDeployment.

func (*FakeConfigPatchDeployments) Update

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

func (*FakeConfigPatchDeployments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeConfigPatchDeployments) Watch

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

type FakeLoginSSHPublicKeys

type FakeLoginSSHPublicKeys struct {
	Fake *FakeOsV1alpha1
	// contains filtered or unexported fields
}

FakeLoginSSHPublicKeys implements LoginSSHPublicKeyInterface

func (*FakeLoginSSHPublicKeys) Create

func (c *FakeLoginSSHPublicKeys) Create(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, opts v1.CreateOptions) (result *v1alpha1.LoginSSHPublicKey, err error)

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

func (*FakeLoginSSHPublicKeys) Delete

func (c *FakeLoginSSHPublicKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeLoginSSHPublicKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLoginSSHPublicKeys) Get

func (c *FakeLoginSSHPublicKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoginSSHPublicKey, err error)

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

func (*FakeLoginSSHPublicKeys) List

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

func (*FakeLoginSSHPublicKeys) Patch

func (c *FakeLoginSSHPublicKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoginSSHPublicKey, err error)

Patch applies the patch and returns the patched loginSSHPublicKey.

func (*FakeLoginSSHPublicKeys) Update

func (c *FakeLoginSSHPublicKeys) Update(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, opts v1.UpdateOptions) (result *v1alpha1.LoginSSHPublicKey, err error)

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

func (*FakeLoginSSHPublicKeys) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLoginSSHPublicKeys) Watch

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

type FakeOsV1alpha1

type FakeOsV1alpha1 struct {
	*testing.Fake
}

func (*FakeOsV1alpha1) ConfigOsPolicyAssignments added in v0.5.0

func (c *FakeOsV1alpha1) ConfigOsPolicyAssignments(namespace string) v1alpha1.ConfigOsPolicyAssignmentInterface

func (*FakeOsV1alpha1) ConfigPatchDeployments

func (c *FakeOsV1alpha1) ConfigPatchDeployments(namespace string) v1alpha1.ConfigPatchDeploymentInterface

func (*FakeOsV1alpha1) LoginSSHPublicKeys

func (c *FakeOsV1alpha1) LoginSSHPublicKeys(namespace string) v1alpha1.LoginSSHPublicKeyInterface

func (*FakeOsV1alpha1) RESTClient

func (c *FakeOsV1alpha1) 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