Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
ServiceAccounts []*ServiceAccount
}
List is a list of ServiceAccounts, used for index action
type ServiceAccount ¶
type ServiceAccount struct {
UID string `jsonapi:"primary,service_account"`
TokenLabel string `jsonapi:"attr,token_label"`
GeneratedAt *time.Time `jsonapi:"attr,generated_at,iso8601"`
MostRecentAPIAccessAt *time.Time `jsonapi:"attr,most_recent_api_access_at,iso8601"`
MostRecentAPIClientVersion string `jsonapi:"attr,most_recent_api_client_version"`
// AccessToken is returned only once when creating a new service account and is not available again afterwards
AccessToken string `jsonapi:"attr,access_token"`
}
ServiceAccount represents a single ServiceAccount
Click to show internal directories.
Click to hide internal directories.