authorizer

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package authorizer provide generic implementations and utility methods for Fleetspeak's authorizer component type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabelFilter

type LabelFilter struct {
	Label string
}

LabelFilter is an authorizer.Authorizer which refuses connections from clients that do not have a specific label.

func (LabelFilter) Allow1

func (f LabelFilter) Allow1(net.Addr) bool

Allow1 implements Authorizer.

func (LabelFilter) Allow2

func (f LabelFilter) Allow2(_ net.Addr, i authorizer.ContactInfo) bool

Allow2 implements Authorizer.

func (LabelFilter) Allow3

Allow3 implements Authorizer.

func (LabelFilter) Allow4

Allow4 implements Authorizer.

Jump to

Keyboard shortcuts

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