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