mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-13 15:09:22 +00:00
reorder imports
Reorder imports with `goimports`.
This commit is contained in:
parent
33fb52241a
commit
0cffc7994d
5 changed files with 11 additions and 6 deletions
|
|
@ -4,16 +4,17 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/xeipuuv/gojsonschema"
|
|
||||||
"github.com/yannh/kubeconform/pkg/fsutils"
|
|
||||||
"github.com/yannh/kubeconform/pkg/output"
|
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/xeipuuv/gojsonschema"
|
||||||
|
|
||||||
"github.com/yannh/kubeconform/pkg/cache"
|
"github.com/yannh/kubeconform/pkg/cache"
|
||||||
|
"github.com/yannh/kubeconform/pkg/fsutils"
|
||||||
|
"github.com/yannh/kubeconform/pkg/output"
|
||||||
"github.com/yannh/kubeconform/pkg/registry"
|
"github.com/yannh/kubeconform/pkg/registry"
|
||||||
"github.com/yannh/kubeconform/pkg/resource"
|
"github.com/yannh/kubeconform/pkg/resource"
|
||||||
"github.com/yannh/kubeconform/pkg/validator"
|
"github.com/yannh/kubeconform/pkg/validator"
|
||||||
|
|
|
||||||
3
pkg/cache/schemacache.go
vendored
3
pkg/cache/schemacache.go
vendored
|
|
@ -2,8 +2,9 @@ package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/xeipuuv/gojsonschema"
|
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/xeipuuv/gojsonschema"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SchemaCache struct {
|
type SchemaCache struct {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
package resource_test
|
package resource_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/yannh/kubeconform/pkg/resource"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/yannh/kubeconform/pkg/resource"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSignatureFromBytes(t *testing.T) {
|
func TestSignatureFromBytes(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ package validator
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/xeipuuv/gojsonschema"
|
"github.com/xeipuuv/gojsonschema"
|
||||||
"sigs.k8s.io/yaml"
|
"sigs.k8s.io/yaml"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,9 @@ package validator
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/xeipuuv/gojsonschema"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/xeipuuv/gojsonschema"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestValidate(t *testing.T) {
|
func TestValidate(t *testing.T) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue