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