Documentation ¶
Index ¶
- func New(srv components.ServiceComponent, object tns.Object, ...) (serviceable http.Serviceable, err error)
- type Website
- func (w *Website) Application() string
- func (w *Website) AssetId() string
- func (w *Website) Branch() string
- func (w *Website) CachePrefix() string
- func (w *Website) Close()
- func (w *Website) Commit() string
- func (w *Website) Config() *structureSpec.Website
- func (w *Website) Context() context.Context
- func (w *Website) Event() interface{}
- func (w *Website) Handle(_w goHttp.ResponseWriter, r *goHttp.Request, ...) (t time.Time, err error)
- func (w *Website) Id() string
- func (w *Website) IsProvisioned() bool
- func (w *Website) Match(matcher components.MatchDefinition) (currentMatchIndex matcherSpec.Index)
- func (w *Website) Matcher() commonIface.MatchDefinition
- func (w *Website) Metrics() *metrics.Website
- func (w *Website) Project() string
- func (w *Website) Provision() (web httpComp.Serviceable, err error)
- func (w *Website) Ready() error
- func (w *Website) Service() commonIface.ServiceComponent
- func (w *Website) SmartOps() (uint32, error)
- func (w *Website) Structure() *structureSpec.Function
- func (w *Website) Type() uint32
- func (w *Website) Validate(matcher components.MatchDefinition) error
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 (*Website) CachePrefix ¶
func (*Website) Config ¶
func (w *Website) Config() *structureSpec.Website
func (*Website) Handle ¶
func (w *Website) Handle(_w goHttp.ResponseWriter, r *goHttp.Request, matcher components.MatchDefinition) (t time.Time, err error)
func (*Website) IsProvisioned ¶
func (*Website) Match ¶
func (w *Website) Match(matcher components.MatchDefinition) (currentMatchIndex matcherSpec.Index)
func (*Website) Matcher ¶
func (w *Website) Matcher() commonIface.MatchDefinition
func (*Website) Service ¶
func (w *Website) Service() commonIface.ServiceComponent
func (*Website) Structure ¶
func (w *Website) Structure() *structureSpec.Function
Fulfill Serviceable interface, used to ensure TVM.New() fails if using a website
func (*Website) Validate ¶
func (w *Website) Validate(matcher components.MatchDefinition) error
Click to show internal directories.
Click to hide internal directories.