Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddonConfigs
- func (c *FakeAddonConfigs) Create(addonConfig *kubermaticv1.AddonConfig) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAddonConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAddonConfigs) Get(name string, options v1.GetOptions) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) List(opts v1.ListOptions) (result *kubermaticv1.AddonConfigList, err error)
- func (c *FakeAddonConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) Update(addonConfig *kubermaticv1.AddonConfig) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAddons
- func (c *FakeAddons) Create(addon *kubermaticv1.Addon) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAddons) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAddons) Get(name string, options v1.GetOptions) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) List(opts v1.ListOptions) (result *kubermaticv1.AddonList, err error)
- func (c *FakeAddons) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) Update(addon *kubermaticv1.Addon) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) UpdateStatus(addon *kubermaticv1.Addon) (*kubermaticv1.Addon, error)
- func (c *FakeAddons) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(cluster *kubermaticv1.Cluster) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *kubermaticv1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *kubermaticv1.Cluster) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(cluster *kubermaticv1.Cluster) (*kubermaticv1.Cluster, error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKubermaticSettings
- func (c *FakeKubermaticSettings) Create(kubermaticSetting *kubermaticv1.KubermaticSetting) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeKubermaticSettings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeKubermaticSettings) Get(name string, options v1.GetOptions) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) List(opts v1.ListOptions) (result *kubermaticv1.KubermaticSettingList, err error)
- func (c *FakeKubermaticSettings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) Update(kubermaticSetting *kubermaticv1.KubermaticSetting) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKubermaticV1
- func (c *FakeKubermaticV1) AddonConfigs() v1.AddonConfigInterface
- func (c *FakeKubermaticV1) Addons(namespace string) v1.AddonInterface
- func (c *FakeKubermaticV1) Clusters() v1.ClusterInterface
- func (c *FakeKubermaticV1) KubermaticSettings() v1.KubermaticSettingInterface
- func (c *FakeKubermaticV1) Projects() v1.ProjectInterface
- func (c *FakeKubermaticV1) RESTClient() rest.Interface
- func (c *FakeKubermaticV1) UserProjectBindings() v1.UserProjectBindingInterface
- func (c *FakeKubermaticV1) UserSSHKeys() v1.UserSSHKeyInterface
- func (c *FakeKubermaticV1) Users() v1.UserInterface
- type FakeProjects
- func (c *FakeProjects) Create(project *kubermaticv1.Project) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) List(opts v1.ListOptions) (result *kubermaticv1.ProjectList, err error)
- func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) Update(project *kubermaticv1.Project) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) UpdateStatus(project *kubermaticv1.Project) (*kubermaticv1.Project, error)
- func (c *FakeProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUserProjectBindings
- func (c *FakeUserProjectBindings) Create(userProjectBinding *kubermaticv1.UserProjectBinding) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUserProjectBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUserProjectBindings) Get(name string, options v1.GetOptions) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) List(opts v1.ListOptions) (result *kubermaticv1.UserProjectBindingList, err error)
- func (c *FakeUserProjectBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) Update(userProjectBinding *kubermaticv1.UserProjectBinding) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUserSSHKeys
- func (c *FakeUserSSHKeys) Create(userSSHKey *kubermaticv1.UserSSHKey) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUserSSHKeys) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUserSSHKeys) Get(name string, options v1.GetOptions) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) List(opts v1.ListOptions) (result *kubermaticv1.UserSSHKeyList, err error)
- func (c *FakeUserSSHKeys) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) Update(userSSHKey *kubermaticv1.UserSSHKey) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(user *kubermaticv1.User) (result *kubermaticv1.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 *kubermaticv1.User, err error)
- func (c *FakeUsers) List(opts v1.ListOptions) (result *kubermaticv1.UserList, err error)
- func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.User, err error)
- func (c *FakeUsers) Update(user *kubermaticv1.User) (result *kubermaticv1.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 FakeAddonConfigs ¶
type FakeAddonConfigs struct {
Fake *FakeKubermaticV1
}
FakeAddonConfigs implements AddonConfigInterface
func (*FakeAddonConfigs) Create ¶
func (c *FakeAddonConfigs) Create(addonConfig *kubermaticv1.AddonConfig) (result *kubermaticv1.AddonConfig, err error)
Create takes the representation of a addonConfig and creates it. Returns the server's representation of the addonConfig, and an error, if there is any.
func (*FakeAddonConfigs) Delete ¶
func (c *FakeAddonConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the addonConfig and deletes it. Returns an error if one occurs.
func (*FakeAddonConfigs) DeleteCollection ¶
func (c *FakeAddonConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddonConfigs) Get ¶
func (c *FakeAddonConfigs) Get(name string, options v1.GetOptions) (result *kubermaticv1.AddonConfig, err error)
Get takes name of the addonConfig, and returns the corresponding addonConfig object, and an error if there is any.
func (*FakeAddonConfigs) List ¶
func (c *FakeAddonConfigs) List(opts v1.ListOptions) (result *kubermaticv1.AddonConfigList, err error)
List takes label and field selectors, and returns the list of AddonConfigs that match those selectors.
func (*FakeAddonConfigs) Patch ¶
func (c *FakeAddonConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.AddonConfig, err error)
Patch applies the patch and returns the patched addonConfig.
func (*FakeAddonConfigs) Update ¶
func (c *FakeAddonConfigs) Update(addonConfig *kubermaticv1.AddonConfig) (result *kubermaticv1.AddonConfig, err error)
Update takes the representation of a addonConfig and updates it. Returns the server's representation of the addonConfig, and an error, if there is any.
func (*FakeAddonConfigs) Watch ¶
func (c *FakeAddonConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addonConfigs.
type FakeAddons ¶
type FakeAddons struct { Fake *FakeKubermaticV1 // contains filtered or unexported fields }
FakeAddons implements AddonInterface
func (*FakeAddons) Create ¶
func (c *FakeAddons) Create(addon *kubermaticv1.Addon) (result *kubermaticv1.Addon, err error)
Create takes the representation of a addon and creates it. Returns the server's representation of the addon, and an error, if there is any.
func (*FakeAddons) Delete ¶
func (c *FakeAddons) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the addon and deletes it. Returns an error if one occurs.
func (*FakeAddons) DeleteCollection ¶
func (c *FakeAddons) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddons) Get ¶
func (c *FakeAddons) Get(name string, options v1.GetOptions) (result *kubermaticv1.Addon, err error)
Get takes name of the addon, and returns the corresponding addon object, and an error if there is any.
func (*FakeAddons) List ¶
func (c *FakeAddons) List(opts v1.ListOptions) (result *kubermaticv1.AddonList, err error)
List takes label and field selectors, and returns the list of Addons that match those selectors.
func (*FakeAddons) Patch ¶
func (c *FakeAddons) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.Addon, err error)
Patch applies the patch and returns the patched addon.
func (*FakeAddons) Update ¶
func (c *FakeAddons) Update(addon *kubermaticv1.Addon) (result *kubermaticv1.Addon, err error)
Update takes the representation of a addon and updates it. Returns the server's representation of the addon, and an error, if there is any.
func (*FakeAddons) UpdateStatus ¶
func (c *FakeAddons) UpdateStatus(addon *kubermaticv1.Addon) (*kubermaticv1.Addon, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAddons) Watch ¶
func (c *FakeAddons) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addons.
type FakeClusters ¶
type FakeClusters struct {
Fake *FakeKubermaticV1
}
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
func (c *FakeClusters) Create(cluster *kubermaticv1.Cluster) (result *kubermaticv1.Cluster, err error)
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *kubermaticv1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(opts v1.ListOptions) (result *kubermaticv1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
func (c *FakeClusters) Update(cluster *kubermaticv1.Cluster) (result *kubermaticv1.Cluster, err error)
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) UpdateStatus ¶
func (c *FakeClusters) UpdateStatus(cluster *kubermaticv1.Cluster) (*kubermaticv1.Cluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeKubermaticSettings ¶
type FakeKubermaticSettings struct {
Fake *FakeKubermaticV1
}
FakeKubermaticSettings implements KubermaticSettingInterface
func (*FakeKubermaticSettings) Create ¶
func (c *FakeKubermaticSettings) Create(kubermaticSetting *kubermaticv1.KubermaticSetting) (result *kubermaticv1.KubermaticSetting, err error)
Create takes the representation of a kubermaticSetting and creates it. Returns the server's representation of the kubermaticSetting, and an error, if there is any.
func (*FakeKubermaticSettings) Delete ¶
func (c *FakeKubermaticSettings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the kubermaticSetting and deletes it. Returns an error if one occurs.
func (*FakeKubermaticSettings) DeleteCollection ¶
func (c *FakeKubermaticSettings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKubermaticSettings) Get ¶
func (c *FakeKubermaticSettings) Get(name string, options v1.GetOptions) (result *kubermaticv1.KubermaticSetting, err error)
Get takes name of the kubermaticSetting, and returns the corresponding kubermaticSetting object, and an error if there is any.
func (*FakeKubermaticSettings) List ¶
func (c *FakeKubermaticSettings) List(opts v1.ListOptions) (result *kubermaticv1.KubermaticSettingList, err error)
List takes label and field selectors, and returns the list of KubermaticSettings that match those selectors.
func (*FakeKubermaticSettings) Patch ¶
func (c *FakeKubermaticSettings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.KubermaticSetting, err error)
Patch applies the patch and returns the patched kubermaticSetting.
func (*FakeKubermaticSettings) Update ¶
func (c *FakeKubermaticSettings) Update(kubermaticSetting *kubermaticv1.KubermaticSetting) (result *kubermaticv1.KubermaticSetting, err error)
Update takes the representation of a kubermaticSetting and updates it. Returns the server's representation of the kubermaticSetting, and an error, if there is any.
func (*FakeKubermaticSettings) Watch ¶
func (c *FakeKubermaticSettings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kubermaticSettings.
type FakeKubermaticV1 ¶
func (*FakeKubermaticV1) AddonConfigs ¶
func (c *FakeKubermaticV1) AddonConfigs() v1.AddonConfigInterface
func (*FakeKubermaticV1) Addons ¶
func (c *FakeKubermaticV1) Addons(namespace string) v1.AddonInterface
func (*FakeKubermaticV1) Clusters ¶
func (c *FakeKubermaticV1) Clusters() v1.ClusterInterface
func (*FakeKubermaticV1) KubermaticSettings ¶
func (c *FakeKubermaticV1) KubermaticSettings() v1.KubermaticSettingInterface
func (*FakeKubermaticV1) Projects ¶
func (c *FakeKubermaticV1) Projects() v1.ProjectInterface
func (*FakeKubermaticV1) RESTClient ¶
func (c *FakeKubermaticV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKubermaticV1) UserProjectBindings ¶
func (c *FakeKubermaticV1) UserProjectBindings() v1.UserProjectBindingInterface
func (*FakeKubermaticV1) UserSSHKeys ¶
func (c *FakeKubermaticV1) UserSSHKeys() v1.UserSSHKeyInterface
func (*FakeKubermaticV1) Users ¶
func (c *FakeKubermaticV1) Users() v1.UserInterface
type FakeProjects ¶
type FakeProjects struct {
Fake *FakeKubermaticV1
}
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶
func (c *FakeProjects) Create(project *kubermaticv1.Project) (result *kubermaticv1.Project, err error)
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) DeleteCollection ¶
func (c *FakeProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶
func (c *FakeProjects) Get(name string, options v1.GetOptions) (result *kubermaticv1.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶
func (c *FakeProjects) List(opts v1.ListOptions) (result *kubermaticv1.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶
func (c *FakeProjects) Update(project *kubermaticv1.Project) (result *kubermaticv1.Project, err error)
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) UpdateStatus ¶
func (c *FakeProjects) UpdateStatus(project *kubermaticv1.Project) (*kubermaticv1.Project, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
type FakeUserProjectBindings ¶
type FakeUserProjectBindings struct {
Fake *FakeKubermaticV1
}
FakeUserProjectBindings implements UserProjectBindingInterface
func (*FakeUserProjectBindings) Create ¶
func (c *FakeUserProjectBindings) Create(userProjectBinding *kubermaticv1.UserProjectBinding) (result *kubermaticv1.UserProjectBinding, err error)
Create takes the representation of a userProjectBinding and creates it. Returns the server's representation of the userProjectBinding, and an error, if there is any.
func (*FakeUserProjectBindings) Delete ¶
func (c *FakeUserProjectBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the userProjectBinding and deletes it. Returns an error if one occurs.
func (*FakeUserProjectBindings) DeleteCollection ¶
func (c *FakeUserProjectBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUserProjectBindings) Get ¶
func (c *FakeUserProjectBindings) Get(name string, options v1.GetOptions) (result *kubermaticv1.UserProjectBinding, err error)
Get takes name of the userProjectBinding, and returns the corresponding userProjectBinding object, and an error if there is any.
func (*FakeUserProjectBindings) List ¶
func (c *FakeUserProjectBindings) List(opts v1.ListOptions) (result *kubermaticv1.UserProjectBindingList, err error)
List takes label and field selectors, and returns the list of UserProjectBindings that match those selectors.
func (*FakeUserProjectBindings) Patch ¶
func (c *FakeUserProjectBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.UserProjectBinding, err error)
Patch applies the patch and returns the patched userProjectBinding.
func (*FakeUserProjectBindings) Update ¶
func (c *FakeUserProjectBindings) Update(userProjectBinding *kubermaticv1.UserProjectBinding) (result *kubermaticv1.UserProjectBinding, err error)
Update takes the representation of a userProjectBinding and updates it. Returns the server's representation of the userProjectBinding, and an error, if there is any.
func (*FakeUserProjectBindings) Watch ¶
func (c *FakeUserProjectBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested userProjectBindings.
type FakeUserSSHKeys ¶
type FakeUserSSHKeys struct {
Fake *FakeKubermaticV1
}
FakeUserSSHKeys implements UserSSHKeyInterface
func (*FakeUserSSHKeys) Create ¶
func (c *FakeUserSSHKeys) Create(userSSHKey *kubermaticv1.UserSSHKey) (result *kubermaticv1.UserSSHKey, err error)
Create takes the representation of a userSSHKey and creates it. Returns the server's representation of the userSSHKey, and an error, if there is any.
func (*FakeUserSSHKeys) Delete ¶
func (c *FakeUserSSHKeys) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the userSSHKey and deletes it. Returns an error if one occurs.
func (*FakeUserSSHKeys) DeleteCollection ¶
func (c *FakeUserSSHKeys) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUserSSHKeys) Get ¶
func (c *FakeUserSSHKeys) Get(name string, options v1.GetOptions) (result *kubermaticv1.UserSSHKey, err error)
Get takes name of the userSSHKey, and returns the corresponding userSSHKey object, and an error if there is any.
func (*FakeUserSSHKeys) List ¶
func (c *FakeUserSSHKeys) List(opts v1.ListOptions) (result *kubermaticv1.UserSSHKeyList, err error)
List takes label and field selectors, and returns the list of UserSSHKeys that match those selectors.
func (*FakeUserSSHKeys) Patch ¶
func (c *FakeUserSSHKeys) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *kubermaticv1.UserSSHKey, err error)
Patch applies the patch and returns the patched userSSHKey.
func (*FakeUserSSHKeys) Update ¶
func (c *FakeUserSSHKeys) Update(userSSHKey *kubermaticv1.UserSSHKey) (result *kubermaticv1.UserSSHKey, err error)
Update takes the representation of a userSSHKey and updates it. Returns the server's representation of the userSSHKey, and an error, if there is any.
func (*FakeUserSSHKeys) Watch ¶
func (c *FakeUserSSHKeys) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested userSSHKeys.
type FakeUsers ¶
type FakeUsers struct {
Fake *FakeKubermaticV1
}
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
func (c *FakeUsers) Create(user *kubermaticv1.User) (result *kubermaticv1.User, err error)
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 ¶
func (c *FakeUsers) Get(name string, options v1.GetOptions) (result *kubermaticv1.User, err error)
Get takes name of the user, and returns the corresponding user object, and an error if there is any.
func (*FakeUsers) List ¶
func (c *FakeUsers) List(opts v1.ListOptions) (result *kubermaticv1.UserList, err error)
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 *kubermaticv1.User, err error)
Patch applies the patch and returns the patched user.
func (*FakeUsers) Update ¶
func (c *FakeUsers) Update(user *kubermaticv1.User) (result *kubermaticv1.User, err error)
Update takes the representation of a user and updates it. Returns the server's representation of the user, and an error, if there is any.