Skip to content

Commit

Permalink
Remove unused docker client code
Browse files Browse the repository at this point in the history
At the moment it's just boilerplate.

Signed-off-by: Chris <[email protected]>
  • Loading branch information
ccremer committed Aug 5, 2020
1 parent 55aaafe commit 8850dfa
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 165 deletions.
11 changes: 1 addition & 10 deletions cfg/types.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
package cfg

import (
log "github.com/sirupsen/logrus"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
core "k8s.io/client-go/kubernetes/typed/core/v1"

"github.com/appuio/seiso/pkg/kubernetes"
log "github.com/sirupsen/logrus"
)

type (
Expand Down Expand Up @@ -46,12 +43,6 @@ type (
Labels []string `koanf:"label"`
OlderThan string `koanf:"older-than"`
}
// CoreObjectInterface defines interface for core kubernetes resources
CoreObjectInterface interface {
Delete(name string, options *metav1.DeleteOptions) error
}
// ResourceNamespaceSelector gets resource from client
ResourceNamespaceSelector func(*core.CoreV1Client) CoreObjectInterface
)

// NewDefaultConfig retrieves the hardcoded configs with sane defaults
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/etdub/goparsetime v0.0.0-20160315173935-ea17b0ac3318 // indirect
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
github.com/hashicorp/go-version v1.2.0
github.com/heroku/docker-registry-client v0.0.0-20190909225348-afc9e1acc3d5
github.com/imdario/mergo v0.3.8 // indirect
github.com/json-iterator/go v1.1.8 // indirect
github.com/karrick/tparse v2.4.2+incompatible
Expand Down
Loading

0 comments on commit 8850dfa

Please sign in to comment.