Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type CoreV1Client
- func (c *CoreV1Client) ConfigMaps(namespace string) ConfigMapInterface
- func (c *CoreV1Client) Events(namespace string) EventInterface
- func (c *CoreV1Client) Namespaces() NamespaceInterface
- func (c *CoreV1Client) RESTClient() rest.Interface
- func (c *CoreV1Client) Secrets(namespace string) SecretInterface
- func (c *CoreV1Client) Services(namespace string) ServiceInterface
- type CoreV1Interface
- 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(*v1.ConfigMap) (*v1.ConfigMap, error) Update(*v1.ConfigMap) (*v1.ConfigMap, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.ConfigMap, error) List(opts meta_v1.ListOptions) (*v1.ConfigMapList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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 CoreV1Client ¶
type CoreV1Client struct {
// contains filtered or unexported fields
}
CoreV1Client is used to interact with features provided by the group.
func New ¶
func New(c rest.Interface) *CoreV1Client
New creates a new CoreV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CoreV1Client, error)
NewForConfig creates a new CoreV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *CoreV1Client
NewForConfigOrDie creates a new CoreV1Client for the given config and panics if there is an error in the config.
func (*CoreV1Client) ConfigMaps ¶
func (c *CoreV1Client) ConfigMaps(namespace string) ConfigMapInterface
func (*CoreV1Client) Events ¶
func (c *CoreV1Client) Events(namespace string) EventInterface
func (*CoreV1Client) Namespaces ¶
func (c *CoreV1Client) Namespaces() NamespaceInterface
func (*CoreV1Client) RESTClient ¶
func (c *CoreV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CoreV1Client) Secrets ¶
func (c *CoreV1Client) Secrets(namespace string) SecretInterface
func (*CoreV1Client) Services ¶
func (c *CoreV1Client) Services(namespace string) ServiceInterface
type CoreV1Interface ¶
type CoreV1Interface interface { RESTClient() rest.Interface ConfigMapsGetter EventsGetter NamespacesGetter SecretsGetter ServicesGetter }
type EventExpansion ¶
type EventExpansion interface{}
type EventInterface ¶
type EventInterface interface { Create(*v1.Event) (*v1.Event, error) Update(*v1.Event) (*v1.Event, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Event, error) List(opts meta_v1.ListOptions) (*v1.EventList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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(*v1.Namespace) (*v1.Namespace, error) Update(*v1.Namespace) (*v1.Namespace, error) UpdateStatus(*v1.Namespace) (*v1.Namespace, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Namespace, error) List(opts meta_v1.ListOptions) (*v1.NamespaceList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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(*v1.Secret) (*v1.Secret, error) Update(*v1.Secret) (*v1.Secret, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Secret, error) List(opts meta_v1.ListOptions) (*v1.SecretList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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(*v1.Service) (*v1.Service, error) Update(*v1.Service) (*v1.Service, error) UpdateStatus(*v1.Service) (*v1.Service, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Service, error) List(opts meta_v1.ListOptions) (*v1.ServiceList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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.