1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-16 08:13:29 +00:00

vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974229 additions and 201215 deletions

View File

@@ -196,8 +196,8 @@ type AuditConfig struct {
}
func (s *AuditConfig) MarshalJSON() ([]byte, error) {
type noMethod AuditConfig
raw := noMethod(*s)
type NoMethod AuditConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -257,8 +257,8 @@ type AuditLogConfig struct {
}
func (s *AuditLogConfig) MarshalJSON() ([]byte, error) {
type noMethod AuditLogConfig
raw := noMethod(*s)
type NoMethod AuditLogConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -332,8 +332,8 @@ type Binding struct {
}
func (s *Binding) MarshalJSON() ([]byte, error) {
type noMethod Binding
raw := noMethod(*s)
type NoMethod Binding
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -404,8 +404,8 @@ type Expr struct {
}
func (s *Expr) MarshalJSON() ([]byte, error) {
type noMethod Expr
raw := noMethod(*s)
type NoMethod Expr
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -444,14 +444,14 @@ type ListReposResponse struct {
}
func (s *ListReposResponse) MarshalJSON() ([]byte, error) {
type noMethod ListReposResponse
raw := noMethod(*s)
type NoMethod ListReposResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// MirrorConfig: Configuration to automatically mirror a repository from
// another
// hosting service, for example GitHub or BitBucket.
// hosting service, for example GitHub or Bitbucket.
type MirrorConfig struct {
// DeployKeyId: ID of the SSH deploy key at the other hosting
// service.
@@ -464,7 +464,7 @@ type MirrorConfig struct {
// WebhookId: ID of the webhook listening to updates to trigger
// mirroring.
// Removing this webook from the other hosting service will stop
// Removing this webhook from the other hosting service will stop
// Google Cloud Source Repositories from receiving notifications,
// and thereby disabling mirroring.
WebhookId string `json:"webhookId,omitempty"`
@@ -487,8 +487,8 @@ type MirrorConfig struct {
}
func (s *MirrorConfig) MarshalJSON() ([]byte, error) {
type noMethod MirrorConfig
raw := noMethod(*s)
type NoMethod MirrorConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -584,8 +584,8 @@ type Policy struct {
}
func (s *Policy) MarshalJSON() ([]byte, error) {
type noMethod Policy
raw := noMethod(*s)
type NoMethod Policy
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -594,6 +594,7 @@ func (s *Policy) MarshalJSON() ([]byte, error) {
type Repo struct {
// MirrorConfig: How this repository mirrors a repository managed by
// another service.
// Read-only field.
MirrorConfig *MirrorConfig `json:"mirrorConfig,omitempty"`
// Name: Resource name of the repository, of the
@@ -603,12 +604,14 @@ type Repo struct {
// eg, `projects/myproject/repos/name/with/slash`
Name string `json:"name,omitempty"`
// Size: The disk usage of the repo, in bytes.
// Only returned by GetRepo.
// Size: The disk usage of the repo, in bytes. Read-only field. Size is
// only
// returned by GetRepo.
Size int64 `json:"size,omitempty,string"`
// Url: URL to clone the repository from Google Cloud Source
// Repositories.
// Read-only field.
Url string `json:"url,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -633,8 +636,8 @@ type Repo struct {
}
func (s *Repo) MarshalJSON() ([]byte, error) {
type noMethod Repo
raw := noMethod(*s)
type NoMethod Repo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -675,8 +678,8 @@ type SetIamPolicyRequest struct {
}
func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) {
type noMethod SetIamPolicyRequest
raw := noMethod(*s)
type NoMethod SetIamPolicyRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -710,8 +713,8 @@ type TestIamPermissionsRequest struct {
}
func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) {
type noMethod TestIamPermissionsRequest
raw := noMethod(*s)
type NoMethod TestIamPermissionsRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -745,8 +748,8 @@ type TestIamPermissionsResponse struct {
}
func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) {
type noMethod TestIamPermissionsResponse
raw := noMethod(*s)
type NoMethod TestIamPermissionsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -854,7 +857,7 @@ func (c *ProjectsReposCreateCall) Do(opts ...googleapi.CallOption) (*Repo, error
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -985,7 +988,7 @@ func (c *ProjectsReposDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, erro
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1127,7 +1130,7 @@ func (c *ProjectsReposGetCall) Do(opts ...googleapi.CallOption) (*Repo, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1272,7 +1275,7 @@ func (c *ProjectsReposGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Polic
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1433,7 +1436,7 @@ func (c *ProjectsReposListCall) Do(opts ...googleapi.CallOption) (*ListReposResp
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1602,7 +1605,7 @@ func (c *ProjectsReposSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Polic
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@@ -1744,7 +1747,7 @@ func (c *ProjectsReposTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil