Documentation ¶
Overview ¶
Copyright (c) YugabyteDB, 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 ( CALL_HOME_SERVICE_HOST = "34.105.39.253" CALL_HOME_SERVICE_PORT = 80 )
Variables ¶
var ( Payload payload SendDiagnostics utils.BoolStr )
call-home json formats
Functions ¶
func GetPayload ¶
This getter method for payload: if json isn't already initialized, initialize it and fills mandatory fields in Payload struct
func PackAndSendPayload ¶
func PackAndSendPayload(exportdir string)
Send http request to flask servers after saving locally
func ReadEnvSendDiagnostics ¶
func ReadEnvSendDiagnostics()
[For development] Read ENV VARS for value of SendDiagnostics
func UpdateDataStats ¶
Find the largest and total data sizes, and upload to diagnostics json
Types ¶
This section is empty.