Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsManager ¶
type AwsManager interface { AwsPolicyManager AwsRoleManager }
type AwsPolicyManager ¶
type AwsRoleManager ¶
type AwsRoleManager interface { RoleExists(roleName string) (bool, error) CreateRole(role api.Role, permissionsBoundariesPolicyARN string) error DeleteRole(roleName string) error AttachRolePolicy(roleName, policyARN string) error GetAttachedRolePoliciesARNs(roleName string) ([]string, error) GetRoleARN(roleName string) (string, error) }
type IamRoleServiceAccountReconciler ¶
type IamRoleServiceAccountReconciler struct { client.Client // contains filtered or unexported fields }
IamRoleServiceAccountReconciler reconciles a IamRoleServiceAccount object
func NewIrsaReconciler ¶
func (*IamRoleServiceAccountReconciler) Reconcile ¶
func (r *IamRoleServiceAccountReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is called each time an event occurs on an api.IamRoleServiceAccount resource
func (*IamRoleServiceAccountReconciler) SetupWithManager ¶
func (r *IamRoleServiceAccountReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PolicyReconciler ¶
PolicyReconciler reconciles a Policy object
func NewPolicyReconciler ¶
func NewPolicyReconciler(client client.Client, scheme *runtime.Scheme, awspm AwsPolicyManager, logger logr.Logger, cN string) *PolicyReconciler
func (*PolicyReconciler) Reconcile ¶
Reconcile is called each time an event occurs on an api.Policy resource
func (*PolicyReconciler) SetupWithManager ¶
func (r *PolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RoleReconciler ¶
RoleReconciler reconciles a Role object
func NewRoleReconciler ¶
func NewRoleReconciler( client client.Client, scheme *runtime.Scheme, awsrm AwsRoleManager, logger logr.Logger, clusterName, permissionsBoundariesPolicyARN string) *RoleReconciler
func (*RoleReconciler) SetupWithManager ¶
func (r *RoleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.