Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Create(drupal *appv1beta1.Drupal) (*appv1beta1.Drupal, 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) (*appv1beta1.Drupal, error)
- func (c *Client) List(opts metav1.ListOptions) (*appv1beta1.DrupalList, error)
- func (c *Client) Update(drupal *appv1beta1.Drupal) (*appv1beta1.Drupal, error)
- func (c *Client) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type Interface
Constants ¶
View Source
const Kind = "Drupal"
Kind of object this client handles.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for interacting with Drupal objects.
func (*Client) Create ¶
func (c *Client) Create(drupal *appv1beta1.Drupal) (*appv1beta1.Drupal, error)
Create a Drupal.
func (*Client) Delete ¶
func (c *Client) Delete(name string, options *metav1.DeleteOptions) error
Delete a Drupal.
func (*Client) Get ¶
func (c *Client) Get(name string, opts metav1.GetOptions) (*appv1beta1.Drupal, error)
Get a Drupal.
func (*Client) List ¶
func (c *Client) List(opts metav1.ListOptions) (*appv1beta1.DrupalList, error)
List all Drupals.
func (*Client) Update ¶
func (c *Client) Update(drupal *appv1beta1.Drupal) (*appv1beta1.Drupal, error)
Update a Drupal.
type Interface ¶
type Interface interface { List(opts metav1.ListOptions) (*appv1beta1.DrupalList, error) Get(name string, opts metav1.GetOptions) (*appv1beta1.Drupal, error) Exists(name string, opts metav1.GetOptions) (bool, error) Create(*appv1beta1.Drupal) (*appv1beta1.Drupal, error) Update(*appv1beta1.Drupal) (*appv1beta1.Drupal, error) Delete(name string, opts *metav1.DeleteOptions) error Watch(opts metav1.ListOptions) (watch.Interface, error) }
Interface declares interactions with the Drupal objects.
Click to show internal directories.
Click to hide internal directories.