Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { component.Base Dependencies struct { ListInstances *ListInstances Auth *auth.Auth } }
API implements an API to list all instances
func (*API) HandleRoute ¶
type APISystem ¶
type APISystem struct { Slug string URL string Tagline string EntityCount int BundleCount int LastEdit time.Time }
APISystem represents a system returned by the api
type ListInstances ¶
type ListInstances struct { component.Base Dependencies struct { Auth *auth.Auth Instances *instances.Instances } // contains filtered or unexported fields }
ListInstances holds information about all instances
func (*ListInstances) Infos ¶
func (li *ListInstances) Infos() []status.WissKI
func (*ListInstances) Names ¶
func (li *ListInstances) Names() map[string]struct{}
func (*ListInstances) ShouldShowList ¶
func (li *ListInstances) ShouldShowList(r *http.Request) bool
ShouldShowList determines if a list should be shown for the given request
func (*ListInstances) TaskName ¶
func (li *ListInstances) TaskName() string
Click to show internal directories.
Click to hide internal directories.