options

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppOptions

type AppOptions struct {
	Logr logr.Logger

	ReadyzPort int
	ReadyzPath string
	// contains filtered or unexported fields
}

type CertManagerOptions

type CertManagerOptions struct {
	MaximumClientCertificateDuration time.Duration

	Namespace   string
	PreserveCRs bool
	IssuerRef   cmmeta.ObjectReference
	// contains filtered or unexported fields
}

type KubeOptions

type KubeOptions struct {
	RestConfig *rest.Config
	KubeClient kubernetes.Interface
	CMClient   cmclient.CertificateRequestInterface
	Auther     authenticate.Authenticator
	// contains filtered or unexported fields
}

type Options

type Options struct {
	*AppOptions
	*CertManagerOptions
	*TLSOptions
	*KubeOptions
}

Options is a struct to hold options for cert-manager-istio-csr

func New

func New() *Options

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Prepare

func (o *Options) Prepare(cmd *cobra.Command) *Options

type TLSOptions

type TLSOptions struct {
	RootCACertFile             string
	RootCAConfigMapName        string
	ServingAddress             string
	ServingCertificateDuration time.Duration

	ClusterID   string
	TrustDomain string
}

Jump to

Keyboard shortcuts

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