go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/vtaclcheck Index | Files

package vtaclcheck

import "gopkg.in/src-d/go-vitess.v1/vt/vtaclcheck"

Package vtaclcheck analyzes a set of sql statements and returns the corresponding vtgate and vttablet query plans that will be executed on the given statements

Index

Package Files

vtaclcheck.go

func Init Uses

func Init(opts *Options) error

Init sets up the fake execution environment

func Run Uses

func Run() error

Run the check on the given file

type Options Uses

type Options struct {
    // AclFile is the file with the JSON acl configuration
    ACLFile string
    // StaticAuthFile is the file containing the mysql auth_server_static JSON
    StaticAuthFile string
}

Options to control the explain process

Package vtaclcheck imports 4 packages (graph). Updated 2019-06-13. Refresh now. Tools for package owners.