Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type CoreClient
- func (c *CoreClient) ConfigMaps(namespace string) ConfigMapInterface
- func (c *CoreClient) Events(namespace string) EventInterface
- func (c *CoreClient) Namespaces() NamespaceInterface
- func (c *CoreClient) RESTClient() restclient.Interface
- func (c *CoreClient) Secrets(namespace string) SecretInterface
- func (c *CoreClient) Services(namespace string) ServiceInterface
- type CoreInterface
- type EventExpansion
- type EventInterface
- type EventsGetter
- type NamespaceExpansion
- type NamespaceInterface
- type NamespacesGetter
- type SecretExpansion
- type SecretInterface
- type SecretsGetter
- type ServiceExpansion
- type ServiceInterface
- type ServicesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapExpansion ¶
type ConfigMapExpansion interface{}
type ConfigMapInterface ¶
type ConfigMapInterface interface { Create(*api.ConfigMap) (*api.ConfigMap, error) Update(*api.ConfigMap) (*api.ConfigMap, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*api.ConfigMap, error) List(opts api.ListOptions) (*api.ConfigMapList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.ConfigMap, err error) ConfigMapExpansion }
ConfigMapInterface has methods to work with ConfigMap resources.
type ConfigMapsGetter ¶
type ConfigMapsGetter interface {
ConfigMaps(namespace string) ConfigMapInterface
}
ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.
type CoreClient ¶
type CoreClient struct {
// contains filtered or unexported fields
}
CoreClient is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group.
func New ¶
func New(c restclient.Interface) *CoreClient
New creates a new CoreClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *restclient.Config) (*CoreClient, error)
NewForConfig creates a new CoreClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *restclient.Config) *CoreClient
NewForConfigOrDie creates a new CoreClient for the given config and panics if there is an error in the config.
func (*CoreClient) ConfigMaps ¶
func (c *CoreClient) ConfigMaps(namespace string) ConfigMapInterface
func (*CoreClient) Events ¶
func (c *CoreClient) Events(namespace string) EventInterface
func (*CoreClient) Namespaces ¶
func (c *CoreClient) Namespaces() NamespaceInterface
func (*CoreClient) RESTClient ¶
func (c *CoreClient) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CoreClient) Secrets ¶
func (c *CoreClient) Secrets(namespace string) SecretInterface
func (*CoreClient) Services ¶
func (c *CoreClient) Services(namespace string) ServiceInterface
type CoreInterface ¶
type CoreInterface interface { RESTClient() restclient.Interface ConfigMapsGetter EventsGetter NamespacesGetter SecretsGetter ServicesGetter }
type EventExpansion ¶
type EventExpansion interface{}
type EventInterface ¶
type EventInterface interface { Create(*api.Event) (*api.Event, error) Update(*api.Event) (*api.Event, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*api.Event, error) List(opts api.ListOptions) (*api.EventList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Event, err error) EventExpansion }
EventInterface has methods to work with Event resources.
type EventsGetter ¶
type EventsGetter interface {
Events(namespace string) EventInterface
}
EventsGetter has a method to return a EventInterface. A group's client should implement this interface.
type NamespaceExpansion ¶
The NamespaceExpansion interface allows manually adding extra methods to the NamespaceInterface.
type NamespaceInterface ¶
type NamespaceInterface interface { Create(*api.Namespace) (*api.Namespace, error) Update(*api.Namespace) (*api.Namespace, error) UpdateStatus(*api.Namespace) (*api.Namespace, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*api.Namespace, error) List(opts api.ListOptions) (*api.NamespaceList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Namespace, err error) NamespaceExpansion }
NamespaceInterface has methods to work with Namespace resources.
type NamespacesGetter ¶
type NamespacesGetter interface {
Namespaces() NamespaceInterface
}
NamespacesGetter has a method to return a NamespaceInterface. A group's client should implement this interface.
type SecretExpansion ¶
type SecretExpansion interface{}
type SecretInterface ¶
type SecretInterface interface { Create(*api.Secret) (*api.Secret, error) Update(*api.Secret) (*api.Secret, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*api.Secret, error) List(opts api.ListOptions) (*api.SecretList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Secret, err error) SecretExpansion }
SecretInterface has methods to work with Secret resources.
type SecretsGetter ¶
type SecretsGetter interface {
Secrets(namespace string) SecretInterface
}
SecretsGetter has a method to return a SecretInterface. A group's client should implement this interface.
type ServiceExpansion ¶
type ServiceExpansion interface{}
type ServiceInterface ¶
type ServiceInterface interface { Create(*api.Service) (*api.Service, error) Update(*api.Service) (*api.Service, error) UpdateStatus(*api.Service) (*api.Service, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*api.Service, error) List(opts api.ListOptions) (*api.ServiceList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *api.Service, err error) ServiceExpansion }
ServiceInterface has methods to work with Service resources.
type ServicesGetter ¶
type ServicesGetter interface {
Services(namespace string) ServiceInterface
}
ServicesGetter has a method to return a ServiceInterface. A group's client should implement this interface.