Created
December 3, 2018 09:44
-
-
Save fiunchinho/f53e16bc8c9cdfffed8a9275bd288447 to your computer and use it in GitHub Desktop.
Dependency injection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func NewIamRoleAnnotator(k8sCli kubernetes.Interface, awsAccountID string, logger Logger) *IamRoleAnnotator { | |
return &IamRoleAnnotator{ | |
client: k8sCli, | |
awsAccountID: awsAccountID, | |
logger: logger, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment