issuers

package
v0.0.0-...-3edab30 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issuer

type Issuer struct {
	client.Client

	RetryInterval       time.Duration
	StatusCheckInterval time.Duration
	// contains filtered or unexported fields
}

func (*Issuer) Issue

func (i *Issuer) Issue(ctx context.Context, ar *api.AdcsRequest) ([]byte, []byte, error)

Go to ADCS for a certificate. If current status is 'Pending' then check for existing request. Otherwise ask for new. The current status is set in the passed request. If status is 'Ready' the returns include certificate and CA cert respectively.

type IssuerFactory

type IssuerFactory struct {
	client.Client
	Log                      logr.Logger
	ClusterResourceNamespace string
}

func (*IssuerFactory) GetIssuer

func (f *IssuerFactory) GetIssuer(ctx context.Context, ref cmmeta.ObjectReference, namespace string) (*Issuer, error)

Jump to

Keyboard shortcuts

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