rainbond: github.com/goodrain/rainbond/cmd/builder/option Index | Files

package option

import "github.com/goodrain/rainbond/cmd/builder/option"

Index

Package Files

option.go

type Builder Uses

type Builder struct {
    Config
    LogLevel string
    RunMode  string //default,sync
}

Builder builder server

func NewBuilder Uses

func NewBuilder() *Builder

NewBuilder new server

func (*Builder) AddFlags Uses

func (a *Builder) AddFlags(fs *pflag.FlagSet)

AddFlags config

func (*Builder) CheckConfig Uses

func (a *Builder) CheckConfig() error

CheckConfig check config

func (*Builder) SetLog Uses

func (a *Builder) SetLog()

SetLog 设置log

type Config Uses

type Config struct {
    EtcdEndPoints        []string
    EtcdTimeout          int
    EtcdPrefix           string
    ClusterName          string
    MysqlConnectionInfo  string
    DBType               string
    PrometheusMetricPath string
    EventLogServers      []string
    KubeConfig           string
    MaxTasks             int
    APIPort              int
    MQAPI                string
    DockerEndpoint       string
    HostIP               string
    CleanUp              bool
    Topic                string
}

Config config server

type NodeOSType Uses

type NodeOSType string

Package option imports 4 packages (graph) and is imported by 4 packages. Updated 2019-07-19. Refresh now. Tools for package owners.