website

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(srv components.ServiceComponent, object tns.Object, matcher *common.MatchDefinition) (serviceable http.Serviceable, err error)

Types

type Website

type Website struct {
	// contains filtered or unexported fields
}

func (*Website) Application

func (w *Website) Application() string

func (*Website) AssetId added in v1.0.11

func (w *Website) AssetId() string

func (*Website) CachePrefix

func (w *Website) CachePrefix() string

func (*Website) Close

func (w *Website) Close()

func (*Website) Commit

func (w *Website) Commit() string

func (*Website) Config

func (w *Website) Config() *structureSpec.Website

func (*Website) Context

func (w *Website) Context() context.Context

func (*Website) Event

func (w *Website) Event() interface{}

func (*Website) Handle

func (w *Website) Handle(_w goHttp.ResponseWriter, r *goHttp.Request, matcher components.MatchDefinition) (t time.Time, err error)

func (*Website) Id

func (w *Website) Id() string

func (*Website) IsProvisioned added in v1.1.0

func (w *Website) IsProvisioned() bool

func (*Website) Match

func (w *Website) Match(matcher components.MatchDefinition) (currentMatchIndex matcherSpec.Index)

func (*Website) Matcher

func (w *Website) Matcher() commonIface.MatchDefinition

func (*Website) Metrics added in v1.1.0

func (w *Website) Metrics() *metrics.Website

func (*Website) Project

func (w *Website) Project() string

func (*Website) Provision added in v1.1.0

func (w *Website) Provision() (web httpComp.Serviceable, err error)

func (*Website) Ready

func (w *Website) Ready() error

func (*Website) Service

func (w *Website) Service() commonIface.ServiceComponent

func (*Website) SmartOps

func (w *Website) SmartOps() (uint32, error)

func (*Website) Structure added in v1.0.11

func (w *Website) Structure() *structureSpec.Function

Fulfill Serviceable interface, used to ensure TVM.New() fails if using a website

func (*Website) Type

func (w *Website) Type() uint32

func (*Website) Validate

func (w *Website) Validate(matcher components.MatchDefinition) error

Jump to

Keyboard shortcuts

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