krbmon

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package krbmon contains kerberos monitoring components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CCacheMon

type CCacheMon struct {
	// contains filtered or unexported fields
}

CCacheMon is a ccache monitor.

func NewCCacheMon

func NewCCacheMon() *CCacheMon

NewCCacheMon returns a new ccache monitor.

func (*CCacheMon) Start

func (c *CCacheMon) Start() error

Start starts the ccache monitor.

func (*CCacheMon) Stop

func (c *CCacheMon) Stop()

Stop stops the ccache monitor.

func (*CCacheMon) Updates

func (c *CCacheMon) Updates() chan *CCacheUpdate

Updates returns the channel for ccache updates.

type CCacheUpdate

type CCacheUpdate struct {
	CCache *credentials.CCache
}

CCacheUpdate is a ccache monitor update.

func (*CCacheUpdate) GetTGT

func (u *CCacheUpdate) GetTGT(realm string) *credentials.Credential

GetTGT returns the TGT for realm in the ccache.

type ConfMon

type ConfMon struct {
	// contains filtered or unexported fields
}

ConfMon is a krb5.conf monitor.

func NewConfMon

func NewConfMon() *ConfMon

NewConfMon returns a new krb5.conf monitor.

func (*ConfMon) Start

func (c *ConfMon) Start() error

Start starts the config monitor.

func (*ConfMon) Stop

func (c *ConfMon) Stop()

Stop stops the config monitor.

func (*ConfMon) Updates

func (c *ConfMon) Updates() chan *ConfUpdate

Updates returns the channel for config updates.

type ConfUpdate

type ConfUpdate struct {
	Config *config.Config
}

ConfUpdate is a krb5.conf monitor update.

Jump to

Keyboard shortcuts

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