Documentation ¶
Index ¶
- Constants
- func EnsureStatus() (bool, error)
- func GetAutomateSvcList() ([]*api.ServiceState, error)
- func GetMaintenanceStatus(timeout int64) (bool, error)
- func IsExternalElasticSearch(timeout int64) bool
- func SetMaintenanceMode(timeout int64, status bool) (stdOut, stdErr string, err error)
- type CustomWriter
Constants ¶
View Source
const ( INDICES_TOTAL_SHARD_DEFAULT = 2500 V3_ES_SETTING_FILE = "/svc/deployment-service/old_es_v3_settings.json" HAB_DIR = "/hab" UPGRADE_METADATA = "/svc/deployment-service/var/upgrade_metadata.json" )
Variables ¶
This section is empty.
Functions ¶
func EnsureStatus ¶
func GetAutomateSvcList ¶
func GetAutomateSvcList() ([]*api.ServiceState, error)
func GetMaintenanceStatus ¶
func IsExternalElasticSearch ¶
Types ¶
type CustomWriter ¶
type CustomWriter struct { WriteBuffer *bytes.Buffer ReadBuffer *bytes.Buffer ErrorBuffer *bytes.Buffer CliWriter *cli.Writer }
func NewCustomWriter ¶
func NewCustomWriter() *CustomWriter
func NewCustomWriterWithInputs ¶
func NewCustomWriterWithInputs(inputs ...string) *CustomWriter
func (*CustomWriter) Error ¶
func (cw *CustomWriter) Error() string
func (*CustomWriter) Input ¶
func (cw *CustomWriter) Input(userInput string)
func (*CustomWriter) Output ¶
func (cw *CustomWriter) Output() string
func (*CustomWriter) SetCliWriter ¶
func (cw *CustomWriter) SetCliWriter()
Click to show internal directories.
Click to hide internal directories.