Documentation ¶
Overview ¶
Copyright 2017 Applatix, Inc.
Copyright 2017 Applatix, Inc.
Index ¶
Constants ¶
View Source
const ( ServiceAWSS3 = "AWS S3" ServiceAWSEC2Instance = "AWS EC2 Instance" ServiceAWSMarketplace = "AWS Marketplace" ServiceAWSEBSVolume = "AWS EBS Volume" ServiceAWSCloudWatch = "AWS CloudWatch" ServiceAWSCloudFront = "AWS CloudFront" ServiceAWSEC2DataTransfer = "AWS EC2 Data Transfer" )
Specially treated services
View Source
const (
AWSMarketplaceAccountID = "679593333241"
)
Application constants
Variables ¶
View Source
var ( ApplicationPort = 443 ApplicationDir = "/var/lib/claudia" ApplicationAdminUsername = "admin" ApplicationAdminDefaultPassword = "password" IngestdURL = "http://ingestd:8081" IngestdPort = 8081 IngestdWorkers = 2 IngestdBatchInterval = 5000 IngestStatusMeasurementName = "ingest_status" IngestdWriteRetryDelay = []time.Duration{10 * time.Second, 20 * time.Second, 40 * time.Second, 60 * time.Second, 120 * time.Second} CostDatabaseURL = "http://costdb:8086" CostDatabaseName = "cost_usage" ReportDefaultRetentionDays = 365 )
Application configuration settings
View Source
var ( Version = "unknown" Revision = "unknown" FullVersion = fmt.Sprintf("%s-%s", Version, Revision) BuildDate = "unknown" DisplayVersion = fmt.Sprintf("%s (Build Date: %s)", FullVersion, BuildDate) )
Version information set by link flags during build
Functions ¶
This section is empty.
Types ¶
type ReportStatus ¶
type ReportStatus string
ReportStatus is the status of a report. One of: "processing", "error", "current"
const ( ReportStatusCurrent ReportStatus = "current" ReportStatusError ReportStatus = "error" ReportStatusProcessing ReportStatus = "processing" )
Valid report statuses
Click to show internal directories.
Click to hide internal directories.