Versions in this module Expand all Collapse all v0 v0.66.3 Oct 31, 2024 Changes in this version + type Client struct + func (c *Client) Create(ctx context.Context, data *HAResourceCreateRequestBody) error + func (c *Client) Delete(ctx context.Context, id types.HAResourceID) error + func (c *Client) ExpandPath(path string) string + func (c *Client) Get(ctx context.Context, id types.HAResourceID) (*HAResourceGetResponseData, error) + func (c *Client) List(ctx context.Context, resType *types.HAResourceType) ([]*HAResourceListResponseData, error) + func (c *Client) Update(ctx context.Context, id types.HAResourceID, data *HAResourceUpdateRequestBody) error + type HAResourceCreateRequestBody struct + Digest *string + ID types.HAResourceID + Type *types.HAResourceType + type HAResourceDataBase struct + Comment *string + Group *string + MaxRelocate *int64 + MaxRestart *int64 + State types.HAResourceState + type HAResourceGetResponseBody struct + Data *HAResourceGetResponseData + type HAResourceGetResponseData struct + Digest *string + ID types.HAResourceID + Type types.HAResourceType + type HAResourceListResponseBody struct + Data []*HAResourceListResponseData + type HAResourceListResponseData struct + ID types.HAResourceID + type HAResourceUpdateRequestBody struct + Delete []string