Documentation ¶
Overview ¶
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
const ( RESPONSE_STATUS_SUCCESS = "SUCCESS" RESPONSE_STATUS_FAIL = "FAIL" )
todo: the full set of states should probably be RECEIVED, READY, FAIL, SUCCESS
const ( API_ERR_BAD_BLOCK = iota + 1 API_ERR_INTERNAL API_ERR_BAD_CONFIG_ID API_ERR_NOT_FOUND )
const ( APIGEE_SYNC_EVENT = "ApigeeSync" CONFIG_METADATA_TABLE = "metadata.runtime_entity_metadata" )
const (
InitLSN = "0.0.0"
)
const (
TRACKER_ERR_BUNDLE_DOWNLOAD_TIMEOUT = iota + 1
)
Variables ¶
var ( ErrNoLSN = errors.New("No last sequence in DB") ErrInvalidLSN = errors.New(apidConfigIndexPar + " is invalid") )
Functions ¶
This section is empty.
Types ¶
type ApiConfigurationDetails ¶
type ApiConfigurationDetails struct { Self string `json:"self"` Name string `json:"name"` Type string `json:"type"` Revision string `json:"revision"` BeanBlobUrl string `json:"beanBlob"` Org string `json:"orgId"` Env string `json:"envId"` ResourceBlobUrl string `json:"resourceBlob"` Path string `json:"path"` Created string `json:"created"` Updated string `json:"updated"` }
type ApiConfigurationResponse ¶
type ApiConfigurationResponse struct { Kind string `json:"kind"` Self string `json:"self"` ApiConfigurationsResponse []ApiConfigurationDetails `json:"contents"` }
type BunchDownloadRequest ¶
type BunchDownloadRequest struct {
// contains filtered or unexported fields
}
type BundleDownloader ¶
type BundleDownloader struct {
// contains filtered or unexported fields
}
func (*BundleDownloader) Start ¶
func (w *BundleDownloader) Start()
type Configuration ¶
type DownloadRequest ¶
type DownloadRequest struct {
// contains filtered or unexported fields
}