Documentation ¶
Index ¶
- type OutputFormat
- type Renderer
- func (r *Renderer) ActionCreate(action *management.Action)
- func (r *Renderer) ActionDeploy(action *management.Action)
- func (r *Renderer) ActionList(actions []*management.Action)
- func (r *Renderer) ActionShow(action *management.Action)
- func (r *Renderer) ActionTest(payload management.ActionTestPayload)
- func (r *Renderer) ActionUpdate(action *management.Action)
- func (r *Renderer) ApiCreate(api *management.ResourceServer)
- func (r *Renderer) ApiList(apis []*management.ResourceServer)
- func (r *Renderer) ApiShow(api *management.ResourceServer)
- func (r *Renderer) ApiUpdate(api *management.ResourceServer)
- func (r *Renderer) ApplicationCreate(client *management.Client, revealSecrets bool)
- func (r *Renderer) ApplicationList(clients []*management.Client, revealSecrets bool)
- func (r *Renderer) ApplicationShow(client *management.Client, revealSecrets bool)
- func (r *Renderer) ApplicationUpdate(client *management.Client, revealSecrets bool)
- func (r *Renderer) BrandingShow(data *management.Branding)
- func (r *Renderer) BrandingTextShow(brandingTextJSON, prompt, language string)
- func (r *Renderer) BrandingTextUpdate(brandingTextJSON string, prompt, language string)
- func (r *Renderer) BrandingUpdate(data *management.Branding)
- func (r *Renderer) BreachedPasswordDetectionShow(bpd *management.BreachedPasswordDetection)
- func (r *Renderer) BreachedPasswordDetectionUpdate(bpd *management.BreachedPasswordDetection)
- func (r *Renderer) BruteForceProtectionShow(bfp *management.BruteForceProtection)
- func (r *Renderer) BruteForceProtectionUpdate(bfp *management.BruteForceProtection)
- func (r *Renderer) CustomDomainCreate(customDomain *management.CustomDomain)
- func (r *Renderer) CustomDomainList(customDomains []*management.CustomDomain)
- func (r *Renderer) CustomDomainShow(customDomain *management.CustomDomain)
- func (r *Renderer) CustomDomainUpdate(customDomain *management.CustomDomain)
- func (r *Renderer) EmailTemplateShow(email *management.EmailTemplate)
- func (r *Renderer) EmailTemplateUpdate(email *management.EmailTemplate)
- func (r *Renderer) EmptyState(resource string)
- func (r *Renderer) Errorf(format string, a ...interface{})
- func (r *Renderer) GetToken(c *management.Client, t *authutil.TokenResponse)
- func (r *Renderer) Heading(text ...string)
- func (r *Renderer) Infof(format string, a ...interface{})
- func (r *Renderer) JSONResult(data interface{})
- func (r *Renderer) LogList(logs []*management.Log, ch <-chan []*management.Log, silent bool)
- func (r *Renderer) LogStreamCreate(logs *management.LogStream)
- func (r *Renderer) LogStreamList(logs []*management.LogStream)
- func (r *Renderer) LogStreamShow(logs *management.LogStream)
- func (r *Renderer) LogStreamUpdate(logs *management.LogStream)
- func (r *Renderer) Markdown(document string)
- func (r *Renderer) MembersList(members []management.OrganizationMember)
- func (r *Renderer) Newline()
- func (r *Renderer) OrganizationCreate(organization *management.Organization)
- func (r *Renderer) OrganizationList(organizations []*management.Organization)
- func (r *Renderer) OrganizationShow(organization *management.Organization)
- func (r *Renderer) OrganizationUpdate(organization *management.Organization)
- func (r *Renderer) Output(message string)
- func (r *Renderer) QuickstartList(qs map[string][]auth0.Quickstart)
- func (r *Renderer) Result(data View)
- func (r *Renderer) Results(data []View)
- func (r *Renderer) RoleCreate(role *management.Role)
- func (r *Renderer) RoleList(roles []*management.Role)
- func (r *Renderer) RolePermissionAdd(role *management.Role, rs *management.ResourceServer, perms []string)
- func (r *Renderer) RolePermissionList(perms []*management.Permission)
- func (r *Renderer) RolePermissionRemove(role *management.Role, rs *management.ResourceServer, perms []string)
- func (r *Renderer) RoleShow(role *management.Role)
- func (r *Renderer) RoleUpdate(role *management.Role)
- func (r *Renderer) RuleCreate(rule *management.Rule)
- func (r *Renderer) RuleDisable(rule *management.Rule)
- func (r *Renderer) RuleEnable(rule *management.Rule)
- func (r *Renderer) RuleShow(rule *management.Rule)
- func (r *Renderer) RuleUpdate(rule *management.Rule)
- func (r *Renderer) RulesList(rules []*management.Rule)
- func (r *Renderer) ScopesList(api string, scopes []management.ResourceServerScope)
- func (r *Renderer) Stream(data []View, ch <-chan View)
- func (r *Renderer) SuspiciousIPThrottlingShow(sit *management.SuspiciousIPThrottling)
- func (r *Renderer) SuspiciousIPThrottlingUpdate(sit *management.SuspiciousIPThrottling)
- func (r *Renderer) TenantList(data []string)
- func (r *Renderer) TryLogin(u *authutil.UserInfo, t *authutil.TokenResponse)
- func (r *Renderer) UserBlocksList(userBlocks []*management.UserBlock)
- func (r *Renderer) UserCreate(user *management.User, requireUsername bool)
- func (r *Renderer) UserSearch(users []*management.User)
- func (r *Renderer) UserShow(user *management.User, requireUsername bool)
- func (r *Renderer) UserUpdate(user *management.User, requireUsername bool)
- func (r *Renderer) Warnf(format string, a ...interface{})
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct { Tenant string // MessageWriter receives the renderer messages (typically os.Stderr) MessageWriter io.Writer // ResultWriter writes the final result of the commands (typically os.Stdout which can be piped to other commands) ResultWriter io.Writer // Format indicates how the results are rendered. Default (empty) will write as table Format OutputFormat }
func NewRenderer ¶
func NewRenderer() *Renderer
func (*Renderer) ActionCreate ¶ added in v0.9.0
func (r *Renderer) ActionCreate(action *management.Action)
func (*Renderer) ActionDeploy ¶ added in v0.11.5
func (r *Renderer) ActionDeploy(action *management.Action)
func (*Renderer) ActionList ¶
func (r *Renderer) ActionList(actions []*management.Action)
func (*Renderer) ActionShow ¶ added in v0.9.0
func (r *Renderer) ActionShow(action *management.Action)
func (*Renderer) ActionTest ¶
func (r *Renderer) ActionTest(payload management.ActionTestPayload)
func (*Renderer) ActionUpdate ¶ added in v0.9.0
func (r *Renderer) ActionUpdate(action *management.Action)
func (*Renderer) ApiCreate ¶
func (r *Renderer) ApiCreate(api *management.ResourceServer)
func (*Renderer) ApiList ¶
func (r *Renderer) ApiList(apis []*management.ResourceServer)
func (*Renderer) ApiShow ¶
func (r *Renderer) ApiShow(api *management.ResourceServer)
func (*Renderer) ApiUpdate ¶
func (r *Renderer) ApiUpdate(api *management.ResourceServer)
func (*Renderer) ApplicationCreate ¶
func (r *Renderer) ApplicationCreate(client *management.Client, revealSecrets bool)
func (*Renderer) ApplicationList ¶
func (r *Renderer) ApplicationList(clients []*management.Client, revealSecrets bool)
func (*Renderer) ApplicationShow ¶
func (r *Renderer) ApplicationShow(client *management.Client, revealSecrets bool)
func (*Renderer) ApplicationUpdate ¶
func (r *Renderer) ApplicationUpdate(client *management.Client, revealSecrets bool)
func (*Renderer) BrandingShow ¶ added in v0.8.0
func (r *Renderer) BrandingShow(data *management.Branding)
func (*Renderer) BrandingTextShow ¶ added in v0.11.3
func (*Renderer) BrandingTextUpdate ¶ added in v0.11.3
func (*Renderer) BrandingUpdate ¶ added in v0.8.0
func (r *Renderer) BrandingUpdate(data *management.Branding)
func (*Renderer) BreachedPasswordDetectionShow ¶ added in v0.11.7
func (r *Renderer) BreachedPasswordDetectionShow(bpd *management.BreachedPasswordDetection)
func (*Renderer) BreachedPasswordDetectionUpdate ¶ added in v0.11.7
func (r *Renderer) BreachedPasswordDetectionUpdate(bpd *management.BreachedPasswordDetection)
func (*Renderer) BruteForceProtectionShow ¶ added in v0.11.7
func (r *Renderer) BruteForceProtectionShow(bfp *management.BruteForceProtection)
func (*Renderer) BruteForceProtectionUpdate ¶ added in v0.11.7
func (r *Renderer) BruteForceProtectionUpdate(bfp *management.BruteForceProtection)
func (*Renderer) CustomDomainCreate ¶ added in v0.8.1
func (r *Renderer) CustomDomainCreate(customDomain *management.CustomDomain)
func (*Renderer) CustomDomainList ¶ added in v0.8.1
func (r *Renderer) CustomDomainList(customDomains []*management.CustomDomain)
func (*Renderer) CustomDomainShow ¶ added in v0.8.1
func (r *Renderer) CustomDomainShow(customDomain *management.CustomDomain)
func (*Renderer) CustomDomainUpdate ¶ added in v0.9.0
func (r *Renderer) CustomDomainUpdate(customDomain *management.CustomDomain)
func (*Renderer) EmailTemplateShow ¶ added in v0.9.1
func (r *Renderer) EmailTemplateShow(email *management.EmailTemplate)
func (*Renderer) EmailTemplateUpdate ¶ added in v0.9.1
func (r *Renderer) EmailTemplateUpdate(email *management.EmailTemplate)
func (*Renderer) EmptyState ¶ added in v0.3.1
func (*Renderer) GetToken ¶
func (r *Renderer) GetToken(c *management.Client, t *authutil.TokenResponse)
func (*Renderer) JSONResult ¶
func (r *Renderer) JSONResult(data interface{})
func (*Renderer) LogList ¶
func (r *Renderer) LogList(logs []*management.Log, ch <-chan []*management.Log, silent bool)
func (*Renderer) LogStreamCreate ¶ added in v0.8.0
func (r *Renderer) LogStreamCreate(logs *management.LogStream)
func (*Renderer) LogStreamList ¶ added in v0.8.0
func (r *Renderer) LogStreamList(logs []*management.LogStream)
func (*Renderer) LogStreamShow ¶ added in v0.8.0
func (r *Renderer) LogStreamShow(logs *management.LogStream)
func (*Renderer) LogStreamUpdate ¶ added in v0.8.0
func (r *Renderer) LogStreamUpdate(logs *management.LogStream)
func (*Renderer) MembersList ¶ added in v0.11.4
func (r *Renderer) MembersList(members []management.OrganizationMember)
func (*Renderer) OrganizationCreate ¶ added in v0.10.0
func (r *Renderer) OrganizationCreate(organization *management.Organization)
func (*Renderer) OrganizationList ¶ added in v0.10.0
func (r *Renderer) OrganizationList(organizations []*management.Organization)
func (*Renderer) OrganizationShow ¶ added in v0.10.0
func (r *Renderer) OrganizationShow(organization *management.Organization)
func (*Renderer) OrganizationUpdate ¶ added in v0.10.0
func (r *Renderer) OrganizationUpdate(organization *management.Organization)
func (*Renderer) QuickstartList ¶ added in v0.5.0
func (r *Renderer) QuickstartList(qs map[string][]auth0.Quickstart)
func (*Renderer) RoleCreate ¶ added in v0.7.0
func (r *Renderer) RoleCreate(role *management.Role)
func (*Renderer) RoleList ¶ added in v0.7.0
func (r *Renderer) RoleList(roles []*management.Role)
func (*Renderer) RolePermissionAdd ¶ added in v0.10.1
func (r *Renderer) RolePermissionAdd(role *management.Role, rs *management.ResourceServer, perms []string)
func (*Renderer) RolePermissionList ¶ added in v0.10.1
func (r *Renderer) RolePermissionList(perms []*management.Permission)
func (*Renderer) RolePermissionRemove ¶ added in v0.10.1
func (r *Renderer) RolePermissionRemove(role *management.Role, rs *management.ResourceServer, perms []string)
func (*Renderer) RoleShow ¶ added in v0.7.0
func (r *Renderer) RoleShow(role *management.Role)
func (*Renderer) RoleUpdate ¶ added in v0.7.0
func (r *Renderer) RoleUpdate(role *management.Role)
func (*Renderer) RuleCreate ¶ added in v0.3.0
func (r *Renderer) RuleCreate(rule *management.Rule)
func (*Renderer) RuleDisable ¶ added in v0.5.1
func (r *Renderer) RuleDisable(rule *management.Rule)
func (*Renderer) RuleEnable ¶ added in v0.5.1
func (r *Renderer) RuleEnable(rule *management.Rule)
func (*Renderer) RuleShow ¶ added in v0.3.0
func (r *Renderer) RuleShow(rule *management.Rule)
func (*Renderer) RuleUpdate ¶ added in v0.3.0
func (r *Renderer) RuleUpdate(rule *management.Rule)
func (*Renderer) RulesList ¶ added in v0.3.0
func (r *Renderer) RulesList(rules []*management.Rule)
func (*Renderer) ScopesList ¶
func (r *Renderer) ScopesList(api string, scopes []management.ResourceServerScope)
func (*Renderer) SuspiciousIPThrottlingShow ¶ added in v0.11.7
func (r *Renderer) SuspiciousIPThrottlingShow(sit *management.SuspiciousIPThrottling)
func (*Renderer) SuspiciousIPThrottlingUpdate ¶ added in v0.11.7
func (r *Renderer) SuspiciousIPThrottlingUpdate(sit *management.SuspiciousIPThrottling)
func (*Renderer) TenantList ¶ added in v0.5.0
func (*Renderer) TryLogin ¶
func (r *Renderer) TryLogin(u *authutil.UserInfo, t *authutil.TokenResponse)
func (*Renderer) UserBlocksList ¶ added in v0.5.1
func (r *Renderer) UserBlocksList(userBlocks []*management.UserBlock)
func (*Renderer) UserCreate ¶ added in v0.7.0
func (r *Renderer) UserCreate(user *management.User, requireUsername bool)
func (*Renderer) UserSearch ¶ added in v0.7.0
func (r *Renderer) UserSearch(users []*management.User)
func (*Renderer) UserShow ¶ added in v0.7.0
func (r *Renderer) UserShow(user *management.User, requireUsername bool)
func (*Renderer) UserUpdate ¶ added in v0.7.0
func (r *Renderer) UserUpdate(user *management.User, requireUsername bool)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.