service

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffEnvironmentFile added in v0.0.3

func DiffEnvironmentFile(cfg *apis.EtcdAdmConfig) (map[string]string, error)

DiffEnvironmentFile compares the desired configuration with the configuration previously written to disk and returns the difference, if any.

func DiffVersion added in v0.0.3

func DiffVersion(cfg *apis.EtcdAdmConfig) (string, error)

DiffVersion compares the desired etcd version with installed etcd version and returns the difference, if any.

func WriteEnvironmentFile

func WriteEnvironmentFile(cfg *apis.EtcdAdmConfig) error

WriteEnvironmentFile writes the environment file used by the etcd service unit

func WriteEtcdctlEnvFile

func WriteEtcdctlEnvFile(cfg *apis.EtcdAdmConfig) error

WriteEtcdctlEnvFile writes the environment file that can be used with the etcdctl client

func WriteEtcdctlShellWrapper

func WriteEtcdctlShellWrapper(cfg *apis.EtcdAdmConfig) error

WriteEtcdctlShellWrapper writes a shell script that loads the environment file before running etcdctl.

func WriteUnitFile

func WriteUnitFile(cfg *apis.EtcdAdmConfig) error

WriteUnitFile writes etcd service unit file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL