Documentation ¶
Index ¶
- type Provider
- func (p *Provider) AppCreate(name string, opts structs.AppCreateOptions) (*structs.App, error)
- func (p *Provider) AppDelete(name string) error
- func (p *Provider) AppIdles(name string) (bool, error)
- func (p *Provider) AppLogs(name string, opts structs.LogsOptions) (io.ReadCloser, error)
- func (p *Provider) AppStatus(name string) (string, error)
- func (p *Provider) BuildExport(app, id string, w io.Writer) error
- func (p *Provider) BuildImport(app string, r io.Reader) (*structs.Build, error)
- func (p *Provider) BuildLogs(app, id string, opts structs.LogsOptions) (io.ReadCloser, error)
- func (p *Provider) DeleteDB(resource string) error
- func (p *Provider) DeploymentTimeout() int
- func (p *Provider) Initialize(opts structs.ProviderOptions) error
- func (p *Provider) InstanceList() (structs.Instances, error)
- func (p *Provider) IsDBSnapshotComplete(snapshot string) (bool, error)
- func (p *Provider) Log(app, stream string, ts time.Time, message string) error
- func (p *Provider) ObjectDelete(app, key string) error
- func (p *Provider) ObjectExists(app, key string) (bool, error)
- func (p *Provider) ObjectFetch(app, key string) (io.ReadCloser, error)
- func (p *Provider) ObjectList(app, prefix string) ([]string, error)
- func (p *Provider) ObjectStore(app, key string, r io.Reader, opts structs.ObjectStoreOptions) (*structs.Object, error)
- func (p *Provider) ProcessLogs(app, pid string, opts structs.LogsOptions) (io.ReadCloser, error)
- func (p *Provider) RenderTemplate(name string, params map[string]interface{}) ([]byte, error)
- func (p *Provider) RepositoryAuth(app string) (string, string, error)
- func (p *Provider) RepositoryHost(app string) (string, bool, error)
- func (p *Provider) Resolver() (string, error)
- func (p *Provider) ResourceRender(app string, r manifest.Resource) ([]byte, error)
- func (p *Provider) ServiceHost(app string, s manifest.Service) string
- func (p *Provider) SetDBDeletionProtectionAndCreateSnapShot(app, resource, snapshot string) (string, error)
- func (p *Provider) Sync(name string) error
- func (p *Provider) SystemHost() string
- func (p *Provider) SystemInstall(w io.Writer, opts structs.SystemInstallOptions) (string, error)
- func (p *Provider) SystemJwtSignKey() (string, error)
- func (p *Provider) SystemJwtSignKeyRotate() (string, error)
- func (p *Provider) SystemLogs(opts structs.LogsOptions) (io.ReadCloser, error)
- func (p *Provider) SystemStatus() (string, error)
- func (p *Provider) SystemTemplate(version string) ([]byte, error)
- func (p *Provider) SystemUninstall(name string, w io.Writer, opts structs.SystemUninstallOptions) error
- func (p *Provider) SystemUpdate(opts structs.SystemUpdateOptions) error
- func (p *Provider) WithContext(ctx context.Context) structs.Provider
- type StackController
- func (c *StackController) Add(obj interface{}) error
- func (c *StackController) Client() kubernetes.Interface
- func (c *StackController) Delete(obj interface{}) error
- func (c *StackController) ListOptions(opts *am.ListOptions)
- func (c *StackController) Run()
- func (c *StackController) Start() error
- func (c *StackController) Stop() error
- func (c *StackController) Update(prev, cur interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { *k8s.Provider AccountId string AdminUser string AutoscalerRole string // BalancerSecurity string BaseDomain string Bucket string Cluster string EventQueue string EventTopic string NodesRole string Region string RackRole string RouterCache string RouterHosts string RouterRole string RouterTargets string // RouterTargetGroup80 string // RouterTargetGroup443 string StackId string CloudFormation cloudformationiface.CloudFormationAPI CloudWatchLogs cloudwatchlogsiface.CloudWatchLogsAPI ECR ecriface.ECRAPI S3 s3iface.S3API SQS sqsiface.SQSAPI // contains filtered or unexported fields }
func (*Provider) AppLogs ¶
func (p *Provider) AppLogs(name string, opts structs.LogsOptions) (io.ReadCloser, error)
func (*Provider) BuildImport ¶
func (*Provider) BuildLogs ¶
func (p *Provider) BuildLogs(app, id string, opts structs.LogsOptions) (io.ReadCloser, error)
func (*Provider) DeploymentTimeout ¶
func (*Provider) Initialize ¶
func (p *Provider) Initialize(opts structs.ProviderOptions) error
func (*Provider) IsDBSnapshotComplete ¶
func (*Provider) ObjectDelete ¶
func (*Provider) ObjectFetch ¶
func (p *Provider) ObjectFetch(app, key string) (io.ReadCloser, error)
ObjectFetch fetches an Object
func (*Provider) ObjectStore ¶
func (p *Provider) ObjectStore(app, key string, r io.Reader, opts structs.ObjectStoreOptions) (*structs.Object, error)
ObjectStore stores an Object
func (*Provider) ProcessLogs ¶
func (p *Provider) ProcessLogs(app, pid string, opts structs.LogsOptions) (io.ReadCloser, error)
func (*Provider) RenderTemplate ¶
func (*Provider) RepositoryAuth ¶
func (*Provider) RepositoryHost ¶
func (*Provider) ResourceRender ¶
func (*Provider) ServiceHost ¶
func (*Provider) SetDBDeletionProtectionAndCreateSnapShot ¶
func (*Provider) SystemHost ¶
func (*Provider) SystemInstall ¶
func (*Provider) SystemJwtSignKey ¶
func (*Provider) SystemJwtSignKeyRotate ¶
func (*Provider) SystemLogs ¶
func (p *Provider) SystemLogs(opts structs.LogsOptions) (io.ReadCloser, error)
func (*Provider) SystemStatus ¶
func (*Provider) SystemUninstall ¶
func (*Provider) SystemUpdate ¶
func (p *Provider) SystemUpdate(opts structs.SystemUpdateOptions) error
type StackController ¶
type StackController struct { Controller *kctl.Controller Provider *Provider }
func NewStackController ¶
func NewStackController(p *Provider) (*StackController, error)
func (*StackController) Add ¶
func (c *StackController) Add(obj interface{}) error
func (*StackController) Client ¶
func (c *StackController) Client() kubernetes.Interface
func (*StackController) Delete ¶
func (c *StackController) Delete(obj interface{}) error
func (*StackController) ListOptions ¶
func (c *StackController) ListOptions(opts *am.ListOptions)
func (*StackController) Run ¶
func (c *StackController) Run()
func (*StackController) Start ¶
func (c *StackController) Start() error
func (*StackController) Stop ¶
func (c *StackController) Stop() error
func (*StackController) Update ¶
func (c *StackController) Update(prev, cur interface{}) error
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
pkg
|
|
apis/convox/v1
+groupName=convox.com
|
+groupName=convox.com |
client/clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
client/clientset/versioned/typed/convox/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
client/clientset/versioned/typed/convox/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.