Documentation
¶
Index ¶
Constants ¶
View Source
const (
ApiRevisionExt = "x-revision"
)
Variables ¶
View Source
var ErrNoOrganization = errors.New("no organization exists in config or as parameter")
Functions ¶
func LabelToLabelInput ¶
func LabelToLabelInput(key string, value string) cloudapi.LabelInput
func LabelsToLabelInput ¶
func LabelsToLabelInput(labels map[string]string) []cloudapi.LabelInput
func ResolveOrgID ¶ added in v1.0.7
Types ¶
type APIVersion ¶
func GetLocalAPIVersion ¶ added in v0.1.11
func GetLocalAPIVersion() (APIVersion, error)
type Client ¶ added in v0.1.11
type Client struct {
*cloudapi.ClientWithResponses
// contains filtered or unexported fields
}
func NewClientFromToken ¶
func (*Client) GetAPIVersion ¶ added in v0.1.11
func (c *Client) GetAPIVersion() (APIVersion, error)
type ResponseBody ¶
type ResponseBody struct {
Errors []struct {
Message string `json:"message"`
} `json:"errors"`
}
Click to show internal directories.
Click to hide internal directories.