Documentation
¶
Overview ¶
Package binary implements the runtime.Runtime interface using the binaries.
Index ¶
- func BuildPrometheus(conf BuildPrometheusConfig) (string, error)
- func NewCluster(name, workdir string) (runtime.Runtime, error)
- type BuildPrometheusConfig
- type Cluster
- func (c *Cluster) Down(ctx context.Context) error
- func (c *Cluster) EtcdctlInCluster(ctx context.Context, stm exec.IOStreams, args ...string) error
- func (c *Cluster) Install(ctx context.Context) error
- func (c *Cluster) ListBinaries(ctx context.Context) ([]string, error)
- func (c *Cluster) ListImages(ctx context.Context) ([]string, error)
- func (c *Cluster) Logs(ctx context.Context, name string, out io.Writer) error
- func (c *Cluster) LogsFollow(ctx context.Context, name string, out io.Writer) error
- func (c *Cluster) SnapshotRestore(ctx context.Context, path string) error
- func (c *Cluster) SnapshotSave(ctx context.Context, path string) error
- func (c *Cluster) Start(ctx context.Context) error
- func (c *Cluster) StartComponent(ctx context.Context, name string) error
- func (c *Cluster) Stop(ctx context.Context) error
- func (c *Cluster) StopComponent(ctx context.Context, name string) error
- func (c *Cluster) Uninstall(ctx context.Context) error
- func (c *Cluster) Up(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPrometheus ¶
func BuildPrometheus(conf BuildPrometheusConfig) (string, error)
Types ¶
type BuildPrometheusConfig ¶
type Cluster ¶
func (*Cluster) EtcdctlInCluster ¶ added in v0.1.0
EtcdctlInCluster implements the ectdctl subcommand
func (*Cluster) ListBinaries ¶
ListBinaries list binaries in the cluster
func (*Cluster) ListImages ¶
ListImages list images in the cluster
func (*Cluster) LogsFollow ¶
func (*Cluster) SnapshotRestore ¶
SnapshotRestore restore the snapshot of cluster
func (*Cluster) SnapshotSave ¶
SnapshotSave save the snapshot of cluster
func (*Cluster) StartComponent ¶ added in v0.1.0
func (*Cluster) StopComponent ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.