logs

package
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package logs contains all structured log events for the service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetFetcherFailure

type AssetFetcherFailure struct {
	Message string `logevent:"message,default=asset-fetch-failure"`
	Reason  string `logevent:"reason"`
}

AssetFetcherFailure is logged when an unexpected error occurs attempting to fetch an asset from storage.

type AssetNotFound

type AssetNotFound struct {
	Message string `logevent:"message,default=asset-not-found"`
	Reason  string `logevent:"reason"`
}

AssetNotFound is logged when there no asset was found in storage with a given IP address.

type AssetStorerFailure added in v0.2.0

type AssetStorerFailure struct {
	Message string `logevent:"message,default=ipam-data-storer-failure"`
	Reason  string `logevent:"reason"`
}

AssetStorerFailure is logged when storing IPAM data fails.

type IPAMDataFetcherFailure

type IPAMDataFetcherFailure struct {
	Message string `logevent:"message,default=ipam-data-fetcher-failure"`
	Reason  string `logevent:"reason"`
}

IPAMDataFetcherFailure is logged when fetching IPAM data from the CMDB data source fails.

type InvalidInput

type InvalidInput struct {
	Message string `logevent:"message,default=invalid-input"`
	Reason  string `logevent:"reason"`
}

InvalidInput is logged when a request is made to fetch an asset by an invalid IP address.

type InvalidSubnet added in v0.3.5

type InvalidSubnet struct {
	Message string `logevent:"message,default=invalid-subnet"`
	ID      int    `logevent:"id"`
	Reason  string `logevent:"reason"`
}

InvalidSubnet is logged when a Subnet is returned from Device42 which is invalid or incomplete

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL