client-go: k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_admissionregistration_client.go fake_mutatingwebhookconfiguration.go fake_validatingwebhookconfiguration.go

type FakeAdmissionregistrationV1beta1 Uses

type FakeAdmissionregistrationV1beta1 struct {
    *testing.Fake
}

func (*FakeAdmissionregistrationV1beta1) MutatingWebhookConfigurations Uses

func (c *FakeAdmissionregistrationV1beta1) MutatingWebhookConfigurations() v1beta1.MutatingWebhookConfigurationInterface

func (*FakeAdmissionregistrationV1beta1) RESTClient Uses

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

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

func (*FakeAdmissionregistrationV1beta1) ValidatingWebhookConfigurations Uses

func (c *FakeAdmissionregistrationV1beta1) ValidatingWebhookConfigurations() v1beta1.ValidatingWebhookConfigurationInterface

type FakeMutatingWebhookConfigurations Uses

type FakeMutatingWebhookConfigurations struct {
    Fake *FakeAdmissionregistrationV1beta1
}

FakeMutatingWebhookConfigurations implements MutatingWebhookConfigurationInterface

func (*FakeMutatingWebhookConfigurations) Create Uses

func (c *FakeMutatingWebhookConfigurations) Create(mutatingWebhookConfiguration *v1beta1.MutatingWebhookConfiguration) (result *v1beta1.MutatingWebhookConfiguration, err error)

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

func (*FakeMutatingWebhookConfigurations) Delete Uses

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

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

func (*FakeMutatingWebhookConfigurations) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeMutatingWebhookConfigurations) Get Uses

func (c *FakeMutatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *v1beta1.MutatingWebhookConfiguration, err error)

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

func (*FakeMutatingWebhookConfigurations) List Uses

func (c *FakeMutatingWebhookConfigurations) List(opts v1.ListOptions) (result *v1beta1.MutatingWebhookConfigurationList, err error)

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

func (*FakeMutatingWebhookConfigurations) Patch Uses

func (c *FakeMutatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.MutatingWebhookConfiguration, err error)

Patch applies the patch and returns the patched mutatingWebhookConfiguration.

func (*FakeMutatingWebhookConfigurations) Update Uses

func (c *FakeMutatingWebhookConfigurations) Update(mutatingWebhookConfiguration *v1beta1.MutatingWebhookConfiguration) (result *v1beta1.MutatingWebhookConfiguration, err error)

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

func (*FakeMutatingWebhookConfigurations) Watch Uses

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

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

type FakeValidatingWebhookConfigurations Uses

type FakeValidatingWebhookConfigurations struct {
    Fake *FakeAdmissionregistrationV1beta1
}

FakeValidatingWebhookConfigurations implements ValidatingWebhookConfigurationInterface

func (*FakeValidatingWebhookConfigurations) Create Uses

func (c *FakeValidatingWebhookConfigurations) Create(validatingWebhookConfiguration *v1beta1.ValidatingWebhookConfiguration) (result *v1beta1.ValidatingWebhookConfiguration, err error)

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

func (*FakeValidatingWebhookConfigurations) Delete Uses

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

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

func (*FakeValidatingWebhookConfigurations) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeValidatingWebhookConfigurations) Get Uses

func (c *FakeValidatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *v1beta1.ValidatingWebhookConfiguration, err error)

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

func (*FakeValidatingWebhookConfigurations) List Uses

func (c *FakeValidatingWebhookConfigurations) List(opts v1.ListOptions) (result *v1beta1.ValidatingWebhookConfigurationList, err error)

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

func (*FakeValidatingWebhookConfigurations) Patch Uses

func (c *FakeValidatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ValidatingWebhookConfiguration, err error)

Patch applies the patch and returns the patched validatingWebhookConfiguration.

func (*FakeValidatingWebhookConfigurations) Update Uses

func (c *FakeValidatingWebhookConfigurations) Update(validatingWebhookConfiguration *v1beta1.ValidatingWebhookConfiguration) (result *v1beta1.ValidatingWebhookConfiguration, err error)

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

func (*FakeValidatingWebhookConfigurations) Watch Uses

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

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

Package fake imports 9 packages (graph) and is imported by 3 packages. Updated 2018-10-19. Refresh now. Tools for package owners.