Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChartGroups
- func (c *FakeChartGroups) Create(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.CreateOptions) (result *registry.ChartGroup, err error)
- func (c *FakeChartGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeChartGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.ChartGroup, err error)
- func (c *FakeChartGroups) List(ctx context.Context, opts v1.ListOptions) (result *registry.ChartGroupList, err error)
- func (c *FakeChartGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *registry.ChartGroup, err error)
- func (c *FakeChartGroups) Update(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.UpdateOptions) (result *registry.ChartGroup, err error)
- func (c *FakeChartGroups) UpdateStatus(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.UpdateOptions) (*registry.ChartGroup, error)
- func (c *FakeChartGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeChartInfos
- type FakeCharts
- func (c *FakeCharts) Create(ctx context.Context, chart *registry.Chart, opts v1.CreateOptions) (result *registry.Chart, err error)
- func (c *FakeCharts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCharts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCharts) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.Chart, err error)
- func (c *FakeCharts) List(ctx context.Context, opts v1.ListOptions) (result *registry.ChartList, err error)
- func (c *FakeCharts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *registry.Chart, err error)
- func (c *FakeCharts) Update(ctx context.Context, chart *registry.Chart, opts v1.UpdateOptions) (result *registry.Chart, err error)
- func (c *FakeCharts) UpdateStatus(ctx context.Context, chart *registry.Chart, opts v1.UpdateOptions) (*registry.Chart, error)
- func (c *FakeCharts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(ctx context.Context, configMap *registry.ConfigMap, opts v1.CreateOptions) (result *registry.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.ConfigMap, err error)
- func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *registry.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *registry.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(ctx context.Context, configMap *registry.ConfigMap, opts v1.UpdateOptions) (result *registry.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNamespaces
- func (c *FakeNamespaces) Create(ctx context.Context, namespace *registry.Namespace, opts v1.CreateOptions) (result *registry.Namespace, err error)
- func (c *FakeNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.Namespace, err error)
- func (c *FakeNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *registry.NamespaceList, err error)
- func (c *FakeNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *registry.Namespace, err error)
- func (c *FakeNamespaces) Update(ctx context.Context, namespace *registry.Namespace, opts v1.UpdateOptions) (result *registry.Namespace, err error)
- func (c *FakeNamespaces) UpdateStatus(ctx context.Context, namespace *registry.Namespace, opts v1.UpdateOptions) (*registry.Namespace, error)
- func (c *FakeNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistry
- func (c *FakeRegistry) ChartGroups() internalversion.ChartGroupInterface
- func (c *FakeRegistry) ChartInfos(namespace string) internalversion.ChartInfoInterface
- func (c *FakeRegistry) Charts(namespace string) internalversion.ChartInterface
- func (c *FakeRegistry) ConfigMaps() internalversion.ConfigMapInterface
- func (c *FakeRegistry) Namespaces() internalversion.NamespaceInterface
- func (c *FakeRegistry) RESTClient() rest.Interface
- func (c *FakeRegistry) Repositories(namespace string) internalversion.RepositoryInterface
- type FakeRepositories
- func (c *FakeRepositories) Create(ctx context.Context, repository *registry.Repository, opts v1.CreateOptions) (result *registry.Repository, err error)
- func (c *FakeRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.Repository, err error)
- func (c *FakeRepositories) List(ctx context.Context, opts v1.ListOptions) (result *registry.RepositoryList, err error)
- func (c *FakeRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *registry.Repository, err error)
- func (c *FakeRepositories) Update(ctx context.Context, repository *registry.Repository, opts v1.UpdateOptions) (result *registry.Repository, err error)
- func (c *FakeRepositories) UpdateStatus(ctx context.Context, repository *registry.Repository, opts v1.UpdateOptions) (*registry.Repository, error)
- func (c *FakeRepositories) 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 FakeChartGroups ¶
type FakeChartGroups struct {
Fake *FakeRegistry
}
FakeChartGroups implements ChartGroupInterface
func (*FakeChartGroups) Create ¶
func (c *FakeChartGroups) Create(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.CreateOptions) (result *registry.ChartGroup, err error)
Create takes the representation of a chartGroup and creates it. Returns the server's representation of the chartGroup, and an error, if there is any.
func (*FakeChartGroups) Delete ¶
func (c *FakeChartGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the chartGroup and deletes it. Returns an error if one occurs.
func (*FakeChartGroups) Get ¶
func (c *FakeChartGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.ChartGroup, err error)
Get takes name of the chartGroup, and returns the corresponding chartGroup object, and an error if there is any.
func (*FakeChartGroups) List ¶
func (c *FakeChartGroups) List(ctx context.Context, opts v1.ListOptions) (result *registry.ChartGroupList, err error)
List takes label and field selectors, and returns the list of ChartGroups that match those selectors.
func (*FakeChartGroups) Patch ¶
func (c *FakeChartGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *registry.ChartGroup, err error)
Patch applies the patch and returns the patched chartGroup.
func (*FakeChartGroups) Update ¶
func (c *FakeChartGroups) Update(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.UpdateOptions) (result *registry.ChartGroup, err error)
Update takes the representation of a chartGroup and updates it. Returns the server's representation of the chartGroup, and an error, if there is any.
func (*FakeChartGroups) UpdateStatus ¶
func (c *FakeChartGroups) UpdateStatus(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.UpdateOptions) (*registry.ChartGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeChartGroups) Watch ¶
func (c *FakeChartGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested chartGroups.
type FakeChartInfos ¶ added in v1.4.0
type FakeChartInfos struct { Fake *FakeRegistry // contains filtered or unexported fields }
FakeChartInfos implements ChartInfoInterface
type FakeCharts ¶
type FakeCharts struct { Fake *FakeRegistry // contains filtered or unexported fields }
FakeCharts implements ChartInterface
func (*FakeCharts) Create ¶
func (c *FakeCharts) Create(ctx context.Context, chart *registry.Chart, opts v1.CreateOptions) (result *registry.Chart, err error)
Create takes the representation of a chart and creates it. Returns the server's representation of the chart, and an error, if there is any.
func (*FakeCharts) Delete ¶
func (c *FakeCharts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the chart and deletes it. Returns an error if one occurs.
func (*FakeCharts) DeleteCollection ¶
func (c *FakeCharts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCharts) Get ¶
func (c *FakeCharts) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.Chart, err error)
Get takes name of the chart, and returns the corresponding chart object, and an error if there is any.
func (*FakeCharts) List ¶
func (c *FakeCharts) List(ctx context.Context, opts v1.ListOptions) (result *registry.ChartList, err error)
List takes label and field selectors, and returns the list of Charts that match those selectors.
func (*FakeCharts) Patch ¶
func (c *FakeCharts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *registry.Chart, err error)
Patch applies the patch and returns the patched chart.
func (*FakeCharts) Update ¶
func (c *FakeCharts) Update(ctx context.Context, chart *registry.Chart, opts v1.UpdateOptions) (result *registry.Chart, err error)
Update takes the representation of a chart and updates it. Returns the server's representation of the chart, and an error, if there is any.
func (*FakeCharts) UpdateStatus ¶
func (c *FakeCharts) UpdateStatus(ctx context.Context, chart *registry.Chart, opts v1.UpdateOptions) (*registry.Chart, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCharts) Watch ¶
func (c *FakeCharts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested charts.
type FakeConfigMaps ¶
type FakeConfigMaps struct {
Fake *FakeRegistry
}
FakeConfigMaps implements ConfigMapInterface
func (*FakeConfigMaps) Create ¶
func (c *FakeConfigMaps) Create(ctx context.Context, configMap *registry.ConfigMap, opts v1.CreateOptions) (result *registry.ConfigMap, err error)
Create takes the representation of a configMap and creates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Delete ¶
func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configMap and deletes it. Returns an error if one occurs.
func (*FakeConfigMaps) Get ¶
func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.ConfigMap, err error)
Get takes name of the configMap, and returns the corresponding configMap object, and an error if there is any.
func (*FakeConfigMaps) List ¶
func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *registry.ConfigMapList, err error)
List takes label and field selectors, and returns the list of ConfigMaps that match those selectors.
func (*FakeConfigMaps) Patch ¶
func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *registry.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
func (*FakeConfigMaps) Update ¶
func (c *FakeConfigMaps) Update(ctx context.Context, configMap *registry.ConfigMap, opts v1.UpdateOptions) (result *registry.ConfigMap, err error)
Update takes the representation of a configMap and updates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Watch ¶
func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configMaps.
type FakeNamespaces ¶
type FakeNamespaces struct {
Fake *FakeRegistry
}
FakeNamespaces implements NamespaceInterface
func (*FakeNamespaces) Create ¶
func (c *FakeNamespaces) Create(ctx context.Context, namespace *registry.Namespace, opts v1.CreateOptions) (result *registry.Namespace, err error)
Create takes the representation of a namespace and creates it. Returns the server's representation of the namespace, and an error, if there is any.
func (*FakeNamespaces) Delete ¶
func (c *FakeNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the namespace and deletes it. Returns an error if one occurs.
func (*FakeNamespaces) Get ¶
func (c *FakeNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.Namespace, err error)
Get takes name of the namespace, and returns the corresponding namespace object, and an error if there is any.
func (*FakeNamespaces) List ¶
func (c *FakeNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *registry.NamespaceList, err error)
List takes label and field selectors, and returns the list of Namespaces that match those selectors.
func (*FakeNamespaces) Patch ¶
func (c *FakeNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *registry.Namespace, err error)
Patch applies the patch and returns the patched namespace.
func (*FakeNamespaces) Update ¶
func (c *FakeNamespaces) Update(ctx context.Context, namespace *registry.Namespace, opts v1.UpdateOptions) (result *registry.Namespace, err error)
Update takes the representation of a namespace and updates it. Returns the server's representation of the namespace, and an error, if there is any.
func (*FakeNamespaces) UpdateStatus ¶
func (c *FakeNamespaces) UpdateStatus(ctx context.Context, namespace *registry.Namespace, opts v1.UpdateOptions) (*registry.Namespace, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNamespaces) Watch ¶
func (c *FakeNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested namespaces.
type FakeRegistry ¶
func (*FakeRegistry) ChartGroups ¶
func (c *FakeRegistry) ChartGroups() internalversion.ChartGroupInterface
func (*FakeRegistry) ChartInfos ¶ added in v1.4.0
func (c *FakeRegistry) ChartInfos(namespace string) internalversion.ChartInfoInterface
func (*FakeRegistry) Charts ¶
func (c *FakeRegistry) Charts(namespace string) internalversion.ChartInterface
func (*FakeRegistry) ConfigMaps ¶
func (c *FakeRegistry) ConfigMaps() internalversion.ConfigMapInterface
func (*FakeRegistry) Namespaces ¶
func (c *FakeRegistry) Namespaces() internalversion.NamespaceInterface
func (*FakeRegistry) RESTClient ¶
func (c *FakeRegistry) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeRegistry) Repositories ¶
func (c *FakeRegistry) Repositories(namespace string) internalversion.RepositoryInterface
type FakeRepositories ¶
type FakeRepositories struct { Fake *FakeRegistry // contains filtered or unexported fields }
FakeRepositories implements RepositoryInterface
func (*FakeRepositories) Create ¶
func (c *FakeRepositories) Create(ctx context.Context, repository *registry.Repository, opts v1.CreateOptions) (result *registry.Repository, err error)
Create takes the representation of a repository and creates it. Returns the server's representation of the repository, and an error, if there is any.
func (*FakeRepositories) Delete ¶
func (c *FakeRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the repository and deletes it. Returns an error if one occurs.
func (*FakeRepositories) DeleteCollection ¶
func (c *FakeRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRepositories) Get ¶
func (c *FakeRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *registry.Repository, err error)
Get takes name of the repository, and returns the corresponding repository object, and an error if there is any.
func (*FakeRepositories) List ¶
func (c *FakeRepositories) List(ctx context.Context, opts v1.ListOptions) (result *registry.RepositoryList, err error)
List takes label and field selectors, and returns the list of Repositories that match those selectors.
func (*FakeRepositories) Patch ¶
func (c *FakeRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *registry.Repository, err error)
Patch applies the patch and returns the patched repository.
func (*FakeRepositories) Update ¶
func (c *FakeRepositories) Update(ctx context.Context, repository *registry.Repository, opts v1.UpdateOptions) (result *registry.Repository, err error)
Update takes the representation of a repository and updates it. Returns the server's representation of the repository, and an error, if there is any.
func (*FakeRepositories) UpdateStatus ¶
func (c *FakeRepositories) UpdateStatus(ctx context.Context, repository *registry.Repository, opts v1.UpdateOptions) (*registry.Repository, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRepositories) Watch ¶
func (c *FakeRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested repositories.