agent

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvictCLI

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

EvictCLI command for node eviction

func (EvictCLI) Help

func (c EvictCLI) Help() string

func (EvictCLI) Run

func (c EvictCLI) Run(args []string) int

Run will evict an agent given its spiffeID

func (EvictCLI) Synopsis

func (EvictCLI) Synopsis() string

type EvictConfig

type EvictConfig struct {
	// Socket path of registration API
	RegistrationUDSPath string
	// SpiffeID of the agent being evicted
	SpiffeID string
}

EvictConfig holds configuration for EvictCLI

func (*EvictConfig) Validate

func (c *EvictConfig) Validate() (err error)

Validate will perform a basic validation on config fields

type ListCLI

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

ListCLI command for listing attested nodes

func (ListCLI) Help

func (c ListCLI) Help() string

func (*ListCLI) Run

func (c *ListCLI) Run(args []string) int

Run will lists attested agents

func (ListCLI) Synopsis

func (ListCLI) Synopsis() string

type ListConfig

type ListConfig struct {
	// Socket path of registration API
	RegistrationUDSPath string
}

ListConfig holds configuration for ListCLI

func (*ListConfig) Validate

func (c *ListConfig) Validate() (err error)

Validate will perform a basic validation on config fields

type ShowCLI

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

ShowCLI command for listing attested nodes

func (ShowCLI) Help

func (c ShowCLI) Help() string

func (*ShowCLI) Run

func (c *ShowCLI) Run(args []string) int

Run will show the details of an attested agent given its SPIFFE ID

func (ShowCLI) Synopsis

func (ShowCLI) Synopsis() string

type ShowConfig

type ShowConfig struct {
	// Socket path of registration API
	RegistrationUDSPath string
	// SpiffeID of the agent being showed
	SpiffeID string
}

ShowConfig holds configuration for ShowCLI

func (*ShowConfig) Validate

func (c *ShowConfig) Validate() (err error)

Validate will perform a basic validation on config fields

Jump to

Keyboard shortcuts

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