Documentation
¶
Index ¶
- type AwsIamAuthLoginRequest
- type AzureAuthLoginRequest
- type GCPAuthLoginRequest
- type KubernetesAuthLoginRequest
- type MachineIdentityAuthLoginResponse
- func CallAWSIamAuthLogin(httpClient *resty.Client, request AwsIamAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
- func CallAzureAuthLogin(httpClient *resty.Client, request AzureAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
- func CallGCPAuthLogin(httpClient *resty.Client, request GCPAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
- func CallKubernetesAuthLogin(httpClient *resty.Client, request KubernetesAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
- func CallUniversalAuthLogin(httpClient *resty.Client, request UniversalAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
- type UniversalAuthLoginRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsIamAuthLoginRequest ¶
type AzureAuthLoginRequest ¶
type GCPAuthLoginRequest ¶
type KubernetesAuthLoginRequest ¶
type KubernetesAuthLoginRequest struct {
IdentityID string `json:"identityId"`
JWT string `json:"jwt"`
}
Kubernetes auth:
type MachineIdentityAuthLoginResponse ¶ added in v0.2.0
type MachineIdentityAuthLoginResponse struct {
AccessToken string `json:"accessToken"`
ExpiresIn int64 `json:"expiresIn"`
AccessTokenMaxTTL int64 `json:"accessTokenMaxTTL"`
TokenType string `json:"tokenType"`
}
func CallAWSIamAuthLogin ¶
func CallAWSIamAuthLogin(httpClient *resty.Client, request AwsIamAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
func CallAzureAuthLogin ¶
func CallAzureAuthLogin(httpClient *resty.Client, request AzureAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
func CallGCPAuthLogin ¶
func CallGCPAuthLogin(httpClient *resty.Client, request GCPAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
func CallKubernetesAuthLogin ¶
func CallKubernetesAuthLogin(httpClient *resty.Client, request KubernetesAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
func CallUniversalAuthLogin ¶
func CallUniversalAuthLogin(httpClient *resty.Client, request UniversalAuthLoginRequest) (credential MachineIdentityAuthLoginResponse, e error)
type UniversalAuthLoginRequest ¶
type UniversalAuthLoginRequest struct {
ClientID string `json:"clientId"`
ClientSecret string `json:"clientSecret"`
}
Universal auth:
Click to show internal directories.
Click to hide internal directories.