Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(datasource *Stackdriver) error
func GCEAuthentication ¶
func GCEAuthentication() Option
GCEAuthentication uses GCE default Service Account to authenticate to Stackdriver API.
func JWTAuthentication ¶
JWTAuthentication uses the given ServiceAccount key file to authenticate to Stackdriver API.
type Stackdriver ¶
type Stackdriver struct {
// contains filtered or unexported fields
}
func (Stackdriver) MarshalJSON ¶
func (datasource Stackdriver) MarshalJSON() ([]byte, error)
func (Stackdriver) Name ¶
func (datasource Stackdriver) Name() string
Click to show internal directories.
Click to hide internal directories.