seccfg

package
v0.0.0-...-8ff35f7 Latest Latest
Warning

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

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

Documentation

Overview

Package seccfg interprets SecurityConfig proto message.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecurityConfig

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

SecurityConfig is parsed queryable form of SecurityConfig proto message.

func Parse

func Parse(blob []byte) (*SecurityConfig, error)

Parse parses serialized SecurityConfig proto message.

func (*SecurityConfig) IsInternalService

func (cfg *SecurityConfig) IsInternalService(hostname string) bool

IsInternalService returns true if the given hostname belongs to a service that is a part of the current LUCI deployment.

Jump to

Keyboard shortcuts

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