Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context) error
- func (c *Client) Delete(ctx context.Context) error
- func (c *Client) Get(ctx context.Context) error
- func (c *Client) GetOrCreate(ctx context.Context) error
- func (c *Client) List(ctx context.Context, options metav1.ListOptions) (*nascrd.NodeAllocationStateList, error)
- func (c *Client) Update(ctx context.Context, spec *nascrd.NodeAllocationStateSpec) error
- func (c *Client) UpdateStatus(ctx context.Context, status string) error
- func (c *Client) Watch(ctx context.Context, options 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 {
// contains filtered or unexported fields
}
func New ¶
func New(nas *nascrd.NodeAllocationState, client nasclient.NasV1alpha1Interface) *Client
func (*Client) List ¶
func (c *Client) List(ctx context.Context, options metav1.ListOptions) (*nascrd.NodeAllocationStateList, error)
func (*Client) UpdateStatus ¶
Click to show internal directories.
Click to hide internal directories.