Documentation
¶
Overview ¶
Package kubefactory implement some minimal kubernetes runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd struct {
// contains filtered or unexported fields
}
Etcd represents a single running embedded etcd server.
func NewEmbeddedEtcd ¶
NewEmbeddedEtcd creates new embedded etcd instance.
type Kubernetes ¶
type Kubernetes struct {
// contains filtered or unexported fields
}
Kubernetes is a mini fake kubelet.
func (*Kubernetes) DeleteEtcdState ¶
func (k *Kubernetes) DeleteEtcdState(ctx context.Context, clusterID string) error
DeleteEtcdState removes all keys related to the cluster with the specified id.
func (*Kubernetes) RunAPIService ¶
func (k *Kubernetes) RunAPIService(ctx context.Context, address, iface, machineID, clusterID string) error
RunAPIService spawns an api service on the specified address and using etcd state for the cluster ID.
Click to show internal directories.
Click to hide internal directories.