Documentation
¶
Overview ¶
Package responsetypes contains utils for methods responses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsIdentityResponse ¶
type AwsIdentityResponse struct {
IamUserArn string
AccessKey *iam.AccessKey
EksCluster *eks.Cluster
Region string
}
AwsIdentityResponse contains the information about the created IAM user and the EKS cluster.
type SigningRequestResponse ¶
type SigningRequestResponse struct {
ResponseType SigningRequestResponseType
Certificate []byte
AwsIdentityResponse AwsIdentityResponse
}
SigningRequestResponse contains the response from an Indentity Provider.
type SigningRequestResponseType ¶
type SigningRequestResponseType string
SigningRequestResponseType indicates the type for a signign request response.
const ( // SigningRequestResponseCertificate indicates that the signing request response contains a certificate // issued by the cluster CA. SigningRequestResponseCertificate SigningRequestResponseType = "Certificate" // SigningRequestResponseIAM indicates that the identity has been validated by the Amazon IAM service. SigningRequestResponseIAM SigningRequestResponseType = "IAM" )
Click to show internal directories.
Click to hide internal directories.