Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToOpts ¶
func ToOpts(cfg *config.Params) (opts []gapiopts.ClientOption)
ToOpts converts the Stackdriver config params to options for configuring Stackdriver clients.
func ToStringMap ¶
ToStringMap converts a map[string]interface{} to a map[string]string
Types ¶
type ProjectIDFiller ¶
type ProjectIDFiller struct {
// contains filtered or unexported fields
}
ProjectIDFiller checks and fills project id for stack adapter config.
func NewProjectIDFiller ¶
func NewProjectIDFiller(s shouldFillFn, p projectIDFn) *ProjectIDFiller
NewProjectIDFiller creates a project id filler for stackdriver adapter config with the given functions.
func (*ProjectIDFiller) FillProjectID ¶
func (p *ProjectIDFiller) FillProjectID(c adapter.Config)
FillProjectID tries to fill project ID in adapter config if it is empty.
Click to show internal directories.
Click to hide internal directories.