Documentation
¶
Index ¶
- Constants
- type FunctionApp
- type Plugin
- func (p *Plugin) Apply(r *apiv1.ApplyRequest, reg *registry.Registry, ...) error
- func (p *Plugin) ApplyDNS(r *apiv1.ApplyDNSRequest, reg *registry.Registry, ...) error
- func (p *Plugin) Init(ctx context.Context, e env.Enver, l log.Logger, cli apiv1.HostServiceClient) error
- func (p *Plugin) Logs(r *apiv1.LogsRequest, srv apiv1.LogsPluginService_LogsServer) error
- func (p *Plugin) Plan(ctx context.Context, reg *registry.Registry, r *apiv1.PlanRequest) (*apiv1.PlanResponse, error)
- func (p *Plugin) PlanDNS(ctx context.Context, reg *registry.Registry, r *apiv1.PlanDNSRequest) (*apiv1.PlanDNSResponse, error)
- func (p *Plugin) PluginContext() *config.PluginContext
- func (p *Plugin) ProjectInit(ctx context.Context, r *apiv1.ProjectInitRequest) (*apiv1.ProjectInitResponse, error)
- func (p *Plugin) Start(ctx context.Context, r *apiv1.StartRequest) (*apiv1.StartResponse, error)
- type StaticApp
Constants ¶
View Source
const ( AppTypeStatic = "static" AppTypeFunction = "function" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionApp ¶ added in v0.1.7
type FunctionApp struct { App *apiv1.App Props *types.FunctionAppProperties DeployOpts *types.FunctionAppDeployOptions ZoneID string WorkerRoute *cf.WorkerRoute WorkerScript *cf.WorkerScript WorkerSchedulers *cf.WorkerSchedulers }
func NewFunctionApp ¶ added in v0.1.7
func NewFunctionApp(plan *apiv1.AppPlan, zoneID string) (*FunctionApp, error)
func (*FunctionApp) AppState ¶ added in v0.1.7
func (o *FunctionApp) AppState() *apiv1.AppState
func (*FunctionApp) DNSRecord ¶ added in v0.1.7
func (o *FunctionApp) DNSRecord() *apiv1.DNSRecord
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Apply ¶
func (p *Plugin) Apply(r *apiv1.ApplyRequest, reg *registry.Registry, stream apiv1.DeployPluginService_ApplyServer) error
func (*Plugin) ApplyDNS ¶
func (p *Plugin) ApplyDNS(r *apiv1.ApplyDNSRequest, reg *registry.Registry, stream apiv1.DNSPluginService_ApplyDNSServer) error
func (*Plugin) Logs ¶ added in v0.1.7
func (p *Plugin) Logs(r *apiv1.LogsRequest, srv apiv1.LogsPluginService_LogsServer) error
func (*Plugin) Plan ¶
func (p *Plugin) Plan(ctx context.Context, reg *registry.Registry, r *apiv1.PlanRequest) (*apiv1.PlanResponse, error)
func (*Plugin) PlanDNS ¶
func (p *Plugin) PlanDNS(ctx context.Context, reg *registry.Registry, r *apiv1.PlanDNSRequest) (*apiv1.PlanDNSResponse, error)
func (*Plugin) PluginContext ¶
func (p *Plugin) PluginContext() *config.PluginContext
func (*Plugin) ProjectInit ¶
func (p *Plugin) ProjectInit(ctx context.Context, r *apiv1.ProjectInitRequest) (*apiv1.ProjectInitResponse, error)
func (*Plugin) Start ¶
func (p *Plugin) Start(ctx context.Context, r *apiv1.StartRequest) (*apiv1.StartResponse, error)
type StaticApp ¶ added in v0.1.7
type StaticApp struct { App *apiv1.App Props *types.StaticAppProperties DeployOpts *types.StaticAppDeployOptions PagesProject *cf.PagesProject PagesFiles *cf.PagesFiles PagesDeployment *cf.PagesDeployment // contains filtered or unexported fields }
func NewStaticApp ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.