certmanager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package certmanager provides utilities for setting up and managing cert-manager for end-to-end testing.

Index

Constants

View Source
const DefaultVersion = "v1.15.1"

DefaultVersion is the default version of cert-manager to install.

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, cl client.Client, opts ...InstallOption) error

Install installs cert-manager using kubectl.

Types

type InstallOption

type InstallOption func(*InstallOptions)

InstallOption is a function that sets up an option for installing cert-manager.

func WithIgnoreExistingResources

func WithIgnoreExistingResources(ignore bool) InstallOption

WithIgnoreExistingResources sets whether to ignore existing resources.

func WithVersion

func WithVersion(version string) InstallOption

WithVersion sets the version of cert-manager to install.

type InstallOptions

type InstallOptions struct {
	Version              string
	IgnoreExistResources bool
}

InstallOptions contains the options for installing cert-manager.

Jump to

Keyboard shortcuts

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