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 TodoExpansion ¶
type TodoExpansion interface{}
type TodoInterface ¶
type TodoInterface interface { Create(*v1.Todo) (*v1.Todo, error) Update(*v1.Todo) (*v1.Todo, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.Todo, error) List(opts metav1.ListOptions) (*v1.TodoList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Todo, err error) TodoExpansion }
TodoInterface has methods to work with Todo resources.
type TodoexampleV1Client ¶
type TodoexampleV1Client struct {
// contains filtered or unexported fields
}
TodoexampleV1Client is used to interact with features provided by the todoexample.com group.
func New ¶
func New(c rest.Interface) *TodoexampleV1Client
New creates a new TodoexampleV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TodoexampleV1Client, error)
NewForConfig creates a new TodoexampleV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *TodoexampleV1Client
NewForConfigOrDie creates a new TodoexampleV1Client for the given config and panics if there is an error in the config.
func (*TodoexampleV1Client) RESTClient ¶
func (c *TodoexampleV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TodoexampleV1Client) Todos ¶
func (c *TodoexampleV1Client) Todos(namespace string) TodoInterface
type TodoexampleV1Interface ¶
type TodoexampleV1Interface interface { RESTClient() rest.Interface TodosGetter }
type TodosGetter ¶
type TodosGetter interface {
Todos(namespace string) TodoInterface
}
TodosGetter has a method to return a TodoInterface. A group's client should implement this interface.