Back to

Package irsafargate

Latest Go to latest

The highest tagged major version is .

Published: Oct 20, 2020 | License: Apache-2.0 | Module:


Package irsafargate implements tester for "IAM Roles for Service Accounts (IRSA)" Pod with Fargate.



const TemplateConfigMap = "" /* 1404 byte string literal not displayed */

TemplateConfigMap is the IRSA Fargate config map.

const TemplatePodScript = `printf '\n\nexecuting...\n\n'; /opt/{{ .ConfigMapScriptFileName }};`

TemplatePodScript is the script to run in Deployment.

const TemplateRole = "" /* 2077 byte string literal not displayed */

TemplateRole is the CloudFormation template for EKS IRSA Fargate role.

func New

func New(cfg Config) eks_tester.Tester

New creates a new Job tester.

type Config

type Config struct {
	Logger    *zap.Logger
	LogWriter io.Writer
	Stopc     chan struct{}
	EKSConfig *eksconfig.Config
	K8SClient k8s_client.EKS
	S3API     s3iface.S3API
	CFNAPI    cloudformationiface.CloudFormationAPI
	EKSAPI    eksiface.EKSAPI
	IAMAPI    iamiface.IAMAPI
	ECRAPI    ecriface.ECRAPI

Config defines "IAM Roles for Service Accounts (IRSA)" for Fargate configuration. ref.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier