Documentation ¶
Overview ¶
v2 contains cobra cli command implementations for interact with sherlock v2 apis
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RootCmd is a cobra command instances that serves as the base of the command parse tree for all v2 commands RootCmd = &cobra.Command{ Use: "v2", Short: "command subtree with support for v2 apis", Long: "v2 contains subcommands for interacting with sherlock v2 apis", PersistentPreRunE: buildClient, } )
Functions ¶
func Initialize ¶
func Initialize()
Initialize the sub command parse tree for v2 apis and read in config from file and environment
func NewSherlockClient ¶
func NewSherlockClient(options sherlockClientOptions) (*sherlockClient, error)
NewSherlockClient intializes a sherlock client object which will issue calls to a sherlock server using a code generated library based on swagger spec. The returned client can optionally set the Authorization Bearer header with an ID token obtained via a google service acocunt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.