responsetypes

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 0 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
	AccessKeyID                        string
	SecretAccessKey                    string
	EksClusterName                     string
	EksClusterEndpoint                 string
	EksClusterCertificateAuthorityData []byte
	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