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