luci: Index | Files

package seccfg

import ""

Package seccfg interprets SecurityConfig proto message.


Package Files


type SecurityConfig Uses

type SecurityConfig struct {
    // contains filtered or unexported fields

SecurityConfig is parsed queryable form of SecurityConfig proto message.

func Parse Uses

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

Parse parses serialized SecurityConfig proto message.

func (*SecurityConfig) IsInternalService Uses

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.

Package seccfg imports 5 packages (graph) and is imported by 2 packages. Updated 2021-01-25. Refresh now. Tools for package owners.