package sasl

import "github.com/mesos/mesos-go/api/v0/auth/sasl"

Index

Constants

const (

	// this login provider name is automatically registered with the auth package; see init()
	ProviderName = "SASL"
)

Variables

var (
	UnexpectedAuthenticationMechanisms = errors.New("Unexpected authentication 'mechanisms' received")
	UnexpectedAuthenticationStep       = errors.New("Unexpected authentication 'step' received")
	UnexpectedAuthenticationCompleted  = errors.New("Unexpected authentication 'completed' received")
	UnexpectedAuthenticatorPid         = errors.New("Unexpected authentator pid") // authenticator pid changed mid-process
	UnsupportedMechanism               = errors.New("failed to identify a compatible mechanism")
)

Functions

func BindingAddressFrom

func BindingAddressFrom(ctx context.Context) net.IP

func BindingPortFrom

func BindingPortFrom(ctx context.Context) string

func WithBindingAddress

func WithBindingAddress(ctx context.Context, address net.IP) context.Context

func WithBindingPort

func WithBindingPort(ctx context.Context, port uint16) context.Context

Source Files

authenticatee.go context.go

Directories

PathSynopsis
api/v0/auth/sasl/mech
api/v0/auth/sasl/mech/crammd5
api/v0/auth/sasl/mock
Version
v0.0.11 (latest)
Published
May 15, 2020
Platform
linux/amd64
Imports
15 packages
Last checked
2 hours ago

Tools for package owners.