monitord

package
v1.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorKeymasterDaemonNotReady = errors.New("keymasterd not ready")
)

Functions

This section is empty.

Types

type AuthInfo added in v1.4.3

type AuthInfo struct {
	AuthType    string
	Username    string
	VIPAuthType string
}

type Monitor

type Monitor struct {

	// Receive side channels (public).
	AuthChannel                 <-chan AuthInfo
	ServiceProviderLoginChannel <-chan SPLoginInfo
	SshRawCertChannel           <-chan []byte
	SshCertChannel              <-chan *ssh.Certificate
	WebLoginChannel             <-chan string
	X509RawCertChannel          <-chan []byte
	X509CertChannel             <-chan *x509.Certificate
	// contains filtered or unexported fields
}

func New

func New(keymasterServerHostname string, keymasterServerPortNum uint,
	logger log.Logger) (*Monitor, error)

func (*Monitor) WriteHtml

func (m *Monitor) WriteHtml(writer io.Writer)

type SPLoginInfo added in v1.4.3

type SPLoginInfo struct {
	URL      string
	Username string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL