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 FakeAlertmanagers
- func (c *FakeAlertmanagers) Create(ctx context.Context, alertmanager *kubermaticv1.Alertmanager, ...) (result *kubermaticv1.Alertmanager, err error)
- func (c *FakeAlertmanagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlertmanagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlertmanagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.Alertmanager, err error)
- func (c *FakeAlertmanagers) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.AlertmanagerList, err error)
- func (c *FakeAlertmanagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.Alertmanager, err error)
- func (c *FakeAlertmanagers) Update(ctx context.Context, alertmanager *kubermaticv1.Alertmanager, ...) (result *kubermaticv1.Alertmanager, err error)
- func (c *FakeAlertmanagers) UpdateStatus(ctx context.Context, alertmanager *kubermaticv1.Alertmanager, ...) (*kubermaticv1.Alertmanager, error)
- func (c *FakeAlertmanagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAllowedRegistries
- func (c *FakeAllowedRegistries) Create(ctx context.Context, allowedRegistry *kubermaticv1.AllowedRegistry, ...) (result *kubermaticv1.AllowedRegistry, err error)
- func (c *FakeAllowedRegistries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAllowedRegistries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAllowedRegistries) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.AllowedRegistry, err error)
- func (c *FakeAllowedRegistries) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.AllowedRegistryList, err error)
- func (c *FakeAllowedRegistries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.AllowedRegistry, err error)
- func (c *FakeAllowedRegistries) Update(ctx context.Context, allowedRegistry *kubermaticv1.AllowedRegistry, ...) (result *kubermaticv1.AllowedRegistry, err error)
- func (c *FakeAllowedRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterTemplateInstances
- func (c *FakeClusterTemplateInstances) Create(ctx context.Context, ...) (result *kubermaticv1.ClusterTemplateInstance, err error)
- func (c *FakeClusterTemplateInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterTemplateInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ClusterTemplateInstance, err error)
- func (c *FakeClusterTemplateInstances) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ClusterTemplateInstanceList, err error)
- func (c *FakeClusterTemplateInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.ClusterTemplateInstance, err error)
- func (c *FakeClusterTemplateInstances) Update(ctx context.Context, ...) (result *kubermaticv1.ClusterTemplateInstance, err error)
- func (c *FakeClusterTemplateInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterTemplates
- func (c *FakeClusterTemplates) Create(ctx context.Context, clusterTemplate *kubermaticv1.ClusterTemplate, ...) (result *kubermaticv1.ClusterTemplate, err error)
- func (c *FakeClusterTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ClusterTemplate, err error)
- func (c *FakeClusterTemplates) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ClusterTemplateList, err error)
- func (c *FakeClusterTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.ClusterTemplate, err error)
- func (c *FakeClusterTemplates) Update(ctx context.Context, clusterTemplate *kubermaticv1.ClusterTemplate, ...) (result *kubermaticv1.ClusterTemplate, err error)
- func (c *FakeClusterTemplates) 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 FakeConstraintTemplates
- func (c *FakeConstraintTemplates) Create(ctx context.Context, constraintTemplate *kubermaticv1.ConstraintTemplate, ...) (result *kubermaticv1.ConstraintTemplate, err error)
- func (c *FakeConstraintTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConstraintTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConstraintTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ConstraintTemplate, err error)
- func (c *FakeConstraintTemplates) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ConstraintTemplateList, err error)
- func (c *FakeConstraintTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.ConstraintTemplate, err error)
- func (c *FakeConstraintTemplates) Update(ctx context.Context, constraintTemplate *kubermaticv1.ConstraintTemplate, ...) (result *kubermaticv1.ConstraintTemplate, err error)
- func (c *FakeConstraintTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConstraints
- func (c *FakeConstraints) Create(ctx context.Context, constraint *kubermaticv1.Constraint, ...) (result *kubermaticv1.Constraint, err error)
- func (c *FakeConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.Constraint, err error)
- func (c *FakeConstraints) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ConstraintList, err error)
- func (c *FakeConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.Constraint, err error)
- func (c *FakeConstraints) Update(ctx context.Context, constraint *kubermaticv1.Constraint, ...) (result *kubermaticv1.Constraint, err error)
- func (c *FakeConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEtcdBackupConfigs
- func (c *FakeEtcdBackupConfigs) Create(ctx context.Context, etcdBackupConfig *kubermaticv1.EtcdBackupConfig, ...) (result *kubermaticv1.EtcdBackupConfig, err error)
- func (c *FakeEtcdBackupConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEtcdBackupConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEtcdBackupConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.EtcdBackupConfig, err error)
- func (c *FakeEtcdBackupConfigs) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.EtcdBackupConfigList, err error)
- func (c *FakeEtcdBackupConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.EtcdBackupConfig, err error)
- func (c *FakeEtcdBackupConfigs) Update(ctx context.Context, etcdBackupConfig *kubermaticv1.EtcdBackupConfig, ...) (result *kubermaticv1.EtcdBackupConfig, err error)
- func (c *FakeEtcdBackupConfigs) UpdateStatus(ctx context.Context, etcdBackupConfig *kubermaticv1.EtcdBackupConfig, ...) (*kubermaticv1.EtcdBackupConfig, error)
- func (c *FakeEtcdBackupConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEtcdRestores
- func (c *FakeEtcdRestores) Create(ctx context.Context, etcdRestore *kubermaticv1.EtcdRestore, ...) (result *kubermaticv1.EtcdRestore, err error)
- func (c *FakeEtcdRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEtcdRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEtcdRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.EtcdRestore, err error)
- func (c *FakeEtcdRestores) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.EtcdRestoreList, err error)
- func (c *FakeEtcdRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.EtcdRestore, err error)
- func (c *FakeEtcdRestores) Update(ctx context.Context, etcdRestore *kubermaticv1.EtcdRestore, ...) (result *kubermaticv1.EtcdRestore, err error)
- func (c *FakeEtcdRestores) UpdateStatus(ctx context.Context, etcdRestore *kubermaticv1.EtcdRestore, ...) (*kubermaticv1.EtcdRestore, error)
- func (c *FakeEtcdRestores) 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) Alertmanagers(namespace string) v1.AlertmanagerInterface
- func (c *FakeKubermaticV1) AllowedRegistries() v1.AllowedRegistryInterface
- func (c *FakeKubermaticV1) ClusterTemplateInstances() v1.ClusterTemplateInstanceInterface
- func (c *FakeKubermaticV1) ClusterTemplates() v1.ClusterTemplateInterface
- func (c *FakeKubermaticV1) Clusters() v1.ClusterInterface
- func (c *FakeKubermaticV1) ConstraintTemplates() v1.ConstraintTemplateInterface
- func (c *FakeKubermaticV1) Constraints(namespace string) v1.ConstraintInterface
- func (c *FakeKubermaticV1) EtcdBackupConfigs(namespace string) v1.EtcdBackupConfigInterface
- func (c *FakeKubermaticV1) EtcdRestores(namespace string) v1.EtcdRestoreInterface
- func (c *FakeKubermaticV1) ExternalClusters() v1.ExternalClusterInterface
- func (c *FakeKubermaticV1) KubermaticSettings() v1.KubermaticSettingInterface
- func (c *FakeKubermaticV1) MLAAdminSettings(namespace string) v1.MLAAdminSettingInterface
- func (c *FakeKubermaticV1) Projects() v1.ProjectInterface
- func (c *FakeKubermaticV1) RESTClient() rest.Interface
- func (c *FakeKubermaticV1) RuleGroups(namespace string) v1.RuleGroupInterface
- func (c *FakeKubermaticV1) UserProjectBindings() v1.UserProjectBindingInterface
- func (c *FakeKubermaticV1) UserSSHKeys() v1.UserSSHKeyInterface
- func (c *FakeKubermaticV1) Users() v1.UserInterface
- type FakeMLAAdminSettings
- func (c *FakeMLAAdminSettings) Create(ctx context.Context, mLAAdminSetting *kubermaticv1.MLAAdminSetting, ...) (result *kubermaticv1.MLAAdminSetting, err error)
- func (c *FakeMLAAdminSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMLAAdminSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMLAAdminSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.MLAAdminSetting, err error)
- func (c *FakeMLAAdminSettings) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.MLAAdminSettingList, err error)
- func (c *FakeMLAAdminSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.MLAAdminSetting, err error)
- func (c *FakeMLAAdminSettings) Update(ctx context.Context, mLAAdminSetting *kubermaticv1.MLAAdminSetting, ...) (result *kubermaticv1.MLAAdminSetting, err error)
- func (c *FakeMLAAdminSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- 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 FakeRuleGroups
- func (c *FakeRuleGroups) Create(ctx context.Context, ruleGroup *kubermaticv1.RuleGroup, opts v1.CreateOptions) (result *kubermaticv1.RuleGroup, err error)
- func (c *FakeRuleGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRuleGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRuleGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.RuleGroup, err error)
- func (c *FakeRuleGroups) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.RuleGroupList, err error)
- func (c *FakeRuleGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *kubermaticv1.RuleGroup, err error)
- func (c *FakeRuleGroups) Update(ctx context.Context, ruleGroup *kubermaticv1.RuleGroup, opts v1.UpdateOptions) (result *kubermaticv1.RuleGroup, err error)
- func (c *FakeRuleGroups) 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) UpdateStatus(ctx context.Context, user *kubermaticv1.User, opts v1.UpdateOptions) (*kubermaticv1.User, 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 FakeAlertmanagers ¶ added in v2.18.0
type FakeAlertmanagers struct { Fake *FakeKubermaticV1 // contains filtered or unexported fields }
FakeAlertmanagers implements AlertmanagerInterface
func (*FakeAlertmanagers) Create ¶ added in v2.18.0
func (c *FakeAlertmanagers) Create(ctx context.Context, alertmanager *kubermaticv1.Alertmanager, opts v1.CreateOptions) (result *kubermaticv1.Alertmanager, err error)
Create takes the representation of a alertmanager and creates it. Returns the server's representation of the alertmanager, and an error, if there is any.
func (*FakeAlertmanagers) Delete ¶ added in v2.18.0
func (c *FakeAlertmanagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alertmanager and deletes it. Returns an error if one occurs.
func (*FakeAlertmanagers) DeleteCollection ¶ added in v2.18.0
func (c *FakeAlertmanagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlertmanagers) Get ¶ added in v2.18.0
func (c *FakeAlertmanagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.Alertmanager, err error)
Get takes name of the alertmanager, and returns the corresponding alertmanager object, and an error if there is any.
func (*FakeAlertmanagers) List ¶ added in v2.18.0
func (c *FakeAlertmanagers) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.AlertmanagerList, err error)
List takes label and field selectors, and returns the list of Alertmanagers that match those selectors.
func (*FakeAlertmanagers) Patch ¶ added in v2.18.0
func (c *FakeAlertmanagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.Alertmanager, err error)
Patch applies the patch and returns the patched alertmanager.
func (*FakeAlertmanagers) Update ¶ added in v2.18.0
func (c *FakeAlertmanagers) Update(ctx context.Context, alertmanager *kubermaticv1.Alertmanager, opts v1.UpdateOptions) (result *kubermaticv1.Alertmanager, err error)
Update takes the representation of a alertmanager and updates it. Returns the server's representation of the alertmanager, and an error, if there is any.
func (*FakeAlertmanagers) UpdateStatus ¶ added in v2.19.0
func (c *FakeAlertmanagers) UpdateStatus(ctx context.Context, alertmanager *kubermaticv1.Alertmanager, opts v1.UpdateOptions) (*kubermaticv1.Alertmanager, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlertmanagers) Watch ¶ added in v2.18.0
func (c *FakeAlertmanagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alertmanagers.
type FakeAllowedRegistries ¶ added in v2.18.0
type FakeAllowedRegistries struct {
Fake *FakeKubermaticV1
}
FakeAllowedRegistries implements AllowedRegistryInterface
func (*FakeAllowedRegistries) Create ¶ added in v2.18.0
func (c *FakeAllowedRegistries) Create(ctx context.Context, allowedRegistry *kubermaticv1.AllowedRegistry, opts v1.CreateOptions) (result *kubermaticv1.AllowedRegistry, err error)
Create takes the representation of a allowedRegistry and creates it. Returns the server's representation of the allowedRegistry, and an error, if there is any.
func (*FakeAllowedRegistries) Delete ¶ added in v2.18.0
func (c *FakeAllowedRegistries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the allowedRegistry and deletes it. Returns an error if one occurs.
func (*FakeAllowedRegistries) DeleteCollection ¶ added in v2.18.0
func (c *FakeAllowedRegistries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAllowedRegistries) Get ¶ added in v2.18.0
func (c *FakeAllowedRegistries) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.AllowedRegistry, err error)
Get takes name of the allowedRegistry, and returns the corresponding allowedRegistry object, and an error if there is any.
func (*FakeAllowedRegistries) List ¶ added in v2.18.0
func (c *FakeAllowedRegistries) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.AllowedRegistryList, err error)
List takes label and field selectors, and returns the list of AllowedRegistries that match those selectors.
func (*FakeAllowedRegistries) Patch ¶ added in v2.18.0
func (c *FakeAllowedRegistries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.AllowedRegistry, err error)
Patch applies the patch and returns the patched allowedRegistry.
func (*FakeAllowedRegistries) Update ¶ added in v2.18.0
func (c *FakeAllowedRegistries) Update(ctx context.Context, allowedRegistry *kubermaticv1.AllowedRegistry, opts v1.UpdateOptions) (result *kubermaticv1.AllowedRegistry, err error)
Update takes the representation of a allowedRegistry and updates it. Returns the server's representation of the allowedRegistry, and an error, if there is any.
func (*FakeAllowedRegistries) Watch ¶ added in v2.18.0
func (c *FakeAllowedRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested allowedRegistries.
type FakeClusterTemplateInstances ¶ added in v2.18.0
type FakeClusterTemplateInstances struct {
Fake *FakeKubermaticV1
}
FakeClusterTemplateInstances implements ClusterTemplateInstanceInterface
func (*FakeClusterTemplateInstances) Create ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) Create(ctx context.Context, clusterTemplateInstance *kubermaticv1.ClusterTemplateInstance, opts v1.CreateOptions) (result *kubermaticv1.ClusterTemplateInstance, err error)
Create takes the representation of a clusterTemplateInstance and creates it. Returns the server's representation of the clusterTemplateInstance, and an error, if there is any.
func (*FakeClusterTemplateInstances) Delete ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterTemplateInstance and deletes it. Returns an error if one occurs.
func (*FakeClusterTemplateInstances) DeleteCollection ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterTemplateInstances) Get ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ClusterTemplateInstance, err error)
Get takes name of the clusterTemplateInstance, and returns the corresponding clusterTemplateInstance object, and an error if there is any.
func (*FakeClusterTemplateInstances) List ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ClusterTemplateInstanceList, err error)
List takes label and field selectors, and returns the list of ClusterTemplateInstances that match those selectors.
func (*FakeClusterTemplateInstances) Patch ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.ClusterTemplateInstance, err error)
Patch applies the patch and returns the patched clusterTemplateInstance.
func (*FakeClusterTemplateInstances) Update ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) Update(ctx context.Context, clusterTemplateInstance *kubermaticv1.ClusterTemplateInstance, opts v1.UpdateOptions) (result *kubermaticv1.ClusterTemplateInstance, err error)
Update takes the representation of a clusterTemplateInstance and updates it. Returns the server's representation of the clusterTemplateInstance, and an error, if there is any.
func (*FakeClusterTemplateInstances) Watch ¶ added in v2.18.0
func (c *FakeClusterTemplateInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterTemplateInstances.
type FakeClusterTemplates ¶ added in v2.18.0
type FakeClusterTemplates struct {
Fake *FakeKubermaticV1
}
FakeClusterTemplates implements ClusterTemplateInterface
func (*FakeClusterTemplates) Create ¶ added in v2.18.0
func (c *FakeClusterTemplates) Create(ctx context.Context, clusterTemplate *kubermaticv1.ClusterTemplate, opts v1.CreateOptions) (result *kubermaticv1.ClusterTemplate, err error)
Create takes the representation of a clusterTemplate and creates it. Returns the server's representation of the clusterTemplate, and an error, if there is any.
func (*FakeClusterTemplates) Delete ¶ added in v2.18.0
func (c *FakeClusterTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterTemplate and deletes it. Returns an error if one occurs.
func (*FakeClusterTemplates) DeleteCollection ¶ added in v2.18.0
func (c *FakeClusterTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterTemplates) Get ¶ added in v2.18.0
func (c *FakeClusterTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ClusterTemplate, err error)
Get takes name of the clusterTemplate, and returns the corresponding clusterTemplate object, and an error if there is any.
func (*FakeClusterTemplates) List ¶ added in v2.18.0
func (c *FakeClusterTemplates) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ClusterTemplateList, err error)
List takes label and field selectors, and returns the list of ClusterTemplates that match those selectors.
func (*FakeClusterTemplates) Patch ¶ added in v2.18.0
func (c *FakeClusterTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.ClusterTemplate, err error)
Patch applies the patch and returns the patched clusterTemplate.
func (*FakeClusterTemplates) Update ¶ added in v2.18.0
func (c *FakeClusterTemplates) Update(ctx context.Context, clusterTemplate *kubermaticv1.ClusterTemplate, opts v1.UpdateOptions) (result *kubermaticv1.ClusterTemplate, err error)
Update takes the representation of a clusterTemplate and updates it. Returns the server's representation of the clusterTemplate, and an error, if there is any.
func (*FakeClusterTemplates) Watch ¶ added in v2.18.0
func (c *FakeClusterTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterTemplates.
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 FakeConstraintTemplates ¶ added in v2.16.3
type FakeConstraintTemplates struct {
Fake *FakeKubermaticV1
}
FakeConstraintTemplates implements ConstraintTemplateInterface
func (*FakeConstraintTemplates) Create ¶ added in v2.16.3
func (c *FakeConstraintTemplates) Create(ctx context.Context, constraintTemplate *kubermaticv1.ConstraintTemplate, opts v1.CreateOptions) (result *kubermaticv1.ConstraintTemplate, err error)
Create takes the representation of a constraintTemplate and creates it. Returns the server's representation of the constraintTemplate, and an error, if there is any.
func (*FakeConstraintTemplates) Delete ¶ added in v2.16.3
func (c *FakeConstraintTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the constraintTemplate and deletes it. Returns an error if one occurs.
func (*FakeConstraintTemplates) DeleteCollection ¶ added in v2.16.3
func (c *FakeConstraintTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConstraintTemplates) Get ¶ added in v2.16.3
func (c *FakeConstraintTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.ConstraintTemplate, err error)
Get takes name of the constraintTemplate, and returns the corresponding constraintTemplate object, and an error if there is any.
func (*FakeConstraintTemplates) List ¶ added in v2.16.3
func (c *FakeConstraintTemplates) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ConstraintTemplateList, err error)
List takes label and field selectors, and returns the list of ConstraintTemplates that match those selectors.
func (*FakeConstraintTemplates) Patch ¶ added in v2.16.3
func (c *FakeConstraintTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.ConstraintTemplate, err error)
Patch applies the patch and returns the patched constraintTemplate.
func (*FakeConstraintTemplates) Update ¶ added in v2.16.3
func (c *FakeConstraintTemplates) Update(ctx context.Context, constraintTemplate *kubermaticv1.ConstraintTemplate, opts v1.UpdateOptions) (result *kubermaticv1.ConstraintTemplate, err error)
Update takes the representation of a constraintTemplate and updates it. Returns the server's representation of the constraintTemplate, and an error, if there is any.
func (*FakeConstraintTemplates) Watch ¶ added in v2.16.3
func (c *FakeConstraintTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested constraintTemplates.
type FakeConstraints ¶ added in v2.16.3
type FakeConstraints struct { Fake *FakeKubermaticV1 // contains filtered or unexported fields }
FakeConstraints implements ConstraintInterface
func (*FakeConstraints) Create ¶ added in v2.16.3
func (c *FakeConstraints) Create(ctx context.Context, constraint *kubermaticv1.Constraint, opts v1.CreateOptions) (result *kubermaticv1.Constraint, err error)
Create takes the representation of a constraint and creates it. Returns the server's representation of the constraint, and an error, if there is any.
func (*FakeConstraints) Delete ¶ added in v2.16.3
func (c *FakeConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the constraint and deletes it. Returns an error if one occurs.
func (*FakeConstraints) DeleteCollection ¶ added in v2.16.3
func (c *FakeConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConstraints) Get ¶ added in v2.16.3
func (c *FakeConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.Constraint, err error)
Get takes name of the constraint, and returns the corresponding constraint object, and an error if there is any.
func (*FakeConstraints) List ¶ added in v2.16.3
func (c *FakeConstraints) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.ConstraintList, err error)
List takes label and field selectors, and returns the list of Constraints that match those selectors.
func (*FakeConstraints) Patch ¶ added in v2.16.3
func (c *FakeConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.Constraint, err error)
Patch applies the patch and returns the patched constraint.
func (*FakeConstraints) Update ¶ added in v2.16.3
func (c *FakeConstraints) Update(ctx context.Context, constraint *kubermaticv1.Constraint, opts v1.UpdateOptions) (result *kubermaticv1.Constraint, err error)
Update takes the representation of a constraint and updates it. Returns the server's representation of the constraint, and an error, if there is any.
func (*FakeConstraints) Watch ¶ added in v2.16.3
func (c *FakeConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested constraints.
type FakeEtcdBackupConfigs ¶ added in v2.17.0
type FakeEtcdBackupConfigs struct { Fake *FakeKubermaticV1 // contains filtered or unexported fields }
FakeEtcdBackupConfigs implements EtcdBackupConfigInterface
func (*FakeEtcdBackupConfigs) Create ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) Create(ctx context.Context, etcdBackupConfig *kubermaticv1.EtcdBackupConfig, opts v1.CreateOptions) (result *kubermaticv1.EtcdBackupConfig, err error)
Create takes the representation of a etcdBackupConfig and creates it. Returns the server's representation of the etcdBackupConfig, and an error, if there is any.
func (*FakeEtcdBackupConfigs) Delete ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the etcdBackupConfig and deletes it. Returns an error if one occurs.
func (*FakeEtcdBackupConfigs) DeleteCollection ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEtcdBackupConfigs) Get ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.EtcdBackupConfig, err error)
Get takes name of the etcdBackupConfig, and returns the corresponding etcdBackupConfig object, and an error if there is any.
func (*FakeEtcdBackupConfigs) List ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.EtcdBackupConfigList, err error)
List takes label and field selectors, and returns the list of EtcdBackupConfigs that match those selectors.
func (*FakeEtcdBackupConfigs) Patch ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.EtcdBackupConfig, err error)
Patch applies the patch and returns the patched etcdBackupConfig.
func (*FakeEtcdBackupConfigs) Update ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) Update(ctx context.Context, etcdBackupConfig *kubermaticv1.EtcdBackupConfig, opts v1.UpdateOptions) (result *kubermaticv1.EtcdBackupConfig, err error)
Update takes the representation of a etcdBackupConfig and updates it. Returns the server's representation of the etcdBackupConfig, and an error, if there is any.
func (*FakeEtcdBackupConfigs) UpdateStatus ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) UpdateStatus(ctx context.Context, etcdBackupConfig *kubermaticv1.EtcdBackupConfig, opts v1.UpdateOptions) (*kubermaticv1.EtcdBackupConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEtcdBackupConfigs) Watch ¶ added in v2.17.0
func (c *FakeEtcdBackupConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested etcdBackupConfigs.
type FakeEtcdRestores ¶ added in v2.17.0
type FakeEtcdRestores struct { Fake *FakeKubermaticV1 // contains filtered or unexported fields }
FakeEtcdRestores implements EtcdRestoreInterface
func (*FakeEtcdRestores) Create ¶ added in v2.17.0
func (c *FakeEtcdRestores) Create(ctx context.Context, etcdRestore *kubermaticv1.EtcdRestore, opts v1.CreateOptions) (result *kubermaticv1.EtcdRestore, err error)
Create takes the representation of a etcdRestore and creates it. Returns the server's representation of the etcdRestore, and an error, if there is any.
func (*FakeEtcdRestores) Delete ¶ added in v2.17.0
func (c *FakeEtcdRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the etcdRestore and deletes it. Returns an error if one occurs.
func (*FakeEtcdRestores) DeleteCollection ¶ added in v2.17.0
func (c *FakeEtcdRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEtcdRestores) Get ¶ added in v2.17.0
func (c *FakeEtcdRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.EtcdRestore, err error)
Get takes name of the etcdRestore, and returns the corresponding etcdRestore object, and an error if there is any.
func (*FakeEtcdRestores) List ¶ added in v2.17.0
func (c *FakeEtcdRestores) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.EtcdRestoreList, err error)
List takes label and field selectors, and returns the list of EtcdRestores that match those selectors.
func (*FakeEtcdRestores) Patch ¶ added in v2.17.0
func (c *FakeEtcdRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.EtcdRestore, err error)
Patch applies the patch and returns the patched etcdRestore.
func (*FakeEtcdRestores) Update ¶ added in v2.17.0
func (c *FakeEtcdRestores) Update(ctx context.Context, etcdRestore *kubermaticv1.EtcdRestore, opts v1.UpdateOptions) (result *kubermaticv1.EtcdRestore, err error)
Update takes the representation of a etcdRestore and updates it. Returns the server's representation of the etcdRestore, and an error, if there is any.
func (*FakeEtcdRestores) UpdateStatus ¶ added in v2.17.0
func (c *FakeEtcdRestores) UpdateStatus(ctx context.Context, etcdRestore *kubermaticv1.EtcdRestore, opts v1.UpdateOptions) (*kubermaticv1.EtcdRestore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEtcdRestores) Watch ¶ added in v2.17.0
func (c *FakeEtcdRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested etcdRestores.
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) Alertmanagers ¶ added in v2.18.0
func (c *FakeKubermaticV1) Alertmanagers(namespace string) v1.AlertmanagerInterface
func (*FakeKubermaticV1) AllowedRegistries ¶ added in v2.18.0
func (c *FakeKubermaticV1) AllowedRegistries() v1.AllowedRegistryInterface
func (*FakeKubermaticV1) ClusterTemplateInstances ¶ added in v2.18.0
func (c *FakeKubermaticV1) ClusterTemplateInstances() v1.ClusterTemplateInstanceInterface
func (*FakeKubermaticV1) ClusterTemplates ¶ added in v2.18.0
func (c *FakeKubermaticV1) ClusterTemplates() v1.ClusterTemplateInterface
func (*FakeKubermaticV1) Clusters ¶
func (c *FakeKubermaticV1) Clusters() v1.ClusterInterface
func (*FakeKubermaticV1) ConstraintTemplates ¶ added in v2.16.3
func (c *FakeKubermaticV1) ConstraintTemplates() v1.ConstraintTemplateInterface
func (*FakeKubermaticV1) Constraints ¶ added in v2.16.3
func (c *FakeKubermaticV1) Constraints(namespace string) v1.ConstraintInterface
func (*FakeKubermaticV1) EtcdBackupConfigs ¶ added in v2.17.0
func (c *FakeKubermaticV1) EtcdBackupConfigs(namespace string) v1.EtcdBackupConfigInterface
func (*FakeKubermaticV1) EtcdRestores ¶ added in v2.17.0
func (c *FakeKubermaticV1) EtcdRestores(namespace string) v1.EtcdRestoreInterface
func (*FakeKubermaticV1) ExternalClusters ¶
func (c *FakeKubermaticV1) ExternalClusters() v1.ExternalClusterInterface
func (*FakeKubermaticV1) KubermaticSettings ¶
func (c *FakeKubermaticV1) KubermaticSettings() v1.KubermaticSettingInterface
func (*FakeKubermaticV1) MLAAdminSettings ¶ added in v2.18.0
func (c *FakeKubermaticV1) MLAAdminSettings(namespace string) v1.MLAAdminSettingInterface
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) RuleGroups ¶ added in v2.18.0
func (c *FakeKubermaticV1) RuleGroups(namespace string) v1.RuleGroupInterface
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 FakeMLAAdminSettings ¶ added in v2.18.0
type FakeMLAAdminSettings struct { Fake *FakeKubermaticV1 // contains filtered or unexported fields }
FakeMLAAdminSettings implements MLAAdminSettingInterface
func (*FakeMLAAdminSettings) Create ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) Create(ctx context.Context, mLAAdminSetting *kubermaticv1.MLAAdminSetting, opts v1.CreateOptions) (result *kubermaticv1.MLAAdminSetting, err error)
Create takes the representation of a mLAAdminSetting and creates it. Returns the server's representation of the mLAAdminSetting, and an error, if there is any.
func (*FakeMLAAdminSettings) Delete ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mLAAdminSetting and deletes it. Returns an error if one occurs.
func (*FakeMLAAdminSettings) DeleteCollection ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMLAAdminSettings) Get ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.MLAAdminSetting, err error)
Get takes name of the mLAAdminSetting, and returns the corresponding mLAAdminSetting object, and an error if there is any.
func (*FakeMLAAdminSettings) List ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.MLAAdminSettingList, err error)
List takes label and field selectors, and returns the list of MLAAdminSettings that match those selectors.
func (*FakeMLAAdminSettings) Patch ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.MLAAdminSetting, err error)
Patch applies the patch and returns the patched mLAAdminSetting.
func (*FakeMLAAdminSettings) Update ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) Update(ctx context.Context, mLAAdminSetting *kubermaticv1.MLAAdminSetting, opts v1.UpdateOptions) (result *kubermaticv1.MLAAdminSetting, err error)
Update takes the representation of a mLAAdminSetting and updates it. Returns the server's representation of the mLAAdminSetting, and an error, if there is any.
func (*FakeMLAAdminSettings) Watch ¶ added in v2.18.0
func (c *FakeMLAAdminSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mLAAdminSettings.
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 FakeRuleGroups ¶ added in v2.18.0
type FakeRuleGroups struct { Fake *FakeKubermaticV1 // contains filtered or unexported fields }
FakeRuleGroups implements RuleGroupInterface
func (*FakeRuleGroups) Create ¶ added in v2.18.0
func (c *FakeRuleGroups) Create(ctx context.Context, ruleGroup *kubermaticv1.RuleGroup, opts v1.CreateOptions) (result *kubermaticv1.RuleGroup, err error)
Create takes the representation of a ruleGroup and creates it. Returns the server's representation of the ruleGroup, and an error, if there is any.
func (*FakeRuleGroups) Delete ¶ added in v2.18.0
func (c *FakeRuleGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ruleGroup and deletes it. Returns an error if one occurs.
func (*FakeRuleGroups) DeleteCollection ¶ added in v2.18.0
func (c *FakeRuleGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRuleGroups) Get ¶ added in v2.18.0
func (c *FakeRuleGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubermaticv1.RuleGroup, err error)
Get takes name of the ruleGroup, and returns the corresponding ruleGroup object, and an error if there is any.
func (*FakeRuleGroups) List ¶ added in v2.18.0
func (c *FakeRuleGroups) List(ctx context.Context, opts v1.ListOptions) (result *kubermaticv1.RuleGroupList, err error)
List takes label and field selectors, and returns the list of RuleGroups that match those selectors.
func (*FakeRuleGroups) Patch ¶ added in v2.18.0
func (c *FakeRuleGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kubermaticv1.RuleGroup, err error)
Patch applies the patch and returns the patched ruleGroup.
func (*FakeRuleGroups) Update ¶ added in v2.18.0
func (c *FakeRuleGroups) Update(ctx context.Context, ruleGroup *kubermaticv1.RuleGroup, opts v1.UpdateOptions) (result *kubermaticv1.RuleGroup, err error)
Update takes the representation of a ruleGroup and updates it. Returns the server's representation of the ruleGroup, and an error, if there is any.
func (*FakeRuleGroups) Watch ¶ added in v2.18.0
func (c *FakeRuleGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ruleGroups.
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.
func (*FakeUsers) UpdateStatus ¶ added in v2.19.0
func (c *FakeUsers) UpdateStatus(ctx context.Context, user *kubermaticv1.User, opts v1.UpdateOptions) (*kubermaticv1.User, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
Source Files ¶
- doc.go
- fake_addon.go
- fake_addonconfig.go
- fake_alertmanager.go
- fake_allowedregistry.go
- fake_cluster.go
- fake_clustertemplate.go
- fake_clustertemplateinstance.go
- fake_constraint.go
- fake_constrainttemplate.go
- fake_etcdbackupconfig.go
- fake_etcdrestore.go
- fake_externalcluster.go
- fake_kubermatic_client.go
- fake_kubermaticsetting.go
- fake_mlaadminsetting.go
- fake_project.go
- fake_rulegroup.go
- fake_user.go
- fake_userprojectbinding.go
- fake_usersshkey.go