Documentation ¶
Index ¶
- func ClientAuthEnabled(c Command) bool
- func ConnectsToOrderer(c Command) bool
- func JSONMarshall(v interface{}) []byte
- func JSONUnmarshal(raw []byte, v interface{}) interface{}
- func JSONUnmarshalInt(v interface{}) int
- func JSONUnmarshalString(v interface{}) string
- func NewCommand(path string, command Command) *exec.Cmd
- func NextColor() string
- func UniqueName() string
- type BuildServer
- type BuilderClient
- type Command
- type Enver
- type WorkingDirer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientAuthEnabled ¶
func ConnectsToOrderer ¶
func JSONMarshall ¶
func JSONMarshall(v interface{}) []byte
func JSONUnmarshal ¶
func JSONUnmarshal(raw []byte, v interface{}) interface{}
func JSONUnmarshalInt ¶
func JSONUnmarshalInt(v interface{}) int
func JSONUnmarshalString ¶
func JSONUnmarshalString(v interface{}) string
func UniqueName ¶
func UniqueName() string
UniqueName generates base-32 enocded UUIDs for container names.
Types ¶
type BuildServer ¶
type BuildServer struct {
// contains filtered or unexported fields
}
func NewBuildServer ¶
func NewBuildServer(args ...string) *BuildServer
func (*BuildServer) Client ¶
func (s *BuildServer) Client() *BuilderClient
func (*BuildServer) EnableRaceDetector ¶
func (s *BuildServer) EnableRaceDetector()
func (*BuildServer) Serve ¶
func (s *BuildServer) Serve()
func (*BuildServer) Shutdown ¶
func (s *BuildServer) Shutdown()
type BuilderClient ¶
type BuilderClient struct {
ServerAddress string `json:"server_address"`
}
func (*BuilderClient) Build ¶
func (c *BuilderClient) Build(path string) string
type WorkingDirer ¶
type WorkingDirer interface {
WorkingDir() string
}
Click to show internal directories.
Click to hide internal directories.