controllers

package
v0.0.0-...-5718153 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FargateProfileFinalizer = "agill.apps.eks-fargate-finalizer"
)

Variables

This section is empty.

Functions

func AddFinalizer

func AddFinalizer(finalizer string, runtimeObj runtime.Object, client client.Client) error

func ListContainsString

func ListContainsString(lookup string, list []string) (int, bool)

func NewEc2Client

func NewEc2Client(region string) ec2iface.EC2API

func NewEksClient

func NewEksClient(region string) eksiface.EKSAPI

func NewIamClient

func NewIamClient(region string) iamiface.IAMAPI

func RemoveFinalizer

func RemoveFinalizer(finalizer string, object runtime.Object, client client.Client) error

Types

type ErrEksClusterNotActive

type ErrEksClusterNotActive struct {
	Message string
}

func (ErrEksClusterNotActive) Error

func (e ErrEksClusterNotActive) Error() string

type ErrEksClusterNotFound

type ErrEksClusterNotFound struct {
	Message string
}

func (ErrEksClusterNotFound) Error

func (e ErrEksClusterNotFound) Error() string

type ErrInvalidSubnet

type ErrInvalidSubnet struct {
	Message string
}

func (ErrInvalidSubnet) Error

func (e ErrInvalidSubnet) Error() string

type ErrPodExecutionRoleArnNotFound

type ErrPodExecutionRoleArnNotFound struct {
	Message string
}

func (ErrPodExecutionRoleArnNotFound) Error

type FargateProfileReconciler

type FargateProfileReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

FargateProfileReconciler reconciles a FargateProfile object

func (*FargateProfileReconciler) Reconcile

func (r *FargateProfileReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*FargateProfileReconciler) SetupWithManager

func (r *FargateProfileReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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