vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2018-03-19 15:51:38 +00:00
parent 940df88eb2
commit d64789528d
4309 changed files with 1327278 additions and 1001118 deletions

View file

@ -388,7 +388,7 @@ func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) (req *reques
// AWS CodePipeline. Because billing is on a per-build basis, you will be billed
// for both builds. Therefore, if you are using AWS CodePipeline, we recommend
// that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear
// the Webhook box. For more information, see step 9 in Change a Build Projects
// the Webhook box. For more information, see step 9 in Change a Build Project's
// Settings (http://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@ -1247,7 +1247,6 @@ func (c *CodeBuild) UpdateProjectWithContext(ctx aws.Context, input *UpdateProje
return out, req.Send()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsInput
type BatchDeleteBuildsInput struct {
_ struct{} `type:"structure"`
@ -1289,7 +1288,6 @@ func (s *BatchDeleteBuildsInput) SetIds(v []*string) *BatchDeleteBuildsInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsOutput
type BatchDeleteBuildsOutput struct {
_ struct{} `type:"structure"`
@ -1322,7 +1320,6 @@ func (s *BatchDeleteBuildsOutput) SetBuildsNotDeleted(v []*BuildNotDeleted) *Bat
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsInput
type BatchGetBuildsInput struct {
_ struct{} `type:"structure"`
@ -1364,7 +1361,6 @@ func (s *BatchGetBuildsInput) SetIds(v []*string) *BatchGetBuildsInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsOutput
type BatchGetBuildsOutput struct {
_ struct{} `type:"structure"`
@ -1397,7 +1393,6 @@ func (s *BatchGetBuildsOutput) SetBuildsNotFound(v []*string) *BatchGetBuildsOut
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsInput
type BatchGetProjectsInput struct {
_ struct{} `type:"structure"`
@ -1439,7 +1434,6 @@ func (s *BatchGetProjectsInput) SetNames(v []*string) *BatchGetProjectsInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsOutput
type BatchGetProjectsOutput struct {
_ struct{} `type:"structure"`
@ -1473,7 +1467,6 @@ func (s *BatchGetProjectsOutput) SetProjectsNotFound(v []*string) *BatchGetProje
}
// Information about a build.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build
type Build struct {
_ struct{} `type:"structure"`
@ -1686,7 +1679,6 @@ func (s *Build) SetVpcConfig(v *VpcConfig) *Build {
}
// Information about build output artifacts.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts
type BuildArtifacts struct {
_ struct{} `type:"structure"`
@ -1741,7 +1733,6 @@ func (s *BuildArtifacts) SetSha256sum(v string) *BuildArtifacts {
}
// Information about a build that could not be successfully deleted.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildNotDeleted
type BuildNotDeleted struct {
_ struct{} `type:"structure"`
@ -1775,7 +1766,6 @@ func (s *BuildNotDeleted) SetStatusCode(v string) *BuildNotDeleted {
}
// Information about a stage for a build.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildPhase
type BuildPhase struct {
_ struct{} `type:"structure"`
@ -1879,7 +1869,6 @@ func (s *BuildPhase) SetStartTime(v time.Time) *BuildPhase {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput
type CreateProjectInput struct {
_ struct{} `type:"structure"`
@ -2092,7 +2081,6 @@ func (s *CreateProjectInput) SetVpcConfig(v *VpcConfig) *CreateProjectInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectOutput
type CreateProjectOutput struct {
_ struct{} `type:"structure"`
@ -2116,7 +2104,6 @@ func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput
type CreateWebhookInput struct {
_ struct{} `type:"structure"`
@ -2158,7 +2145,6 @@ func (s *CreateWebhookInput) SetProjectName(v string) *CreateWebhookInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput
type CreateWebhookOutput struct {
_ struct{} `type:"structure"`
@ -2183,7 +2169,6 @@ func (s *CreateWebhookOutput) SetWebhook(v *Webhook) *CreateWebhookOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectInput
type DeleteProjectInput struct {
_ struct{} `type:"structure"`
@ -2225,7 +2210,6 @@ func (s *DeleteProjectInput) SetName(v string) *DeleteProjectInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectOutput
type DeleteProjectOutput struct {
_ struct{} `type:"structure"`
}
@ -2240,7 +2224,6 @@ func (s DeleteProjectOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput
type DeleteWebhookInput struct {
_ struct{} `type:"structure"`
@ -2282,7 +2265,6 @@ func (s *DeleteWebhookInput) SetProjectName(v string) *DeleteWebhookInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookOutput
type DeleteWebhookOutput struct {
_ struct{} `type:"structure"`
}
@ -2298,7 +2280,6 @@ func (s DeleteWebhookOutput) GoString() string {
}
// Information about a Docker image that is managed by AWS CodeBuild.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentImage
type EnvironmentImage struct {
_ struct{} `type:"structure"`
@ -2342,7 +2323,6 @@ func (s *EnvironmentImage) SetVersions(v []*string) *EnvironmentImage {
// A set of Docker images that are related by programming language and are managed
// by AWS CodeBuild.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentLanguage
type EnvironmentLanguage struct {
_ struct{} `type:"structure"`
@ -2377,7 +2357,6 @@ func (s *EnvironmentLanguage) SetLanguage(v string) *EnvironmentLanguage {
// A set of Docker images that are related by platform and are managed by AWS
// CodeBuild.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentPlatform
type EnvironmentPlatform struct {
_ struct{} `type:"structure"`
@ -2411,7 +2390,6 @@ func (s *EnvironmentPlatform) SetPlatform(v string) *EnvironmentPlatform {
}
// Information about an environment variable for a build project or a build.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable
type EnvironmentVariable struct {
_ struct{} `type:"structure"`
@ -2486,7 +2464,6 @@ func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput
type InvalidateProjectCacheInput struct {
_ struct{} `type:"structure"`
@ -2528,7 +2505,6 @@ func (s *InvalidateProjectCacheInput) SetProjectName(v string) *InvalidateProjec
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheOutput
type InvalidateProjectCacheOutput struct {
_ struct{} `type:"structure"`
}
@ -2543,7 +2519,6 @@ func (s InvalidateProjectCacheOutput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectInput
type ListBuildsForProjectInput struct {
_ struct{} `type:"structure"`
@ -2612,7 +2587,6 @@ func (s *ListBuildsForProjectInput) SetSortOrder(v string) *ListBuildsForProject
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectOutput
type ListBuildsForProjectOutput struct {
_ struct{} `type:"structure"`
@ -2649,7 +2623,6 @@ func (s *ListBuildsForProjectOutput) SetNextToken(v string) *ListBuildsForProjec
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsInput
type ListBuildsInput struct {
_ struct{} `type:"structure"`
@ -2691,7 +2664,6 @@ func (s *ListBuildsInput) SetSortOrder(v string) *ListBuildsInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsOutput
type ListBuildsOutput struct {
_ struct{} `type:"structure"`
@ -2727,7 +2699,6 @@ func (s *ListBuildsOutput) SetNextToken(v string) *ListBuildsOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesInput
type ListCuratedEnvironmentImagesInput struct {
_ struct{} `type:"structure"`
}
@ -2742,7 +2713,6 @@ func (s ListCuratedEnvironmentImagesInput) GoString() string {
return s.String()
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput
type ListCuratedEnvironmentImagesOutput struct {
_ struct{} `type:"structure"`
@ -2767,7 +2737,6 @@ func (s *ListCuratedEnvironmentImagesOutput) SetPlatforms(v []*EnvironmentPlatfo
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsInput
type ListProjectsInput struct {
_ struct{} `type:"structure"`
@ -2844,7 +2813,6 @@ func (s *ListProjectsInput) SetSortOrder(v string) *ListProjectsInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsOutput
type ListProjectsOutput struct {
_ struct{} `type:"structure"`
@ -2882,7 +2850,6 @@ func (s *ListProjectsOutput) SetProjects(v []*string) *ListProjectsOutput {
}
// Information about build logs in Amazon CloudWatch Logs.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/LogsLocation
type LogsLocation struct {
_ struct{} `type:"structure"`
@ -2925,7 +2892,6 @@ func (s *LogsLocation) SetStreamName(v string) *LogsLocation {
}
// Describes a network interface.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/NetworkInterface
type NetworkInterface struct {
_ struct{} `type:"structure"`
@ -2960,7 +2926,6 @@ func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface {
// Additional information about a build phase that has an error. You can use
// this information to help troubleshoot a failed build.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PhaseContext
type PhaseContext struct {
_ struct{} `type:"structure"`
@ -2995,7 +2960,6 @@ func (s *PhaseContext) SetStatusCode(v string) *PhaseContext {
}
// Information about a build project.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project
type Project struct {
_ struct{} `type:"structure"`
@ -3168,7 +3132,6 @@ func (s *Project) SetWebhook(v *Webhook) *Project {
}
// Information about the build output artifacts for the build project.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts
type ProjectArtifacts struct {
_ struct{} `type:"structure"`
@ -3333,7 +3296,6 @@ func (s *ProjectArtifacts) SetType(v string) *ProjectArtifacts {
}
// Information about the build badge for the build project.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge
type ProjectBadge struct {
_ struct{} `type:"structure"`
@ -3369,7 +3331,6 @@ func (s *ProjectBadge) SetBadgeRequestUrl(v string) *ProjectBadge {
}
// Information about the cache for the build project.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectCache
type ProjectCache struct {
_ struct{} `type:"structure"`
@ -3426,10 +3387,12 @@ func (s *ProjectCache) SetType(v string) *ProjectCache {
}
// Information about the build environment of the build project.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment
type ProjectEnvironment struct {
_ struct{} `type:"structure"`
// The certificate to use with this build project.
Certificate *string `locationName:"certificate" type:"string"`
// Information about the compute resources the build project will use. Available
// values include:
//
@ -3516,6 +3479,12 @@ func (s *ProjectEnvironment) Validate() error {
return nil
}
// SetCertificate sets the Certificate field's value.
func (s *ProjectEnvironment) SetCertificate(v string) *ProjectEnvironment {
s.Certificate = &v
return s
}
// SetComputeType sets the ComputeType field's value.
func (s *ProjectEnvironment) SetComputeType(v string) *ProjectEnvironment {
s.ComputeType = &v
@ -3547,7 +3516,6 @@ func (s *ProjectEnvironment) SetType(v string) *ProjectEnvironment {
}
// Information about the build input source code for the build project.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource
type ProjectSource struct {
_ struct{} `type:"structure"`
@ -3565,6 +3533,13 @@ type ProjectSource struct {
// the source code to be built.
Buildspec *string `locationName:"buildspec" type:"string"`
// Information about the git clone depth for the build project.
GitCloneDepth *int64 `locationName:"gitCloneDepth" type:"integer"`
// Enable this flag to ignore SSL warnings while connecting to the project source
// code.
InsecureSsl *bool `locationName:"insecureSsl" type:"boolean"`
// Information about the location of the source code to be built. Valid values
// include:
//
@ -3665,6 +3640,18 @@ func (s *ProjectSource) SetBuildspec(v string) *ProjectSource {
return s
}
// SetGitCloneDepth sets the GitCloneDepth field's value.
func (s *ProjectSource) SetGitCloneDepth(v int64) *ProjectSource {
s.GitCloneDepth = &v
return s
}
// SetInsecureSsl sets the InsecureSsl field's value.
func (s *ProjectSource) SetInsecureSsl(v bool) *ProjectSource {
s.InsecureSsl = &v
return s
}
// SetLocation sets the Location field's value.
func (s *ProjectSource) SetLocation(v string) *ProjectSource {
s.Location = &v
@ -3683,7 +3670,6 @@ func (s *ProjectSource) SetType(v string) *ProjectSource {
// This information is for the AWS CodeBuild console's use only. Your code should
// not get or set this information directly (unless the build project's source
// type value is BITBUCKET or GITHUB).
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SourceAuth
type SourceAuth struct {
_ struct{} `type:"structure"`
@ -3732,7 +3718,6 @@ func (s *SourceAuth) SetType(v string) *SourceAuth {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput
type StartBuildInput struct {
_ struct{} `type:"structure"`
@ -3748,6 +3733,10 @@ type StartBuildInput struct {
// ones already defined in the build project.
EnvironmentVariablesOverride []*EnvironmentVariable `locationName:"environmentVariablesOverride" type:"list"`
// The user-defined depth of history, with a minimum value of 0, that overrides,
// for this build only, any previous depth of history defined in the build project.
GitCloneDepthOverride *int64 `locationName:"gitCloneDepthOverride" type:"integer"`
// The name of the build project to start running a build.
//
// ProjectName is a required field
@ -3841,6 +3830,12 @@ func (s *StartBuildInput) SetEnvironmentVariablesOverride(v []*EnvironmentVariab
return s
}
// SetGitCloneDepthOverride sets the GitCloneDepthOverride field's value.
func (s *StartBuildInput) SetGitCloneDepthOverride(v int64) *StartBuildInput {
s.GitCloneDepthOverride = &v
return s
}
// SetProjectName sets the ProjectName field's value.
func (s *StartBuildInput) SetProjectName(v string) *StartBuildInput {
s.ProjectName = &v
@ -3859,7 +3854,6 @@ func (s *StartBuildInput) SetTimeoutInMinutesOverride(v int64) *StartBuildInput
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildOutput
type StartBuildOutput struct {
_ struct{} `type:"structure"`
@ -3883,7 +3877,6 @@ func (s *StartBuildOutput) SetBuild(v *Build) *StartBuildOutput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildInput
type StopBuildInput struct {
_ struct{} `type:"structure"`
@ -3925,7 +3918,6 @@ func (s *StopBuildInput) SetId(v string) *StopBuildInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildOutput
type StopBuildOutput struct {
_ struct{} `type:"structure"`
@ -3952,7 +3944,6 @@ func (s *StopBuildOutput) SetBuild(v *Build) *StopBuildOutput {
// A tag, consisting of a key and a value.
//
// This tag is available for use by AWS services that support tags in AWS CodeBuild.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Tag
type Tag struct {
_ struct{} `type:"structure"`
@ -4001,7 +3992,6 @@ func (s *Tag) SetValue(v string) *Tag {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput
type UpdateProjectInput struct {
_ struct{} `type:"structure"`
@ -4202,7 +4192,6 @@ func (s *UpdateProjectInput) SetVpcConfig(v *VpcConfig) *UpdateProjectInput {
return s
}
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectOutput
type UpdateProjectOutput struct {
_ struct{} `type:"structure"`
@ -4227,7 +4216,6 @@ func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput {
}
// Information about the VPC configuration that AWS CodeBuild will access.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/VpcConfig
type VpcConfig struct {
_ struct{} `type:"structure"`
@ -4284,10 +4272,17 @@ func (s *VpcConfig) SetVpcId(v string) *VpcConfig {
// Information about a webhook in GitHub that connects repository events to
// a build project in AWS CodeBuild.
// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook
type Webhook struct {
_ struct{} `type:"structure"`
// This is the server endpoint that will receive the webhook payload.
PayloadUrl *string `locationName:"payloadUrl" min:"1" type:"string"`
// Use this secret while creating a webhook in GitHub for Enterprise. The secret
// allows webhook requests sent by GitHub for Enterprise to be authenticated
// by AWS CodeBuild.
Secret *string `locationName:"secret" min:"1" type:"string"`
// The URL to the webhook.
Url *string `locationName:"url" min:"1" type:"string"`
}
@ -4302,6 +4297,18 @@ func (s Webhook) GoString() string {
return s.String()
}
// SetPayloadUrl sets the PayloadUrl field's value.
func (s *Webhook) SetPayloadUrl(v string) *Webhook {
s.PayloadUrl = &v
return s
}
// SetSecret sets the Secret field's value.
func (s *Webhook) SetSecret(v string) *Webhook {
s.Secret = &v
return s
}
// SetUrl sets the Url field's value.
func (s *Webhook) SetUrl(v string) *Webhook {
s.Url = &v
@ -4478,6 +4485,9 @@ const (
// SourceTypeBitbucket is a SourceType enum value
SourceTypeBitbucket = "BITBUCKET"
// SourceTypeGithubEnterprise is a SourceType enum value
SourceTypeGithubEnterprise = "GITHUB_ENTERPRISE"
)
const (