unversioned

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 4 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 CoreClient

type CoreClient struct {
	*restclient.RESTClient
}

CoreClient is used to interact with features provided by the Core group.

func New

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) Events added in v1.4.0

func (c *CoreClient) Events(namespace string) EventInterface

func (*CoreClient) GetRESTClient

func (c *CoreClient) GetRESTClient() *restclient.RESTClient

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

func (*CoreClient) Namespaces added in v1.4.0

func (c *CoreClient) Namespaces() NamespaceInterface

func (*CoreClient) Secrets added in v1.4.0

func (c *CoreClient) Secrets(namespace string) SecretInterface

func (*CoreClient) Services

func (c *CoreClient) Services(namespace string) ServiceInterface

type CoreInterface

type CoreInterface interface {
	GetRESTClient() *restclient.RESTClient
	EventsGetter
	NamespacesGetter
	SecretsGetter
	ServicesGetter
}

type EventExpansion added in v1.4.0

type EventExpansion interface{}

type EventInterface added in v1.4.0

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 added in v1.4.0

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 added in v1.4.0

type NamespaceExpansion interface {
	Finalize(item *api.Namespace) (*api.Namespace, error)
}

The NamespaceExpansion interface allows manually adding extra methods to the NamespaceInterface.

type NamespaceInterface added in v1.4.0

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 added in v1.4.0

type NamespacesGetter interface {
	Namespaces() NamespaceInterface
}

NamespacesGetter has a method to return a NamespaceInterface. A group's client should implement this interface.

type SecretExpansion added in v1.4.0

type SecretExpansion interface{}

type SecretInterface added in v1.4.0

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 added in v1.4.0

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.

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