decision_logs

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCmd

type GetCmd struct {
	Name     string   `arg:"" optional:"" help:"download decision logs"`
	Path     string   `optional:"" help:"download path"`
	Info     bool     `xor:"group2" optional:"" help:"get information about the logs, don't download"`
	Policies []string `optional:"" sep:"," help:"ID of policies to get logs for (all if not specified)"`
}

func (GetCmd) Run

func (cmd GetCmd) Run(c *cc.CommonCtx) error

type GetUserCmd

type GetUserCmd struct {
	ID   string `xor:"group" optional:"" help:"download decision logs user information"`
	Path string `arg:"" optional:"" help:"download path"`
	Info bool   `xor:"group2" optional:"" help:"get information about the logs, don't download"`
}

func (GetUserCmd) Run

func (cmd GetUserCmd) Run(c *cc.CommonCtx) error

type ListCmd

type ListCmd struct {
	Policies []string `optional:"" sep:"," help:"Names of policies to list logs for (all if not specified)"`
}

func (ListCmd) Run

func (cmd ListCmd) Run(c *cc.CommonCtx) error

type ListUsersCmd

type ListUsersCmd struct {
}

func (ListUsersCmd) Run

func (cmd ListUsersCmd) Run(c *cc.CommonCtx) error

type StreamCmd added in v0.8.7

type StreamCmd struct {
	PolicyName    string `arg:"" help:"Name of policy to open stream for"`
	InstanceLabel string `arg:"" help:"Label of policy to open stream for"`
	Since         string `optional:"" help:"time to start streaming events from in RFC3339 format"`
}

func (StreamCmd) Run added in v0.8.7

func (cmd StreamCmd) Run(c *cc.CommonCtx) error

Jump to

Keyboard shortcuts

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