vtaclcheck

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(opts *Options) error

Init sets up the fake execution environment

func Run

func Run() error

Run the check on the given file

Types

type Options

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

Jump to

Keyboard shortcuts

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