Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigs
- func (c *FakeConfigs) Apply(ctx context.Context, ...) (result *imageregistryv1.Config, err error)
- func (c *FakeConfigs) ApplyStatus(ctx context.Context, ...) (result *imageregistryv1.Config, err error)
- func (c *FakeConfigs) Create(ctx context.Context, config *imageregistryv1.Config, opts v1.CreateOptions) (result *imageregistryv1.Config, err error)
- func (c *FakeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *imageregistryv1.Config, err error)
- func (c *FakeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *imageregistryv1.ConfigList, err error)
- func (c *FakeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *imageregistryv1.Config, err error)
- func (c *FakeConfigs) Update(ctx context.Context, config *imageregistryv1.Config, opts v1.UpdateOptions) (result *imageregistryv1.Config, err error)
- func (c *FakeConfigs) UpdateStatus(ctx context.Context, config *imageregistryv1.Config, opts v1.UpdateOptions) (*imageregistryv1.Config, error)
- func (c *FakeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeImagePruners
- func (c *FakeImagePruners) Apply(ctx context.Context, ...) (result *imageregistryv1.ImagePruner, err error)
- func (c *FakeImagePruners) ApplyStatus(ctx context.Context, ...) (result *imageregistryv1.ImagePruner, err error)
- func (c *FakeImagePruners) Create(ctx context.Context, imagePruner *imageregistryv1.ImagePruner, ...) (result *imageregistryv1.ImagePruner, err error)
- func (c *FakeImagePruners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeImagePruners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeImagePruners) Get(ctx context.Context, name string, options v1.GetOptions) (result *imageregistryv1.ImagePruner, err error)
- func (c *FakeImagePruners) List(ctx context.Context, opts v1.ListOptions) (result *imageregistryv1.ImagePrunerList, err error)
- func (c *FakeImagePruners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *imageregistryv1.ImagePruner, err error)
- func (c *FakeImagePruners) Update(ctx context.Context, imagePruner *imageregistryv1.ImagePruner, ...) (result *imageregistryv1.ImagePruner, err error)
- func (c *FakeImagePruners) UpdateStatus(ctx context.Context, imagePruner *imageregistryv1.ImagePruner, ...) (*imageregistryv1.ImagePruner, error)
- func (c *FakeImagePruners) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeImageregistryV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfigs ¶
type FakeConfigs struct {
Fake *FakeImageregistryV1
}
FakeConfigs implements ConfigInterface
func (*FakeConfigs) Apply ¶
func (c *FakeConfigs) Apply(ctx context.Context, config *applyconfigurationsimageregistryv1.ConfigApplyConfiguration, opts v1.ApplyOptions) (result *imageregistryv1.Config, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied config.
func (*FakeConfigs) ApplyStatus ¶
func (c *FakeConfigs) ApplyStatus(ctx context.Context, config *applyconfigurationsimageregistryv1.ConfigApplyConfiguration, opts v1.ApplyOptions) (result *imageregistryv1.Config, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeConfigs) Create ¶
func (c *FakeConfigs) Create(ctx context.Context, config *imageregistryv1.Config, opts v1.CreateOptions) (result *imageregistryv1.Config, err error)
Create takes the representation of a config and creates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) Delete ¶
func (c *FakeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the config and deletes it. Returns an error if one occurs.
func (*FakeConfigs) DeleteCollection ¶
func (c *FakeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigs) Get ¶
func (c *FakeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *imageregistryv1.Config, err error)
Get takes name of the config, and returns the corresponding config object, and an error if there is any.
func (*FakeConfigs) List ¶
func (c *FakeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *imageregistryv1.ConfigList, err error)
List takes label and field selectors, and returns the list of Configs that match those selectors.
func (*FakeConfigs) Patch ¶
func (c *FakeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *imageregistryv1.Config, err error)
Patch applies the patch and returns the patched config.
func (*FakeConfigs) Update ¶
func (c *FakeConfigs) Update(ctx context.Context, config *imageregistryv1.Config, opts v1.UpdateOptions) (result *imageregistryv1.Config, err error)
Update takes the representation of a config and updates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) UpdateStatus ¶
func (c *FakeConfigs) UpdateStatus(ctx context.Context, config *imageregistryv1.Config, opts v1.UpdateOptions) (*imageregistryv1.Config, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigs) Watch ¶
func (c *FakeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configs.
type FakeImagePruners ¶
type FakeImagePruners struct {
Fake *FakeImageregistryV1
}
FakeImagePruners implements ImagePrunerInterface
func (*FakeImagePruners) Apply ¶
func (c *FakeImagePruners) Apply(ctx context.Context, imagePruner *applyconfigurationsimageregistryv1.ImagePrunerApplyConfiguration, opts v1.ApplyOptions) (result *imageregistryv1.ImagePruner, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied imagePruner.
func (*FakeImagePruners) ApplyStatus ¶
func (c *FakeImagePruners) ApplyStatus(ctx context.Context, imagePruner *applyconfigurationsimageregistryv1.ImagePrunerApplyConfiguration, opts v1.ApplyOptions) (result *imageregistryv1.ImagePruner, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeImagePruners) Create ¶
func (c *FakeImagePruners) Create(ctx context.Context, imagePruner *imageregistryv1.ImagePruner, opts v1.CreateOptions) (result *imageregistryv1.ImagePruner, err error)
Create takes the representation of a imagePruner and creates it. Returns the server's representation of the imagePruner, and an error, if there is any.
func (*FakeImagePruners) Delete ¶
func (c *FakeImagePruners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the imagePruner and deletes it. Returns an error if one occurs.
func (*FakeImagePruners) DeleteCollection ¶
func (c *FakeImagePruners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImagePruners) Get ¶
func (c *FakeImagePruners) Get(ctx context.Context, name string, options v1.GetOptions) (result *imageregistryv1.ImagePruner, err error)
Get takes name of the imagePruner, and returns the corresponding imagePruner object, and an error if there is any.
func (*FakeImagePruners) List ¶
func (c *FakeImagePruners) List(ctx context.Context, opts v1.ListOptions) (result *imageregistryv1.ImagePrunerList, err error)
List takes label and field selectors, and returns the list of ImagePruners that match those selectors.
func (*FakeImagePruners) Patch ¶
func (c *FakeImagePruners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *imageregistryv1.ImagePruner, err error)
Patch applies the patch and returns the patched imagePruner.
func (*FakeImagePruners) Update ¶
func (c *FakeImagePruners) Update(ctx context.Context, imagePruner *imageregistryv1.ImagePruner, opts v1.UpdateOptions) (result *imageregistryv1.ImagePruner, err error)
Update takes the representation of a imagePruner and updates it. Returns the server's representation of the imagePruner, and an error, if there is any.
func (*FakeImagePruners) UpdateStatus ¶
func (c *FakeImagePruners) UpdateStatus(ctx context.Context, imagePruner *imageregistryv1.ImagePruner, opts v1.UpdateOptions) (*imageregistryv1.ImagePruner, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImagePruners) Watch ¶
func (c *FakeImagePruners) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imagePruners.
type FakeImageregistryV1 ¶
func (*FakeImageregistryV1) Configs ¶
func (c *FakeImageregistryV1) Configs() v1.ConfigInterface
func (*FakeImageregistryV1) ImagePruners ¶
func (c *FakeImageregistryV1) ImagePruners() v1.ImagePrunerInterface
func (*FakeImageregistryV1) RESTClient ¶
func (c *FakeImageregistryV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.