matchfunction

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 16

Documentation

Overview

Package matchfunction provides helper methods to simplify authoring a match fuction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryPool

func QueryPool(ctx context.Context, mml pb.MmLogicClient, pool *pb.Pool) ([]*pb.Ticket, error)

QueryPool queries mmlogic and returns the tickets that belong to the specified pool.

func QueryPools

func QueryPools(ctx context.Context, mml pb.MmLogicClient, pools []*pb.Pool) (map[string][]*pb.Ticket, error)

QueryPools queries mmlogic and returns the a map of pool names to the tickets belonging to those pools.

Types

This section is empty.

Jump to

Keyboard shortcuts

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