Documentation
¶
Index ¶
- func Delete(ctx context.Context, logger logger.Logger, baseUrl string, token string, ...) error
- type APIKey
- func Create(ctx context.Context, logger logger.Logger, baseUrl string, token string, ...) (APIKey, error)
- func Get(ctx context.Context, logger logger.Logger, baseUrl string, token string, ...) (*APIKey, error)
- func List(ctx context.Context, logger logger.Logger, baseUrl string, token string, ...) ([]APIKey, error)
- type CreateResponse
- type DeleteResponse
- type GetResponse
- type ListResponse
- type Org
- type Project
- type Response
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIKey ¶
type APIKey struct {
ID string `json:"id"`
Name string `json:"name"`
OwnerId string `json:"ownerId"`
OrgId string `json:"orgId"`
ProjectId string `json:"projectId"`
ExpiresAt string `json:"expiresAt"`
LastUsedAt string `json:"lastUsedAt"`
Value string `json:"value"`
Project Project `json:"project"`
User User `json:"user"`
Org Org `json:"org"`
}
type CreateResponse ¶
type DeleteResponse ¶
type GetResponse ¶
type ListResponse ¶
Click to show internal directories.
Click to hide internal directories.