Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ingress *edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)
- func (c *Client) Delete(name string, options *metav1.DeleteOptions) error
- func (c *Client) Exists(name string, opts metav1.GetOptions) (bool, error)
- func (c *Client) Get(name string, opts metav1.GetOptions) (*edgev1beta1.Ingress, error)
- func (c *Client) List(opts metav1.ListOptions) (*edgev1beta1.IngressList, error)
- func (c *Client) Update(ingress *edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)
- func (c *Client) Watch(opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Namespace string Objects []*edgev1beta1.Ingress }
Client for mocking Ingress client.
func (*Client) Create ¶
func (c *Client) Create(ingress *edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)
Create a Ingress.
func (*Client) Delete ¶
func (c *Client) Delete(name string, options *metav1.DeleteOptions) error
Delete a Ingress.
func (*Client) Get ¶
func (c *Client) Get(name string, opts metav1.GetOptions) (*edgev1beta1.Ingress, error)
Get a Ingress.
func (*Client) List ¶
func (c *Client) List(opts metav1.ListOptions) (*edgev1beta1.IngressList, error)
List a Ingress.
func (*Client) Update ¶
func (c *Client) Update(ingress *edgev1beta1.Ingress) (*edgev1beta1.Ingress, error)
Update a Ingress.
Click to show internal directories.
Click to hide internal directories.