Documentation
¶
Overview ¶
Package planview prints a plan for `kubectl ptah plan`.
Reading the plan is not this package's job: pkg/planread resolves it, reconstructs it and verifies it, and only a plan that held every check reaches Render.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Formats = []Format{Text, SQL, JSON}
Formats are the accepted values, in the order the help lists them.
Functions ¶
Types ¶
type Format ¶
type Format string
Format is how a reader asked to see a plan.
const ( // Text is the default: what the plan is, then each statement it holds // under a line that gives its severity and the reason Ptah gave. Text Format = "text" // SQL is the statements alone, for piping somewhere else. SQL Format = "sql" // JSON is the stored document, byte for byte. JSON Format = "json" )
Click to show internal directories.
Click to hide internal directories.