Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterLabels
- func (c *FakeClusterLabels) Create(clusterLabel *v3.ClusterLabel) (result *v3.ClusterLabel, err error)
- func (c *FakeClusterLabels) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterLabels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterLabels) Get(name string, options v1.GetOptions) (result *v3.ClusterLabel, err error)
- func (c *FakeClusterLabels) List(opts v1.ListOptions) (result *v3.ClusterLabelList, err error)
- func (c *FakeClusterLabels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.ClusterLabel, err error)
- func (c *FakeClusterLabels) Update(clusterLabel *v3.ClusterLabel) (result *v3.ClusterLabel, err error)
- func (c *FakeClusterLabels) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeContainershipV3
- func (c *FakeContainershipV3) ClusterLabels(namespace string) v3.ClusterLabelInterface
- func (c *FakeContainershipV3) Plugins(namespace string) v3.PluginInterface
- func (c *FakeContainershipV3) RESTClient() rest.Interface
- func (c *FakeContainershipV3) Registries(namespace string) v3.RegistryInterface
- func (c *FakeContainershipV3) Users(namespace string) v3.UserInterface
- type FakePlugins
- func (c *FakePlugins) Create(plugin *v3.Plugin) (result *v3.Plugin, err error)
- func (c *FakePlugins) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePlugins) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePlugins) Get(name string, options v1.GetOptions) (result *v3.Plugin, err error)
- func (c *FakePlugins) List(opts v1.ListOptions) (result *v3.PluginList, err error)
- func (c *FakePlugins) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.Plugin, err error)
- func (c *FakePlugins) Update(plugin *v3.Plugin) (result *v3.Plugin, err error)
- func (c *FakePlugins) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRegistries
- func (c *FakeRegistries) Create(registry *v3.Registry) (result *v3.Registry, err error)
- func (c *FakeRegistries) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRegistries) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRegistries) Get(name string, options v1.GetOptions) (result *v3.Registry, err error)
- func (c *FakeRegistries) List(opts v1.ListOptions) (result *v3.RegistryList, err error)
- func (c *FakeRegistries) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.Registry, err error)
- func (c *FakeRegistries) Update(registry *v3.Registry) (result *v3.Registry, err error)
- func (c *FakeRegistries) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(user *v3.User) (result *v3.User, err error)
- func (c *FakeUsers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUsers) Get(name string, options v1.GetOptions) (result *v3.User, err error)
- func (c *FakeUsers) List(opts v1.ListOptions) (result *v3.UserList, err error)
- func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.User, err error)
- func (c *FakeUsers) Update(user *v3.User) (result *v3.User, err error)
- func (c *FakeUsers) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterLabels ¶
type FakeClusterLabels struct { Fake *FakeContainershipV3 // contains filtered or unexported fields }
FakeClusterLabels implements ClusterLabelInterface
func (*FakeClusterLabels) Create ¶
func (c *FakeClusterLabels) Create(clusterLabel *v3.ClusterLabel) (result *v3.ClusterLabel, err error)
Create takes the representation of a clusterLabel and creates it. Returns the server's representation of the clusterLabel, and an error, if there is any.
func (*FakeClusterLabels) Delete ¶
func (c *FakeClusterLabels) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterLabel and deletes it. Returns an error if one occurs.
func (*FakeClusterLabels) DeleteCollection ¶
func (c *FakeClusterLabels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterLabels) Get ¶
func (c *FakeClusterLabels) Get(name string, options v1.GetOptions) (result *v3.ClusterLabel, err error)
Get takes name of the clusterLabel, and returns the corresponding clusterLabel object, and an error if there is any.
func (*FakeClusterLabels) List ¶
func (c *FakeClusterLabels) List(opts v1.ListOptions) (result *v3.ClusterLabelList, err error)
List takes label and field selectors, and returns the list of ClusterLabels that match those selectors.
func (*FakeClusterLabels) Patch ¶
func (c *FakeClusterLabels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.ClusterLabel, err error)
Patch applies the patch and returns the patched clusterLabel.
func (*FakeClusterLabels) Update ¶
func (c *FakeClusterLabels) Update(clusterLabel *v3.ClusterLabel) (result *v3.ClusterLabel, err error)
Update takes the representation of a clusterLabel and updates it. Returns the server's representation of the clusterLabel, and an error, if there is any.
func (*FakeClusterLabels) Watch ¶
func (c *FakeClusterLabels) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterLabels.
type FakeContainershipV3 ¶
func (*FakeContainershipV3) ClusterLabels ¶
func (c *FakeContainershipV3) ClusterLabels(namespace string) v3.ClusterLabelInterface
func (*FakeContainershipV3) Plugins ¶
func (c *FakeContainershipV3) Plugins(namespace string) v3.PluginInterface
func (*FakeContainershipV3) RESTClient ¶
func (c *FakeContainershipV3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeContainershipV3) Registries ¶
func (c *FakeContainershipV3) Registries(namespace string) v3.RegistryInterface
func (*FakeContainershipV3) Users ¶
func (c *FakeContainershipV3) Users(namespace string) v3.UserInterface
type FakePlugins ¶
type FakePlugins struct { Fake *FakeContainershipV3 // contains filtered or unexported fields }
FakePlugins implements PluginInterface
func (*FakePlugins) Create ¶
Create takes the representation of a plugin and creates it. Returns the server's representation of the plugin, and an error, if there is any.
func (*FakePlugins) Delete ¶
func (c *FakePlugins) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the plugin and deletes it. Returns an error if one occurs.
func (*FakePlugins) DeleteCollection ¶
func (c *FakePlugins) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlugins) Get ¶
func (c *FakePlugins) Get(name string, options v1.GetOptions) (result *v3.Plugin, err error)
Get takes name of the plugin, and returns the corresponding plugin object, and an error if there is any.
func (*FakePlugins) List ¶
func (c *FakePlugins) List(opts v1.ListOptions) (result *v3.PluginList, err error)
List takes label and field selectors, and returns the list of Plugins that match those selectors.
func (*FakePlugins) Patch ¶
func (c *FakePlugins) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.Plugin, err error)
Patch applies the patch and returns the patched plugin.
func (*FakePlugins) Update ¶
Update takes the representation of a plugin and updates it. Returns the server's representation of the plugin, and an error, if there is any.
func (*FakePlugins) Watch ¶
func (c *FakePlugins) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested plugins.
type FakeRegistries ¶
type FakeRegistries struct { Fake *FakeContainershipV3 // contains filtered or unexported fields }
FakeRegistries implements RegistryInterface
func (*FakeRegistries) Create ¶
Create takes the representation of a registry and creates it. Returns the server's representation of the registry, and an error, if there is any.
func (*FakeRegistries) Delete ¶
func (c *FakeRegistries) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the registry and deletes it. Returns an error if one occurs.
func (*FakeRegistries) DeleteCollection ¶
func (c *FakeRegistries) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRegistries) Get ¶
func (c *FakeRegistries) Get(name string, options v1.GetOptions) (result *v3.Registry, err error)
Get takes name of the registry, and returns the corresponding registry object, and an error if there is any.
func (*FakeRegistries) List ¶
func (c *FakeRegistries) List(opts v1.ListOptions) (result *v3.RegistryList, err error)
List takes label and field selectors, and returns the list of Registries that match those selectors.
func (*FakeRegistries) Patch ¶
func (c *FakeRegistries) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.Registry, err error)
Patch applies the patch and returns the patched registry.
func (*FakeRegistries) Update ¶
Update takes the representation of a registry and updates it. Returns the server's representation of the registry, and an error, if there is any.
func (*FakeRegistries) Watch ¶
func (c *FakeRegistries) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested registries.
type FakeUsers ¶
type FakeUsers struct { Fake *FakeContainershipV3 // contains filtered or unexported fields }
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
Create takes the representation of a user and creates it. Returns the server's representation of the user, and an error, if there is any.
func (*FakeUsers) Delete ¶
func (c *FakeUsers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the user and deletes it. Returns an error if one occurs.
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
Get takes name of the user, and returns the corresponding user object, and an error if there is any.
func (*FakeUsers) List ¶
List takes label and field selectors, and returns the list of Users that match those selectors.
func (*FakeUsers) Patch ¶
func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.User, err error)
Patch applies the patch and returns the patched user.