Documentation ¶
Index ¶
Constants ¶
View Source
const Endpoint = "/users"
Endpoint is the public path for the users service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotasResponseItem ¶ added in v0.5.0
type QuotasResponseItem struct { UUID string `json:"uuid"` Used QuotasResponseUsed `json:"used"` Hard QuotasResponseUsed `json:"hard"` Limits QuotasResponseLimits `json:"limits"` kcclient.APIResponseCommon }
QuotasResponseItem is a data item from a response to a GET /users/quotas request. https://docs.kraft.cloud/api/v1/users/#list-quota-usage-and-limits
type QuotasResponseLimits ¶ added in v0.5.0
type QuotasResponseUsed ¶ added in v0.5.0
type UsersService ¶
type UsersService interface { kcclient.ServiceClient[UsersService] // Lists quota usage and limits of your user account. Limits are hard limits // that cannot be exceeded. // https://docs.kraft.cloud/api/v1/users/#list-quota-usage-and-limits Quotas(ctx context.Context) (*kcclient.ServiceResponse[QuotasResponseItem], error) }
func NewUsersClientFromOptions ¶
func NewUsersClientFromOptions(opts *options.Options) UsersService
NewUsersClientFromOptions instantiates a new users services client based on the provided pre-existing options.
Click to show internal directories.
Click to hide internal directories.