Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Enroller ¶
type Enroller interface { Enroll(jwt []byte, silent bool, engine string) error LoadConfig(cfgmap map[interface{}]interface{}) error }
func NewRestEnroller ¶
func NewRestEnroller() Enroller
type RestEnroller ¶
type RestEnroller struct {
// contains filtered or unexported fields
}
func (*RestEnroller) Enroll ¶
func (re *RestEnroller) Enroll(jwtBuf []byte, silent bool, engine string) error
func (*RestEnroller) LoadConfig ¶
func (re *RestEnroller) LoadConfig(cfgmap map[interface{}]interface{}) error
func (*RestEnroller) Send ¶
func (re *RestEnroller) Send(client *resty.Client, enrollUrl string, e *apiPost) (*rest_model.EnrollmentCertsEnvelope, error)
Click to show internal directories.
Click to hide internal directories.