Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigurationRevisions
- func (c *FakeConfigurationRevisions) Create(ctx context.Context, configurationRevision *pkgv1.ConfigurationRevision, ...) (result *pkgv1.ConfigurationRevision, err error)
- func (c *FakeConfigurationRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigurationRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigurationRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.ConfigurationRevision, err error)
- func (c *FakeConfigurationRevisions) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ConfigurationRevisionList, err error)
- func (c *FakeConfigurationRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *pkgv1.ConfigurationRevision, err error)
- func (c *FakeConfigurationRevisions) Update(ctx context.Context, configurationRevision *pkgv1.ConfigurationRevision, ...) (result *pkgv1.ConfigurationRevision, err error)
- func (c *FakeConfigurationRevisions) UpdateStatus(ctx context.Context, configurationRevision *pkgv1.ConfigurationRevision, ...) (*pkgv1.ConfigurationRevision, error)
- func (c *FakeConfigurationRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigurations
- func (c *FakeConfigurations) Create(ctx context.Context, configuration *pkgv1.Configuration, opts v1.CreateOptions) (result *pkgv1.Configuration, err error)
- func (c *FakeConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.Configuration, err error)
- func (c *FakeConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ConfigurationList, err error)
- func (c *FakeConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *pkgv1.Configuration, err error)
- func (c *FakeConfigurations) Update(ctx context.Context, configuration *pkgv1.Configuration, opts v1.UpdateOptions) (result *pkgv1.Configuration, err error)
- func (c *FakeConfigurations) UpdateStatus(ctx context.Context, configuration *pkgv1.Configuration, opts v1.UpdateOptions) (*pkgv1.Configuration, error)
- func (c *FakeConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePkgV1
- func (c *FakePkgV1) ConfigurationRevisions() v1.ConfigurationRevisionInterface
- func (c *FakePkgV1) Configurations() v1.ConfigurationInterface
- func (c *FakePkgV1) ProviderRevisions() v1.ProviderRevisionInterface
- func (c *FakePkgV1) Providers() v1.ProviderInterface
- func (c *FakePkgV1) RESTClient() rest.Interface
- type FakeProviderRevisions
- func (c *FakeProviderRevisions) Create(ctx context.Context, providerRevision *pkgv1.ProviderRevision, ...) (result *pkgv1.ProviderRevision, err error)
- func (c *FakeProviderRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProviderRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProviderRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.ProviderRevision, err error)
- func (c *FakeProviderRevisions) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ProviderRevisionList, err error)
- func (c *FakeProviderRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *pkgv1.ProviderRevision, err error)
- func (c *FakeProviderRevisions) Update(ctx context.Context, providerRevision *pkgv1.ProviderRevision, ...) (result *pkgv1.ProviderRevision, err error)
- func (c *FakeProviderRevisions) UpdateStatus(ctx context.Context, providerRevision *pkgv1.ProviderRevision, ...) (*pkgv1.ProviderRevision, error)
- func (c *FakeProviderRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProviders
- func (c *FakeProviders) Create(ctx context.Context, provider *pkgv1.Provider, opts v1.CreateOptions) (result *pkgv1.Provider, err error)
- func (c *FakeProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.Provider, err error)
- func (c *FakeProviders) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ProviderList, err error)
- func (c *FakeProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *pkgv1.Provider, err error)
- func (c *FakeProviders) Update(ctx context.Context, provider *pkgv1.Provider, opts v1.UpdateOptions) (result *pkgv1.Provider, err error)
- func (c *FakeProviders) UpdateStatus(ctx context.Context, provider *pkgv1.Provider, opts v1.UpdateOptions) (*pkgv1.Provider, error)
- func (c *FakeProviders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfigurationRevisions ¶
type FakeConfigurationRevisions struct {
Fake *FakePkgV1
}
FakeConfigurationRevisions implements ConfigurationRevisionInterface
func (*FakeConfigurationRevisions) Create ¶
func (c *FakeConfigurationRevisions) Create(ctx context.Context, configurationRevision *pkgv1.ConfigurationRevision, opts v1.CreateOptions) (result *pkgv1.ConfigurationRevision, err error)
Create takes the representation of a configurationRevision and creates it. Returns the server's representation of the configurationRevision, and an error, if there is any.
func (*FakeConfigurationRevisions) Delete ¶
func (c *FakeConfigurationRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configurationRevision and deletes it. Returns an error if one occurs.
func (*FakeConfigurationRevisions) DeleteCollection ¶
func (c *FakeConfigurationRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigurationRevisions) Get ¶
func (c *FakeConfigurationRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.ConfigurationRevision, err error)
Get takes name of the configurationRevision, and returns the corresponding configurationRevision object, and an error if there is any.
func (*FakeConfigurationRevisions) List ¶
func (c *FakeConfigurationRevisions) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ConfigurationRevisionList, err error)
List takes label and field selectors, and returns the list of ConfigurationRevisions that match those selectors.
func (*FakeConfigurationRevisions) Patch ¶
func (c *FakeConfigurationRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *pkgv1.ConfigurationRevision, err error)
Patch applies the patch and returns the patched configurationRevision.
func (*FakeConfigurationRevisions) Update ¶
func (c *FakeConfigurationRevisions) Update(ctx context.Context, configurationRevision *pkgv1.ConfigurationRevision, opts v1.UpdateOptions) (result *pkgv1.ConfigurationRevision, err error)
Update takes the representation of a configurationRevision and updates it. Returns the server's representation of the configurationRevision, and an error, if there is any.
func (*FakeConfigurationRevisions) UpdateStatus ¶
func (c *FakeConfigurationRevisions) UpdateStatus(ctx context.Context, configurationRevision *pkgv1.ConfigurationRevision, opts v1.UpdateOptions) (*pkgv1.ConfigurationRevision, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigurationRevisions) Watch ¶
func (c *FakeConfigurationRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configurationRevisions.
type FakeConfigurations ¶
type FakeConfigurations struct {
Fake *FakePkgV1
}
FakeConfigurations implements ConfigurationInterface
func (*FakeConfigurations) Create ¶
func (c *FakeConfigurations) Create(ctx context.Context, configuration *pkgv1.Configuration, opts v1.CreateOptions) (result *pkgv1.Configuration, err error)
Create takes the representation of a configuration and creates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) Delete ¶
func (c *FakeConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configuration and deletes it. Returns an error if one occurs.
func (*FakeConfigurations) DeleteCollection ¶
func (c *FakeConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigurations) Get ¶
func (c *FakeConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.Configuration, err error)
Get takes name of the configuration, and returns the corresponding configuration object, and an error if there is any.
func (*FakeConfigurations) List ¶
func (c *FakeConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ConfigurationList, err error)
List takes label and field selectors, and returns the list of Configurations that match those selectors.
func (*FakeConfigurations) Patch ¶
func (c *FakeConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *pkgv1.Configuration, err error)
Patch applies the patch and returns the patched configuration.
func (*FakeConfigurations) Update ¶
func (c *FakeConfigurations) Update(ctx context.Context, configuration *pkgv1.Configuration, opts v1.UpdateOptions) (result *pkgv1.Configuration, err error)
Update takes the representation of a configuration and updates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) UpdateStatus ¶
func (c *FakeConfigurations) UpdateStatus(ctx context.Context, configuration *pkgv1.Configuration, opts v1.UpdateOptions) (*pkgv1.Configuration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigurations) Watch ¶
func (c *FakeConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configurations.
type FakePkgV1 ¶
func (*FakePkgV1) ConfigurationRevisions ¶
func (c *FakePkgV1) ConfigurationRevisions() v1.ConfigurationRevisionInterface
func (*FakePkgV1) Configurations ¶
func (c *FakePkgV1) Configurations() v1.ConfigurationInterface
func (*FakePkgV1) ProviderRevisions ¶
func (c *FakePkgV1) ProviderRevisions() v1.ProviderRevisionInterface
func (*FakePkgV1) Providers ¶
func (c *FakePkgV1) Providers() v1.ProviderInterface
func (*FakePkgV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeProviderRevisions ¶
type FakeProviderRevisions struct {
Fake *FakePkgV1
}
FakeProviderRevisions implements ProviderRevisionInterface
func (*FakeProviderRevisions) Create ¶
func (c *FakeProviderRevisions) Create(ctx context.Context, providerRevision *pkgv1.ProviderRevision, opts v1.CreateOptions) (result *pkgv1.ProviderRevision, err error)
Create takes the representation of a providerRevision and creates it. Returns the server's representation of the providerRevision, and an error, if there is any.
func (*FakeProviderRevisions) Delete ¶
func (c *FakeProviderRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the providerRevision and deletes it. Returns an error if one occurs.
func (*FakeProviderRevisions) DeleteCollection ¶
func (c *FakeProviderRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProviderRevisions) Get ¶
func (c *FakeProviderRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.ProviderRevision, err error)
Get takes name of the providerRevision, and returns the corresponding providerRevision object, and an error if there is any.
func (*FakeProviderRevisions) List ¶
func (c *FakeProviderRevisions) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ProviderRevisionList, err error)
List takes label and field selectors, and returns the list of ProviderRevisions that match those selectors.
func (*FakeProviderRevisions) Patch ¶
func (c *FakeProviderRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *pkgv1.ProviderRevision, err error)
Patch applies the patch and returns the patched providerRevision.
func (*FakeProviderRevisions) Update ¶
func (c *FakeProviderRevisions) Update(ctx context.Context, providerRevision *pkgv1.ProviderRevision, opts v1.UpdateOptions) (result *pkgv1.ProviderRevision, err error)
Update takes the representation of a providerRevision and updates it. Returns the server's representation of the providerRevision, and an error, if there is any.
func (*FakeProviderRevisions) UpdateStatus ¶
func (c *FakeProviderRevisions) UpdateStatus(ctx context.Context, providerRevision *pkgv1.ProviderRevision, opts v1.UpdateOptions) (*pkgv1.ProviderRevision, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProviderRevisions) Watch ¶
func (c *FakeProviderRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested providerRevisions.
type FakeProviders ¶
type FakeProviders struct {
Fake *FakePkgV1
}
FakeProviders implements ProviderInterface
func (*FakeProviders) Create ¶
func (c *FakeProviders) Create(ctx context.Context, provider *pkgv1.Provider, opts v1.CreateOptions) (result *pkgv1.Provider, err error)
Create takes the representation of a provider and creates it. Returns the server's representation of the provider, and an error, if there is any.
func (*FakeProviders) Delete ¶
func (c *FakeProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the provider and deletes it. Returns an error if one occurs.
func (*FakeProviders) DeleteCollection ¶
func (c *FakeProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProviders) Get ¶
func (c *FakeProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *pkgv1.Provider, err error)
Get takes name of the provider, and returns the corresponding provider object, and an error if there is any.
func (*FakeProviders) List ¶
func (c *FakeProviders) List(ctx context.Context, opts v1.ListOptions) (result *pkgv1.ProviderList, err error)
List takes label and field selectors, and returns the list of Providers that match those selectors.
func (*FakeProviders) Patch ¶
func (c *FakeProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *pkgv1.Provider, err error)
Patch applies the patch and returns the patched provider.
func (*FakeProviders) Update ¶
func (c *FakeProviders) Update(ctx context.Context, provider *pkgv1.Provider, opts v1.UpdateOptions) (result *pkgv1.Provider, err error)
Update takes the representation of a provider and updates it. Returns the server's representation of the provider, and an error, if there is any.
func (*FakeProviders) UpdateStatus ¶
func (c *FakeProviders) UpdateStatus(ctx context.Context, provider *pkgv1.Provider, opts v1.UpdateOptions) (*pkgv1.Provider, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProviders) Watch ¶
func (c *FakeProviders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested providers.