Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCertUtil

type FakeCertUtil struct {
	Duration time.Duration
	Err      error
}

    FakeCertUtil is a mocked CertUtil for testing.

    func (FakeCertUtil) GetWaitTime

    func (f FakeCertUtil) GetWaitTime(certBytes []byte, now time.Time, minGracePeriod time.Duration) (time.Duration, error)

      GetWaitTime returns duration if err is nil, otherwise, it returns err.

      Source Files