accessrequesthook

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTerminal

func IsTerminal(fd uintptr) bool

func ShortDur

func ShortDur(d time.Duration) string

Types

type Hook

type Hook struct{}

func (Hook) NoAccess

func (h Hook) NoAccess(ctx context.Context, input NoAccessInput) (retry bool, err error)

type NoAccessInput added in v0.27.0

type NoAccessInput struct {
	Profile  *cfaws.Profile
	Reason   string
	Duration *durationpb.Duration
}

Jump to

Keyboard shortcuts

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