Documentation ¶
Index ¶
- func Asset(name string) ([]byte, error)
- func AssetDir(name string) ([]string, error)
- func AssetInfo(name string) (os.FileInfo, error)
- func AssetNames() []string
- func MustAsset(name string) []byte
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
- type AwsCloud
- func (a *AwsCloud) AppCreate(name string, req *pb.AppCreateOptions) (*pb.App, error)
- func (a *AwsCloud) AppDelete(name string) error
- func (a *AwsCloud) AppGet(name string) (*pb.App, error)
- func (a *AwsCloud) AppList() (pb.Apps, error)
- func (a *AwsCloud) AppRestart(app string) error
- func (p *AwsCloud) AppUpdateDomain(name, domain string) error
- func (a *AwsCloud) BuildCreate(app string, req *pb.CreateBuildOptions) (*pb.Build, error)
- func (a *AwsCloud) BuildDelete(app, id string) error
- func (a *AwsCloud) BuildGet(app, id string) (*pb.Build, error)
- func (a *AwsCloud) BuildImport(id string, tr io.Reader, w io.WriteCloser) error
- func (a *AwsCloud) BuildList(app string, limit int64) (pb.Builds, error)
- func (a *AwsCloud) BuildLogs(app, id string, index int) (int, []string, error)
- func (a *AwsCloud) BuildLogsStream(id string) (io.Reader, error)
- func (a *AwsCloud) BuildRelease(b *pb.Build, options pb.ReleaseOptions) (*pb.Release, error)
- func (a *AwsCloud) BuildStatus(id string, status string) error
- func (a *AwsCloud) BuildUpload(id, gzipPath string) error
- func (l *AwsCloud) CertificateCreate(name, domain, cert, key string) error
- func (l *AwsCloud) CertificateDelete(name, domain string) error
- func (a *AwsCloud) DockerCredsGet() (*pb.DockerCred, error)
- func (a *AwsCloud) EnvironmentGet(name string) (pb.Environment, error)
- func (a *AwsCloud) EnvironmentSet(name string, r io.Reader) error
- func (p *AwsCloud) K8sConfigPath() (string, error)
- func (a *AwsCloud) LogStream(app string, w io.Writer, opts pb.LogStreamOptions) error
- func (p *AwsCloud) ProcessLimits(name, resource string, limits map[string]string) error
- func (p *AwsCloud) ProcessList(app string) ([]*pb.Process, error)
- func (p *AwsCloud) ProcessRun(name string, r io.ReadWriter, opts pb.ProcessRunOptions) error
- func (p *AwsCloud) ProcessSave(name string, structure map[string]int32) error
- func (a *AwsCloud) ReleaseDelete(app, id string) error
- func (a *AwsCloud) ReleaseList(app string, limit int64) (pb.Releases, error)
- func (a *AwsCloud) ResourceCreate(name, kind string, params map[string]string) (*pb.Resource, error)
- func (a *AwsCloud) ResourceDelete(name string) error
- func (a *AwsCloud) ResourceGet(name string) (*pb.Resource, error)
- func (p *AwsCloud) ResourceLink(app, name string) (*pb.Resource, error)
- func (a *AwsCloud) ResourceList() (pb.Resources, error)
- func (p *AwsCloud) ResourceUnlink(app, name string) (*pb.Resource, error)
- func (p *AwsCloud) Setup()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
func AssetDir ¶
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:
data/ foo.txt img/ a.png b.png
then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.
func AssetInfo ¶
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
func MustAsset ¶
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
func RestoreAsset ¶
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶
RestoreAssets restores an asset under the given directory recursively
Types ¶
type AwsCloud ¶
type AwsCloud struct { DeploymentName string Region, SettingBucket string Access, Secret, Token string // contains filtered or unexported fields }
func (*AwsCloud) AppRestart ¶
func (*AwsCloud) AppUpdateDomain ¶
DomainUpdate updates list of Domains for an app domain can be example.com if you want to add or :example.com if you want to delete
func (*AwsCloud) BuildCreate ¶
func (*AwsCloud) BuildDelete ¶
func (*AwsCloud) BuildImport ¶
func (*AwsCloud) BuildRelease ¶
func (*AwsCloud) BuildUpload ¶
func (*AwsCloud) CertificateCreate ¶
func (*AwsCloud) CertificateDelete ¶
func (*AwsCloud) DockerCredsGet ¶
func (a *AwsCloud) DockerCredsGet() (*pb.DockerCred, error)
func (*AwsCloud) EnvironmentGet ¶
func (a *AwsCloud) EnvironmentGet(name string) (pb.Environment, error)
func (*AwsCloud) K8sConfigPath ¶
func (*AwsCloud) ProcessLimits ¶
func (*AwsCloud) ProcessRun ¶
func (p *AwsCloud) ProcessRun(name string, r io.ReadWriter, opts pb.ProcessRunOptions) error