v1

package
v2.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddonConfigExpansion

type AddonConfigExpansion interface{}

type AddonConfigInterface

type AddonConfigInterface interface {
	Create(ctx context.Context, addonConfig *v1.AddonConfig, opts metav1.CreateOptions) (*v1.AddonConfig, error)
	Update(ctx context.Context, addonConfig *v1.AddonConfig, opts metav1.UpdateOptions) (*v1.AddonConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.AddonConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.AddonConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.AddonConfig, err error)
	AddonConfigExpansion
}

AddonConfigInterface has methods to work with AddonConfig resources.

type AddonConfigsGetter

type AddonConfigsGetter interface {
	AddonConfigs() AddonConfigInterface
}

AddonConfigsGetter has a method to return a AddonConfigInterface. A group's client should implement this interface.

type AddonExpansion

type AddonExpansion interface{}

type AddonInterface

type AddonInterface interface {
	Create(ctx context.Context, addon *v1.Addon, opts metav1.CreateOptions) (*v1.Addon, error)
	Update(ctx context.Context, addon *v1.Addon, opts metav1.UpdateOptions) (*v1.Addon, error)
	UpdateStatus(ctx context.Context, addon *v1.Addon, opts metav1.UpdateOptions) (*v1.Addon, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Addon, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.AddonList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Addon, err error)
	AddonExpansion
}

AddonInterface has methods to work with Addon resources.

type AddonsGetter

type AddonsGetter interface {
	Addons(namespace string) AddonInterface
}

AddonsGetter has a method to return a AddonInterface. A group's client should implement this interface.

type ClusterExpansion

type ClusterExpansion interface{}

type ClusterInterface

type ClusterInterface interface {
	Create(ctx context.Context, cluster *v1.Cluster, opts metav1.CreateOptions) (*v1.Cluster, error)
	Update(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (*v1.Cluster, error)
	UpdateStatus(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (*v1.Cluster, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Cluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Cluster, err error)
	ClusterExpansion
}

ClusterInterface has methods to work with Cluster resources.

type ClustersGetter

type ClustersGetter interface {
	Clusters() ClusterInterface
}

ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.

type ConstraintExpansion added in v2.16.3

type ConstraintExpansion interface{}

type ConstraintInterface added in v2.16.3

type ConstraintInterface interface {
	Create(ctx context.Context, constraint *v1.Constraint, opts metav1.CreateOptions) (*v1.Constraint, error)
	Update(ctx context.Context, constraint *v1.Constraint, opts metav1.UpdateOptions) (*v1.Constraint, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Constraint, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ConstraintList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Constraint, err error)
	ConstraintExpansion
}

ConstraintInterface has methods to work with Constraint resources.

type ConstraintTemplateExpansion added in v2.16.3

type ConstraintTemplateExpansion interface{}

type ConstraintTemplateInterface added in v2.16.3

type ConstraintTemplateInterface interface {
	Create(ctx context.Context, constraintTemplate *v1.ConstraintTemplate, opts metav1.CreateOptions) (*v1.ConstraintTemplate, error)
	Update(ctx context.Context, constraintTemplate *v1.ConstraintTemplate, opts metav1.UpdateOptions) (*v1.ConstraintTemplate, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ConstraintTemplate, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ConstraintTemplateList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ConstraintTemplate, err error)
	ConstraintTemplateExpansion
}

ConstraintTemplateInterface has methods to work with ConstraintTemplate resources.

type ConstraintTemplatesGetter added in v2.16.3

type ConstraintTemplatesGetter interface {
	ConstraintTemplates() ConstraintTemplateInterface
}

ConstraintTemplatesGetter has a method to return a ConstraintTemplateInterface. A group's client should implement this interface.

type ConstraintsGetter added in v2.16.3

type ConstraintsGetter interface {
	Constraints(namespace string) ConstraintInterface
}

ConstraintsGetter has a method to return a ConstraintInterface. A group's client should implement this interface.

type ExternalClusterExpansion

type ExternalClusterExpansion interface{}

type ExternalClusterInterface

type ExternalClusterInterface interface {
	Create(ctx context.Context, externalCluster *v1.ExternalCluster, opts metav1.CreateOptions) (*v1.ExternalCluster, error)
	Update(ctx context.Context, externalCluster *v1.ExternalCluster, opts metav1.UpdateOptions) (*v1.ExternalCluster, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ExternalCluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ExternalClusterList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ExternalCluster, err error)
	ExternalClusterExpansion
}

ExternalClusterInterface has methods to work with ExternalCluster resources.

type ExternalClustersGetter

type ExternalClustersGetter interface {
	ExternalClusters() ExternalClusterInterface
}

ExternalClustersGetter has a method to return a ExternalClusterInterface. A group's client should implement this interface.

type KubermaticSettingExpansion

type KubermaticSettingExpansion interface{}

type KubermaticSettingInterface

type KubermaticSettingInterface interface {
	Create(ctx context.Context, kubermaticSetting *v1.KubermaticSetting, opts metav1.CreateOptions) (*v1.KubermaticSetting, error)
	Update(ctx context.Context, kubermaticSetting *v1.KubermaticSetting, opts metav1.UpdateOptions) (*v1.KubermaticSetting, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.KubermaticSetting, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.KubermaticSettingList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.KubermaticSetting, err error)
	KubermaticSettingExpansion
}

KubermaticSettingInterface has methods to work with KubermaticSetting resources.

type KubermaticSettingsGetter

type KubermaticSettingsGetter interface {
	KubermaticSettings() KubermaticSettingInterface
}

KubermaticSettingsGetter has a method to return a KubermaticSettingInterface. A group's client should implement this interface.

type KubermaticV1Client

type KubermaticV1Client struct {
	// contains filtered or unexported fields
}

KubermaticV1Client is used to interact with features provided by the kubermatic.k8s.io group.

func New

New creates a new KubermaticV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*KubermaticV1Client, error)

NewForConfig creates a new KubermaticV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KubermaticV1Client

NewForConfigOrDie creates a new KubermaticV1Client for the given config and panics if there is an error in the config.

func (*KubermaticV1Client) AddonConfigs

func (c *KubermaticV1Client) AddonConfigs() AddonConfigInterface

func (*KubermaticV1Client) Addons

func (c *KubermaticV1Client) Addons(namespace string) AddonInterface

func (*KubermaticV1Client) Clusters

func (c *KubermaticV1Client) Clusters() ClusterInterface

func (*KubermaticV1Client) ConstraintTemplates added in v2.16.3

func (c *KubermaticV1Client) ConstraintTemplates() ConstraintTemplateInterface

func (*KubermaticV1Client) Constraints added in v2.16.3

func (c *KubermaticV1Client) Constraints(namespace string) ConstraintInterface

func (*KubermaticV1Client) ExternalClusters

func (c *KubermaticV1Client) ExternalClusters() ExternalClusterInterface

func (*KubermaticV1Client) KubermaticSettings

func (c *KubermaticV1Client) KubermaticSettings() KubermaticSettingInterface

func (*KubermaticV1Client) Projects

func (c *KubermaticV1Client) Projects() ProjectInterface

func (*KubermaticV1Client) RESTClient

func (c *KubermaticV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*KubermaticV1Client) UserProjectBindings

func (c *KubermaticV1Client) UserProjectBindings() UserProjectBindingInterface

func (*KubermaticV1Client) UserSSHKeys

func (c *KubermaticV1Client) UserSSHKeys() UserSSHKeyInterface

func (*KubermaticV1Client) Users

func (c *KubermaticV1Client) Users() UserInterface

type ProjectExpansion

type ProjectExpansion interface{}

type ProjectInterface

type ProjectInterface interface {
	Create(ctx context.Context, project *v1.Project, opts metav1.CreateOptions) (*v1.Project, error)
	Update(ctx context.Context, project *v1.Project, opts metav1.UpdateOptions) (*v1.Project, error)
	UpdateStatus(ctx context.Context, project *v1.Project, opts metav1.UpdateOptions) (*v1.Project, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Project, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ProjectList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Project, err error)
	ProjectExpansion
}

ProjectInterface has methods to work with Project resources.

type ProjectsGetter

type ProjectsGetter interface {
	Projects() ProjectInterface
}

ProjectsGetter has a method to return a ProjectInterface. A group's client should implement this interface.

type UserExpansion

type UserExpansion interface{}

type UserInterface

type UserInterface interface {
	Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (*v1.User, error)
	Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (*v1.User, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.User, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.UserList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.User, err error)
	UserExpansion
}

UserInterface has methods to work with User resources.

type UserProjectBindingExpansion

type UserProjectBindingExpansion interface{}

type UserProjectBindingInterface

type UserProjectBindingInterface interface {
	Create(ctx context.Context, userProjectBinding *v1.UserProjectBinding, opts metav1.CreateOptions) (*v1.UserProjectBinding, error)
	Update(ctx context.Context, userProjectBinding *v1.UserProjectBinding, opts metav1.UpdateOptions) (*v1.UserProjectBinding, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.UserProjectBinding, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.UserProjectBindingList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.UserProjectBinding, err error)
	UserProjectBindingExpansion
}

UserProjectBindingInterface has methods to work with UserProjectBinding resources.

type UserProjectBindingsGetter

type UserProjectBindingsGetter interface {
	UserProjectBindings() UserProjectBindingInterface
}

UserProjectBindingsGetter has a method to return a UserProjectBindingInterface. A group's client should implement this interface.

type UserSSHKeyExpansion

type UserSSHKeyExpansion interface{}

type UserSSHKeyInterface

type UserSSHKeyInterface interface {
	Create(ctx context.Context, userSSHKey *v1.UserSSHKey, opts metav1.CreateOptions) (*v1.UserSSHKey, error)
	Update(ctx context.Context, userSSHKey *v1.UserSSHKey, opts metav1.UpdateOptions) (*v1.UserSSHKey, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.UserSSHKey, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.UserSSHKeyList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.UserSSHKey, err error)
	UserSSHKeyExpansion
}

UserSSHKeyInterface has methods to work with UserSSHKey resources.

type UserSSHKeysGetter

type UserSSHKeysGetter interface {
	UserSSHKeys() UserSSHKeyInterface
}

UserSSHKeysGetter has a method to return a UserSSHKeyInterface. A group's client should implement this interface.

type UsersGetter

type UsersGetter interface {
	Users() UserInterface
}

UsersGetter has a method to return a UserInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL