Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NominateAdd ¶
type NominateAdd struct {
Action string `label:"Action" pftype:"hidden"`
Vouchee string `label:"Username" pfset:"nobody" pfget:"none"`
Comment string `label:"Vouch comment" pftype:"text" hint:"Vouch description for this user" pfreq:"yes"`
Attestations map[string]bool `label:"Attestations (all required)" hint:"Attestations for this user" options:"GetAttestationOpts" pfcheckboxmode:"yes"`
Button string `label:"Nominate" pftype:"submit"`
Message string /* Used by pfform() */
Error string /* Used by pfform() */
// contains filtered or unexported fields
}
func (*NominateAdd) GetAttestationOpts ¶
func (na *NominateAdd) GetAttestationOpts(obj interface{}) (kvs keyval.KeyVals, err error)
type NominateNew ¶
type NominateNew struct {
Action string `label:"Action" pftype:"hidden"`
Search string `label:"Search" pftype:"hidden"`
Email string `label:"Email address of nominee" pfset:"none"`
FullName string `label:"Full Name" hint:"Full Name of this user" pfreq:"yes"`
Affiliation string `label:"Affiliation" hint:"Who the user is affiliated to" pfreq:"yes"`
Biography string `label:"Biography" pftype:"text" hint:"Biography for this user" pfreq:"yes"`
Comment string `label:"Vouch Comment" pftype:"text" hint:"Vouch for this user" pfreq:"yes"`
Attestations map[string]bool `label:"Attestations (all required)" hint:"Attestations for this user" options:"GetAttestationOpts" pfcheckboxmode:"yes"`
Button string `label:"Nominate" pftype:"submit"`
Message string /* Used by pfform() */
Error string /* Used by pfform() */
// contains filtered or unexported fields
}
func (*NominateNew) GetAttestationOpts ¶
func (na *NominateNew) GetAttestationOpts(obj interface{}) (kvs keyval.KeyVals, err error)
type VouchAdd ¶
type VouchAdd struct {
Action string `label:"Action" pftype:"hidden"`
Group string `label:"Group" pftype:"hidden"`
Vouchee string `label:"Username" pftype:"hidden"`
Comment string `label:"Vouch" pftype:"text" hint:"Vouch for this user" pfreq:"yes"`
Attestations map[string]bool `label:"Attestations (all required)" hint:"Attestations for this user" options:"GetAttestationOpts" pfcheckboxmode:"yes"`
Button string `label:"Vouch" pftype:"submit"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.