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
*
- 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 AddPermanentTelemetryProfileElement(entry *logupload.TelemetryElement, ...) ([]logupload.TelemetryElement, error)
- func AddTelemetryProfileEntryChangeHandler(w http.ResponseWriter, r *http.Request)
- func AddTelemetryProfileEntryHandler(w http.ResponseWriter, r *http.Request)
- func ApplyTelemetryElementChanges(change *core_change.Change, mergeResult *logupload.PermanentTelemetryProfile) *logupload.PermanentTelemetryProfile
- func ApplyUpdateChange(mergeResult *logupload.PermanentTelemetryProfile, change *core_change.Change) *logupload.PermanentTelemetryProfile
- func Approve(r *http.Request, id string) (*xwchange.ApprovedChange, error)
- func ApproveChangeHandler(w http.ResponseWriter, r *http.Request)
- func ApproveChanges(r *http.Request, changeIds *[]string) (map[string]string, error)
- func ApproveChangesHandler(w http.ResponseWriter, r *http.Request)
- func ApproveTelemetryTwoChange(r *http.Request, changeId string) (*xwchange.ApprovedTelemetryTwoChange, error)
- func ApproveTelemetryTwoChanges(r *http.Request, changeIds []string) map[string]string
- func ApproveTwoChangeHandler(w http.ResponseWriter, r *http.Request)
- func ApproveTwoChangesHandler(w http.ResponseWriter, r *http.Request)
- func ApprovedChangesGeneratePage(list []*xwchange.ApprovedChange, page int, pageSize int) (result []*xwchange.ApprovedChange)
- func CancelApprovedChangesByEntityId(r *http.Request, entityIdsToByCancelChanges []string, ...) error
- func CancelChange(r *http.Request, changeId string) error
- func CancelChangeHandler(w http.ResponseWriter, r *http.Request)
- func CancelTwoChangeHandler(w http.ResponseWriter, r *http.Request)
- func ChangesGeneratePage(list []*xwchange.Change, page int, pageSize int) (result []*xwchange.Change)
- func CreateApprovedChange(r *http.Request, change *xwchange.Change) (*xwchange.ApprovedChange, error)
- func CreatePermanentTelemetryProfile(r *http.Request, profile *logupload.PermanentTelemetryProfile) (*logupload.PermanentTelemetryProfile, error)
- func CreateTelemetryIds() *xwhttp.ResponseEntity
- func CreateTelemetryIdsHandler(w http.ResponseWriter, r *http.Request)
- func CreateTelemetryProfileChangeHandler(w http.ResponseWriter, r *http.Request)
- func CreateTelemetryProfileHandler(w http.ResponseWriter, r *http.Request)
- func CreateTelemetryTwoProfile(r *http.Request, newProfile *xwlogupload.TelemetryTwoProfile) (*xwlogupload.TelemetryTwoProfile, error)
- func CreateTelemetryTwoProfileChangeHandler(w http.ResponseWriter, r *http.Request)
- func CreateTelemetryTwoProfileHandler(w http.ResponseWriter, r *http.Request)
- func Delete(changeId string) (*xwchange.Change, error)
- func DeleteApprovedTelemetryTwoChange(changeId string) error
- func DeletePermanentTelemetryProfile(r *http.Request, id string) (*logupload.PermanentTelemetryProfile, error)
- func DeleteTelemetryProfileChangeHandler(w http.ResponseWriter, r *http.Request)
- func DeleteTelemetryProfileHandler(w http.ResponseWriter, r *http.Request)
- func DeleteTelemetryTwoChange(changeId string) error
- func DeleteTelemetryTwoProfile(r *http.Request, id string) error
- func DeleteTelemetryTwoProfileChangeHandler(w http.ResponseWriter, r *http.Request)
- func DeleteTelemetryTwoProfileHandler(w http.ResponseWriter, r *http.Request)
- func FindByContextForApprovedChanges(r *http.Request, searchContext map[string]string) []*xwchange.ApprovedChange
- func FindByContextForChanges(searchContext map[string]string) []*xwchange.Change
- func FindTelemetryElementById(id string, telemetryElements *[]logupload.TelemetryElement) *logupload.TelemetryElement
- func GeneratePageApprovedTelemetryTwoChanges(list []*xwchange.ApprovedTelemetryTwoChange, page int, pageSize int) (result []*xwchange.ApprovedTelemetryTwoChange)
- func GeneratePageTelemetryProfiles(list []*xwlogupload.PermanentTelemetryProfile, page int, pageSize int) (result []*xwlogupload.PermanentTelemetryProfile)
- func GeneratePageTelemetryTwoChanges(list []*xwchange.TelemetryTwoChange, page int, pageSize int) (result []*xwchange.TelemetryTwoChange)
- func GeneratePageTelemetryTwoProfiles(list []*xwlogupload.TelemetryTwoProfile, page int, pageSize int) (result []*xwlogupload.TelemetryTwoProfile)
- func GetApprovedAll(r *http.Request) ([]*xwchange.ApprovedChange, error)
- func GetApprovedFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetApprovedHandler(w http.ResponseWriter, r *http.Request)
- func GetApprovedTelemetryTwoChangesByContext(searchContext map[string]string) []*xwchange.ApprovedTelemetryTwoChange
- func GetApprovedTwoChangesFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetApprovedTwoChangesHandler(w http.ResponseWriter, r *http.Request)
- func GetChangedEntityIds() *[]string
- func GetChangedEntityIdsHandler(w http.ResponseWriter, r *http.Request)
- func GetChangesByEntityId(entityId string) []*xwchange.Change
- func GetChangesByEntityIds(changeIds *[]string) ([]*xwchange.Change, error)
- func GetChangesFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetGroupedApprovedChangesHandler(w http.ResponseWriter, r *http.Request)
- func GetGroupedApprovedTwoChangesHandler(w http.ResponseWriter, r *http.Request)
- func GetGroupedChangesHandler(w http.ResponseWriter, r *http.Request)
- func GetGroupedTwoChangesHandler(w http.ResponseWriter, r *http.Request)
- func GetProfileChangesHandler(w http.ResponseWriter, r *http.Request)
- func GetTelemetryProfileByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetTelemetryProfilesByContext(searchContext map[string]string) []*logupload.PermanentTelemetryProfile
- func GetTelemetryProfilesHandler(w http.ResponseWriter, r *http.Request)
- func GetTelemetryTwoChangeEntityIds() []string
- func GetTelemetryTwoChangesByContext(searchContext map[string]string) []*xwchange.TelemetryTwoChange
- func GetTelemetryTwoChangesByEntityId(entityId string) []*xwchange.TelemetryTwoChange
- func GetTelemetryTwoChangesByIds(changeIds []string) []*xwchange.TelemetryTwoChange
- func GetTelemetryTwoProfileByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetTelemetryTwoProfilePageHandler(w http.ResponseWriter, r *http.Request)
- func GetTelemetryTwoProfilesByContext(searchContext map[string]string) []*xwlogupload.TelemetryTwoProfile
- func GetTelemetryTwoProfilesByIdList(appType string, idList []string) []xwlogupload.TelemetryTwoProfile
- func GetTelemetryTwoProfilesHandler(w http.ResponseWriter, r *http.Request)
- func GetTwoChangeEntityIdsHandler(w http.ResponseWriter, r *http.Request)
- func GetTwoChangesFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetTwoProfileChangesHandler(w http.ResponseWriter, r *http.Request)
- func GroupApprovedChanges(changes []*xwchange.ApprovedChange) map[string][]*xwchange.ApprovedChange
- func GroupApprovedTelemetryTwoChanges(changes []*xwchange.ApprovedTelemetryTwoChange) map[string][]xwchange.ApprovedTelemetryTwoChange
- func GroupChanges(changes []*xwchange.Change) map[string][]*xwchange.Change
- func GroupTelemetryTwoChanges(changes []*xwchange.TelemetryTwoChange) map[string][]xwchange.TelemetryTwoChange
- func PostTelemetryProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostTelemetryProfileFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostTelemetryTwoProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostTelemetryTwoProfileFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostTelemetryTwoProfilesByIdListHandler(w http.ResponseWriter, r *http.Request)
- func PutTelemetryProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutTelemetryTwoProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func RemovePermanentTelemetryProfileElement(entryToRemove *logupload.TelemetryElement, ...) ([]logupload.TelemetryElement, error)
- func RemoveTelemetryElementsFromMergeResult(idsToRemove *[]string, mergeResult *logupload.PermanentTelemetryProfile)
- func RemoveTelemetryProfileEntryChangeHandler(w http.ResponseWriter, r *http.Request)
- func RemoveTelemetryProfileEntryHandler(w http.ResponseWriter, r *http.Request)
- func Revert(r *http.Request, approvedId string) error
- func RevertChangeHandler(w http.ResponseWriter, r *http.Request)
- func RevertChanges(r *http.Request, changeIds *[]string) (map[string]string, error)
- func RevertChangesHandler(w http.ResponseWriter, r *http.Request)
- func RevertTelemetryTwoChange(r *http.Request, approvedId string) *xwhttp.ResponseEntity
- func RevertTelemetryTwoChanges(r *http.Request, approvedIds []string) map[string]string
- func RevertTwoChangeHandler(w http.ResponseWriter, r *http.Request)
- func RevertTwoChangesHandler(w http.ResponseWriter, r *http.Request)
- func SavePermanentTelemetryProfile(r *http.Request, entity *logupload.PermanentTelemetryProfile) (*logupload.PermanentTelemetryProfile, error)
- func SaveToApprovedAndCleanUpChange(r *http.Request, change *xwchange.Change) (*xwchange.ApprovedChange, error)
- func SaveToApprovedApprovedTelemetryTwoChange(r *http.Request, change *xwchange.TelemetryTwoChange) (*xwchange.ApprovedTelemetryTwoChange, error)
- func TelemetryTwoTestPageFilterByContext(searchContext map[string]string) []*xwlogupload.TelemetryTwoRule
- func TelemetryTwoTestPageHandler(w http.ResponseWriter, r *http.Request)
- func UpdatePermanentTelemetryProfile(updatedProfile *logupload.PermanentTelemetryProfile) (*logupload.PermanentTelemetryProfile, error)
- func UpdateTelemetryProfileChangeHandler(w http.ResponseWriter, r *http.Request)
- func UpdateTelemetryProfileHandler(w http.ResponseWriter, r *http.Request)
- func UpdateTelemetryTwoProfile(r *http.Request, profile *xwlogupload.TelemetryTwoProfile) (*xwlogupload.TelemetryTwoProfile, error)
- func UpdateTelemetryTwoProfileChangeHandler(w http.ResponseWriter, r *http.Request)
- func UpdateTelemetryTwoProfileHandler(w http.ResponseWriter, r *http.Request)
- func ValidateTelemetryProfilePendingChanges(entity *logupload.PermanentTelemetryProfile) error
- func ValidateTelemetryTwoProfilePendingChanges(entity *xwlogupload.TelemetryTwoProfile) error
- func WriteCreateChange(r *http.Request, profile *logupload.PermanentTelemetryProfile) (*core_change.Change, error)
- func WriteCreateChangeTelemetryTwoProfile(r *http.Request, profile *xwlogupload.TelemetryTwoProfile) (*xwchange.TelemetryTwoChange, error)
- func WriteDeleteChange(r *http.Request, profileId string) (*core_change.Change, error)
- func WriteDeleteChangeTelemetryTwoProfile(r *http.Request, id string) (*xwchange.TelemetryTwoChange, error)
- func WriteUpdateChangeOrSave(r *http.Request, newProfile *logupload.PermanentTelemetryProfile) (*core_change.Change, error)
- func WriteUpdateChangeOrSaveTelemetryTwoProfile(r *http.Request, newProfile *xwlogupload.TelemetryTwoProfile) (*xwchange.TelemetryTwoChange, error)
Constants ¶
View Source
const ( PENDING_CHANGE_SIZE = "pendingChangesSize" APPROVED_CHANGE_SIZE = "approvedChangesSize" )
Variables ¶
This section is empty.
Functions ¶
func AddPermanentTelemetryProfileElement ¶
func AddPermanentTelemetryProfileElement(entry *logupload.TelemetryElement, telemetryEntries []logupload.TelemetryElement) ([]logupload.TelemetryElement, error)
func AddTelemetryProfileEntryChangeHandler ¶
func AddTelemetryProfileEntryChangeHandler(w http.ResponseWriter, r *http.Request)
func AddTelemetryProfileEntryHandler ¶
func AddTelemetryProfileEntryHandler(w http.ResponseWriter, r *http.Request)
func ApplyTelemetryElementChanges ¶
func ApplyTelemetryElementChanges(change *core_change.Change, mergeResult *logupload.PermanentTelemetryProfile) *logupload.PermanentTelemetryProfile
func ApplyUpdateChange ¶
func ApplyUpdateChange(mergeResult *logupload.PermanentTelemetryProfile, change *core_change.Change) *logupload.PermanentTelemetryProfile
func ApproveChangeHandler ¶
func ApproveChangeHandler(w http.ResponseWriter, r *http.Request)
func ApproveChanges ¶
func ApproveChangesHandler ¶
func ApproveChangesHandler(w http.ResponseWriter, r *http.Request)
func ApproveTwoChangeHandler ¶
func ApproveTwoChangeHandler(w http.ResponseWriter, r *http.Request)
func ApproveTwoChangesHandler ¶
func ApproveTwoChangesHandler(w http.ResponseWriter, r *http.Request)
func ApprovedChangesGeneratePage ¶
func ApprovedChangesGeneratePage(list []*xwchange.ApprovedChange, page int, pageSize int) (result []*xwchange.ApprovedChange)
func CancelChangeHandler ¶
func CancelChangeHandler(w http.ResponseWriter, r *http.Request)
func CancelTwoChangeHandler ¶
func CancelTwoChangeHandler(w http.ResponseWriter, r *http.Request)
func ChangesGeneratePage ¶
func CreateApprovedChange ¶
func CreatePermanentTelemetryProfile ¶
func CreatePermanentTelemetryProfile(r *http.Request, profile *logupload.PermanentTelemetryProfile) (*logupload.PermanentTelemetryProfile, error)
func CreateTelemetryIds ¶
func CreateTelemetryIds() *xwhttp.ResponseEntity
func CreateTelemetryIdsHandler ¶
func CreateTelemetryIdsHandler(w http.ResponseWriter, r *http.Request)
func CreateTelemetryProfileChangeHandler ¶
func CreateTelemetryProfileChangeHandler(w http.ResponseWriter, r *http.Request)
func CreateTelemetryProfileHandler ¶
func CreateTelemetryProfileHandler(w http.ResponseWriter, r *http.Request)
func CreateTelemetryTwoProfile ¶
func CreateTelemetryTwoProfile(r *http.Request, newProfile *xwlogupload.TelemetryTwoProfile) (*xwlogupload.TelemetryTwoProfile, error)
func CreateTelemetryTwoProfileChangeHandler ¶
func CreateTelemetryTwoProfileChangeHandler(w http.ResponseWriter, r *http.Request)
func CreateTelemetryTwoProfileHandler ¶
func CreateTelemetryTwoProfileHandler(w http.ResponseWriter, r *http.Request)
func DeleteTelemetryProfileChangeHandler ¶
func DeleteTelemetryProfileChangeHandler(w http.ResponseWriter, r *http.Request)
func DeleteTelemetryProfileHandler ¶
func DeleteTelemetryProfileHandler(w http.ResponseWriter, r *http.Request)
func DeleteTelemetryTwoProfileChangeHandler ¶
func DeleteTelemetryTwoProfileChangeHandler(w http.ResponseWriter, r *http.Request)
func DeleteTelemetryTwoProfileHandler ¶
func DeleteTelemetryTwoProfileHandler(w http.ResponseWriter, r *http.Request)
func FindByContextForChanges ¶
func FindTelemetryElementById ¶
func FindTelemetryElementById(id string, telemetryElements *[]logupload.TelemetryElement) *logupload.TelemetryElement
func GeneratePageApprovedTelemetryTwoChanges ¶
func GeneratePageApprovedTelemetryTwoChanges(list []*xwchange.ApprovedTelemetryTwoChange, page int, pageSize int) (result []*xwchange.ApprovedTelemetryTwoChange)
func GeneratePageTelemetryProfiles ¶
func GeneratePageTelemetryProfiles(list []*xwlogupload.PermanentTelemetryProfile, page int, pageSize int) (result []*xwlogupload.PermanentTelemetryProfile)
func GeneratePageTelemetryTwoChanges ¶
func GeneratePageTelemetryTwoChanges(list []*xwchange.TelemetryTwoChange, page int, pageSize int) (result []*xwchange.TelemetryTwoChange)
func GeneratePageTelemetryTwoProfiles ¶
func GeneratePageTelemetryTwoProfiles(list []*xwlogupload.TelemetryTwoProfile, page int, pageSize int) (result []*xwlogupload.TelemetryTwoProfile)
func GetApprovedAll ¶
func GetApprovedAll(r *http.Request) ([]*xwchange.ApprovedChange, error)
func GetApprovedFilteredHandler ¶
func GetApprovedFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetApprovedHandler ¶
func GetApprovedHandler(w http.ResponseWriter, r *http.Request)
func GetApprovedTelemetryTwoChangesByContext ¶
func GetApprovedTelemetryTwoChangesByContext(searchContext map[string]string) []*xwchange.ApprovedTelemetryTwoChange
func GetApprovedTwoChangesFilteredHandler ¶
func GetApprovedTwoChangesFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetApprovedTwoChangesHandler ¶
func GetApprovedTwoChangesHandler(w http.ResponseWriter, r *http.Request)
func GetChangedEntityIds ¶
func GetChangedEntityIds() *[]string
func GetChangedEntityIdsHandler ¶
func GetChangedEntityIdsHandler(w http.ResponseWriter, r *http.Request)
func GetChangesByEntityId ¶
func GetChangesByEntityIds ¶
func GetChangesFilteredHandler ¶
func GetChangesFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetGroupedApprovedChangesHandler ¶
func GetGroupedApprovedChangesHandler(w http.ResponseWriter, r *http.Request)
func GetGroupedApprovedTwoChangesHandler ¶
func GetGroupedApprovedTwoChangesHandler(w http.ResponseWriter, r *http.Request)
func GetGroupedChangesHandler ¶
func GetGroupedChangesHandler(w http.ResponseWriter, r *http.Request)
func GetGroupedTwoChangesHandler ¶
func GetGroupedTwoChangesHandler(w http.ResponseWriter, r *http.Request)
func GetProfileChangesHandler ¶
func GetProfileChangesHandler(w http.ResponseWriter, r *http.Request)
func GetTelemetryProfileByIdHandler ¶
func GetTelemetryProfileByIdHandler(w http.ResponseWriter, r *http.Request)
func GetTelemetryProfilesByContext ¶
func GetTelemetryProfilesByContext(searchContext map[string]string) []*logupload.PermanentTelemetryProfile
func GetTelemetryProfilesHandler ¶
func GetTelemetryProfilesHandler(w http.ResponseWriter, r *http.Request)
func GetTelemetryTwoChangeEntityIds ¶
func GetTelemetryTwoChangeEntityIds() []string
func GetTelemetryTwoChangesByContext ¶
func GetTelemetryTwoChangesByContext(searchContext map[string]string) []*xwchange.TelemetryTwoChange
func GetTelemetryTwoChangesByEntityId ¶
func GetTelemetryTwoChangesByEntityId(entityId string) []*xwchange.TelemetryTwoChange
func GetTelemetryTwoChangesByIds ¶
func GetTelemetryTwoChangesByIds(changeIds []string) []*xwchange.TelemetryTwoChange
func GetTelemetryTwoProfileByIdHandler ¶
func GetTelemetryTwoProfileByIdHandler(w http.ResponseWriter, r *http.Request)
func GetTelemetryTwoProfilePageHandler ¶
func GetTelemetryTwoProfilePageHandler(w http.ResponseWriter, r *http.Request)
TODO remove this function when we are sure that we don't need it anymore
func GetTelemetryTwoProfilesByContext ¶
func GetTelemetryTwoProfilesByContext(searchContext map[string]string) []*xwlogupload.TelemetryTwoProfile
func GetTelemetryTwoProfilesByIdList ¶
func GetTelemetryTwoProfilesByIdList(appType string, idList []string) []xwlogupload.TelemetryTwoProfile
func GetTelemetryTwoProfilesHandler ¶
func GetTelemetryTwoProfilesHandler(w http.ResponseWriter, r *http.Request)
func GetTwoChangeEntityIdsHandler ¶
func GetTwoChangeEntityIdsHandler(w http.ResponseWriter, r *http.Request)
func GetTwoChangesFilteredHandler ¶
func GetTwoChangesFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetTwoProfileChangesHandler ¶
func GetTwoProfileChangesHandler(w http.ResponseWriter, r *http.Request)
func GroupApprovedChanges ¶
func GroupApprovedChanges(changes []*xwchange.ApprovedChange) map[string][]*xwchange.ApprovedChange
func GroupApprovedTelemetryTwoChanges ¶
func GroupApprovedTelemetryTwoChanges(changes []*xwchange.ApprovedTelemetryTwoChange) map[string][]xwchange.ApprovedTelemetryTwoChange
func GroupTelemetryTwoChanges ¶
func GroupTelemetryTwoChanges(changes []*xwchange.TelemetryTwoChange) map[string][]xwchange.TelemetryTwoChange
func PostTelemetryProfileEntitiesHandler ¶
func PostTelemetryProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostTelemetryProfileFilteredHandler ¶
func PostTelemetryProfileFilteredHandler(w http.ResponseWriter, r *http.Request)
func PostTelemetryTwoProfileEntitiesHandler ¶
func PostTelemetryTwoProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostTelemetryTwoProfileFilteredHandler ¶
func PostTelemetryTwoProfileFilteredHandler(w http.ResponseWriter, r *http.Request)
func PostTelemetryTwoProfilesByIdListHandler ¶
func PostTelemetryTwoProfilesByIdListHandler(w http.ResponseWriter, r *http.Request)
func PutTelemetryProfileEntitiesHandler ¶
func PutTelemetryProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutTelemetryTwoProfileEntitiesHandler ¶
func PutTelemetryTwoProfileEntitiesHandler(w http.ResponseWriter, r *http.Request)
func RemovePermanentTelemetryProfileElement ¶
func RemovePermanentTelemetryProfileElement(entryToRemove *logupload.TelemetryElement, telemetryEntries []logupload.TelemetryElement) ([]logupload.TelemetryElement, error)
func RemoveTelemetryElementsFromMergeResult ¶
func RemoveTelemetryElementsFromMergeResult(idsToRemove *[]string, mergeResult *logupload.PermanentTelemetryProfile)
func RemoveTelemetryProfileEntryChangeHandler ¶
func RemoveTelemetryProfileEntryChangeHandler(w http.ResponseWriter, r *http.Request)
func RemoveTelemetryProfileEntryHandler ¶
func RemoveTelemetryProfileEntryHandler(w http.ResponseWriter, r *http.Request)
func RevertChangeHandler ¶
func RevertChangeHandler(w http.ResponseWriter, r *http.Request)
func RevertChanges ¶
func RevertChangesHandler ¶
func RevertChangesHandler(w http.ResponseWriter, r *http.Request)
func RevertTelemetryTwoChange ¶
func RevertTelemetryTwoChange(r *http.Request, approvedId string) *xwhttp.ResponseEntity
func RevertTwoChangeHandler ¶
func RevertTwoChangeHandler(w http.ResponseWriter, r *http.Request)
func RevertTwoChangesHandler ¶
func RevertTwoChangesHandler(w http.ResponseWriter, r *http.Request)
func SavePermanentTelemetryProfile ¶
func SavePermanentTelemetryProfile(r *http.Request, entity *logupload.PermanentTelemetryProfile) (*logupload.PermanentTelemetryProfile, error)
func SaveToApprovedApprovedTelemetryTwoChange ¶
func SaveToApprovedApprovedTelemetryTwoChange(r *http.Request, change *xwchange.TelemetryTwoChange) (*xwchange.ApprovedTelemetryTwoChange, error)
func TelemetryTwoTestPageFilterByContext ¶
func TelemetryTwoTestPageFilterByContext(searchContext map[string]string) []*xwlogupload.TelemetryTwoRule
func TelemetryTwoTestPageHandler ¶
func TelemetryTwoTestPageHandler(w http.ResponseWriter, r *http.Request)
func UpdatePermanentTelemetryProfile ¶
func UpdatePermanentTelemetryProfile(updatedProfile *logupload.PermanentTelemetryProfile) (*logupload.PermanentTelemetryProfile, error)
func UpdateTelemetryProfileChangeHandler ¶
func UpdateTelemetryProfileChangeHandler(w http.ResponseWriter, r *http.Request)
func UpdateTelemetryProfileHandler ¶
func UpdateTelemetryProfileHandler(w http.ResponseWriter, r *http.Request)
func UpdateTelemetryTwoProfile ¶
func UpdateTelemetryTwoProfile(r *http.Request, profile *xwlogupload.TelemetryTwoProfile) (*xwlogupload.TelemetryTwoProfile, error)
func UpdateTelemetryTwoProfileChangeHandler ¶
func UpdateTelemetryTwoProfileChangeHandler(w http.ResponseWriter, r *http.Request)
func UpdateTelemetryTwoProfileHandler ¶
func UpdateTelemetryTwoProfileHandler(w http.ResponseWriter, r *http.Request)
func ValidateTelemetryProfilePendingChanges ¶
func ValidateTelemetryProfilePendingChanges(entity *logupload.PermanentTelemetryProfile) error
func ValidateTelemetryTwoProfilePendingChanges ¶
func ValidateTelemetryTwoProfilePendingChanges(entity *xwlogupload.TelemetryTwoProfile) error
func WriteCreateChange ¶
func WriteCreateChange(r *http.Request, profile *logupload.PermanentTelemetryProfile) (*core_change.Change, error)
func WriteCreateChangeTelemetryTwoProfile ¶
func WriteCreateChangeTelemetryTwoProfile(r *http.Request, profile *xwlogupload.TelemetryTwoProfile) (*xwchange.TelemetryTwoChange, error)
func WriteDeleteChange ¶
func WriteUpdateChangeOrSave ¶
func WriteUpdateChangeOrSave(r *http.Request, newProfile *logupload.PermanentTelemetryProfile) (*core_change.Change, error)
func WriteUpdateChangeOrSaveTelemetryTwoProfile ¶
func WriteUpdateChangeOrSaveTelemetryTwoProfile(r *http.Request, newProfile *xwlogupload.TelemetryTwoProfile) (*xwchange.TelemetryTwoChange, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.