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 PizzaExpansion ¶
type PizzaExpansion interface{}
type PizzaInterface ¶
type PizzaInterface interface { Create(*restaurant.Pizza) (*restaurant.Pizza, error) Update(*restaurant.Pizza) (*restaurant.Pizza, error) UpdateStatus(*restaurant.Pizza) (*restaurant.Pizza, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*restaurant.Pizza, error) List(opts v1.ListOptions) (*restaurant.PizzaList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *restaurant.Pizza, err error) PizzaExpansion }
PizzaInterface has methods to work with Pizza resources.
type PizzasGetter ¶
type PizzasGetter interface {
Pizzas(namespace string) PizzaInterface
}
PizzasGetter has a method to return a PizzaInterface. A group's client should implement this interface.
type RestaurantClient ¶
type RestaurantClient struct {
// contains filtered or unexported fields
}
RestaurantClient is used to interact with features provided by the restaurant.programming-kubernetes.info group.
func New ¶
func New(c rest.Interface) *RestaurantClient
New creates a new RestaurantClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*RestaurantClient, error)
NewForConfig creates a new RestaurantClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *RestaurantClient
NewForConfigOrDie creates a new RestaurantClient for the given config and panics if there is an error in the config.
func (*RestaurantClient) Pizzas ¶
func (c *RestaurantClient) Pizzas(namespace string) PizzaInterface
func (*RestaurantClient) RESTClient ¶
func (c *RestaurantClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*RestaurantClient) Toppings ¶
func (c *RestaurantClient) Toppings() ToppingInterface
type RestaurantInterface ¶
type RestaurantInterface interface { RESTClient() rest.Interface PizzasGetter ToppingsGetter }
type ToppingExpansion ¶
type ToppingExpansion interface{}
type ToppingInterface ¶
type ToppingInterface interface { Create(*restaurant.Topping) (*restaurant.Topping, error) Update(*restaurant.Topping) (*restaurant.Topping, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*restaurant.Topping, error) List(opts v1.ListOptions) (*restaurant.ToppingList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *restaurant.Topping, err error) ToppingExpansion }
ToppingInterface has methods to work with Topping resources.
type ToppingsGetter ¶
type ToppingsGetter interface {
Toppings() ToppingInterface
}
ToppingsGetter has a method to return a ToppingInterface. A group's client should implement this interface.