decision_logs

package
v0.32.8 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 19 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 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 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" optional:""`
	Since         string `flag:"" help:"time to start streaming events from in RFC3339 format" optional:""`
}

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