pkg/ipfailover/interfaces.go
c3904e81
 package ipfailover
8979efc8
 
 import (
 	"io"
 
83c702b4
 	kapi "k8s.io/kubernetes/pkg/api"
de67a260
 
 	deployapi "github.com/openshift/origin/pkg/deploy/api"
8979efc8
 )
 
c3904e81
 type IPFailoverConfiguratorPlugin interface {
de67a260
 	GetWatchPort() (int, error)
 	GetSelector() (map[string]string, error)
 	GetNamespace() (string, error)
 	GetDeploymentConfig() (*deployapi.DeploymentConfig, error)
 	Generate() (*kapi.List, error)
 	Create(out io.Writer) error
8979efc8
 }