This commit is contained in:
Anthony Howe 2016-10-21 11:26:59 -07:00
Родитель f684193e0d
Коммит f59ca3f7c8
9 изменённых файлов: 25 добавлений и 20 удалений

4
.gitignore поставляемый
Просмотреть файл

@ -2,7 +2,7 @@
deployVM0.ps1
noparams.json
output*
acsengine.exe
acsengine
acs-engine.exe
_output/
.vscode
templates.go

Просмотреть файл

@ -5,12 +5,17 @@ Template generator builds a custom template based on user requirements. Example
# Building the Application
To build the application:
1. set $GOPATH (example c:\gopath)
2. go get github.com/Azure/acsengine/acsengine
3. cd $GOPATH/github.com/Azure/acsengine/src
4. do "go get -u github.com/jteeuwen/go-bindata/..." if you don't have it yet
5. go generate to generate source files needed
6. go build to produce the acsengine binary
(under Windows SET GOPATH=c:\gopath)
2. Add $GOPATH\bin to your path
(unde Windows SET PATH=%PATH%;%GOPATH%\bin)
3. go get github.com/Azure/acs-engine
4. go get -u github.com/jteeuwen/go-bindata
5. cd $GOPATH/github.com/Azure/acs-engine/pkg/acsengine
6. go generate to generate source files needed
7. cd $GOPATH/github.com/Azure/acs-engine
8. go build to produce the acsengine binary
# Generating a Template

Просмотреть файл

@ -9,10 +9,10 @@ import (
"path"
"time"
"github.com/Azure/acsengine/pkg/acsengine"
"github.com/Azure/acsengine/pkg/api"
"github.com/Azure/acsengine/pkg/api/v20160330"
"github.com/Azure/acsengine/pkg/api/vlabs"
"github.com/Azure/acs-engine/pkg/acsengine"
"github.com/Azure/acs-engine/pkg/api"
"github.com/Azure/acs-engine/pkg/api/v20160330"
"github.com/Azure/acs-engine/pkg/api/vlabs"
)
func writeArtifacts(containerService *api.ContainerService, template string, parameters, artifactsDir string, certsGenerated bool, parametersOnly bool) error {

Просмотреть файл

@ -4,7 +4,7 @@ import (
"fmt"
"net"
"github.com/Azure/acsengine/pkg/api"
"github.com/Azure/acs-engine/pkg/api"
)
// SetPropertiesDefaults for the container Properties, returns true if certs are generated

Просмотреть файл

@ -13,7 +13,7 @@ import (
"strings"
"text/template"
"github.com/Azure/acsengine/pkg/api"
"github.com/Azure/acs-engine/pkg/api"
)
const (

Просмотреть файл

@ -9,7 +9,7 @@ import (
"strings"
"testing"
"github.com/Azure/acsengine/pkg/api"
"github.com/Azure/acs-engine/pkg/api"
)
const (

Просмотреть файл

@ -5,8 +5,8 @@ import (
"fmt"
"io/ioutil"
"github.com/Azure/acsengine/pkg/api/v20160330"
"github.com/Azure/acsengine/pkg/api/vlabs"
"github.com/Azure/acs-engine/pkg/api/v20160330"
"github.com/Azure/acs-engine/pkg/api/vlabs"
)
// LoadContainerServiceFromFile loads an ACS Cluster API Model from a JSON file

Просмотреть файл

@ -1,8 +1,8 @@
package api
import (
"github.com/Azure/acsengine/pkg/api/v20160330"
"github.com/Azure/acsengine/pkg/api/vlabs"
"github.com/Azure/acs-engine/pkg/api/v20160330"
"github.com/Azure/acs-engine/pkg/api/vlabs"
)
///////////////////////////////////////////////////////////

Просмотреть файл

@ -1,8 +1,8 @@
package api
import (
"github.com/Azure/acsengine/pkg/api/v20160330"
"github.com/Azure/acsengine/pkg/api/vlabs"
"github.com/Azure/acs-engine/pkg/api/v20160330"
"github.com/Azure/acs-engine/pkg/api/vlabs"
)
///////////////////////////////////////////////////////////