1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-06 02:23:24 +00:00

vendor: update all dependencies

* Update all dependencies
  * Remove all `[[constraint]]` from Gopkg.toml
  * Add in the minimum number of `[[override]]` to build
  * Remove go get of github.com/inconshreveable/mousetrap as it is vendored
  * Update docs with new policy on constraints
This commit is contained in:
Nick Craig-Wood
2018-05-02 17:09:45 +01:00
parent 21383877df
commit 6427029c4e
4902 changed files with 1443417 additions and 227283 deletions

File diff suppressed because one or more lines are too long

View File

@@ -688,13 +688,13 @@ type ExecuteSqlRequest struct {
// of type `STRING` both appear in params as JSON strings.
//
// In these cases, `param_types` can be used to specify the exact
// SQL type for some or all of the SQL query parameters. See
// SQL type for some or all of the SQL statement parameters. See
// the
// definition of Type for more information
// about SQL types.
ParamTypes map[string]Type `json:"paramTypes,omitempty"`
// Params: The SQL query string can contain parameter placeholders. A
// Params: The SQL string can contain parameter placeholders. A
// parameter
// placeholder consists of `'@'` followed by the parameter
// name. Parameter names consist of any combination of letters,
@@ -705,7 +705,7 @@ type ExecuteSqlRequest struct {
// parameter name can be used more than once, for example:
// "WHERE id > @msg_id AND id < @msg_id + 100"
//
// It is an error to execute an SQL query with unbound
// It is an error to execute an SQL statement with unbound
// parameters.
//
// Parameter values are specified using `params`, which is a JSON
@@ -729,30 +729,29 @@ type ExecuteSqlRequest struct {
// be set to QueryMode.NORMAL.
//
// Possible values:
// "NORMAL" - The default mode where only the query result, without
// any information
// about the query plan is returned.
// "PLAN" - This mode returns only the query plan, without any result
// rows or
// "NORMAL" - The default mode. Only the statement results are
// returned.
// "PLAN" - This mode returns only the query plan, without any results
// or
// execution statistics information.
// "PROFILE" - This mode returns both the query plan and the execution
// statistics along
// with the result rows.
// with the results.
QueryMode string `json:"queryMode,omitempty"`
// ResumeToken: If this request is resuming a previously interrupted SQL
// query
// statement
// execution, `resume_token` should be copied from the
// last
// PartialResultSet yielded before the interruption. Doing this
// enables the new SQL query execution to resume where the last one
// enables the new SQL statement execution to resume where the last one
// left
// off. The rest of the request parameters must exactly match
// the
// request that yielded this token.
ResumeToken string `json:"resumeToken,omitempty"`
// Sql: Required. The SQL query string.
// Sql: Required. The SQL string.
Sql string `json:"sql,omitempty"`
// Transaction: The transaction to use. If none is provided, the default
@@ -1561,7 +1560,7 @@ type PartialResultSet struct {
// same session invalidates the token.
ResumeToken string `json:"resumeToken,omitempty"`
// Stats: Query plan and execution statistics for the query that
// Stats: Query plan and execution statistics for the statement that
// produced this
// streaming result set. These can be requested by
// setting
@@ -2365,9 +2364,9 @@ type ResultSet struct {
// here.
Rows [][]interface{} `json:"rows,omitempty"`
// Stats: Query plan and execution statistics for the query that
// produced this
// result set. These can be requested by
// Stats: Query plan and execution statistics for the SQL statement
// that
// produced this result set. These can be requested by
// setting
// ExecuteSqlRequest.query_mode.
Stats *ResultSetStats `json:"stats,omitempty"`
@@ -2944,6 +2943,7 @@ func (s *Transaction) MarshalJSON() ([]byte, error) {
// read at timestamps in the past. Snapshot read-only
// transactions do not need to be committed.
//
//
// For transactions that only read, snapshot read-only
// transactions
// provide simpler semantics and are almost always faster.
@@ -3209,7 +3209,10 @@ func (s *Transaction) MarshalJSON() ([]byte, error) {
// whose
// timestamp become too old while executing. Reads and SQL queries
// with
// too-old read timestamps fail with the error `FAILED_PRECONDITION`.
// too-old read timestamps fail with the error
// `FAILED_PRECONDITION`.
//
// ##
type TransactionOptions struct {
// ReadOnly: Transaction will not write.
//
@@ -3317,6 +3320,14 @@ type Type struct {
// "TIMESTAMP" - Encoded as `string` in RFC 3339 timestamp format. The
// time zone
// must be present, and must be "Z".
//
// If the schema has the column option
// `allow_commit_timestamp=true`, the placeholder
// string
// "spanner.commit_timestamp()" can be used to instruct the system
// to insert the commit timestamp associated with the
// transaction
// commit.
// "DATE" - Encoded as `string` in RFC 3339 date format.
// "STRING" - Encoded as `string`.
// "BYTES" - Encoded as a base64-encoded `string`, as described in RFC
@@ -7773,13 +7784,13 @@ type ProjectsInstancesDatabasesSessionsExecuteSqlCall struct {
header_ http.Header
}
// ExecuteSql: Executes an SQL query, returning all rows in a single
// reply. This
// ExecuteSql: Executes an SQL statement, returning all results in a
// single reply. This
// method cannot be used to return a result set larger than 10 MiB;
// if the query yields more data than that, the query fails with
// a `FAILED_PRECONDITION` error.
//
// Queries inside read-write transactions might return `ABORTED`.
// Operations inside read-write transactions might return `ABORTED`.
// If
// this occurs, the application should restart the transaction from
// the beginning. See Transaction for more details.
@@ -7880,7 +7891,7 @@ func (c *ProjectsInstancesDatabasesSessionsExecuteSqlCall) Do(opts ...googleapi.
}
return ret, nil
// {
// "description": "Executes an SQL query, returning all rows in a single reply. This\nmethod cannot be used to return a result set larger than 10 MiB;\nif the query yields more data than that, the query fails with\na `FAILED_PRECONDITION` error.\n\nQueries inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See Transaction for more details.\n\nLarger result sets can be fetched in streaming fashion by calling\nExecuteStreamingSql instead.",
// "description": "Executes an SQL statement, returning all results in a single reply. This\nmethod cannot be used to return a result set larger than 10 MiB;\nif the query yields more data than that, the query fails with\na `FAILED_PRECONDITION` error.\n\nOperations inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See Transaction for more details.\n\nLarger result sets can be fetched in streaming fashion by calling\nExecuteStreamingSql instead.",
// "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:executeSql",
// "httpMethod": "POST",
// "id": "spanner.projects.instances.databases.sessions.executeSql",