Documentation ¶
Index ¶
- func CreateResource(c *Client, observed map[string]interface{}) (map[string]interface{}, *resty.Response, error)
- func DeleteResourceByID(c *Client, id string) error
- func IsUpToDate(observed map[string]interface{}, desired *Desired) (bool, error)
- func UpdateResourceByID(c *Client, id string, observed map[string]interface{}) error
- type Client
- type Desired
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResource ¶
func CreateResource(c *Client, observed map[string]interface{}) (map[string]interface{}, *resty.Response, error)
CreateResource creates a new resource at specified api endpoint.
func DeleteResourceByID ¶
DeleteResourceByID deletes a resource by its ID at specified api endpoint.
func IsUpToDate ¶
IsUpToDate checks if the observed resource is up to date with the desired resource.
Types ¶
Click to show internal directories.
Click to hide internal directories.