encrypt

package
v0.16.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIPsecAlgoSupported added in v0.15.23

func IsIPsecAlgoSupported(algo string) bool

Types

type Encrypt added in v0.15.23

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

Encrypt is used to get encrypt status from cilium agents

func NewEncrypt added in v0.15.23

func NewEncrypt(client *k8s.Client, p Parameters) *Encrypt

NewEncrypt returns new encrypt.Encrypt struct

func (*Encrypt) IPsecKeyStatus added in v0.15.23

func (s *Encrypt) IPsecKeyStatus(ctx context.Context) error

IPsecKeyStatus displays IPsec key.

func (*Encrypt) IPsecRotateKey added in v0.15.23

func (s *Encrypt) IPsecRotateKey(ctx context.Context) error

IPsecRotateKey rotates IPsec key.

func (*Encrypt) PrintEncryptStatus added in v0.16.5

func (s *Encrypt) PrintEncryptStatus(ctx context.Context) error

PrintEncryptStatus prints encryption status from all/specific cilium agent pods.

type Parameters

type Parameters struct {
	CiliumNamespace  string
	AgentPodSelector string
	NodeName         string
	PerNodeDetails   bool
	IPsecKeyAuthAlgo string
	IPsecKeyPerNode  string
	Writer           io.Writer
	WaitDuration     time.Duration
	Output           string
}

Parameters contains options for CLI

Jump to

Keyboard shortcuts

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