Documentation ¶
Index ¶
- type LocalCloud
- func (g *LocalCloud) AppCreate(name string, req *pb.AppCreateOptions) (*pb.App, error)
- func (g *LocalCloud) AppDelete(name string) error
- func (g *LocalCloud) AppGet(name string) (*pb.App, error)
- func (l *LocalCloud) AppList() (pb.Apps, error)
- func (g *LocalCloud) AppRestart(app string) error
- func (g *LocalCloud) AppUpdateDomain(name, domain string) error
- func (g *LocalCloud) BuildCreate(app string, req *pb.CreateBuildOptions) (*pb.Build, error)
- func (g *LocalCloud) BuildDelete(app, id string) error
- func (g *LocalCloud) BuildGet(app, id string) (*pb.Build, error)
- func (a *LocalCloud) BuildImport(id string, tr io.Reader, w io.WriteCloser) error
- func (g *LocalCloud) BuildList(app string, limit int64) (pb.Builds, error)
- func (g *LocalCloud) BuildLogs(app, id string, index int) (int, []string, error)
- func (g *LocalCloud) BuildLogsStream(id string) (io.Reader, error)
- func (g *LocalCloud) BuildRelease(b *pb.Build, options pb.ReleaseOptions) (*pb.Release, error)
- func (g *LocalCloud) BuildUpload(id, filename string) error
- func (l *LocalCloud) CertificateCreate(name, domain, cert, key string) error
- func (l *LocalCloud) CertificateDelete(name, domain string) error
- func (a *LocalCloud) DockerCredsGet() (*pb.DockerCred, error)
- func (g *LocalCloud) EnvironmentGet(name string) (pb.Environment, error)
- func (g *LocalCloud) EnvironmentSet(name string, body io.Reader) error
- func (g *LocalCloud) K8sConfigPath() (string, error)
- func (g *LocalCloud) LogStream(app string, w io.Writer, opts pb.LogStreamOptions) error
- func (g *LocalCloud) ProcessLimits(name, resource string, limits map[string]string) error
- func (g *LocalCloud) ProcessList(app string) ([]*pb.Process, error)
- func (g *LocalCloud) ProcessRun(name string, stream io.ReadWriter, opts pb.ProcessRunOptions) error
- func (g *LocalCloud) ProcessSave(name string, structure map[string]int32) error
- func (g *LocalCloud) ReleaseDelete(app, id string) error
- func (g *LocalCloud) ReleaseList(app string, limit int64) (pb.Releases, error)
- func (g *LocalCloud) ResourceCreate(name, kind string, params map[string]string) (*pb.Resource, error)
- func (g *LocalCloud) ResourceDelete(name string) error
- func (g *LocalCloud) ResourceGet(name string) (*pb.Resource, error)
- func (g *LocalCloud) ResourceLink(app, name string) (*pb.Resource, error)
- func (g *LocalCloud) ResourceList() (pb.Resources, error)
- func (g *LocalCloud) ResourceUnlink(app, name string) (*pb.Resource, error)
- func (g *LocalCloud) Setup()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCloud ¶
type LocalCloud struct { Name string Apps pb.Apps Builds pb.Builds Releases pb.Releases EnvMap map[string]pb.Environment RegistryAddress string // contains filtered or unexported fields }
func (*LocalCloud) AppCreate ¶
func (g *LocalCloud) AppCreate(name string, req *pb.AppCreateOptions) (*pb.App, error)
func (*LocalCloud) AppDelete ¶
func (g *LocalCloud) AppDelete(name string) error
func (*LocalCloud) AppRestart ¶
func (g *LocalCloud) AppRestart(app string) error
func (*LocalCloud) AppUpdateDomain ¶
func (g *LocalCloud) AppUpdateDomain(name, domain string) error
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 (*LocalCloud) BuildCreate ¶
func (g *LocalCloud) BuildCreate(app string, req *pb.CreateBuildOptions) (*pb.Build, error)
func (*LocalCloud) BuildDelete ¶
func (g *LocalCloud) BuildDelete(app, id string) error
func (*LocalCloud) BuildImport ¶
func (a *LocalCloud) BuildImport(id string, tr io.Reader, w io.WriteCloser) error
func (*LocalCloud) BuildLogsStream ¶
func (g *LocalCloud) BuildLogsStream(id string) (io.Reader, error)
func (*LocalCloud) BuildRelease ¶
func (g *LocalCloud) BuildRelease(b *pb.Build, options pb.ReleaseOptions) (*pb.Release, error)
func (*LocalCloud) BuildUpload ¶
func (g *LocalCloud) BuildUpload(id, filename string) error
func (*LocalCloud) CertificateCreate ¶
func (l *LocalCloud) CertificateCreate(name, domain, cert, key string) error
func (*LocalCloud) CertificateDelete ¶
func (l *LocalCloud) CertificateDelete(name, domain string) error
func (*LocalCloud) DockerCredsGet ¶
func (a *LocalCloud) DockerCredsGet() (*pb.DockerCred, error)
func (*LocalCloud) EnvironmentGet ¶
func (g *LocalCloud) EnvironmentGet(name string) (pb.Environment, error)
func (*LocalCloud) EnvironmentSet ¶
func (g *LocalCloud) EnvironmentSet(name string, body io.Reader) error
func (*LocalCloud) K8sConfigPath ¶
func (g *LocalCloud) K8sConfigPath() (string, error)
func (*LocalCloud) LogStream ¶
func (g *LocalCloud) LogStream(app string, w io.Writer, opts pb.LogStreamOptions) error
func (*LocalCloud) ProcessLimits ¶
func (g *LocalCloud) ProcessLimits(name, resource string, limits map[string]string) error
func (*LocalCloud) ProcessList ¶
func (g *LocalCloud) ProcessList(app string) ([]*pb.Process, error)
func (*LocalCloud) ProcessRun ¶
func (g *LocalCloud) ProcessRun(name string, stream io.ReadWriter, opts pb.ProcessRunOptions) error
func (*LocalCloud) ProcessSave ¶
func (g *LocalCloud) ProcessSave(name string, structure map[string]int32) error
func (*LocalCloud) ReleaseDelete ¶
func (g *LocalCloud) ReleaseDelete(app, id string) error
func (*LocalCloud) ReleaseList ¶
func (*LocalCloud) ResourceCreate ¶
func (*LocalCloud) ResourceDelete ¶
func (g *LocalCloud) ResourceDelete(name string) error
func (*LocalCloud) ResourceGet ¶
func (g *LocalCloud) ResourceGet(name string) (*pb.Resource, error)
func (*LocalCloud) ResourceLink ¶
func (g *LocalCloud) ResourceLink(app, name string) (*pb.Resource, error)
func (*LocalCloud) ResourceList ¶
func (g *LocalCloud) ResourceList() (pb.Resources, error)
func (*LocalCloud) ResourceUnlink ¶
func (g *LocalCloud) ResourceUnlink(app, name string) (*pb.Resource, error)
func (*LocalCloud) Setup ¶
func (g *LocalCloud) Setup()
Click to show internal directories.
Click to hide internal directories.