responsetypes

package
v0.5.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL