Skip to content

Commit

Permalink
chore: add MIT license header to all source files
Browse files Browse the repository at this point in the history
  • Loading branch information
haojhcwa committed Jul 21, 2020
1 parent 7803e0c commit 7704470
Show file tree
Hide file tree
Showing 563 changed files with 1,689 additions and 0 deletions.
3 changes: 3 additions & 0 deletions awscsm/csm/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/csm/csmiface/interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/csm/customizations.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package csm

import (
Expand Down
3 changes: 3 additions & 0 deletions awscsm/csm/customizations_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

// +build go1.8

package csm_test
Expand Down
3 changes: 3 additions & 0 deletions awscsm/csm/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/csm/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/csm/service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/frequency_metric.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

// FrequencyMetric represents a metric that is a numeric value.
Expand Down
3 changes: 3 additions & 0 deletions awscsm/frequency_metric_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

import (
Expand Down
3 changes: 3 additions & 0 deletions awscsm/metric.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

import (
Expand Down
3 changes: 3 additions & 0 deletions awscsm/metric_util.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

func getFloatValue(v interface{}) *float64 {
Expand Down
3 changes: 3 additions & 0 deletions awscsm/sdkmetricsdataplane/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/sdkmetricsdataplane/customizations.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package sdkmetricsdataplane

import (
Expand Down
3 changes: 3 additions & 0 deletions awscsm/sdkmetricsdataplane/customizations_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

// +build go1.8

package sdkmetricsdataplane_test
Expand Down
3 changes: 3 additions & 0 deletions awscsm/sdkmetricsdataplane/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/sdkmetricsdataplane/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/sdkmetricsdataplane/service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions awscsm/seh_metric.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

import (
Expand Down
3 changes: 3 additions & 0 deletions awscsm/seh_metric_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

import (
Expand Down
3 changes: 3 additions & 0 deletions awscsm/statistic_set.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

import (
Expand Down
3 changes: 3 additions & 0 deletions awscsm/statistic_set_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package awscsmmetrics

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/agentinfo/info.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package agentinfo

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/agentinfo/info_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package agentinfo

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/aws/credentials.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package aws

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/aws/refreshable_shared_credentials_provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package aws

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/aws/refreshable_shared_credentials_provider_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package aws

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/commonconfig/commonconfig.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package commonconfig

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/commonconfig/commonconfig_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package commonconfig

import (
Expand Down
3 changes: 3 additions & 0 deletions cfg/envconfig/envconfig.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package envconfig

const (
Expand Down
3 changes: 3 additions & 0 deletions cmd/amazon-cloudwatch-agent-config-wizard/wizard.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/amazon-cloudwatch-agent-config-wizard/wizard_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/amazon-cloudwatch-agent/amazon-cloudwatch-agent.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/config-downloader/downloader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/config-translator/translator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/config-translator/translator_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/start-amazon-cloudwatch-agent/path_darwin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/start-amazon-cloudwatch-agent/path_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

// +build linux

package main
Expand Down
3 changes: 3 additions & 0 deletions cmd/start-amazon-cloudwatch-agent/path_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

// +build windows

package main
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions handlers/compress.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package handlers

import (
Expand Down
3 changes: 3 additions & 0 deletions handlers/customheader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package handlers

import "github.com/aws/aws-sdk-go/aws/request"
Expand Down
3 changes: 3 additions & 0 deletions internal/containerinsightscommon/const.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package containerinsightscommon

const (
Expand Down
3 changes: 3 additions & 0 deletions internal/containerinsightscommon/ecsconst.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package containerinsightscommon

const (
Expand Down
3 changes: 3 additions & 0 deletions internal/containerinsightscommon/k8sconst.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package containerinsightscommon

const (
Expand Down
3 changes: 3 additions & 0 deletions internal/containerinsightscommon/nodeCapacity.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package containerinsightscommon

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/containerinsightscommon/util.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package containerinsightscommon

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/csm/csm.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package csm

// These constants represent default values and agent configuration
Expand Down
3 changes: 3 additions & 0 deletions internal/duration.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package internal

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/httpclient/httpclient.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package httpclient

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/k8sCommon/k8sclient/clientset.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package k8sclient

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/k8sCommon/k8sclient/endpoint.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package k8sclient

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/k8sCommon/k8sclient/endpoint_info.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package k8sclient

type endpointInfo struct {
Expand Down
3 changes: 3 additions & 0 deletions internal/k8sCommon/k8sclient/endpoint_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package k8sclient

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/k8sCommon/k8sclient/job.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package k8sclient

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/k8sCommon/k8sclient/job_info.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package k8sclient

type jobInfo struct {
Expand Down
3 changes: 3 additions & 0 deletions internal/k8sCommon/k8sclient/job_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

package k8sclient

import (
Expand Down
Loading

0 comments on commit 7704470

Please sign in to comment.