Documentation ¶
Index ¶
- func BillingRef(billingRef string) error
- func DefaultResponseErrorHandler(resp *http.Response) error
- func Duration(s string) (time.Duration, error)
- func ISO8601(t string) error
- func OrganizationID(orgID string) error
- func ProjectID(projectID string) error
- func ProjectName(name string) error
- func RFC3339(t string) error
- func ResourceType(r string) error
- func Role(role string) error
- func SemVer(version string) error
- func UUID(id string) error
- func UserOrigin(origin string) error
- func WrapError(err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BillingRef ¶
BillingRef validates a given billing reference
func DefaultResponseErrorHandler ¶
DefaultResponseErrorHandler is the default error handler used to check if a giving STACKIT API response returned an error
func OrganizationID ¶
OrganizationID validates a given organization ID
func UserOrigin ¶
UserOrigin validates a given user origin @TODO: remove after APIv1 is deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.