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
Index ¶
- Constants
- func Create(entity *xwlogupload.SettingProfiles, applicationType string) error
- func CreateSettingProfileHandler(w http.ResponseWriter, r *http.Request)
- func CreateSettingProfilesPackageHandler(w http.ResponseWriter, r *http.Request)
- func CreateSettingRule(r *http.Request, entity *logupload.SettingRule) error
- func CreateSettingRuleHandler(w http.ResponseWriter, r *http.Request)
- func CreateSettingRulesPackageHandler(w http.ResponseWriter, r *http.Request)
- func Delete(id string, writeApplication string) (*xwlogupload.SettingProfiles, error)
- func DeleteOneSettingProfilesHandler(w http.ResponseWriter, r *http.Request)
- func DeleteOneSettingRulesHandler(w http.ResponseWriter, r *http.Request)
- func DeleteSettingProfile(id string)
- func DeleteSettingRule(id string, writeApplication string) (*logupload.SettingRule, error)
- func DeleteSettingRuleOne(id string)
- func FindByContext(searchContext map[string]string) []*xwlogupload.SettingProfiles
- func FindByContextSettingRule(r *http.Request, searchContext map[string]string) []*logupload.SettingRule
- func GetAll() []*xwlogupload.SettingProfiles
- func GetAllSettingProfilesWithPage(w http.ResponseWriter, r *http.Request)
- func GetAllSettingRules() []*logupload.SettingRule
- func GetOne(id string) (*xwlogupload.SettingProfiles, error)
- func GetOneSettingRule(id string) (*logupload.SettingRule, error)
- func GetSettingProfileList() []*xwlogupload.SettingProfiles
- func GetSettingProfileOneExport(w http.ResponseWriter, r *http.Request)
- func GetSettingProfilesAllExport(w http.ResponseWriter, r *http.Request)
- func GetSettingProfilesFilteredWithPage(w http.ResponseWriter, r *http.Request)
- func GetSettingRule(id string) *logupload.SettingRule
- func GetSettingRuleOneExport(w http.ResponseWriter, r *http.Request)
- func GetSettingRulesAllExport(w http.ResponseWriter, r *http.Request)
- func GetSettingRulesFilteredWithPage(w http.ResponseWriter, r *http.Request)
- func GetSettingRulesList() []*logupload.SettingRule
- func GetSettingRulesWithConfig(settingTypes []string, context map[string]string) map[string][]*logupload.SettingRule
- func SetSettingProfile(id string, settingProfile *xwlogupload.SettingProfiles) error
- func SetSettingRule(id string, settingProfile *logupload.SettingRule) error
- func SettingProfilesGeneratePage(list []*xwlogupload.SettingProfiles, page int, pageSize int) (result []*xwlogupload.SettingProfiles)
- func SettingRulesGeneratePage(list []*logupload.SettingRule, page int, pageSize int) (result []*logupload.SettingRule)
- func SettingTestPageHandler(w http.ResponseWriter, r *http.Request)
- func Update(entity *xwlogupload.SettingProfiles, applicationType string) error
- func UpdateSettingProfilesHandler(w http.ResponseWriter, r *http.Request)
- func UpdateSettingProfilesPackageHandler(w http.ResponseWriter, r *http.Request)
- func UpdateSettingRule(r *http.Request, entity *logupload.SettingRule) error
- func UpdateSettingRulesHandler(w http.ResponseWriter, r *http.Request)
- func UpdateSettingRulesPackageHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ( NumberOfItems = "numberOfItems" PageNumber = "pageNumber" PageSize = "pageSize" )
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(entity *xwlogupload.SettingProfiles, applicationType string) error
func CreateSettingProfileHandler ¶
func CreateSettingProfileHandler(w http.ResponseWriter, r *http.Request)
func CreateSettingProfilesPackageHandler ¶
func CreateSettingProfilesPackageHandler(w http.ResponseWriter, r *http.Request)
func CreateSettingRule ¶
func CreateSettingRule(r *http.Request, entity *logupload.SettingRule) error
func CreateSettingRuleHandler ¶
func CreateSettingRuleHandler(w http.ResponseWriter, r *http.Request)
func CreateSettingRulesPackageHandler ¶
func CreateSettingRulesPackageHandler(w http.ResponseWriter, r *http.Request)
func Delete ¶
func Delete(id string, writeApplication string) (*xwlogupload.SettingProfiles, error)
func DeleteOneSettingProfilesHandler ¶
func DeleteOneSettingProfilesHandler(w http.ResponseWriter, r *http.Request)
func DeleteOneSettingRulesHandler ¶
func DeleteOneSettingRulesHandler(w http.ResponseWriter, r *http.Request)
func DeleteSettingProfile ¶
func DeleteSettingProfile(id string)
func DeleteSettingRule ¶
func DeleteSettingRule(id string, writeApplication string) (*logupload.SettingRule, error)
func DeleteSettingRuleOne ¶
func DeleteSettingRuleOne(id string)
func FindByContext ¶
func FindByContext(searchContext map[string]string) []*xwlogupload.SettingProfiles
func GetAll ¶
func GetAll() []*xwlogupload.SettingProfiles
func GetAllSettingProfilesWithPage ¶
func GetAllSettingProfilesWithPage(w http.ResponseWriter, r *http.Request)
TODO remove this function when we are sure that we don't need it anymore
func GetAllSettingRules ¶
func GetAllSettingRules() []*logupload.SettingRule
func GetOne ¶
func GetOne(id string) (*xwlogupload.SettingProfiles, error)
func GetOneSettingRule ¶
func GetOneSettingRule(id string) (*logupload.SettingRule, error)
func GetSettingProfileList ¶
func GetSettingProfileList() []*xwlogupload.SettingProfiles
func GetSettingProfileOneExport ¶
func GetSettingProfileOneExport(w http.ResponseWriter, r *http.Request)
func GetSettingProfilesAllExport ¶
func GetSettingProfilesAllExport(w http.ResponseWriter, r *http.Request)
func GetSettingProfilesFilteredWithPage ¶
func GetSettingProfilesFilteredWithPage(w http.ResponseWriter, r *http.Request)
func GetSettingRule ¶
func GetSettingRule(id string) *logupload.SettingRule
func GetSettingRuleOneExport ¶
func GetSettingRuleOneExport(w http.ResponseWriter, r *http.Request)
func GetSettingRulesAllExport ¶
func GetSettingRulesAllExport(w http.ResponseWriter, r *http.Request)
func GetSettingRulesFilteredWithPage ¶
func GetSettingRulesFilteredWithPage(w http.ResponseWriter, r *http.Request)
func GetSettingRulesList ¶
func GetSettingRulesList() []*logupload.SettingRule
func SetSettingProfile ¶
func SetSettingProfile(id string, settingProfile *xwlogupload.SettingProfiles) error
func SetSettingRule ¶
func SetSettingRule(id string, settingProfile *logupload.SettingRule) error
func SettingProfilesGeneratePage ¶
func SettingProfilesGeneratePage(list []*xwlogupload.SettingProfiles, page int, pageSize int) (result []*xwlogupload.SettingProfiles)
func SettingRulesGeneratePage ¶
func SettingRulesGeneratePage(list []*logupload.SettingRule, page int, pageSize int) (result []*logupload.SettingRule)
func SettingTestPageHandler ¶
func SettingTestPageHandler(w http.ResponseWriter, r *http.Request)
func Update ¶
func Update(entity *xwlogupload.SettingProfiles, applicationType string) error
func UpdateSettingProfilesHandler ¶
func UpdateSettingProfilesHandler(w http.ResponseWriter, r *http.Request)
func UpdateSettingProfilesPackageHandler ¶
func UpdateSettingProfilesPackageHandler(w http.ResponseWriter, r *http.Request)
func UpdateSettingRule ¶
func UpdateSettingRule(r *http.Request, entity *logupload.SettingRule) error
func UpdateSettingRulesHandler ¶
func UpdateSettingRulesHandler(w http.ResponseWriter, r *http.Request)
func UpdateSettingRulesPackageHandler ¶
func UpdateSettingRulesPackageHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.