package gcplogs

import "github.com/docker/cli/components/engine/daemon/logger/gcplogs"

Index

Functions

func New

func New(info logger.Info) (logger.Logger, error)

New creates a new logger that logs to Google Cloud Logging using the application default credentials.

See https://developers.google.com/identity/protocols/application-default-credentials

func ValidateLogOpts

func ValidateLogOpts(cfg map[string]string) error

ValidateLogOpts validates the opts passed to the gcplogs driver. Currently, the gcplogs driver doesn't take any arguments.

Source Files

gcplogging.go gcplogging_others.go

Version
v17.10.0-ce+incompatible
Published
Oct 17, 2017
Platform
darwin/amd64
Imports
10 packages
Last checked
3 minutes ago

Tools for package owners.