Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator generates authentication credentials for requests.
type Verifier ¶
type Verifier interface {
VerifyToken(ctx context.Context, 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.