yast

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package yast implements policies YAML AST (YAST) parser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser is a YAST parser implementation.

func (Parser) Unmarshal

func (p Parser) Unmarshal(in io.Reader, tag *uuid.UUID) (*pdp.PolicyStorage, error)

Unmarshal parses policies YAML representation to PDP's internal representation.

func (Parser) UnmarshalUpdate

func (p Parser) UnmarshalUpdate(in io.Reader, s pdp.Symbols, oldTag, newTag uuid.UUID) (*pdp.PolicyUpdate, error)

UnmarshalUpdate parses policies update YAML representation to PDP's internal representation.

Jump to

Keyboard shortcuts

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