Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
- Variables
- func APITokensContent(orgName string, orgClientCreds []cdntypes.OrgClientCredentialSafe, ...) templ.Component
- func ActivateServiceVersionContent(orgName string, serviceName string, version int64, err error) templ.Component
- func ConsolePage(u *url.URL, title string, ad cdntypes.AuthData, orgName string, ...) templ.Component
- func CreateAPITokenContent(orgName string, atData APITokenData) templ.Component
- func CreateDomainContent(orgName string, dData DomainData) templ.Component
- func CreateServiceContent(orgName string, err error) templ.Component
- func CreateServiceVersionContent(serviceName string, orgName string, vclSK cdntypes.VclStepKeys, ...) templ.Component
- func Dashboard(dashData cdntypes.DashboardData) templ.Component
- func DomainsContent(orgName string, domains []cdntypes.Domain, verificationTag string, ...) templ.Component
- func LoginPage(returnTo string, loginFailed bool) templ.Component
- func NavBar(u *url.URL, ad cdntypes.AuthData, orgName string, availableOrgNames []string) templ.Component
- func NewAPITokenContent(orgName string, newOrgCred cdntypes.NewOrgClientCredential, returnURL string) templ.Component
- func OriginFieldSet(orgName string, serviceName string, index int, numFields int, ...) templ.Component
- func ServiceContent(orgName string, serviceName string, serviceVersions []cdntypes.ServiceVersion) templ.Component
- func ServiceVersionContent(serviceName string, sv cdntypes.ServiceVersionConfig, ...) templ.Component
- func ServicesContent(orgName string, services []cdntypes.Service, flashMessages []string) templ.Component
- type APITokenData
- type APITokenErrors
- type APITokenFormFields
- type DomainData
- type DomainErrors
- type DomainFormFields
Constants ¶
This section is empty.
Variables ¶
View Source
var CSSFS embed.FS
View Source
var JsFS embed.FS
The "all:" prefix is needed here because by default files beginning with ‘.’ or ‘_’ are excluded and we want to include "_hyperscript.min.js"
Functions ¶
func APITokensContent ¶ added in v0.0.25
func ConsolePage ¶
func CreateAPITokenContent ¶ added in v0.0.25
func CreateAPITokenContent(orgName string, atData APITokenData) templ.Component
func CreateDomainContent ¶
func CreateDomainContent(orgName string, dData DomainData) templ.Component
func CreateServiceVersionContent ¶
func CreateServiceVersionContent(serviceName string, orgName string, vclSK cdntypes.VclStepKeys, domains []cdntypes.Domain, originGroups []cdntypes.OriginGroup, submittedData *cdntypes.CreateServiceVersionForm, cloneData cdntypes.ServiceVersionCloneData, err error, errDetails string) templ.Component
func DomainsContent ¶
func NewAPITokenContent ¶ added in v0.0.25
func OriginFieldSet ¶
func ServiceContent ¶
func ServiceVersionContent ¶
Types ¶
type APITokenData ¶ added in v0.0.25
type APITokenData struct {
APITokenFormFields
Errors APITokenErrors
}
type APITokenErrors ¶ added in v0.0.25
type APITokenErrors struct {
APITokenFormFields
ServerError string
}
type APITokenFormFields ¶ added in v0.0.25
type DomainData ¶
type DomainData struct {
DomainFormFields
Errors DomainErrors
}
type DomainErrors ¶
type DomainErrors struct {
DomainFormFields
ServerError string
}
type DomainFormFields ¶
type DomainFormFields struct {
Name string
}
Click to show internal directories.
Click to hide internal directories.