Documentation
¶
Overview ¶
*
- Copyright 2025 Comcast Cable Communications Management, LLC *
- 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. *
- SPDX-License-Identifier: Apache-2.0
*
- Copyright 2025 Comcast Cable Communications Management, LLC *
- 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. *
- SPDX-License-Identifier: Apache-2.0
*
- Copyright 2025 Comcast Cable Communications Management, LLC *
- 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. *
- SPDX-License-Identifier: Apache-2.0
*
- Copyright 2025 Comcast Cable Communications Management, LLC *
- 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. *
- SPDX-License-Identifier: Apache-2.0
*
- Copyright 2025 Comcast Cable Communications Management, LLC *
- 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. *
- SPDX-License-Identifier: Apache-2.0
*
- Copyright 2025 Comcast Cable Communications Management, LLC *
- 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. *
- SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- func BindToTelemetry(w http.ResponseWriter, r *http.Request)
- func ConvertPermanentTelemetryProfiletoTelemetryProfile(permanentTelemetryProfile xwlogupload.PermanentTelemetryProfile) *xwlogupload.TelemetryProfile
- func Create(entity *xwlogupload.TelemetryTwoRule, writeApplication string) error
- func CreateRuleForAttribute(contextAttribute string, expectedValue string) *xwlogupload.TimestampedRule
- func CreateTelemetryEntryFor(w http.ResponseWriter, r *http.Request)
- func CreateTelemetryProfile(contextAttribute string, expectedValue string, ...) *xwlogupload.TimestampedRule
- func CreateTelemetryRule(tmrule *xwlogupload.TelemetryRule, app string) *xwhttp.ResponseEntity
- func CreateTelemetryRuleHandler(w http.ResponseWriter, r *http.Request)
- func CreateTelemetryTwoRuleHandler(w http.ResponseWriter, r *http.Request)
- func CreateTelemetryTwoRulesPackageHandler(w http.ResponseWriter, r *http.Request)
- func Delete(id string) (*xwlogupload.TelemetryTwoRule, error)
- func DeleteOneTelemetryRule(id string) error
- func DeleteOneTelemetryTwoRuleHandler(w http.ResponseWriter, r *http.Request)
- func DeleteTelemetryRulebyId(id string, app string) *xwhttp.ResponseEntity
- func DeleteTelemetryTwoRule(id string)
- func DeleteTelmetryRuleByIdHandler(w http.ResponseWriter, r *http.Request)
- func DropTelemetryEntryFor(w http.ResponseWriter, r *http.Request)
- func DropTelemetryFor(contextAttribute string, expectedValue string) []*xwlogupload.TelemetryProfile
- func GetAll() []*xwlogupload.TelemetryTwoRule
- func GetAvailableDescriptors(applicationType string) []*xwlogupload.PermanentTelemetryRuleDescriptor
- func GetAvailableProfileDescriptors(applicationType string) []*xwlogupload.TelemetryProfileDescriptor
- func GetDescriptors(w http.ResponseWriter, r *http.Request)
- func GetOne(id string) (*xwlogupload.TelemetryTwoRule, error)
- func GetTelemetryDescriptors(w http.ResponseWriter, r *http.Request)
- func GetTelemetryRuleByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetTelemetryRulesHandler(w http.ResponseWriter, r *http.Request)
- func GetTelemetryTwoRuleById(w http.ResponseWriter, r *http.Request)
- func GetTelemetryTwoRulesAllExport(w http.ResponseWriter, r *http.Request)
- func GetTelemetryTwoRulesFilteredWithPage(w http.ResponseWriter, r *http.Request)
- func PostTelemetryRuleFilteredWithParamsHandler(w http.ResponseWriter, r *http.Request)
- func PostTelemtryRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutTelemetryRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func TelemetryRuleFilterByContext(searchContext map[string]string) []*xwlogupload.TelemetryRule
- func TelemetryRuleGeneratePageWithContext(tmrules []*xwlogupload.TelemetryRule, contextMap map[string]string) (result []*xwlogupload.TelemetryRule, err error)
- func TelemetryTestPageHandler(w http.ResponseWriter, r *http.Request)
- func TelemetryTwoRulesGeneratePage(list []*xwlogupload.TelemetryTwoRule, page int, pageSize int) (result []*xwlogupload.TelemetryTwoRule)
- func TempAddToPermanentRule(w http.ResponseWriter, r *http.Request)
- func Update(entity *xwlogupload.TelemetryTwoRule, writeApplication string) error
- func UpdateTelemetryRule(tmrule *xwlogupload.TelemetryRule, app string) *xwhttp.ResponseEntity
- func UpdateTelemetryRuleHandler(w http.ResponseWriter, r *http.Request)
- func UpdateTelemetryTwoRuleHandler(w http.ResponseWriter, r *http.Request)
- func UpdateTelemetryTwoRulesPackageHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ( ContextAttributeName = "contextAttributeName" ExpectedValue = "expectedValue" RuleId = "ruleId" Expires = "expires" TelemetryId = "telemetryId" )
View Source
const ( NumberOfItems = "numberOfItems" PageNumber = "pageNumber" PageSize = "pageSize" )
Variables ¶
This section is empty.
Functions ¶
func BindToTelemetry ¶
func BindToTelemetry(w http.ResponseWriter, r *http.Request)
func ConvertPermanentTelemetryProfiletoTelemetryProfile ¶
func ConvertPermanentTelemetryProfiletoTelemetryProfile(permanentTelemetryProfile xwlogupload.PermanentTelemetryProfile) *xwlogupload.TelemetryProfile
func Create ¶
func Create(entity *xwlogupload.TelemetryTwoRule, writeApplication string) error
func CreateRuleForAttribute ¶
func CreateRuleForAttribute(contextAttribute string, expectedValue string) *xwlogupload.TimestampedRule
func CreateTelemetryEntryFor ¶
func CreateTelemetryEntryFor(w http.ResponseWriter, r *http.Request)
func CreateTelemetryProfile ¶
func CreateTelemetryProfile(contextAttribute string, expectedValue string, telemetry *xwlogupload.TelemetryProfile) *xwlogupload.TimestampedRule
func CreateTelemetryRule ¶
func CreateTelemetryRule(tmrule *xwlogupload.TelemetryRule, app string) *xwhttp.ResponseEntity
func CreateTelemetryRuleHandler ¶
func CreateTelemetryRuleHandler(w http.ResponseWriter, r *http.Request)
func CreateTelemetryTwoRuleHandler ¶
func CreateTelemetryTwoRuleHandler(w http.ResponseWriter, r *http.Request)
func CreateTelemetryTwoRulesPackageHandler ¶
func CreateTelemetryTwoRulesPackageHandler(w http.ResponseWriter, r *http.Request)
func Delete ¶
func Delete(id string) (*xwlogupload.TelemetryTwoRule, error)
func DeleteOneTelemetryRule ¶
func DeleteOneTelemetryTwoRuleHandler ¶
func DeleteOneTelemetryTwoRuleHandler(w http.ResponseWriter, r *http.Request)
func DeleteTelemetryRulebyId ¶
func DeleteTelemetryRulebyId(id string, app string) *xwhttp.ResponseEntity
func DeleteTelemetryTwoRule ¶
func DeleteTelemetryTwoRule(id string)
func DeleteTelmetryRuleByIdHandler ¶
func DeleteTelmetryRuleByIdHandler(w http.ResponseWriter, r *http.Request)
func DropTelemetryEntryFor ¶
func DropTelemetryEntryFor(w http.ResponseWriter, r *http.Request)
func DropTelemetryFor ¶
func DropTelemetryFor(contextAttribute string, expectedValue string) []*xwlogupload.TelemetryProfile
func GetAll ¶
func GetAll() []*xwlogupload.TelemetryTwoRule
func GetAvailableDescriptors ¶
func GetAvailableDescriptors(applicationType string) []*xwlogupload.PermanentTelemetryRuleDescriptor
func GetAvailableProfileDescriptors ¶
func GetAvailableProfileDescriptors(applicationType string) []*xwlogupload.TelemetryProfileDescriptor
func GetDescriptors ¶
func GetDescriptors(w http.ResponseWriter, r *http.Request)
func GetOne ¶
func GetOne(id string) (*xwlogupload.TelemetryTwoRule, error)
func GetTelemetryDescriptors ¶
func GetTelemetryDescriptors(w http.ResponseWriter, r *http.Request)
func GetTelemetryRuleByIdHandler ¶
func GetTelemetryRuleByIdHandler(w http.ResponseWriter, r *http.Request)
func GetTelemetryRulesHandler ¶
func GetTelemetryRulesHandler(w http.ResponseWriter, r *http.Request)
func GetTelemetryTwoRuleById ¶
func GetTelemetryTwoRuleById(w http.ResponseWriter, r *http.Request)
func GetTelemetryTwoRulesAllExport ¶
func GetTelemetryTwoRulesAllExport(w http.ResponseWriter, r *http.Request)
func GetTelemetryTwoRulesFilteredWithPage ¶
func GetTelemetryTwoRulesFilteredWithPage(w http.ResponseWriter, r *http.Request)
func PostTelemetryRuleFilteredWithParamsHandler ¶
func PostTelemetryRuleFilteredWithParamsHandler(w http.ResponseWriter, r *http.Request)
func PostTelemtryRuleEntitiesHandler ¶
func PostTelemtryRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutTelemetryRuleEntitiesHandler ¶
func PutTelemetryRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
func TelemetryRuleFilterByContext ¶
func TelemetryRuleFilterByContext(searchContext map[string]string) []*xwlogupload.TelemetryRule
func TelemetryRuleGeneratePageWithContext ¶
func TelemetryRuleGeneratePageWithContext(tmrules []*xwlogupload.TelemetryRule, contextMap map[string]string) (result []*xwlogupload.TelemetryRule, err error)
func TelemetryTestPageHandler ¶
func TelemetryTestPageHandler(w http.ResponseWriter, r *http.Request)
func TelemetryTwoRulesGeneratePage ¶
func TelemetryTwoRulesGeneratePage(list []*xwlogupload.TelemetryTwoRule, page int, pageSize int) (result []*xwlogupload.TelemetryTwoRule)
func TempAddToPermanentRule ¶
func TempAddToPermanentRule(w http.ResponseWriter, r *http.Request)
func Update ¶
func Update(entity *xwlogupload.TelemetryTwoRule, writeApplication string) error
func UpdateTelemetryRule ¶
func UpdateTelemetryRule(tmrule *xwlogupload.TelemetryRule, app string) *xwhttp.ResponseEntity
func UpdateTelemetryRuleHandler ¶
func UpdateTelemetryRuleHandler(w http.ResponseWriter, r *http.Request)
func UpdateTelemetryTwoRuleHandler ¶
func UpdateTelemetryTwoRuleHandler(w http.ResponseWriter, r *http.Request)
func UpdateTelemetryTwoRulesPackageHandler ¶
func UpdateTelemetryTwoRulesPackageHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.