sooslib

package module
v0.0.0-...-b52ec2f Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2018 License: MIT Imports: 11 Imported by: 0

README

Soos lib

GoDoc Build Status Go Report Card Maintainability Test Coverage

Library for soos cli

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRunCmd

func BuildRunCmd(config BuildConfig) string

BuildRunCmd generate docker run command

func ExecCmd

func ExecCmd(cmdString string) bool

ExecCmd to execute command

func Tokenizer

func Tokenizer(hashFiles []string) string

Tokenizer hash files into single token

Types

type BuildConfig

type BuildConfig struct {
	Build     string
	Image     string
	Ports     []string
	Volumes   []string
	Hashfiles []string
}

BuildConfig is build config

func Config

func Config(file string) BuildConfig

Config get object

Jump to

Keyboard shortcuts

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