Skip to content

Commit

Permalink
Internalise redaction
Browse files Browse the repository at this point in the history
It's probably better if nobody else is allowed to depend on this.
  • Loading branch information
DrJosh9000 committed Jun 6, 2023
1 parent d5ecb8a commit 3e79ba5
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import (
"github.com/buildkite/agent/v3/env"
"github.com/buildkite/agent/v3/experiments"
"github.com/buildkite/agent/v3/hook"
"github.com/buildkite/agent/v3/internal/redaction"
"github.com/buildkite/agent/v3/internal/shellscript"
"github.com/buildkite/agent/v3/internal/utils"
"github.com/buildkite/agent/v3/kubernetes"
"github.com/buildkite/agent/v3/process"
"github.com/buildkite/agent/v3/redaction"
"github.com/buildkite/agent/v3/tracetools"
"github.com/buildkite/roko"
"github.com/buildkite/shellwords"
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/bootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/buildkite/agent/v3/bootstrap/shell"
"github.com/buildkite/agent/v3/redaction"
"github.com/buildkite/agent/v3/internal/redaction"
"github.com/buildkite/agent/v3/tracetools"
"github.com/opentracing/opentracing-go"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion clicommand/pipeline_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"github.com/buildkite/agent/v3/bootstrap/shell"
"github.com/buildkite/agent/v3/cliconfig"
"github.com/buildkite/agent/v3/env"
"github.com/buildkite/agent/v3/internal/redaction"
"github.com/buildkite/agent/v3/internal/stdin"
"github.com/buildkite/agent/v3/redaction"
"github.com/urfave/cli"
)

Expand Down
2 changes: 0 additions & 2 deletions redaction/redactor.go → internal/redaction/redactor.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Package redaction provides an efficient configurable string redactor.
//
// It is intended for internal use by buildkite-agent only.
package redaction

import (
Expand Down
File renamed without changes.

0 comments on commit 3e79ba5

Please sign in to comment.