static

package
v0.52.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatic

func NewStatic(spec []byte, db database.DB, logger *zap.Logger) (provisioner.Provisioner, error)

Types

type StaticProvisioner

type StaticProvisioner struct {
	Spec *StaticSpec
	// contains filtered or unexported fields
}

func (*StaticProvisioner) AwaitReady

func (p *StaticProvisioner) AwaitReady(ctx context.Context, r *provisioner.Resource) error

func (*StaticProvisioner) Check

func (p *StaticProvisioner) Check(ctx context.Context) error

func (*StaticProvisioner) CheckResource

func (*StaticProvisioner) Close

func (p *StaticProvisioner) Close() error

func (*StaticProvisioner) Deprovision

func (p *StaticProvisioner) Deprovision(ctx context.Context, r *provisioner.Resource) error

func (*StaticProvisioner) Provision

func (*StaticProvisioner) Type

func (p *StaticProvisioner) Type() string

type StaticRuntimeSpec

type StaticRuntimeSpec struct {
	Host     string `json:"host"`
	Slots    int    `json:"slots"`
	Audience string `json:"audience_url"`
}

type StaticSpec

type StaticSpec struct {
	Runtimes []*StaticRuntimeSpec `json:"runtimes"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL