policy

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	*pgs.ModuleBase
	// contains filtered or unexported fields
}

Module generates the policy mapping calls according to the proto file annotations.

func Policy

func Policy() *Module

Policy returns an initialized policy.Module

func (*Module) Execute

func (m *Module) Execute(targets map[string]pgs.File, pkgs map[string]pgs.Package) []pgs.Artifact

Execute satisfies the pgs.Module interface

func (*Module) InitContext

func (m *Module) InitContext(c pgs.BuildContext)

func (*Module) Name

func (m *Module) Name() string

Name satisfies the pgs.Module interface

Jump to

Keyboard shortcuts

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