Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdmissionregistration
- func (c *FakeAdmissionregistration) InitializerConfigurations() internalversion.InitializerConfigurationInterface
- func (c *FakeAdmissionregistration) MutatingWebhookConfigurations() internalversion.MutatingWebhookConfigurationInterface
- func (c *FakeAdmissionregistration) RESTClient() rest.Interface
- func (c *FakeAdmissionregistration) ValidatingWebhookConfigurations() internalversion.ValidatingWebhookConfigurationInterface
- type FakeInitializerConfigurations
- func (c *FakeInitializerConfigurations) Create(initializerConfiguration *admissionregistration.InitializerConfiguration) (result *admissionregistration.InitializerConfiguration, err error)
- func (c *FakeInitializerConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInitializerConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInitializerConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistration.InitializerConfiguration, err error)
- func (c *FakeInitializerConfigurations) List(opts v1.ListOptions) (result *admissionregistration.InitializerConfigurationList, err error)
- func (c *FakeInitializerConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistration.InitializerConfiguration, err error)
- func (c *FakeInitializerConfigurations) Update(initializerConfiguration *admissionregistration.InitializerConfiguration) (result *admissionregistration.InitializerConfiguration, err error)
- func (c *FakeInitializerConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMutatingWebhookConfigurations
- func (c *FakeMutatingWebhookConfigurations) Create(...) (result *admissionregistration.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 *admissionregistration.MutatingWebhookConfiguration, err error)
- func (c *FakeMutatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistration.MutatingWebhookConfigurationList, err error)
- func (c *FakeMutatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistration.MutatingWebhookConfiguration, err error)
- func (c *FakeMutatingWebhookConfigurations) Update(...) (result *admissionregistration.MutatingWebhookConfiguration, err error)
- func (c *FakeMutatingWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeValidatingWebhookConfigurations
- func (c *FakeValidatingWebhookConfigurations) Create(...) (result *admissionregistration.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 *admissionregistration.ValidatingWebhookConfiguration, err error)
- func (c *FakeValidatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistration.ValidatingWebhookConfigurationList, err error)
- func (c *FakeValidatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistration.ValidatingWebhookConfiguration, err error)
- func (c *FakeValidatingWebhookConfigurations) Update(...) (result *admissionregistration.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 FakeAdmissionregistration ¶
func (*FakeAdmissionregistration) InitializerConfigurations ¶
func (c *FakeAdmissionregistration) InitializerConfigurations() internalversion.InitializerConfigurationInterface
func (*FakeAdmissionregistration) MutatingWebhookConfigurations ¶ added in v1.9.0
func (c *FakeAdmissionregistration) MutatingWebhookConfigurations() internalversion.MutatingWebhookConfigurationInterface
func (*FakeAdmissionregistration) RESTClient ¶
func (c *FakeAdmissionregistration) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAdmissionregistration) ValidatingWebhookConfigurations ¶ added in v1.9.0
func (c *FakeAdmissionregistration) ValidatingWebhookConfigurations() internalversion.ValidatingWebhookConfigurationInterface
type FakeInitializerConfigurations ¶
type FakeInitializerConfigurations struct {
Fake *FakeAdmissionregistration
}
FakeInitializerConfigurations implements InitializerConfigurationInterface
func (*FakeInitializerConfigurations) Create ¶
func (c *FakeInitializerConfigurations) Create(initializerConfiguration *admissionregistration.InitializerConfiguration) (result *admissionregistration.InitializerConfiguration, err error)
Create takes the representation of a initializerConfiguration and creates it. Returns the server's representation of the initializerConfiguration, and an error, if there is any.
func (*FakeInitializerConfigurations) Delete ¶
func (c *FakeInitializerConfigurations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the initializerConfiguration and deletes it. Returns an error if one occurs.
func (*FakeInitializerConfigurations) DeleteCollection ¶
func (c *FakeInitializerConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInitializerConfigurations) Get ¶
func (c *FakeInitializerConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistration.InitializerConfiguration, err error)
Get takes name of the initializerConfiguration, and returns the corresponding initializerConfiguration object, and an error if there is any.
func (*FakeInitializerConfigurations) List ¶
func (c *FakeInitializerConfigurations) List(opts v1.ListOptions) (result *admissionregistration.InitializerConfigurationList, err error)
List takes label and field selectors, and returns the list of InitializerConfigurations that match those selectors.
func (*FakeInitializerConfigurations) Patch ¶
func (c *FakeInitializerConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistration.InitializerConfiguration, err error)
Patch applies the patch and returns the patched initializerConfiguration.
func (*FakeInitializerConfigurations) Update ¶
func (c *FakeInitializerConfigurations) Update(initializerConfiguration *admissionregistration.InitializerConfiguration) (result *admissionregistration.InitializerConfiguration, err error)
Update takes the representation of a initializerConfiguration and updates it. Returns the server's representation of the initializerConfiguration, and an error, if there is any.
func (*FakeInitializerConfigurations) Watch ¶
func (c *FakeInitializerConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested initializerConfigurations.
type FakeMutatingWebhookConfigurations ¶ added in v1.9.0
type FakeMutatingWebhookConfigurations struct {
Fake *FakeAdmissionregistration
}
FakeMutatingWebhookConfigurations implements MutatingWebhookConfigurationInterface
func (*FakeMutatingWebhookConfigurations) Create ¶ added in v1.9.0
func (c *FakeMutatingWebhookConfigurations) Create(mutatingWebhookConfiguration *admissionregistration.MutatingWebhookConfiguration) (result *admissionregistration.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 ¶ added in v1.9.0
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 ¶ added in v1.9.0
func (c *FakeMutatingWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMutatingWebhookConfigurations) Get ¶ added in v1.9.0
func (c *FakeMutatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistration.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 ¶ added in v1.9.0
func (c *FakeMutatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistration.MutatingWebhookConfigurationList, err error)
List takes label and field selectors, and returns the list of MutatingWebhookConfigurations that match those selectors.
func (*FakeMutatingWebhookConfigurations) Patch ¶ added in v1.9.0
func (c *FakeMutatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistration.MutatingWebhookConfiguration, err error)
Patch applies the patch and returns the patched mutatingWebhookConfiguration.
func (*FakeMutatingWebhookConfigurations) Update ¶ added in v1.9.0
func (c *FakeMutatingWebhookConfigurations) Update(mutatingWebhookConfiguration *admissionregistration.MutatingWebhookConfiguration) (result *admissionregistration.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 ¶ added in v1.9.0
func (c *FakeMutatingWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mutatingWebhookConfigurations.
type FakeValidatingWebhookConfigurations ¶ added in v1.9.0
type FakeValidatingWebhookConfigurations struct {
Fake *FakeAdmissionregistration
}
FakeValidatingWebhookConfigurations implements ValidatingWebhookConfigurationInterface
func (*FakeValidatingWebhookConfigurations) Create ¶ added in v1.9.0
func (c *FakeValidatingWebhookConfigurations) Create(validatingWebhookConfiguration *admissionregistration.ValidatingWebhookConfiguration) (result *admissionregistration.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 ¶ added in v1.9.0
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 ¶ added in v1.9.0
func (c *FakeValidatingWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeValidatingWebhookConfigurations) Get ¶ added in v1.9.0
func (c *FakeValidatingWebhookConfigurations) Get(name string, options v1.GetOptions) (result *admissionregistration.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 ¶ added in v1.9.0
func (c *FakeValidatingWebhookConfigurations) List(opts v1.ListOptions) (result *admissionregistration.ValidatingWebhookConfigurationList, err error)
List takes label and field selectors, and returns the list of ValidatingWebhookConfigurations that match those selectors.
func (*FakeValidatingWebhookConfigurations) Patch ¶ added in v1.9.0
func (c *FakeValidatingWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *admissionregistration.ValidatingWebhookConfiguration, err error)
Patch applies the patch and returns the patched validatingWebhookConfiguration.
func (*FakeValidatingWebhookConfigurations) Update ¶ added in v1.9.0
func (c *FakeValidatingWebhookConfigurations) Update(validatingWebhookConfiguration *admissionregistration.ValidatingWebhookConfiguration) (result *admissionregistration.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 ¶ added in v1.9.0
func (c *FakeValidatingWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested validatingWebhookConfigurations.