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-05 15:52:24 +01:00
parent 21383877df
commit 6427029c4e
4902 changed files with 1443412 additions and 227278 deletions
+38 -18
View File
@@ -1,4 +1,4 @@
// Package dataproc provides access to the Google Cloud Dataproc API.
// Package dataproc provides access to the Cloud Dataproc API.
//
// See https://cloud.google.com/dataproc/
//
@@ -180,8 +180,8 @@ type AcceleratorConfig struct {
// accelerator type resource to expose to this instance. See Compute
// Engine AcceleratorTypes(
// /compute/docs/reference/beta/acceleratorTypes)Examples *
// https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
// nvidia-tesla-k80
// https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example,
// nvidia-tesla-k80.
AcceleratorTypeUri string `json:"acceleratorTypeUri,omitempty"`
// ForceSendFields is a list of field names (e.g. "AcceleratorCount") to
@@ -218,8 +218,7 @@ type Binding struct {
// who is authenticated with a Google account or a service
// account.
// user:{emailid}: An email address that represents a specific Google
// account. For example, alice@gmail.com or
// joe@example.com.
// account. For example, alice@gmail.com .
// serviceAccount:{emailid}: An email address that represents a service
// account. For example,
// my-other-app@appspot.gserviceaccount.com.
@@ -784,7 +783,7 @@ type GceClusterConfig struct {
// ServiceAccount: Optional. The service account of the instances.
// Defaults to the default Compute Engine service account. Custom
// service accounts need permissions equivalent to the folloing IAM
// service accounts need permissions equivalent to the following IAM
// roles:
// roles/logging.logWriter
// roles/storage.objectAdmin(see
@@ -793,8 +792,8 @@ type GceClusterConfig struct {
ServiceAccount string `json:"serviceAccount,omitempty"`
// ServiceAccountScopes: Optional. The URIs of service account scopes to
// be included in Google Compute Engine instances. The following base
// set of scopes is always
// be included in Compute Engine instances. The following base set of
// scopes is always
// included:
// https://www.googleapis.com/auth/cloud.useraccounts.readonly
//
@@ -862,6 +861,10 @@ func (s *GceClusterConfig) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GetIamPolicyRequest: Request message for GetIamPolicy method.
type GetIamPolicyRequest struct {
}
// HadoopJob: A Cloud Dataproc job for running Apache Hadoop MapReduce
// (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop
// -mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop
@@ -1002,10 +1005,9 @@ type InstanceGroupConfig struct {
// cluster instances. Inferred from SoftwareConfig.image_version.
ImageUri string `json:"imageUri,omitempty"`
// InstanceNames: Optional. The list of instance names. Cloud Dataproc
// derives the names from cluster_name, num_instances, and the instance
// group if not set by user (recommended practice is to let Cloud
// Dataproc derive the name).
// InstanceNames: Output only. The list of instance names. Cloud
// Dataproc derives the names from cluster_name, num_instances, and the
// instance group.
InstanceNames []string `json:"instanceNames,omitempty"`
// IsPreemptible: Optional. Specifies that this instance group contains
@@ -1019,7 +1021,9 @@ type InstanceGroupConfig struct {
// zones/us-east1-a/machineTypes/n1-standard-2
// projects/[project_id]/zone
// s/us-east1-a/machineTypes/n1-standard-2
// n1-standard-2
// n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc
// Auto Zone Placement feature, you must use the short name of the
// machine type resource, for example, n1-standard-2.
MachineTypeUri string `json:"machineTypeUri,omitempty"`
// ManagedGroupConfig: Output only. The config for Compute Engine
@@ -1893,10 +1897,10 @@ func (s *PigJob) MarshalJSON() ([]byte, error) {
// Policy: Defines an Identity and Access Management (IAM) policy. It is
// used to specify access control policies for Cloud Platform
// resources.A Policy consists of a list of bindings. A Binding binds a
// resources.A Policy consists of a list of bindings. A binding binds a
// list of members to a role, where the members can be user accounts,
// Google groups, Google domains, and service accounts. A role is a
// named list of permissions defined by IAM.Example
// named list of permissions defined by IAM.JSON Example
// {
// "bindings": [
// {
@@ -1905,7 +1909,7 @@ func (s *PigJob) MarshalJSON() ([]byte, error) {
// "user:mike@example.com",
// "group:admins@example.com",
// "domain:google.com",
// "serviceAccount:my-other-app@appspot.gserviceaccount.com",
// "serviceAccount:my-other-app@appspot.gserviceaccount.com"
// ]
// },
// {
@@ -1914,6 +1918,17 @@ func (s *PigJob) MarshalJSON() ([]byte, error) {
// }
// ]
// }
// YAML Example
// bindings:
// - members:
// - user:mike@example.com
// - group:admins@example.com
// - domain:google.com
// - serviceAccount:my-other-app@appspot.gserviceaccount.com
// role: roles/owner
// - members:
// - user:sean@example.com
// role: roles/viewer
// For a description of IAM and its features, see the IAM developer's
// guide (https://cloud.google.com/iam/docs).
type Policy struct {
@@ -2101,8 +2116,9 @@ func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) {
// the cluster.
type SoftwareConfig struct {
// ImageVersion: Optional. The version of software inside the cluster.
// It must match the regular expression [0-9]+\.[0-9]+. If unspecified,
// it defaults to the latest version (see Cloud Dataproc Versioning).
// It must be one of the supported Cloud Dataproc Versions, such as
// "1.2" (including a subminor version, such as "1.2.29"), or the
// "preview" version. If unspecified, it defaults to the latest version.
ImageVersion string `json:"imageVersion,omitempty"`
// Properties: Optional. The properties to set on daemon config
@@ -2476,6 +2492,10 @@ type WorkflowMetadata struct {
// Graph: Output only. The workflow graph.
Graph *WorkflowGraph `json:"graph,omitempty"`
// Parameters: Map from parameter names to values that were used for
// those parameters.
Parameters map[string]string `json:"parameters,omitempty"`
// State: Output only. The workflow state.
//
// Possible values: