Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrVersionOutdated = errors.New("requested version is outdated in apiserver")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Namespace string
MasterHost string
KubeCli *unversioned.Client
PVProvisioner string
}
type Controller ¶
type Controller struct {
Config
// contains filtered or unexported fields
}
func New ¶
func New(cfg Config) *Controller
func (*Controller) Run ¶
func (c *Controller) Run() error
type EtcdClusterList ¶
type EtcdClusterList struct {
unversioned.TypeMeta `json:",inline"`
// Standard list metadata
// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
unversioned.ListMeta `json:"metadata,omitempty"`
// Items is a list of third party objects
Items []spec.EtcdCluster `json:"items"`
}
type Event ¶
type Event struct {
Type string
Object *spec.EtcdCluster
}
Click to show internal directories.
Click to hide internal directories.