csrs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package csrs implements tester for CertificateSigningRequest.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger    *zap.Logger
	Stopc     chan struct{}
	Sig       chan os.Signal
	EKSConfig *eksconfig.Config
	K8SClient k8s_client.EKS
}

Config defines "CertificateSigningRequest" configuration.

type Tester

type Tester interface {
	// Create creates "CertificateSigningRequest" objects to test CertificateSigningRequest.
	Create() error
	// Delete deletes "CertificateSigningRequest" and Pods.
	Delete() error
}

Tester defines CertificateSigningRequest tester.

func New

func New(cfg Config) (Tester, error)

New creates a new CSR tester.

Jump to

Keyboard shortcuts

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