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.

Source Files