Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getSecret := func(secretAgent *config.SecretAgent, secretPath string) func() []byte {
- return func() []byte {
- return secretAgent.GetSecret(secretPath)
- }
- }
- kai ston github client
- githubClient = github.NewClient(getSecret(secretAgent, o.githubTokenFile), o.githubEndpoint.Strings()...)
- sto struct tou client
- token func() []byte
- kai to gemizw sto NewClient fusika.
- kai apla to token sto request to pairnei sa c.token()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement