Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "get-token", Short: "Get Access Token to Goole Drive API", Aliases: []string{"u"}, Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { token := google_drive_utils.GetToken(FlagClientId, FlagClientSecret) err := vault_google_drive_utils.SetGoogleDriveUploadTokenSecrets(token, "secret/data/slu/google-drive-upload/token") if err != nil { log.Fatalln(err) } }, }
View Source
var FlagClientId string
View Source
var FlagClientSecret string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.