Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdmissionregistrationV1
- type FakeMutatingWebhookConfigurations
- func (c *FakeMutatingWebhookConfigurations) Create(...) (result *admissionregistrationv1.MutatingWebhookConfiguration, err error)
- func (c *FakeMutatingWebhookConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMutatingWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMutatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistrationv1.MutatingWebhookConfiguration, err error)
- func (c *FakeMutatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistrationv1.MutatingWebhookConfigurationList, err error)
- func (c *FakeMutatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistrationv1.MutatingWebhookConfiguration, err error)
- func (c *FakeMutatingWebhookConfigurations) Update(...) (result *admissionregistrationv1.MutatingWebhookConfiguration, err error)
- func (c *FakeMutatingWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeValidatingWebhookConfigurations
- func (c *FakeValidatingWebhookConfigurations) Create(...) (result *admissionregistrationv1.ValidatingWebhookConfiguration, err error)
- func (c *FakeValidatingWebhookConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeValidatingWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeValidatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistrationv1.ValidatingWebhookConfiguration, err error)
- func (c *FakeValidatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistrationv1.ValidatingWebhookConfigurationList, err error)
- func (c *FakeValidatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistrationv1.ValidatingWebhookConfiguration, err error)
- func (c *FakeValidatingWebhookConfigurations) Update(...) (result *admissionregistrationv1.ValidatingWebhookConfiguration, err error)
- func (c *FakeValidatingWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAdmissionregistrationV1 ¶
func (*FakeAdmissionregistrationV1) MutatingWebhookConfigurations ¶
func (c *FakeAdmissionregistrationV1) MutatingWebhookConfigurations() v1.MutatingWebhookConfigurationInterface
func (*FakeAdmissionregistrationV1) RESTClient ¶
func (c *FakeAdmissionregistrationV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAdmissionregistrationV1) ValidatingWebhookConfigurations ¶
func (c *FakeAdmissionregistrationV1) ValidatingWebhookConfigurations() v1.ValidatingWebhookConfigurationInterface
type FakeMutatingWebhookConfigurations ¶
type FakeMutatingWebhookConfigurations struct {
Fake *FakeAdmissionregistrationV1
}
FakeMutatingWebhookConfigurations implements MutatingWebhookConfigurationInterface
func (*FakeMutatingWebhookConfigurations) Create ¶
func (c *FakeMutatingWebhookConfigurations) Create(mutatingWebhookConfiguration *admissionregistrationv1.MutatingWebhookConfiguration) (result *admissionregistrationv1.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 ¶
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 ¶
func (c *FakeMutatingWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMutatingWebhookConfigurations) Get ¶
func (c *FakeMutatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistrationv1.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 ¶
func (c *FakeMutatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistrationv1.MutatingWebhookConfigurationList, err error)
List takes label and field selectors, and returns the list of MutatingWebhookConfigurations that match those selectors.
func (*FakeMutatingWebhookConfigurations) Patch ¶
func (c *FakeMutatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistrationv1.MutatingWebhookConfiguration, err error)
Patch applies the patch and returns the patched mutatingWebhookConfiguration.
func (*FakeMutatingWebhookConfigurations) Update ¶
func (c *FakeMutatingWebhookConfigurations) Update(mutatingWebhookConfiguration *admissionregistrationv1.MutatingWebhookConfiguration) (result *admissionregistrationv1.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 ¶
func (c *FakeMutatingWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mutatingWebhookConfigurations.
type FakeValidatingWebhookConfigurations ¶
type FakeValidatingWebhookConfigurations struct {
Fake *FakeAdmissionregistrationV1
}
FakeValidatingWebhookConfigurations implements ValidatingWebhookConfigurationInterface
func (*FakeValidatingWebhookConfigurations) Create ¶
func (c *FakeValidatingWebhookConfigurations) Create(validatingWebhookConfiguration *admissionregistrationv1.ValidatingWebhookConfiguration) (result *admissionregistrationv1.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 ¶
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 ¶
func (c *FakeValidatingWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeValidatingWebhookConfigurations) Get ¶
func (c *FakeValidatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistrationv1.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 ¶
func (c *FakeValidatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistrationv1.ValidatingWebhookConfigurationList, err error)
List takes label and field selectors, and returns the list of ValidatingWebhookConfigurations that match those selectors.
func (*FakeValidatingWebhookConfigurations) Patch ¶
func (c *FakeValidatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistrationv1.ValidatingWebhookConfiguration, err error)
Patch applies the patch and returns the patched validatingWebhookConfiguration.
func (*FakeValidatingWebhookConfigurations) Update ¶
func (c *FakeValidatingWebhookConfigurations) Update(validatingWebhookConfiguration *admissionregistrationv1.ValidatingWebhookConfiguration) (result *admissionregistrationv1.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 ¶
func (c *FakeValidatingWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested validatingWebhookConfigurations.