Skip to content

Commit

Permalink
*: add license header (#136)
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Fu <weifu@microsoft.com>
  • Loading branch information
fuweid authored Oct 30, 2024
1 parent 4a0ad04 commit 4392c28
Show file tree
Hide file tree
Showing 66 changed files with 198 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/types/http.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package types

// HTTPError is used to render response for error.
Expand Down
3 changes: 3 additions & 0 deletions api/types/load_traffic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package types

import "fmt"
Expand Down
3 changes: 3 additions & 0 deletions api/types/load_traffic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package types

import (
Expand Down
3 changes: 3 additions & 0 deletions api/types/metric.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package types

// HTTP2ErrorStats is the report about http2 error during testing.
Expand Down
3 changes: 3 additions & 0 deletions api/types/runner_group.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package types

import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/runner/runner.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runner

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/runnergroup/delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runnergroup

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/runnergroup/result.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runnergroup

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/runnergroup/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runnergroup

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/runnergroup/run.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runnergroup

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/runnergroup/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runnergroup

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/runnergroup/status.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runnergroup

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/utils/helper.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/virtualcluster/nodepool.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package virtualcluster

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/commands/virtualcluster/vc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package virtualcluster

import "github.com/urfave/cli"
Expand Down
3 changes: 3 additions & 0 deletions cmd/kperf/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/commands/bench/node100_job1_pod3k.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package bench

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/commands/bench/node100_pod10k.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package bench

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/commands/bench/node10_job1_pod100.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package bench

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/commands/bench/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package bench

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/commands/bench/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package bench

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/commands/ekswarmup/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package ekswarmup

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/commands/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/cmd/runkperf/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/internal/manifests/helm.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package manifests

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/internal/manifests/manifest.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package manifests

import "embed"
Expand Down
3 changes: 3 additions & 0 deletions contrib/internal/mountns/ns.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package mountns

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/internal/types/report.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package types

import apitypes "github.com/Azure/kperf/api/types"
Expand Down
3 changes: 3 additions & 0 deletions contrib/internal/utils/kperf_cmd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/internal/utils/kubectl_cmd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/internal/utils/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions helmcli/delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package helmcli

import (
Expand Down
3 changes: 3 additions & 0 deletions helmcli/get.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package helmcli

import (
Expand Down
3 changes: 3 additions & 0 deletions helmcli/list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package helmcli

import (
Expand Down
3 changes: 3 additions & 0 deletions helmcli/release.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package helmcli

import (
Expand Down
3 changes: 3 additions & 0 deletions helmcli/release_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package helmcli

import (
Expand Down
3 changes: 3 additions & 0 deletions manifests/helm.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package manifests

import (
Expand Down
3 changes: 3 additions & 0 deletions manifests/mainfest.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package manifests

import "embed"
Expand Down
3 changes: 3 additions & 0 deletions metrics/request.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package metrics

import (
Expand Down
3 changes: 3 additions & 0 deletions metrics/request_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package metrics

import (
Expand Down
3 changes: 3 additions & 0 deletions metrics/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package metrics

import (
Expand Down
3 changes: 3 additions & 0 deletions metrics/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package metrics

import (
Expand Down
3 changes: 3 additions & 0 deletions portforward/portforward.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package portforward

import (
Expand Down
3 changes: 3 additions & 0 deletions request/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package request

import (
Expand Down
3 changes: 3 additions & 0 deletions request/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package request

import (
Expand Down
3 changes: 3 additions & 0 deletions request/random.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package request

import (
Expand Down
3 changes: 3 additions & 0 deletions request/schedule.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package request

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/group/handler.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package group

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/group/parse.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package group

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/localstore/reader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package localstore

import "os"
Expand Down
3 changes: 3 additions & 0 deletions runner/localstore/store.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package localstore

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/localstore/writer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package localstore

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/runnergroup_common.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runner

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/runnergroup_delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runner

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/runnergroup_list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runner

import (
Expand Down
3 changes: 3 additions & 0 deletions runner/runnergroup_result.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

package runner

import (
Expand Down
Loading

0 comments on commit 4392c28

Please sign in to comment.