зеркало из https://github.com/Azure/acs-engine.git
rename acs-engine
This commit is contained in:
Родитель
f684193e0d
Коммит
f59ca3f7c8
|
@ -2,7 +2,7 @@
|
|||
deployVM0.ps1
|
||||
noparams.json
|
||||
output*
|
||||
acsengine.exe
|
||||
acsengine
|
||||
acs-engine.exe
|
||||
_output/
|
||||
.vscode
|
||||
templates.go
|
||||
|
|
15
README.md
15
README.md
|
@ -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"
|
||||
)
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче