Documentation ¶
Index ¶
- func ControlPlaneTrustRelationship(enableFargate bool) *apiiam.PolicyDocument
- func NodegroupTrustRelationship() *apiiam.PolicyDocument
- func RoleTags(key string, additionalTags infrav1.Tags) []*iam.Tag
- type IAMService
- func (s *IAMService) CreateRole(roleName string, key string, trustRelationship *apiiam.PolicyDocument, ...) (*iam.Role, error)
- func (s *IAMService) DeleteRole(name string) error
- func (s *IAMService) EnsurePoliciesAttached(role *iam.Role, policies []*string) error
- func (s *IAMService) EnsureTagsAndPolicy(role *iam.Role, key string, trustRelationship *apiiam.PolicyDocument, ...) error
- func (s *IAMService) GetIAMRole(name string) (*iam.Role, error)
- func (s *IAMService) IsUnmanaged(role *iam.Role, key string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControlPlaneTrustRelationship ¶
func ControlPlaneTrustRelationship(enableFargate bool) *apiiam.PolicyDocument
func NodegroupTrustRelationship ¶
func NodegroupTrustRelationship() *apiiam.PolicyDocument
Types ¶
type IAMService ¶
func (*IAMService) CreateRole ¶
func (s *IAMService) CreateRole( roleName string, key string, trustRelationship *apiiam.PolicyDocument, additionalTags infrav1.Tags, ) (*iam.Role, error)
func (*IAMService) DeleteRole ¶
func (s *IAMService) DeleteRole(name string) error
func (*IAMService) EnsurePoliciesAttached ¶
func (s *IAMService) EnsurePoliciesAttached(role *iam.Role, policies []*string) error
func (*IAMService) EnsureTagsAndPolicy ¶
func (s *IAMService) EnsureTagsAndPolicy( role *iam.Role, key string, trustRelationship *apiiam.PolicyDocument, additionalTags infrav1.Tags, ) error
func (*IAMService) GetIAMRole ¶
func (s *IAMService) GetIAMRole(name string) (*iam.Role, error)
func (*IAMService) IsUnmanaged ¶
func (s *IAMService) IsUnmanaged(role *iam.Role, key string) bool
Click to show internal directories.
Click to hide internal directories.