Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyExists = errors.New("node already exists")
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator generates authentication credentials for requests.
type Verifier ¶
type Verifier interface {
VerifyToken(ctx context.Context, rawRequest *http.Request, token string, body []byte, useInstanceIDForNodeName bool) (*VerifyResult, error)
}
Verifier verifies authentication credentials for requests.
type VerifyResult ¶
type VerifyResult struct { // Nodename is the name that this node is authorized to use. NodeName string // InstanceGroupName is the name of the kops InstanceGroup this node is a member of. InstanceGroupName string // CertificateNames is the alternate names the node is authorized to use for certificates. CertificateNames []string }
VerifyResult is the result of a successfully verified request.
Click to show internal directories.
Click to hide internal directories.