Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GC *http.Client Gceproject string Topic string KeyPath string Loglvl string Logfmt string )
View Source
var RootCmd = &cobra.Command{ Use: "pubbing", Short: "Google PubSub test framework", Long: ``, Run: func(cmd *cobra.Command, args []string) { log.Infof("pubbing called without command") }, }
This represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GCEClientInit ¶
GCEClientInit uses Google's host FS searching functionality to find auth tokens if they exist. eg: GCE VMs, Authenticated Developers
func GCS ¶
func GCS(projectid string) cloudstorage.GoogleOAuthClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.