mirror of
https://github.com/hanzokms/kubernetes-operator.git
synced 2026-10-30 20:30:51 +00:00
48 lines
960 B
Go
48 lines
960 B
Go
package model
|
|
|
|
type ServiceAccountDetails struct {
|
|
AccessKey string
|
|
PublicKey string
|
|
PrivateKey string
|
|
}
|
|
|
|
type UniversalAuthIdentityDetails struct {
|
|
ClientId string
|
|
ClientSecret string
|
|
}
|
|
|
|
type LdapIdentityDetails struct {
|
|
Username string
|
|
Password string
|
|
}
|
|
|
|
type SingleEnvironmentVariable struct {
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
SecretPath string `json:"secretPath"`
|
|
Type string `json:"type"`
|
|
ID string `json:"id"`
|
|
}
|
|
|
|
type SecretTemplateOptions struct {
|
|
Value string `json:"value"`
|
|
SecretPath string `json:"secretPath"`
|
|
}
|
|
|
|
type Project struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
Slug string `json:"slug"`
|
|
OrgID string `json:"orgId"`
|
|
Environments []struct {
|
|
Name string `json:"name"`
|
|
Slug string `json:"slug"`
|
|
ID string `json:"id"`
|
|
}
|
|
}
|
|
|
|
type CreateRestyClientOptions struct {
|
|
AccessToken string
|
|
Headers map[string]string
|
|
}
|