Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddonConfigs
- func (c *FakeAddonConfigs) Create(ctx context.Context, addonConfig *kubermaticv1.AddonConfig, ...) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAddonConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAddonConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.AddonConfigList, err error)
- func (c *FakeAddonConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) Update(ctx context.Context, addonConfig *kubermaticv1.AddonConfig, ...) (result *kubermaticv1.AddonConfig, err error)
- func (c *FakeAddonConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAddons
- func (c *FakeAddons) Create(ctx context.Context, addon *kubermaticv1.Addon, opts v1.CreateOptions) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAddons) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAddons) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.AddonList, err error)
- func (c *FakeAddons) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) Update(ctx context.Context, addon *kubermaticv1.Addon, opts v1.UpdateOptions) (result *kubermaticv1.Addon, err error)
- func (c *FakeAddons) UpdateStatus(ctx context.Context, addon *kubermaticv1.Addon, opts v1.UpdateOptions) (*kubermaticv1.Addon, error)
- func (c *FakeAddons) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(ctx context.Context, cluster *kubermaticv1.Cluster, opts v1.CreateOptions) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ClusterList, err error)
- func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) Update(ctx context.Context, cluster *kubermaticv1.Cluster, opts v1.UpdateOptions) (result *kubermaticv1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *kubermaticv1.Cluster, opts v1.UpdateOptions) (*kubermaticv1.Cluster, error)
- func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExternalClusters
- func (c *FakeExternalClusters) Create(ctx context.Context, externalCluster *kubermaticv1.ExternalCluster, ...) (result *kubermaticv1.ExternalCluster, err error)
- func (c *FakeExternalClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExternalClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExternalClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ExternalCluster, err error)
- func (c *FakeExternalClusters) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ExternalClusterList, err error)
- func (c *FakeExternalClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.ExternalCluster, err error)
- func (c *FakeExternalClusters) Update(ctx context.Context, externalCluster *kubermaticv1.ExternalCluster, ...) (result *kubermaticv1.ExternalCluster, err error)
- func (c *FakeExternalClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKubermaticSettings
- func (c *FakeKubermaticSettings) Create(ctx context.Context, kubermaticSetting *kubermaticv1.KubermaticSetting, ...) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKubermaticSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKubermaticSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.KubermaticSettingList, err error)
- func (c *FakeKubermaticSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) Update(ctx context.Context, kubermaticSetting *kubermaticv1.KubermaticSetting, ...) (result *kubermaticv1.KubermaticSetting, err error)
- func (c *FakeKubermaticSettings) Watch(ctx context.Context, 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) ExternalClusters() v1.ExternalClusterInterface
- 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(ctx context.Context, project *kubermaticv1.Project, opts v1.CreateOptions) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ProjectList, err error)
- func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) Update(ctx context.Context, project *kubermaticv1.Project, opts v1.UpdateOptions) (result *kubermaticv1.Project, err error)
- func (c *FakeProjects) UpdateStatus(ctx context.Context, project *kubermaticv1.Project, opts v1.UpdateOptions) (*kubermaticv1.Project, error)
- func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUserProjectBindings
- func (c *FakeUserProjectBindings) Create(ctx context.Context, userProjectBinding *kubermaticv1.UserProjectBinding, ...) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUserProjectBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUserProjectBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.UserProjectBindingList, err error)
- func (c *FakeUserProjectBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) Update(ctx context.Context, userProjectBinding *kubermaticv1.UserProjectBinding, ...) (result *kubermaticv1.UserProjectBinding, err error)
- func (c *FakeUserProjectBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUserSSHKeys
- func (c *FakeUserSSHKeys) Create(ctx context.Context, userSSHKey *kubermaticv1.UserSSHKey, ...) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUserSSHKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUserSSHKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.UserSSHKeyList, err error)
- func (c *FakeUserSSHKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) Update(ctx context.Context, userSSHKey *kubermaticv1.UserSSHKey, ...) (result *kubermaticv1.UserSSHKey, err error)
- func (c *FakeUserSSHKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(ctx context.Context, user *kubermaticv1.User, opts v1.CreateOptions) (result *kubermaticv1.User, err error)
- func (c *FakeUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.User, err error)
- func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.UserList, err error)
- func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.User, err error)
- func (c *FakeUsers) Update(ctx context.Context, user *kubermaticv1.User, opts v1.UpdateOptions) (result *kubermaticv1.User, err error)
- func (c *FakeUsers) 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 FakeAddonConfigs ¶
type FakeAddonConfigs struct {
Fake *FakeKubermaticV1
}
FakeAddonConfigs implements AddonConfigInterface
func (*FakeAddonConfigs) Create ¶
func (c *FakeAddonConfigs) Create(ctx context.Context, addonConfig *kubermaticv1.AddonConfig, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddonConfigs) Get ¶
func (c *FakeAddonConfigs) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.AddonConfig, err error)
Patch applies the patch and returns the patched addonConfig.
func (*FakeAddonConfigs) Update ¶
func (c *FakeAddonConfigs) Update(ctx context.Context, addonConfig *kubermaticv1.AddonConfig, opts v1.UpdateOptions) (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(ctx context.Context, 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(ctx context.Context, addon *kubermaticv1.Addon, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddons) Get ¶
func (c *FakeAddons) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.Addon, err error)
Patch applies the patch and returns the patched addon.
func (*FakeAddons) Update ¶
func (c *FakeAddons) Update(ctx context.Context, addon *kubermaticv1.Addon, opts v1.UpdateOptions) (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(ctx context.Context, addon *kubermaticv1.Addon, opts v1.UpdateOptions) (*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(ctx context.Context, 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(ctx context.Context, cluster *kubermaticv1.Cluster, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
func (c *FakeClusters) Update(ctx context.Context, cluster *kubermaticv1.Cluster, opts v1.UpdateOptions) (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(ctx context.Context, cluster *kubermaticv1.Cluster, opts v1.UpdateOptions) (*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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeExternalClusters ¶
type FakeExternalClusters struct {
Fake *FakeKubermaticV1
}
FakeExternalClusters implements ExternalClusterInterface
func (*FakeExternalClusters) Create ¶
func (c *FakeExternalClusters) Create(ctx context.Context, externalCluster *kubermaticv1.ExternalCluster, opts v1.CreateOptions) (result *kubermaticv1.ExternalCluster, err error)
Create takes the representation of a externalCluster and creates it. Returns the server's representation of the externalCluster, and an error, if there is any.
func (*FakeExternalClusters) Delete ¶
func (c *FakeExternalClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the externalCluster and deletes it. Returns an error if one occurs.
func (*FakeExternalClusters) DeleteCollection ¶
func (c *FakeExternalClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalClusters) Get ¶
func (c *FakeExternalClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ExternalCluster, err error)
Get takes name of the externalCluster, and returns the corresponding externalCluster object, and an error if there is any.
func (*FakeExternalClusters) List ¶
func (c *FakeExternalClusters) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ExternalClusterList, err error)
List takes label and field selectors, and returns the list of ExternalClusters that match those selectors.
func (*FakeExternalClusters) Patch ¶
func (c *FakeExternalClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.ExternalCluster, err error)
Patch applies the patch and returns the patched externalCluster.
func (*FakeExternalClusters) Update ¶
func (c *FakeExternalClusters) Update(ctx context.Context, externalCluster *kubermaticv1.ExternalCluster, opts v1.UpdateOptions) (result *kubermaticv1.ExternalCluster, err error)
Update takes the representation of a externalCluster and updates it. Returns the server's representation of the externalCluster, and an error, if there is any.
func (*FakeExternalClusters) Watch ¶
func (c *FakeExternalClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalClusters.
type FakeKubermaticSettings ¶
type FakeKubermaticSettings struct {
Fake *FakeKubermaticV1
}
FakeKubermaticSettings implements KubermaticSettingInterface
func (*FakeKubermaticSettings) Create ¶
func (c *FakeKubermaticSettings) Create(ctx context.Context, kubermaticSetting *kubermaticv1.KubermaticSetting, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKubermaticSettings) Get ¶
func (c *FakeKubermaticSettings) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.KubermaticSetting, err error)
Patch applies the patch and returns the patched kubermaticSetting.
func (*FakeKubermaticSettings) Update ¶
func (c *FakeKubermaticSettings) Update(ctx context.Context, kubermaticSetting *kubermaticv1.KubermaticSetting, opts v1.UpdateOptions) (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(ctx context.Context, 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) ExternalClusters ¶
func (c *FakeKubermaticV1) ExternalClusters() v1.ExternalClusterInterface
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(ctx context.Context, project *kubermaticv1.Project, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶
func (c *FakeProjects) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶
func (c *FakeProjects) Update(ctx context.Context, project *kubermaticv1.Project, opts v1.UpdateOptions) (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(ctx context.Context, project *kubermaticv1.Project, opts v1.UpdateOptions) (*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(ctx context.Context, 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(ctx context.Context, userProjectBinding *kubermaticv1.UserProjectBinding, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUserProjectBindings) Get ¶
func (c *FakeUserProjectBindings) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.UserProjectBinding, err error)
Patch applies the patch and returns the patched userProjectBinding.
func (*FakeUserProjectBindings) Update ¶
func (c *FakeUserProjectBindings) Update(ctx context.Context, userProjectBinding *kubermaticv1.UserProjectBinding, opts v1.UpdateOptions) (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(ctx context.Context, 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(ctx context.Context, userSSHKey *kubermaticv1.UserSSHKey, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUserSSHKeys) Get ¶
func (c *FakeUserSSHKeys) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.UserSSHKey, err error)
Patch applies the patch and returns the patched userSSHKey.
func (*FakeUserSSHKeys) Update ¶
func (c *FakeUserSSHKeys) Update(ctx context.Context, userSSHKey *kubermaticv1.UserSSHKey, opts v1.UpdateOptions) (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(ctx context.Context, 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(ctx context.Context, user *kubermaticv1.User, opts v1.CreateOptions) (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 ¶
Delete takes name of the user and deletes it. Returns an error if one occurs.
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
func (c *FakeUsers) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.User, err error)
Patch applies the patch and returns the patched user.
func (*FakeUsers) Update ¶
func (c *FakeUsers) Update(ctx context.Context, user *kubermaticv1.User, opts v1.UpdateOptions) (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.