cmd

package
v0.1.162 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Copyright (c) 2022 Take 2 Identity, Inc

Copyright (c) 2022 Take 2 Identity, Inc

Index

Constants

View Source
const (
	BINARIES_URL = "https://gitlab.com/443id/public/443id-cli/-/releases/permalink/latest/downloads/443id-cli_"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GenerateSchema added in v0.1.9

func GenerateSchema(g *Generate) *cobra.Command

func GetLatestVersion added in v0.1.132

func GetLatestVersion() (string, error)

func NewBatchEvaluateRiskCommand added in v0.1.110

func NewBatchEvaluateRiskCommand(processor func(ctx context.Context, record *formatters.Record)) *cobra.Command

func NewEvaluateCommand added in v0.1.73

func NewEvaluateCommand(presistentPre func(cmd *cobra.Command, args []string) error) *cobra.Command

func NewEvaluateRiskCommand added in v0.1.73

func NewEvaluateRiskCommand(processor func(ctx context.Context, record *formatters.Record)) *cobra.Command

func NewSignalPrintCommand added in v0.1.129

func NewSignalPrintCommand(presistentPre func(cmd *cobra.Command, args []string) error) *cobra.Command

func NewUpdateCommand added in v0.1.132

func NewUpdateCommand(runner func(cmd *cobra.Command, args []string)) *cobra.Command

Types

type Generate added in v0.1.9

type Generate struct {
	// contains filtered or unexported fields
}

func (*Generate) Create added in v0.1.9

func (g *Generate) Create(name string) (*os.File, error)

func (*Generate) FormattedPrint added in v0.1.9

func (g *Generate) FormattedPrint(w io.Writer, format string, a ...any) (n int, err error)

type RuleFile added in v0.1.136

type RuleFile []struct {
	UUID        string        `json:"uuid"`
	Name        string        `json:"name"`
	Description string        `json:"description"`
	Rules       []client.Rule `json:"rules"`
	Default     struct {
		Outcomes []string `json:"outcomes"`
	} `json:"default"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL