package
0.0.0-20250108174511-08bd1da3ccba
Repository: https://github.com/cms-enterprise/easi-app.git
Documentation: pkg.go.dev
# Functions
NewAction generates an action to use in tests.
NewBusinessCase allows us to generate a business case for tests.
NewConfig returns a global viper config for testing.
NewEstimatedLifecycleCost helps generate a new lifecycle cost for a given business case.
NewNote generates a note to use in tests.
NewSystemIntake generates a system intake to use in tests.
NewValidLifecycleCosts helps generate valid lifecycle costs for a given business case ready for submission.
OktaAccessToken is a thread safe config retrieval for an access token It only fetches a new token if it hasn't been set already.
RandomEUAID returns a random EUA ID for testing.
RandomEUAIDNull returns a random EUA ID for testing, in the form of a null.String.
# Structs
AuthnResponse is a response marshaled from Okta authn API.
Embedded is part of the Okta authn response.
EstimatedLifecycleCostOptions allows cost options to be customized.
Factor has a challenge factor for MFA.
FactorLink is a wrapper for a challenge link.
FactorLinkVerify is the challenge verification link.
SettableClock is a mock clock that can be set.