func (s *Solver) Present(ctx context.Context, issuer v1alpha1.GenericIssuer, crt *v1alpha1.Certificate, ch v1alpha1.ACMEOrderChallenge) error {
	_, podErr := s.ensurePod(crt, ch)
	svc, svcErr := s.ensureService(crt, ch)
	if svcErr != nil {
		return utilerrors.NewAggregate([]error{podErr, svcErr})
	}
	_, ingressErr := s.ensureIngress(crt, svc.Name, ch)
	return utilerrors.NewAggregate([]error{podErr, svcErr, ingressErr})
}
// Present will realise the resources required to solve the given HTTP01
// challenge validation in the apiserver. If those resources already exist, it
// will return nil (i.e. this function is idempotent).
Present will realise the resources required to solve the given HTTP01
challenge validation in the apiserver. If those resources already exist, it
will return nil .
// Present will realise the resources required to solve the given HTTP01 // challenge validation in the apiserver . If those resources already exist it // will return nil ( i . e . this function is idempotent ) .
func (s *Solver) Present(ctx context.Context, issuer v1alpha1.GenericIssuer, crt *v1alpha1.Certificate, ch v1alpha1.ACMEOrderChallenge) error {
	_, podErr := s.ensurePod(crt, ch)
	svc, svcErr := s.ensureService(crt, ch)
	if svcErr != nil {
		return utilerrors.NewAggregate([]error{podErr, svcErr})
	}
	_, ingressErr := s.ensureIngress(crt, svc.Name, ch)
	return utilerrors.NewAggregate([]error{podErr, svcErr, ingressErr})
}
func ( s * Solver ) Present ( ctx context . Context , issuer v1alpha1 . GenericIssuer , crt * v1alpha1 . Certificate , ch v1alpha1 . ACMEOrderChallenge ) error { _ , podErr := s . ensurePod ( crt , ch ) svc , svcErr := s . ensureService ( crt , ch ) if svcErr != nil { return utilerrors . NewAggregate ( [ ] error { podErr , svcErr } ) } _ , ingressErr := s . ensureIngress ( crt , svc . Name , ch ) return utilerrors . NewAggregate ( [ ] error { podErr , svcErr , ingressErr } ) }
Present will realise the resources required to solve the given HTTP01
challenge validation in the apiserver.
Present will realise the resources required to solve the given HTTP01 challenge validation in the apiserver .