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
*
- 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
*
- 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
*
- 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
*
- 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 AddDataIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
- func AddDataMacListHandler(w http.ResponseWriter, r *http.Request)
- func AddNamespacedListData(listType string, listId string, stringListWrapper *shared.StringListWrapper) *xwhttp.ResponseEntity
- func AddNewPrioritizableAndReorganizePriorities(newItem core.Prioritizable, itemsList []core.Prioritizable) []core.Prioritizable
- func AmvFilterByContext(searchContext map[string]string) []*firmware.ActivationVersion
- func AmvGeneratePage(list []*firmware.ActivationVersion, page int, pageSize int) (result []*firmware.ActivationVersion)
- func AmvGeneratePageWithContext(amvrules []*firmware.ActivationVersion, contextMap map[string]string) (result []*firmware.ActivationVersion, err error)
- func ChangeFeatureRulePriorities(featureRuleId string, newPriority int, applicationType string) ([]*rfc.FeatureRule, error)
- func ChangeFeatureRulePrioritiesHandler(w http.ResponseWriter, r *http.Request)
- func ChangePrioritizablePriorities(prioritizable core.Prioritizable, newPriority int, applicationType string) ([]core.Prioritizable, error)
- func CreateAmv(amv *firmware.ActivationVersion, app string) *xwhttp.ResponseEntity
- func CreateAmvHandler(w http.ResponseWriter, r *http.Request)
- func CreateEnvironment(environment *shared.Environment) *xwhttp.ResponseEntity
- func CreateEnvironmentHandler(w http.ResponseWriter, r *http.Request)
- func CreateFeatureRule(featureRule rfc.FeatureRule, applicationType string) (*rfc.FeatureRule, error)
- func CreateFeatureRuleHandler(w http.ResponseWriter, r *http.Request)
- func CreateFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
- func CreateFirmwareConfig(config *coreef.FirmwareConfig, appType string) *xwhttp.ResponseEntity
- func CreateFirmwareConfigAS(config *coreef.FirmwareConfig, appType string, validateName bool) *xwhttp.ResponseEntity
- func CreateFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
- func CreateFirmwareRuleTemplates()
- func CreateIpAddressGroup(ipAddressGroup *shared.IpAddressGroup) *xwhttp.ResponseEntity
- func CreateIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
- func CreateIpAddressGroupHandlerV2(w http.ResponseWriter, r *http.Request)
- func CreateLogFile(w http.ResponseWriter, r *http.Request)
- func CreateMacListHandlerV2(w http.ResponseWriter, r *http.Request)
- func CreateModel(model *shared.Model) *xwhttp.ResponseEntity
- func CreateModelHandler(w http.ResponseWriter, r *http.Request)
- func CreateNamespacedList(namespacedList *shared.GenericNamespacedList, updateIfExists bool) *xwhttp.ResponseEntity
- func CreateNamespacedListHandler(w http.ResponseWriter, r *http.Request)
- func CreatePercentageBean(bean *coreef.PercentageBean, applicationType string, fields log.Fields) *xwhttp.ResponseEntity
- func CreatePercentageBeanHandler(w http.ResponseWriter, r *http.Request)
- func CreateWakeupPoolHandler(w http.ResponseWriter, r *http.Request)
- func CreateWakeupPoolList(applicationType string, force bool, fields log.Fields) error
- func DeleteAmvByIdHandler(w http.ResponseWriter, r *http.Request)
- func DeleteAmvbyId(id string, app string) *xwhttp.ResponseEntity
- func DeleteEnvModelRuleBeanHandler(w http.ResponseWriter, r *http.Request)
- func DeleteEnvironment(id string) *xwhttp.ResponseEntity
- func DeleteEnvironmentHandler(w http.ResponseWriter, r *http.Request)
- func DeleteFeatureById(id string)
- func DeleteFirmwareConfig(id string, appType string) *xwhttp.ResponseEntity
- func DeleteFirmwareConfigByIdHandler(w http.ResponseWriter, r *http.Request)
- func DeleteFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
- func DeleteFirmwareConfigHandlerASFlavor(w http.ResponseWriter, r *http.Request)
- func DeleteFirmwareRuleByIdHandler(w http.ResponseWriter, r *http.Request)
- func DeleteFirmwareRuleTemplateByIdHandler(w http.ResponseWriter, r *http.Request)
- func DeleteIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
- func DeleteIpAddressGroupHandlerV2(w http.ResponseWriter, r *http.Request)
- func DeleteIpRule(w http.ResponseWriter, r *http.Request)
- func DeleteIpsFilter(name string, applicationType string) *xwhttp.ResponseEntity
- func DeleteIpsFilterHandler(w http.ResponseWriter, r *http.Request)
- func DeleteLocationFilter(name string, applicationType string) *xwhttp.ResponseEntity
- func DeleteLocationFilterHandler(w http.ResponseWriter, r *http.Request)
- func DeleteMACRule(w http.ResponseWriter, r *http.Request)
- func DeleteMacListHandler(w http.ResponseWriter, r *http.Request)
- func DeleteMacListHandlerV2(w http.ResponseWriter, r *http.Request)
- func DeleteModel(id string) *xcommon.ResponseEntity
- func DeleteModelHandler(w http.ResponseWriter, r *http.Request)
- func DeleteNamespacedList(typeName string, id string) *xwhttp.ResponseEntity
- func DeleteNamespacedListHandler(w http.ResponseWriter, r *http.Request)
- func DeleteOneAmv(id string) error
- func DeleteOneFeatureRuleHandler(w http.ResponseWriter, r *http.Request)
- func DeletePercentageBean(id string, app string) *xwhttp.ResponseEntity
- func DeletePercentageBeanByIdHandler(w http.ResponseWriter, r *http.Request)
- func DeletePercentageBeanHandler(w http.ResponseWriter, r *http.Request)
- func DeleteRebootImmediatelyFilter(name string, applicationType string) *xwhttp.ResponseEntity
- func DeleteRebootImmediatelyHandler(w http.ResponseWriter, r *http.Request)
- func DeleteTimeFilter(name string, applicationType string) *xwhttp.ResponseEntity
- func DeleteTimeFilterHandler(w http.ResponseWriter, r *http.Request)
- func EnvironmentFilterByContext(searchContext map[string]string) []*shared.Environment
- func EnvironmentRuleGeneratePageWithContext(evrules []*shared.Environment, contextMap map[string]string) (result []*shared.Environment, err error)
- func FeatureRuleTestPageHandler(w http.ResponseWriter, r *http.Request)
- func FeatureRulesGeneratePage(list []*rfc.FeatureRule, page int, pageSize int) []*rfc.FeatureRule
- func FeatureRulesToPrioritizables(featureRules []*rfc.FeatureRule) []xshared.Prioritizable
- func FindFeatureRuleByContext(searchContext map[string]string) []*rfc.FeatureRule
- func GeneratePageNamespacedLists(list []*shared.GenericNamespacedList, page int, pageSize int) (result []*shared.GenericNamespacedList)
- func GetAllAmvList() []*firmware.ActivationVersion
- func GetAllFeatureEntity() []*xwrfc.FeatureEntity
- func GetAllFeatureRulesByType(applicationType string) []*rfc.FeatureRule
- func GetAllGlobalPercentageBeansAsRuleFromDB(applicationType string, sortByName bool) ([]*firmware.FirmwareRule, error)
- func GetAllPercentageBeanAsRule(w http.ResponseWriter, r *http.Request)
- func GetAllPercentageBeansFromDB(applicationType string, sortByName bool, convert bool) ([]*coreef.PercentageBean, error)
- func GetAllowedNumberOfFeatures() int
- func GetAllowedNumberOfFeaturesHandler(w http.ResponseWriter, r *http.Request)
- func GetAllowedOperations() []string
- func GetAmvByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetAmvFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetAmvHandler(w http.ResponseWriter, r *http.Request)
- func GetAppSettings(w http.ResponseWriter, r *http.Request)
- func GetCalculatedHashAndPercent(w http.ResponseWriter, r *http.Request)
- func GetCalculatedHashAndPercentHandler(w http.ResponseWriter, r *http.Request)
- func GetChangeLog() (result map[int64][]Change, err error)
- func GetChangeLogForTheDay(w http.ResponseWriter, r *http.Request)
- func GetChangedKeysMapRaw() (map[string]interface{}, error)
- func GetEnvModelRuleByNameHandler(w http.ResponseWriter, r *http.Request)
- func GetEnvironment(id string) *shared.Environment
- func GetFeatureEntityById(id string) *xwrfc.FeatureEntity
- func GetFeatureEntityByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetFeatureEntityFiltered(searchContext map[string]string) []*xwrfc.FeatureEntity
- func GetFeatureEntityFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetFeatureEntityHandler(w http.ResponseWriter, r *http.Request)
- func GetFeatureRuleAllowedOperations() []string
- func GetFeatureRuleOne(w http.ResponseWriter, r *http.Request)
- func GetFeatureRuleOneExport(w http.ResponseWriter, r *http.Request)
- func GetFeatureRulesExportHandler(w http.ResponseWriter, r *http.Request)
- func GetFeatureRulesFiltered(w http.ResponseWriter, r *http.Request)
- func GetFeatureRulesFilteredWithPage(w http.ResponseWriter, r *http.Request)
- func GetFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
- func GetFeatureRulesSize(appType string) int
- func GetFeatureRulesSizeHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareConfigByEnvModelRuleNameByRuleNameHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareConfigById(id string) *coreef.FirmwareConfigResponse
- func GetFirmwareConfigByIdAS(id string) *coreef.FirmwareConfig
- func GetFirmwareConfigByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareConfigFirmwareConfigMapHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareConfigId(version string, applicationType string) string
- func GetFirmwareConfigModelByModelIdHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareConfigs(applicationType string) []*coreef.FirmwareConfigResponse
- func GetFirmwareConfigsAS(applicationType string) []*coreef.FirmwareConfig
- func GetFirmwareConfigsByModelIdAndApplicationType(modelId string, applicationType string) []*coreef.FirmwareConfigResponse
- func GetFirmwareConfigsByModelIdAndApplicationTypeAS(modelId string, applicationType string) []*coreef.FirmwareConfig
- func GetFirmwareConfigsByModelIdsAndApplication(modelIds []string, applicationType string) []coreef.FirmwareConfig
- func GetFirmwareRuleAllowedOperations() []string
- func GetFirmwareRuleById(id string) *corefw.FirmwareRule
- func GetFirmwareRuleByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleByTemplateByTemplateIdNamesHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleByTemplateNamesHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleByTypeNamesHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleExportAllTypesHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleExportByTypeHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleTemplateAllByTypeHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleTemplateById(id string) *corefw.FirmwareRuleTemplate
- func GetFirmwareRuleTemplateByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleTemplateExportHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleTemplateFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleTemplateHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleTemplateIdsHandler(w http.ResponseWriter, r *http.Request)
- func GetFirmwareRuleTemplateWithVarWithVarHandler(w http.ResponseWriter, r *http.Request)
- func GetGlobalPercentFilter(applicationType string) (*coreef.PercentFilterVo, error)
- func GetGlobalPercentFilterAsRule(applicationType string) (*corefw.FirmwareRule, error)
- func GetGlobalPercentFilterAsRuleHandler(w http.ResponseWriter, r *http.Request)
- func GetGlobalPercentFilterHandler(w http.ResponseWriter, r *http.Request)
- func GetGlobalPercentageIdByApplication(applicationType string) string
- func GetInfoRefreshAllHandler(w http.ResponseWriter, r *http.Request)
- func GetInfoRefreshHandler(w http.ResponseWriter, r *http.Request)
- func GetInfoStatistics(w http.ResponseWriter, r *http.Request)
- func GetInfoTable(w http.ResponseWriter, r *http.Request)
- func GetInfoTableNames(w http.ResponseWriter, r *http.Request)
- func GetInfoTableRowKey(w http.ResponseWriter, r *http.Request)
- func GetIpAddressGroupByName(name string) *shared.IpAddressGroup
- func GetIpAddressGroups() []*shared.IpAddressGroup
- func GetIpAddressGroupsByIp(ip string) []*shared.IpAddressGroup
- func GetIpAddressGroupsHandler(w http.ResponseWriter, r *http.Request)
- func GetIpRuleById(w http.ResponseWriter, r *http.Request)
- func GetIpRuleByIpAddressGroup(w http.ResponseWriter, r *http.Request)
- func GetLogs(w http.ResponseWriter, r *http.Request)
- func GetMACRuleByName(w http.ResponseWriter, r *http.Request)
- func GetMACRulesByMAC(w http.ResponseWriter, r *http.Request)
- func GetMacListsByMacPart(macAddress string) []*shared.GenericNamespacedList
- func GetMigrationInfoHandler(w http.ResponseWriter, r *http.Request)
- func GetModel(id string) *shared.ModelResponse
- func GetModelByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetModelHandler(w http.ResponseWriter, r *http.Request)
- func GetModels() []*shared.ModelResponse
- func GetNamespacedListById(id string) *shared.GenericNamespacedList
- func GetNamespacedListByIdAndType(id string, typeName string) *shared.GenericNamespacedList
- func GetNamespacedListHandler(w http.ResponseWriter, r *http.Request)
- func GetNamespacedListIdsByType(typeName string) []string
- func GetNamespacedListIdsByTypeHandler(w http.ResponseWriter, r *http.Request)
- func GetNamespacedListIdsHandler(w http.ResponseWriter, r *http.Request)
- func GetNamespacedListsByContext(searchContext map[string]string) []*shared.GenericNamespacedList
- func GetNamespacedListsByIp(ip string) []*shared.GenericNamespacedList
- func GetNamespacedListsByType(typeName string) []*shared.GenericNamespacedList
- func GetNamespacedListsByTypeHandler(w http.ResponseWriter, r *http.Request)
- func GetNamespacedListsHandler(w http.ResponseWriter, r *http.Request)
- func GetOne(id string) *rfc.FeatureRule
- func GetOneAmv(id string) *firmware.ActivationVersion
- func GetOneByEnvModel(model string, environment string, applicationType string) *xcoreef.EnvModelBean
- func GetOnePercentageBeanFromDB(id string) (*coreef.PercentageBean, error)
- func GetPenetrationDataByMacHandler(w http.ResponseWriter, r *http.Request)
- func GetPercentFilter(applicationType string) (*coreef.PercentFilterValue, error)
- func GetPercentFilterFieldValues(fieldName string, applicationType string) (map[string][]interface{}, error)
- func GetPercentFilterGlobal(applicationType string) (*coreef.GlobalPercentage, error)
- func GetPercentFilterGlobalHandler(w http.ResponseWriter, r *http.Request)
- func GetPercentageBeanAllHandler(w http.ResponseWriter, r *http.Request)
- func GetPercentageBeanAsRuleById(w http.ResponseWriter, r *http.Request)
- func GetPercentageBeanByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetPercentageBeanFilterFieldValues(fieldName string, applicationType string) (map[string][]interface{}, error)
- func GetQueriesEnvironments(w http.ResponseWriter, r *http.Request)
- func GetQueriesEnvironmentsById(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersDownloadLocation(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersIps(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersIpsByName(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersLocation(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersLocationByName(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersPercent(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersRebootImmediately(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersRebootImmediatelyByName(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersTime(w http.ResponseWriter, r *http.Request)
- func GetQueriesFiltersTimeByName(w http.ResponseWriter, r *http.Request)
- func GetQueriesFirmwareConfigsById(w http.ResponseWriter, r *http.Request)
- func GetQueriesFirmwareConfigsByIdASFlavor(w http.ResponseWriter, r *http.Request)
- func GetQueriesFirmwareConfigsByModelId(w http.ResponseWriter, r *http.Request)
- func GetQueriesFirmwareConfigsByModelIdASFlavor(w http.ResponseWriter, r *http.Request)
- func GetQueriesIpAddressGroups(w http.ResponseWriter, r *http.Request)
- func GetQueriesIpAddressGroupsByIp(w http.ResponseWriter, r *http.Request)
- func GetQueriesIpAddressGroupsByIpV2(w http.ResponseWriter, r *http.Request)
- func GetQueriesIpAddressGroupsByName(w http.ResponseWriter, r *http.Request)
- func GetQueriesIpAddressGroupsByNameV2(w http.ResponseWriter, r *http.Request)
- func GetQueriesIpAddressGroupsV2(w http.ResponseWriter, r *http.Request)
- func GetQueriesMacLists(w http.ResponseWriter, r *http.Request)
- func GetQueriesMacListsById(w http.ResponseWriter, r *http.Request)
- func GetQueriesMacListsByIdV2(w http.ResponseWriter, r *http.Request)
- func GetQueriesMacListsByMacPart(w http.ResponseWriter, r *http.Request)
- func GetQueriesModels(w http.ResponseWriter, r *http.Request)
- func GetQueriesModelsById(w http.ResponseWriter, r *http.Request)
- func GetQueriesPercentageBean(w http.ResponseWriter, r *http.Request)
- func GetQueriesPercentageBeanById(w http.ResponseWriter, r *http.Request)
- func GetQueriesRulesEnvModels(w http.ResponseWriter, r *http.Request)
- func GetQueriesRulesIps(w http.ResponseWriter, r *http.Request)
- func GetQueriesRulesMacs(w http.ResponseWriter, r *http.Request)
- func GetRoundRobinFilterHandler(w http.ResponseWriter, r *http.Request)
- func GetSortedFirmwareVersionsIfDoesExistOrNot(firmwareConfigData FirmwareConfigData, applicationType string) map[string][]string
- func GetStats(w http.ResponseWriter, r *http.Request)
- func GetStructFieldValues(fieldName string, structValue reflect.Value) []interface{}
- func GetSupportedConfigsByEnvModelRuleName(w http.ResponseWriter, r *http.Request)
- func GetSupportedVersionforModel(modelids []string, FirmwareVersions []string, app string) []string
- func ImportAllAmvHandler(w http.ResponseWriter, r *http.Request)
- func ImportAllFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
- func ImportOrUpdateAllFeatureEntity(featureEntityList []*xwrfc.FeatureEntity, applicationType string) map[string][]string
- func IsChangedIpAddressGroup(ipAddressGroup *shared.IpAddressGroup) bool
- func IsExistEnvModelRule(envModelRule xcoreef.EnvModelRuleBean, applicationType string) bool
- func IsExistEnvironment(envId string) bool
- func IsExistModel(id string) bool
- func IsValidFirmwareConfigByModelIdList(modelIds *[]string, applicationType string, ...) bool
- func IsValidFirmwareConfigByModelIds(modelId string, applicationType string, firmwareConfig *coreef.FirmwareConfig) bool
- func IsValidType(stype string) bool
- func NotImplementedHandler(w http.ResponseWriter, r *http.Request)
- func NullifyUnwantedFieldsPermanentTelemetryProfile(profile *logupload.PermanentTelemetryProfile) *logupload.PermanentTelemetryProfile
- func ObsoleteGetFirmwareConfigPageHandler(w http.ResponseWriter, r *http.Request)
- func ObsoleteGetFirmwareRulePageHandler(w http.ResponseWriter, r *http.Request)
- func ObsoleteGetFirmwareRuleTemplatePageHandler(w http.ResponseWriter, r *http.Request)
- func ObsoleteGetModelPageHandler(w http.ResponseWriter, r *http.Request)
- func PackFeaturePriorities(allFeatures []*rfc.FeatureRule, featureToDelete *rfc.FeatureRule) []*rfc.FeatureRule
- func PackFrtPriorities(allFrts []*corefw.FirmwareRuleTemplate, ...) []*corefw.FirmwareRuleTemplate
- func PackPriorities(allItems []core.Prioritizable, itemToDelete core.Prioritizable) []core.Prioritizable
- func PercentageBeanFilterByContext(searchContext map[string]string, applicationType string) []*coreef.PercentageBean
- func PercentageBeanRuleGeneratePageWithContext(pbrules []*coreef.PercentageBean, contextMap map[string]string) (result []*coreef.PercentageBean, err error)
- func PostAmvEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostAmvFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostChangePriorityHandler(w http.ResponseWriter, r *http.Request)
- func PostEnvironmentEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostEnvironmentFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostFeatureEntity(featureEntity *xwrfc.FeatureEntity, applicationType string) (*xwrfc.FeatureEntity, error)
- func PostFeatureEntityHandler(w http.ResponseWriter, r *http.Request)
- func PostFeatureEntityImportAllHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareConfigBySupportedModelsHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareConfigEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareConfigFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareConfigGetSortedFirmwareVersionsIfExistOrNotHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleImportAllHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleReportPageHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleTemplateEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleTemplateFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleTemplateHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleTemplateImportAllHandler(w http.ResponseWriter, r *http.Request)
- func PostFirmwareRuleTemplateImportHandler(w http.ResponseWriter, r *http.Request)
- func PostModelEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostModelFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostNamespacedListEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostNamespacedListFilteredHandler(w http.ResponseWriter, r *http.Request)
- func PostPercentageBeanEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostPercentageBeanFilteredWithParamsHandler(w http.ResponseWriter, r *http.Request)
- func PostPutFirmwareRuleEntitiesHandler(w http.ResponseWriter, r *http.Request, isPut bool)
- func ProcessFeatureRules(context map[string]string, fields log.Fields) map[string]interface{}
- func PutAmvEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutEnvironmentEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutFeatureEntity(featureEntity *xwrfc.FeatureEntity, applicationType string) (*xwrfc.FeatureEntity, error)
- func PutFeatureEntityHandler(w http.ResponseWriter, r *http.Request)
- func PutFirmwareConfigEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
- func PutFirmwareRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutFirmwareRuleHandler(w http.ResponseWriter, r *http.Request)
- func PutFirmwareRuleTemplateEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutFirmwareRuleTemplateHandler(w http.ResponseWriter, r *http.Request)
- func PutModelEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutNamespacedListEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutPercentageBeanEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutPostFirmwareConfigEntitiesHandler(w http.ResponseWriter, r *http.Request, isPut bool)
- func RemoveDataIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
- func RemoveDataMacListHandler(w http.ResponseWriter, r *http.Request)
- func RemoveNamespacedListData(listType string, listId string, stringListWrapper *shared.StringListWrapper) *xwhttp.ResponseEntity
- func RenameNamespacedListHandler(w http.ResponseWriter, r *http.Request)
- func RunGlobalValidation(rule re.Rule, fp func() []string) error
- func SaveDownloadLocationFilter(filter *coreef.DownloadLocationFilter, applicationType string) (*corefw.FirmwareRule, error)
- func SaveFeatureRules(itemList []xshared.Prioritizable) error
- func SaveLogUploadSettings(w http.ResponseWriter, r *http.Request)
- func SaveMACRule(w http.ResponseWriter, r *http.Request)
- func SaveMacListHandler(w http.ResponseWriter, r *http.Request)
- func SaveRebootImmediatelyFilter(filter *coreef.RebootImmediatelyFilter, applicationType string) (*corefw.FirmwareRule, error)
- func UpdateAmv(amv *firmware.ActivationVersion, app string) *xwhttp.ResponseEntity
- func UpdateAmvHandler(w http.ResponseWriter, r *http.Request)
- func UpdateAmvImport(amvToImport *firmware.ActivationVersion, amvinDB *firmware.ActivationVersion) *xwhttp.ResponseEntity
- func UpdateAppSettings(w http.ResponseWriter, r *http.Request)
- func UpdateDownloadLocationFilterHandler(w http.ResponseWriter, r *http.Request)
- func UpdateDownloadLocationRoundRobinFilter(applicationType string, filter *coreef.DownloadLocationRoundRobinFilterValue) *xwhttp.ResponseEntity
- func UpdateEnvModelRuleHandler(w http.ResponseWriter, r *http.Request)
- func UpdateEnvironment(environment *shared.Environment) *xwhttp.ResponseEntity
- func UpdateEnvironmentHandler(w http.ResponseWriter, r *http.Request)
- func UpdateFeatureRule(featureRule rfc.FeatureRule, applicationType string) (*rfc.FeatureRule, error)
- func UpdateFeatureRuleHandler(w http.ResponseWriter, r *http.Request)
- func UpdateFeatureRulePriorities(itemsList []*rfc.FeatureRule, oldPriority int, newPriority int) []*rfc.FeatureRule
- func UpdateFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
- func UpdateFirmwareConfig(config *coreef.FirmwareConfig, appType string) *xwhttp.ResponseEntity
- func UpdateFirmwareConfigAS(config *coreef.FirmwareConfig, appType string, validateName bool) *xwhttp.ResponseEntity
- func UpdateFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
- func UpdateInfoTableRowKey(w http.ResponseWriter, r *http.Request)
- func UpdateIpAddressGroupHandlerV2(w http.ResponseWriter, r *http.Request)
- func UpdateIpFilter(applicationType string, ipFilter *coreef.IpFilter) *xwhttp.ResponseEntity
- func UpdateIpRule(w http.ResponseWriter, r *http.Request)
- func UpdateIpsFilterHandler(w http.ResponseWriter, r *http.Request)
- func UpdateLocationFilter(applicationType string, locationFilter *coreef.DownloadLocationFilter) *xwhttp.ResponseEntity
- func UpdateLocationFilterHandler(w http.ResponseWriter, r *http.Request)
- func UpdateMacListHandlerV2(w http.ResponseWriter, r *http.Request)
- func UpdateModel(model *shared.Model) *xwhttp.ResponseEntity
- func UpdateModelHandler(w http.ResponseWriter, r *http.Request)
- func UpdateNamespacedList(namespacedList *shared.GenericNamespacedList, newId string) *xwhttp.ResponseEntity
- func UpdateNamespacedListHandler(w http.ResponseWriter, r *http.Request)
- func UpdatePercentFilter(applicationType string, filter *coreef.PercentFilterWrapper) *xwhttp.ResponseEntity
- func UpdatePercentFilterGlobal(applicationType string, globalPercentage *coreef.GlobalPercentage) *xwhttp.ResponseEntity
- func UpdatePercentFilterGlobalHandler(w http.ResponseWriter, r *http.Request)
- func UpdatePercentFilterHandler(w http.ResponseWriter, r *http.Request)
- func UpdatePercentageBean(bean *coreef.PercentageBean, applicationType string, fields log.Fields) *xwhttp.ResponseEntity
- func UpdatePercentageBeanHandler(w http.ResponseWriter, r *http.Request)
- func UpdatePrioritizablePriorityAndReorganize(newItem core.Prioritizable, itemsList []core.Prioritizable, priority int) []core.Prioritizable
- func UpdatePrioritizablesPriorities(itemsList []core.Prioritizable, oldPriority int, newPriority int) []core.Prioritizable
- func UpdateRebootImmediatelyFilter(applicationType string, rebootFilter *coreef.RebootImmediatelyFilter) *xwhttp.ResponseEntity
- func UpdateRebootImmediatelyHandler(w http.ResponseWriter, r *http.Request)
- func UpdateTimeFilter(applicationType string, timeFilter *xcoreef.TimeFilter) *xwhttp.ResponseEntity
- func UpdateTimeFilterHandler(w http.ResponseWriter, r *http.Request)
- func ValidateFeatureRule(featureRule *rfc.FeatureRule, applicationType string) error
- func ValidateListDataForAdmin(typeName string, listData []string) error
- func ValidateModel(Id string) error
- func ValidateRuleStructure(rule *re.Rule) error
- type ActivationVersionResponse
- type CacheStats
- type Change
- type EnvModelRuleBeanResponse
- type FirmwareConfigData
- type FirmwareConfigResponse
- type IpRuleBeanResponse
- type MacRuleBeanResponse
- type Statistics
Constants ¶
const ( IMPORTED = "IMPORTED" NOT_IMPORTED = "NOT_IMPORTED" )
const ( NewPriority = "newPriority" PageNumber = "pageNumber" PageSize = "pageSize" NumberOfItems = "numberOfItems" )
const ( STRING = "STRING" MAC_LIST = "MAC_LIST" IP_LIST = "IP_LIST" RI_MAC_LIST = "RI_MAC_LIST" )
const ( PERCENTAGE_FIELD_NAME = "percentage" WHITELIST_FIELD_NAME = "whitelist" PARTNER_ID = "partnerId" )
const ( SipHashKey0 = uint64(506097522914230528) SipHashKey1 = uint64(1084818905618843912) )
Variables ¶
This section is empty.
Functions ¶
func AddDataIpAddressGroupHandler ¶
func AddDataIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
func AddDataMacListHandler ¶
func AddDataMacListHandler(w http.ResponseWriter, r *http.Request)
func AddNamespacedListData ¶
func AddNamespacedListData(listType string, listId string, stringListWrapper *shared.StringListWrapper) *xwhttp.ResponseEntity
func AddNewPrioritizableAndReorganizePriorities ¶
func AddNewPrioritizableAndReorganizePriorities(newItem core.Prioritizable, itemsList []core.Prioritizable) []core.Prioritizable
func AmvFilterByContext ¶
func AmvFilterByContext(searchContext map[string]string) []*firmware.ActivationVersion
func AmvGeneratePage ¶
func AmvGeneratePage(list []*firmware.ActivationVersion, page int, pageSize int) (result []*firmware.ActivationVersion)
func AmvGeneratePageWithContext ¶
func AmvGeneratePageWithContext(amvrules []*firmware.ActivationVersion, contextMap map[string]string) (result []*firmware.ActivationVersion, err error)
func ChangeFeatureRulePriorities ¶
func ChangeFeatureRulePriorities(featureRuleId string, newPriority int, applicationType string) ([]*rfc.FeatureRule, error)
List<FeatureRule> changePriorities(String featureRuleId, Integer newPriority)
func ChangeFeatureRulePrioritiesHandler ¶
func ChangeFeatureRulePrioritiesHandler(w http.ResponseWriter, r *http.Request)
func ChangePrioritizablePriorities ¶
func ChangePrioritizablePriorities(prioritizable core.Prioritizable, newPriority int, applicationType string) ([]core.Prioritizable, error)
func CreateAmv ¶
func CreateAmv(amv *firmware.ActivationVersion, app string) *xwhttp.ResponseEntity
func CreateAmvHandler ¶
func CreateAmvHandler(w http.ResponseWriter, r *http.Request)
func CreateEnvironment ¶
func CreateEnvironment(environment *shared.Environment) *xwhttp.ResponseEntity
func CreateEnvironmentHandler ¶
func CreateEnvironmentHandler(w http.ResponseWriter, r *http.Request)
func CreateFeatureRule ¶
func CreateFeatureRule(featureRule rfc.FeatureRule, applicationType string) (*rfc.FeatureRule, error)
func CreateFeatureRuleHandler ¶
func CreateFeatureRuleHandler(w http.ResponseWriter, r *http.Request)
func CreateFeatureRulesHandler ¶
func CreateFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
func CreateFirmwareConfig ¶
func CreateFirmwareConfig(config *coreef.FirmwareConfig, appType string) *xwhttp.ResponseEntity
func CreateFirmwareConfigAS ¶
func CreateFirmwareConfigAS(config *coreef.FirmwareConfig, appType string, validateName bool) *xwhttp.ResponseEntity
func CreateFirmwareConfigHandler ¶
func CreateFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
func CreateFirmwareRuleTemplates ¶
func CreateFirmwareRuleTemplates()
func CreateIpAddressGroup ¶
func CreateIpAddressGroup(ipAddressGroup *shared.IpAddressGroup) *xwhttp.ResponseEntity
func CreateIpAddressGroupHandler ¶
func CreateIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
func CreateIpAddressGroupHandlerV2 ¶
func CreateIpAddressGroupHandlerV2(w http.ResponseWriter, r *http.Request)
func CreateLogFile ¶
func CreateLogFile(w http.ResponseWriter, r *http.Request)
func CreateMacListHandlerV2 ¶
func CreateMacListHandlerV2(w http.ResponseWriter, r *http.Request)
func CreateModel ¶
func CreateModel(model *shared.Model) *xwhttp.ResponseEntity
func CreateModelHandler ¶
func CreateModelHandler(w http.ResponseWriter, r *http.Request)
func CreateNamespacedList ¶
func CreateNamespacedList(namespacedList *shared.GenericNamespacedList, updateIfExists bool) *xwhttp.ResponseEntity
func CreateNamespacedListHandler ¶
func CreateNamespacedListHandler(w http.ResponseWriter, r *http.Request)
func CreatePercentageBean ¶
func CreatePercentageBean(bean *coreef.PercentageBean, applicationType string, fields log.Fields) *xwhttp.ResponseEntity
func CreatePercentageBeanHandler ¶
func CreatePercentageBeanHandler(w http.ResponseWriter, r *http.Request)
func CreateWakeupPoolHandler ¶ added in v1.0.4
func CreateWakeupPoolHandler(w http.ResponseWriter, r *http.Request)
func CreateWakeupPoolList ¶ added in v1.0.4
func DeleteAmvByIdHandler ¶
func DeleteAmvByIdHandler(w http.ResponseWriter, r *http.Request)
func DeleteAmvbyId ¶
func DeleteAmvbyId(id string, app string) *xwhttp.ResponseEntity
func DeleteEnvModelRuleBeanHandler ¶
func DeleteEnvModelRuleBeanHandler(w http.ResponseWriter, r *http.Request)
func DeleteEnvironment ¶
func DeleteEnvironment(id string) *xwhttp.ResponseEntity
func DeleteEnvironmentHandler ¶
func DeleteEnvironmentHandler(w http.ResponseWriter, r *http.Request)
func DeleteFeatureById ¶
func DeleteFeatureById(id string)
func DeleteFirmwareConfig ¶
func DeleteFirmwareConfig(id string, appType string) *xwhttp.ResponseEntity
func DeleteFirmwareConfigByIdHandler ¶
func DeleteFirmwareConfigByIdHandler(w http.ResponseWriter, r *http.Request)
Zero usages in green splunk for 4 weeks ending 21 Oct 2021 DELETE /xconfadminService/ux/api/firmwareconfig/{id}
func DeleteFirmwareConfigHandler ¶
func DeleteFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
func DeleteFirmwareConfigHandlerASFlavor ¶
func DeleteFirmwareConfigHandlerASFlavor(w http.ResponseWriter, r *http.Request)
func DeleteFirmwareRuleByIdHandler ¶
func DeleteFirmwareRuleByIdHandler(w http.ResponseWriter, r *http.Request)
Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021 104 DELETE /xconfadminService/ux/api/firmwarerule/9d531fc4-089d-4c05-8fea-d9f32786ef51
func DeleteFirmwareRuleTemplateByIdHandler ¶
func DeleteFirmwareRuleTemplateByIdHandler(w http.ResponseWriter, r *http.Request)
func DeleteIpAddressGroupHandler ¶
func DeleteIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
func DeleteIpAddressGroupHandlerV2 ¶
func DeleteIpAddressGroupHandlerV2(w http.ResponseWriter, r *http.Request)
func DeleteIpRule ¶
func DeleteIpRule(w http.ResponseWriter, r *http.Request)
func DeleteIpsFilter ¶
func DeleteIpsFilter(name string, applicationType string) *xwhttp.ResponseEntity
func DeleteIpsFilterHandler ¶
func DeleteIpsFilterHandler(w http.ResponseWriter, r *http.Request)
func DeleteLocationFilter ¶
func DeleteLocationFilter(name string, applicationType string) *xwhttp.ResponseEntity
func DeleteLocationFilterHandler ¶
func DeleteLocationFilterHandler(w http.ResponseWriter, r *http.Request)
func DeleteMACRule ¶
func DeleteMACRule(w http.ResponseWriter, r *http.Request)
func DeleteMacListHandler ¶
func DeleteMacListHandler(w http.ResponseWriter, r *http.Request)
func DeleteMacListHandlerV2 ¶
func DeleteMacListHandlerV2(w http.ResponseWriter, r *http.Request)
func DeleteModel ¶
func DeleteModel(id string) *xcommon.ResponseEntity
func DeleteModelHandler ¶
func DeleteModelHandler(w http.ResponseWriter, r *http.Request)
func DeleteNamespacedList ¶
func DeleteNamespacedList(typeName string, id string) *xwhttp.ResponseEntity
func DeleteNamespacedListHandler ¶
func DeleteNamespacedListHandler(w http.ResponseWriter, r *http.Request)
func DeleteOneAmv ¶
func DeleteOneFeatureRuleHandler ¶
func DeleteOneFeatureRuleHandler(w http.ResponseWriter, r *http.Request)
func DeletePercentageBean ¶
func DeletePercentageBean(id string, app string) *xwhttp.ResponseEntity
func DeletePercentageBeanByIdHandler ¶
func DeletePercentageBeanByIdHandler(w http.ResponseWriter, r *http.Request)
func DeletePercentageBeanHandler ¶
func DeletePercentageBeanHandler(w http.ResponseWriter, r *http.Request)
func DeleteRebootImmediatelyFilter ¶
func DeleteRebootImmediatelyFilter(name string, applicationType string) *xwhttp.ResponseEntity
func DeleteRebootImmediatelyHandler ¶
func DeleteRebootImmediatelyHandler(w http.ResponseWriter, r *http.Request)
func DeleteTimeFilter ¶
func DeleteTimeFilter(name string, applicationType string) *xwhttp.ResponseEntity
func DeleteTimeFilterHandler ¶
func DeleteTimeFilterHandler(w http.ResponseWriter, r *http.Request)
func EnvironmentFilterByContext ¶
func EnvironmentFilterByContext(searchContext map[string]string) []*shared.Environment
func EnvironmentRuleGeneratePageWithContext ¶
func EnvironmentRuleGeneratePageWithContext(evrules []*shared.Environment, contextMap map[string]string) (result []*shared.Environment, err error)
func FeatureRuleTestPageHandler ¶
func FeatureRuleTestPageHandler(w http.ResponseWriter, r *http.Request)
func FeatureRulesGeneratePage ¶
func FeatureRulesGeneratePage(list []*rfc.FeatureRule, page int, pageSize int) []*rfc.FeatureRule
func FeatureRulesToPrioritizables ¶
func FeatureRulesToPrioritizables(featureRules []*rfc.FeatureRule) []xshared.Prioritizable
func FindFeatureRuleByContext ¶
func FindFeatureRuleByContext(searchContext map[string]string) []*rfc.FeatureRule
func GeneratePageNamespacedLists ¶
func GeneratePageNamespacedLists(list []*shared.GenericNamespacedList, page int, pageSize int) (result []*shared.GenericNamespacedList)
func GetAllAmvList ¶
func GetAllAmvList() []*firmware.ActivationVersion
func GetAllFeatureEntity ¶
func GetAllFeatureEntity() []*xwrfc.FeatureEntity
func GetAllFeatureRulesByType ¶
func GetAllFeatureRulesByType(applicationType string) []*rfc.FeatureRule
func GetAllGlobalPercentageBeansAsRuleFromDB ¶
func GetAllGlobalPercentageBeansAsRuleFromDB(applicationType string, sortByName bool) ([]*firmware.FirmwareRule, error)
func GetAllPercentageBeanAsRule ¶
func GetAllPercentageBeanAsRule(w http.ResponseWriter, r *http.Request)
func GetAllowedNumberOfFeatures ¶
func GetAllowedNumberOfFeatures() int
func GetAllowedNumberOfFeaturesHandler ¶
func GetAllowedNumberOfFeaturesHandler(w http.ResponseWriter, r *http.Request)
func GetAllowedOperations ¶
func GetAllowedOperations() []string
func GetAmvByIdHandler ¶
func GetAmvByIdHandler(w http.ResponseWriter, r *http.Request)
func GetAmvFilteredHandler ¶
func GetAmvFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetAmvHandler ¶
func GetAmvHandler(w http.ResponseWriter, r *http.Request)
func GetAppSettings ¶
func GetAppSettings(w http.ResponseWriter, r *http.Request)
func GetCalculatedHashAndPercent ¶
func GetCalculatedHashAndPercent(w http.ResponseWriter, r *http.Request)
func GetCalculatedHashAndPercentHandler ¶
func GetCalculatedHashAndPercentHandler(w http.ResponseWriter, r *http.Request)
func GetChangeLog ¶
func GetChangeLogForTheDay ¶
func GetChangeLogForTheDay(w http.ResponseWriter, r *http.Request)
func GetChangedKeysMapRaw ¶
Get all ChangedKeys records in the last 15 minutes as raw JSON data
func GetEnvModelRuleByNameHandler ¶
func GetEnvModelRuleByNameHandler(w http.ResponseWriter, r *http.Request)
func GetEnvironment ¶
func GetEnvironment(id string) *shared.Environment
func GetFeatureEntityById ¶
func GetFeatureEntityById(id string) *xwrfc.FeatureEntity
func GetFeatureEntityByIdHandler ¶
func GetFeatureEntityByIdHandler(w http.ResponseWriter, r *http.Request)
func GetFeatureEntityFiltered ¶
func GetFeatureEntityFiltered(searchContext map[string]string) []*xwrfc.FeatureEntity
func GetFeatureEntityFilteredHandler ¶
func GetFeatureEntityFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetFeatureEntityHandler ¶
func GetFeatureEntityHandler(w http.ResponseWriter, r *http.Request)
func GetFeatureRuleAllowedOperations ¶
func GetFeatureRuleAllowedOperations() []string
func GetFeatureRuleOne ¶
func GetFeatureRuleOne(w http.ResponseWriter, r *http.Request)
func GetFeatureRuleOneExport ¶
func GetFeatureRuleOneExport(w http.ResponseWriter, r *http.Request)
func GetFeatureRulesExportHandler ¶
func GetFeatureRulesExportHandler(w http.ResponseWriter, r *http.Request)
func GetFeatureRulesFiltered ¶
func GetFeatureRulesFiltered(w http.ResponseWriter, r *http.Request)
func GetFeatureRulesFilteredWithPage ¶
func GetFeatureRulesFilteredWithPage(w http.ResponseWriter, r *http.Request)
func GetFeatureRulesHandler ¶
func GetFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
func GetFeatureRulesSize ¶
func GetFeatureRulesSizeHandler ¶
func GetFeatureRulesSizeHandler(w http.ResponseWriter, r *http.Request)
func GetFirmwareConfigByEnvModelRuleNameByRuleNameHandler ¶
func GetFirmwareConfigByEnvModelRuleNameByRuleNameHandler(w http.ResponseWriter, r *http.Request)
Zero usages in green splunk for 4 weeks ending 21 Oct 2021 GET /xconfadminService/ux/api/firmwareconfig/byEnvModelRuleName/{ruleName}
func GetFirmwareConfigById ¶
func GetFirmwareConfigById(id string) *coreef.FirmwareConfigResponse
func GetFirmwareConfigByIdAS ¶
func GetFirmwareConfigByIdAS(id string) *coreef.FirmwareConfig
func GetFirmwareConfigByIdHandler ¶
func GetFirmwareConfigByIdHandler(w http.ResponseWriter, r *http.Request)
663 usagess in green splunk for 4 weeks ending 21 Oct 2021 GET /xconfadminService/ux/api/firmwareconfig/{id}
func GetFirmwareConfigFirmwareConfigMapHandler ¶
func GetFirmwareConfigFirmwareConfigMapHandler(w http.ResponseWriter, r *http.Request)
1447 usages in green splunk for 4 weeks ending 21 Oct 2021
GET /xconfadminService/ux/api/firmwareconfig/firmwareConfigMap
func GetFirmwareConfigHandler ¶
func GetFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
4687 usages in green splunk for 4 weeks ending 21 Oct 2021 GET /xconfadminService/ux/api/firmwareconfig
func GetFirmwareConfigId ¶
func GetFirmwareConfigModelByModelIdHandler ¶
func GetFirmwareConfigModelByModelIdHandler(w http.ResponseWriter, r *http.Request)
112 usages in green splunk for 4 weeks ending 21 Oct 2021
GET /xconfadminService/ux/api/firmwareconfig/model/{modelId}
func GetFirmwareConfigs ¶
func GetFirmwareConfigs(applicationType string) []*coreef.FirmwareConfigResponse
func GetFirmwareConfigsAS ¶
func GetFirmwareConfigsAS(applicationType string) []*coreef.FirmwareConfig
func GetFirmwareConfigsByModelIdAndApplicationType ¶
func GetFirmwareConfigsByModelIdAndApplicationType(modelId string, applicationType string) []*coreef.FirmwareConfigResponse
func GetFirmwareConfigsByModelIdAndApplicationTypeAS ¶
func GetFirmwareConfigsByModelIdAndApplicationTypeAS(modelId string, applicationType string) []*coreef.FirmwareConfig
func GetFirmwareConfigsByModelIdsAndApplication ¶
func GetFirmwareConfigsByModelIdsAndApplication(modelIds []string, applicationType string) []coreef.FirmwareConfig
func GetFirmwareRuleAllowedOperations ¶
func GetFirmwareRuleAllowedOperations() []string
func GetFirmwareRuleById ¶
func GetFirmwareRuleById(id string) *corefw.FirmwareRule
func GetFirmwareRuleByIdHandler ¶
func GetFirmwareRuleByIdHandler(w http.ResponseWriter, r *http.Request)
Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021 1247 GET /xconfadminService/ux/api/firmwarerule/{id} 84 GET /xconfadminService/ux/api/firmwarerule/{id}?export
func GetFirmwareRuleByTemplateByTemplateIdNamesHandler ¶
func GetFirmwareRuleByTemplateByTemplateIdNamesHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func GetFirmwareRuleByTemplateNamesHandler ¶
func GetFirmwareRuleByTemplateNamesHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func GetFirmwareRuleByTypeNamesHandler ¶
func GetFirmwareRuleByTypeNamesHandler(w http.ResponseWriter, r *http.Request)
Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021 3 GET /xconfadminService/ux/api/firmwarerule/MAC_RULE/names
func GetFirmwareRuleExportAllTypesHandler ¶
func GetFirmwareRuleExportAllTypesHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func GetFirmwareRuleExportByTypeHandler ¶
func GetFirmwareRuleExportByTypeHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021 /firmwarerule/export/byType?exportAll&type=applicableActionType
func GetFirmwareRuleFilteredHandler ¶
func GetFirmwareRuleFilteredHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func GetFirmwareRuleHandler ¶
func GetFirmwareRuleHandler(w http.ResponseWriter, r *http.Request)
Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021 1 GET /xconfadminService/ux/api/firmwarerule
func GetFirmwareRuleTemplateAllByTypeHandler ¶
func GetFirmwareRuleTemplateAllByTypeHandler(w http.ResponseWriter, r *http.Request)
Usage on green splunk for 4 weeks ending 23rd Oc 2021 /xconfadminService/ux/api/firmwareruletemplate/all/{type} 133
func GetFirmwareRuleTemplateById ¶
func GetFirmwareRuleTemplateById(id string) *corefw.FirmwareRuleTemplate
func GetFirmwareRuleTemplateByIdHandler ¶
func GetFirmwareRuleTemplateByIdHandler(w http.ResponseWriter, r *http.Request)
Usage on green splunk for 4 weeks ending 23rd Oc 2021 /xconfadminService/ux/api/firmwareruletemplate/{id} 579
func GetFirmwareRuleTemplateExportHandler ¶
func GetFirmwareRuleTemplateExportHandler(w http.ResponseWriter, r *http.Request)
func GetFirmwareRuleTemplateFilteredHandler ¶
func GetFirmwareRuleTemplateFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetFirmwareRuleTemplateHandler ¶
func GetFirmwareRuleTemplateHandler(w http.ResponseWriter, r *http.Request)
func GetFirmwareRuleTemplateIdsHandler ¶
func GetFirmwareRuleTemplateIdsHandler(w http.ResponseWriter, r *http.Request)
Usage on green splunk for 4 weeks ending 23rd Oc 2021 /xconfadminService/ux/api/firmwareruletemplate/ids?type=applicationType 2817 Non zero usage - Has to be migrated soon
func GetFirmwareRuleTemplateWithVarWithVarHandler ¶
func GetFirmwareRuleTemplateWithVarWithVarHandler(w http.ResponseWriter, r *http.Request)
func GetGlobalPercentFilter ¶
func GetGlobalPercentFilter(applicationType string) (*coreef.PercentFilterVo, error)
func GetGlobalPercentFilterAsRule ¶
func GetGlobalPercentFilterAsRule(applicationType string) (*corefw.FirmwareRule, error)
func GetGlobalPercentFilterAsRuleHandler ¶
func GetGlobalPercentFilterAsRuleHandler(w http.ResponseWriter, r *http.Request)
func GetGlobalPercentFilterHandler ¶
func GetGlobalPercentFilterHandler(w http.ResponseWriter, r *http.Request)
func GetInfoRefreshAllHandler ¶
func GetInfoRefreshAllHandler(w http.ResponseWriter, r *http.Request)
func GetInfoRefreshHandler ¶
func GetInfoRefreshHandler(w http.ResponseWriter, r *http.Request)
func GetInfoStatistics ¶
func GetInfoStatistics(w http.ResponseWriter, r *http.Request)
func GetInfoTable ¶
func GetInfoTable(w http.ResponseWriter, r *http.Request)
func GetInfoTableNames ¶
func GetInfoTableNames(w http.ResponseWriter, r *http.Request)
func GetInfoTableRowKey ¶
func GetInfoTableRowKey(w http.ResponseWriter, r *http.Request)
func GetIpAddressGroupByName ¶
func GetIpAddressGroupByName(name string) *shared.IpAddressGroup
func GetIpAddressGroups ¶
func GetIpAddressGroups() []*shared.IpAddressGroup
func GetIpAddressGroupsByIp ¶
func GetIpAddressGroupsByIp(ip string) []*shared.IpAddressGroup
func GetIpAddressGroupsHandler ¶
func GetIpAddressGroupsHandler(w http.ResponseWriter, r *http.Request)
func GetIpRuleById ¶
func GetIpRuleById(w http.ResponseWriter, r *http.Request)
func GetIpRuleByIpAddressGroup ¶
func GetIpRuleByIpAddressGroup(w http.ResponseWriter, r *http.Request)
func GetMACRuleByName ¶
func GetMACRuleByName(w http.ResponseWriter, r *http.Request)
func GetMACRulesByMAC ¶
func GetMACRulesByMAC(w http.ResponseWriter, r *http.Request)
func GetMacListsByMacPart ¶
func GetMacListsByMacPart(macAddress string) []*shared.GenericNamespacedList
func GetMigrationInfoHandler ¶
func GetMigrationInfoHandler(w http.ResponseWriter, r *http.Request)
Depricated API so just return 200 status code
func GetModel ¶
func GetModel(id string) *shared.ModelResponse
func GetModelByIdHandler ¶
func GetModelByIdHandler(w http.ResponseWriter, r *http.Request)
func GetModelHandler ¶
func GetModelHandler(w http.ResponseWriter, r *http.Request)
func GetModels ¶
func GetModels() []*shared.ModelResponse
func GetNamespacedListById ¶
func GetNamespacedListById(id string) *shared.GenericNamespacedList
func GetNamespacedListByIdAndType ¶
func GetNamespacedListByIdAndType(id string, typeName string) *shared.GenericNamespacedList
func GetNamespacedListHandler ¶
func GetNamespacedListHandler(w http.ResponseWriter, r *http.Request)
func GetNamespacedListIdsByTypeHandler ¶
func GetNamespacedListIdsByTypeHandler(w http.ResponseWriter, r *http.Request)
func GetNamespacedListIdsHandler ¶
func GetNamespacedListIdsHandler(w http.ResponseWriter, r *http.Request)
func GetNamespacedListsByContext ¶
func GetNamespacedListsByContext(searchContext map[string]string) []*shared.GenericNamespacedList
func GetNamespacedListsByIp ¶
func GetNamespacedListsByIp(ip string) []*shared.GenericNamespacedList
func GetNamespacedListsByType ¶
func GetNamespacedListsByType(typeName string) []*shared.GenericNamespacedList
func GetNamespacedListsByTypeHandler ¶
func GetNamespacedListsByTypeHandler(w http.ResponseWriter, r *http.Request)
func GetNamespacedListsHandler ¶
func GetNamespacedListsHandler(w http.ResponseWriter, r *http.Request)
func GetOne ¶
func GetOne(id string) *rfc.FeatureRule
func GetOneAmv ¶
func GetOneAmv(id string) *firmware.ActivationVersion
func GetOneByEnvModel ¶
func GetOneByEnvModel(model string, environment string, applicationType string) *xcoreef.EnvModelBean
func GetOnePercentageBeanFromDB ¶
func GetOnePercentageBeanFromDB(id string) (*coreef.PercentageBean, error)
func GetPenetrationDataByMacHandler ¶
func GetPenetrationDataByMacHandler(w http.ResponseWriter, r *http.Request)
func GetPercentFilter ¶
func GetPercentFilter(applicationType string) (*coreef.PercentFilterValue, error)
func GetPercentFilterGlobal ¶
func GetPercentFilterGlobal(applicationType string) (*coreef.GlobalPercentage, error)
func GetPercentFilterGlobalHandler ¶
func GetPercentFilterGlobalHandler(w http.ResponseWriter, r *http.Request)
func GetPercentageBeanAllHandler ¶
func GetPercentageBeanAllHandler(w http.ResponseWriter, r *http.Request)
func GetPercentageBeanAsRuleById ¶
func GetPercentageBeanAsRuleById(w http.ResponseWriter, r *http.Request)
func GetPercentageBeanByIdHandler ¶
func GetPercentageBeanByIdHandler(w http.ResponseWriter, r *http.Request)
func GetQueriesEnvironments ¶
func GetQueriesEnvironments(w http.ResponseWriter, r *http.Request)
func GetQueriesEnvironmentsById ¶
func GetQueriesEnvironmentsById(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersDownloadLocation ¶
func GetQueriesFiltersDownloadLocation(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersIps ¶
func GetQueriesFiltersIps(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersIpsByName ¶
func GetQueriesFiltersIpsByName(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersLocation ¶
func GetQueriesFiltersLocation(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersLocationByName ¶
func GetQueriesFiltersLocationByName(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersPercent ¶
func GetQueriesFiltersPercent(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersRebootImmediately ¶
func GetQueriesFiltersRebootImmediately(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersRebootImmediatelyByName ¶
func GetQueriesFiltersRebootImmediatelyByName(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersTime ¶
func GetQueriesFiltersTime(w http.ResponseWriter, r *http.Request)
func GetQueriesFiltersTimeByName ¶
func GetQueriesFiltersTimeByName(w http.ResponseWriter, r *http.Request)
func GetQueriesFirmwareConfigsById ¶
func GetQueriesFirmwareConfigsById(w http.ResponseWriter, r *http.Request)
func GetQueriesFirmwareConfigsByIdASFlavor ¶
func GetQueriesFirmwareConfigsByIdASFlavor(w http.ResponseWriter, r *http.Request)
func GetQueriesFirmwareConfigsByModelId ¶
func GetQueriesFirmwareConfigsByModelId(w http.ResponseWriter, r *http.Request)
func GetQueriesFirmwareConfigsByModelIdASFlavor ¶
func GetQueriesFirmwareConfigsByModelIdASFlavor(w http.ResponseWriter, r *http.Request)
func GetQueriesIpAddressGroups ¶
func GetQueriesIpAddressGroups(w http.ResponseWriter, r *http.Request)
func GetQueriesIpAddressGroupsByIp ¶
func GetQueriesIpAddressGroupsByIp(w http.ResponseWriter, r *http.Request)
func GetQueriesIpAddressGroupsByIpV2 ¶
func GetQueriesIpAddressGroupsByIpV2(w http.ResponseWriter, r *http.Request)
func GetQueriesIpAddressGroupsByName ¶
func GetQueriesIpAddressGroupsByName(w http.ResponseWriter, r *http.Request)
func GetQueriesIpAddressGroupsByNameV2 ¶
func GetQueriesIpAddressGroupsByNameV2(w http.ResponseWriter, r *http.Request)
func GetQueriesIpAddressGroupsV2 ¶
func GetQueriesIpAddressGroupsV2(w http.ResponseWriter, r *http.Request)
func GetQueriesMacLists ¶
func GetQueriesMacLists(w http.ResponseWriter, r *http.Request)
func GetQueriesMacListsById ¶
func GetQueriesMacListsById(w http.ResponseWriter, r *http.Request)
func GetQueriesMacListsByIdV2 ¶
func GetQueriesMacListsByIdV2(w http.ResponseWriter, r *http.Request)
func GetQueriesMacListsByMacPart ¶
func GetQueriesMacListsByMacPart(w http.ResponseWriter, r *http.Request)
func GetQueriesModels ¶
func GetQueriesModels(w http.ResponseWriter, r *http.Request)
func GetQueriesModelsById ¶
func GetQueriesModelsById(w http.ResponseWriter, r *http.Request)
func GetQueriesPercentageBean ¶
func GetQueriesPercentageBean(w http.ResponseWriter, r *http.Request)
func GetQueriesPercentageBeanById ¶
func GetQueriesPercentageBeanById(w http.ResponseWriter, r *http.Request)
func GetQueriesRulesEnvModels ¶
func GetQueriesRulesEnvModels(w http.ResponseWriter, r *http.Request)
func GetQueriesRulesIps ¶
func GetQueriesRulesIps(w http.ResponseWriter, r *http.Request)
func GetQueriesRulesMacs ¶
func GetQueriesRulesMacs(w http.ResponseWriter, r *http.Request)
func GetRoundRobinFilterHandler ¶
func GetRoundRobinFilterHandler(w http.ResponseWriter, r *http.Request)
Identical to GetQueriesFiltersDownloadLocation except for applicationType is in the path and export param, e.g. http://localhost:9000/xconfAdminService/api/roundrobinfilter/stb?export
func GetSortedFirmwareVersionsIfDoesExistOrNot ¶
func GetSortedFirmwareVersionsIfDoesExistOrNot(firmwareConfigData FirmwareConfigData, applicationType string) map[string][]string
func GetStructFieldValues ¶
func GetSupportedConfigsByEnvModelRuleName ¶
func GetSupportedConfigsByEnvModelRuleName(w http.ResponseWriter, r *http.Request)
Zero usages in green splunk for 4 weeks ending 21 Oct 2021 GET /xconfadminService/ux/api/firmwareconfig/supportedConfigsByEnvModelRuleName/{ruleName}
func ImportAllAmvHandler ¶
func ImportAllAmvHandler(w http.ResponseWriter, r *http.Request)
func ImportAllFeatureRulesHandler ¶
func ImportAllFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
func ImportOrUpdateAllFeatureEntity ¶
func ImportOrUpdateAllFeatureEntity(featureEntityList []*xwrfc.FeatureEntity, applicationType string) map[string][]string
func IsChangedIpAddressGroup ¶
func IsChangedIpAddressGroup(ipAddressGroup *shared.IpAddressGroup) bool
func IsExistEnvModelRule ¶
func IsExistEnvModelRule(envModelRule xcoreef.EnvModelRuleBean, applicationType string) bool
func IsExistEnvironment ¶
func IsExistModel ¶
func IsValidFirmwareConfigByModelIdList ¶
func IsValidFirmwareConfigByModelIdList(modelIds *[]string, applicationType string, firmwareConfig *coreef.FirmwareConfig) bool
func IsValidFirmwareConfigByModelIds ¶
func IsValidFirmwareConfigByModelIds(modelId string, applicationType string, firmwareConfig *coreef.FirmwareConfig) bool
func IsValidType ¶
func NotImplementedHandler ¶
func NotImplementedHandler(w http.ResponseWriter, r *http.Request)
func NullifyUnwantedFieldsPermanentTelemetryProfile ¶
func NullifyUnwantedFieldsPermanentTelemetryProfile(profile *logupload.PermanentTelemetryProfile) *logupload.PermanentTelemetryProfile
func ObsoleteGetFirmwareConfigPageHandler ¶
func ObsoleteGetFirmwareConfigPageHandler(w http.ResponseWriter, r *http.Request)
Zero usages in green splunk for 4 weeks ending 21 Oct 2021 GET /xconfadminService/ux/api/firmwareconfig/page
func ObsoleteGetFirmwareRulePageHandler ¶
func ObsoleteGetFirmwareRulePageHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func ObsoleteGetFirmwareRuleTemplatePageHandler ¶
func ObsoleteGetFirmwareRuleTemplatePageHandler(w http.ResponseWriter, r *http.Request)
func ObsoleteGetModelPageHandler ¶
func ObsoleteGetModelPageHandler(w http.ResponseWriter, r *http.Request)
func PackFeaturePriorities ¶
func PackFeaturePriorities(allFeatures []*rfc.FeatureRule, featureToDelete *rfc.FeatureRule) []*rfc.FeatureRule
func PackFrtPriorities ¶
func PackFrtPriorities(allFrts []*corefw.FirmwareRuleTemplate, templateToDelete *corefw.FirmwareRuleTemplate) []*corefw.FirmwareRuleTemplate
func PackPriorities ¶
func PackPriorities(allItems []core.Prioritizable, itemToDelete core.Prioritizable) []core.Prioritizable
func PercentageBeanFilterByContext ¶
func PercentageBeanFilterByContext(searchContext map[string]string, applicationType string) []*coreef.PercentageBean
func PercentageBeanRuleGeneratePageWithContext ¶
func PercentageBeanRuleGeneratePageWithContext(pbrules []*coreef.PercentageBean, contextMap map[string]string) (result []*coreef.PercentageBean, err error)
func PostAmvEntitiesHandler ¶
func PostAmvEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostAmvFilteredHandler ¶
func PostAmvFilteredHandler(w http.ResponseWriter, r *http.Request)
func PostChangePriorityHandler ¶
func PostChangePriorityHandler(w http.ResponseWriter, r *http.Request)
func PostEnvironmentEntitiesHandler ¶
func PostEnvironmentEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostEnvironmentFilteredHandler ¶
func PostEnvironmentFilteredHandler(w http.ResponseWriter, r *http.Request)
func PostFeatureEntity ¶
func PostFeatureEntity(featureEntity *xwrfc.FeatureEntity, applicationType string) (*xwrfc.FeatureEntity, error)
func PostFeatureEntityHandler ¶
func PostFeatureEntityHandler(w http.ResponseWriter, r *http.Request)
func PostFeatureEntityImportAllHandler ¶
func PostFeatureEntityImportAllHandler(w http.ResponseWriter, r *http.Request)
func PostFirmwareConfigBySupportedModelsHandler ¶
func PostFirmwareConfigBySupportedModelsHandler(w http.ResponseWriter, r *http.Request)
7 api-usage in green splunk for 4 weeks ending 21 Oct 2021 POST /xconfadminService/ux/api/firmwareconfig/bySupportedModels
func PostFirmwareConfigEntitiesHandler ¶
func PostFirmwareConfigEntitiesHandler(w http.ResponseWriter, r *http.Request)
Zero usages in green splunk for 4 weeks ending 21 Oct 2021 POST /xconfadminService/ux/api/firmwareconfig/entities
func PostFirmwareConfigFilteredHandler ¶
func PostFirmwareConfigFilteredHandler(w http.ResponseWriter, r *http.Request)
1802 usages in green splunk for 4 weeks ending 21 Oct 2021 POST /xconfadminService/ux/api/firmwareconfig/filtered?pageSize=X&pageNumber=Y
func PostFirmwareConfigGetSortedFirmwareVersionsIfExistOrNotHandler ¶
func PostFirmwareConfigGetSortedFirmwareVersionsIfExistOrNotHandler(w http.ResponseWriter, r *http.Request)
413 usages in green splunk for 4 weeks ending 21 Oct 2021 POST /xconfadminService/ux/api/firmwareconfig/getSortedFirmwareVersionsIfExistOrNot
func PostFirmwareConfigHandler ¶
func PostFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
Zero api-usage in green splunk for 4 weeks ending 21 Oct 2021 POST /xconfadminService/ux/api/firmwareconfig
func PostFirmwareRuleEntitiesHandler ¶
func PostFirmwareRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func PostFirmwareRuleFilteredHandler ¶
func PostFirmwareRuleFilteredHandler(w http.ResponseWriter, r *http.Request)
Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021 10946 POST /xconfadminService/ux/api/firmwarerule/filtered?pageNumber=X&pageSize=Y 10946
func PostFirmwareRuleHandler ¶
func PostFirmwareRuleHandler(w http.ResponseWriter, r *http.Request)
Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
151 POST /xconfadminService/ux/api/firmwarerule/
func PostFirmwareRuleImportAllHandler ¶
func PostFirmwareRuleImportAllHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func PostFirmwareRuleReportPageHandler ¶
func PostFirmwareRuleReportPageHandler(w http.ResponseWriter, r *http.Request)
func PostFirmwareRuleTemplateEntitiesHandler ¶
func PostFirmwareRuleTemplateEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostFirmwareRuleTemplateFilteredHandler ¶
func PostFirmwareRuleTemplateFilteredHandler(w http.ResponseWriter, r *http.Request)
Usage on green splunk for 4 weeks ending 23rd Oc 2021 /xconfadminService/ux/api/firmwareruletemplate/filtered?pageNumber=X&pageSize=Y 83
func PostFirmwareRuleTemplateHandler ¶
func PostFirmwareRuleTemplateHandler(w http.ResponseWriter, r *http.Request)
func PostFirmwareRuleTemplateImportAllHandler ¶
func PostFirmwareRuleTemplateImportAllHandler(w http.ResponseWriter, r *http.Request)
func PostFirmwareRuleTemplateImportHandler ¶
func PostFirmwareRuleTemplateImportHandler(w http.ResponseWriter, r *http.Request)
func PostModelEntitiesHandler ¶
func PostModelEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostModelFilteredHandler ¶
func PostModelFilteredHandler(w http.ResponseWriter, r *http.Request)
func PostNamespacedListEntitiesHandler ¶
func PostNamespacedListEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostNamespacedListFilteredHandler ¶
func PostNamespacedListFilteredHandler(w http.ResponseWriter, r *http.Request)
func PostPercentageBeanEntitiesHandler ¶
func PostPercentageBeanEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostPercentageBeanFilteredWithParamsHandler ¶
func PostPercentageBeanFilteredWithParamsHandler(w http.ResponseWriter, r *http.Request)
func PostPutFirmwareRuleEntitiesHandler ¶
func PostPutFirmwareRuleEntitiesHandler(w http.ResponseWriter, r *http.Request, isPut bool)
func ProcessFeatureRules ¶
func PutAmvEntitiesHandler ¶
func PutAmvEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutEnvironmentEntitiesHandler ¶
func PutEnvironmentEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutFeatureEntity ¶
func PutFeatureEntity(featureEntity *xwrfc.FeatureEntity, applicationType string) (*xwrfc.FeatureEntity, error)
func PutFeatureEntityHandler ¶
func PutFeatureEntityHandler(w http.ResponseWriter, r *http.Request)
func PutFirmwareConfigEntitiesHandler ¶
func PutFirmwareConfigEntitiesHandler(w http.ResponseWriter, r *http.Request)
Zero usages in green splunk for 4 weeks ending 21 Oct 2021 PUT /xconfadminService/ux/api/firmwareconfig/entities
func PutFirmwareConfigHandler ¶
func PutFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
Zero usages in green splunk for 4 weeks ending 21 Oct 2021 PUT /xconfadminService/ux/api/firmwareconfig 0
func PutFirmwareRuleEntitiesHandler ¶
func PutFirmwareRuleEntitiesHandler(w http.ResponseWriter, r *http.Request)
Zero Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
func PutFirmwareRuleHandler ¶
func PutFirmwareRuleHandler(w http.ResponseWriter, r *http.Request)
Usage pattern from green splunk for 4 weeks ending 23rd Oct 2021
529 PUT /xconfadminService/ux/api/firmwarerule/
func PutFirmwareRuleTemplateEntitiesHandler ¶
func PutFirmwareRuleTemplateEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutFirmwareRuleTemplateHandler ¶
func PutFirmwareRuleTemplateHandler(w http.ResponseWriter, r *http.Request)
func PutModelEntitiesHandler ¶
func PutModelEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutNamespacedListEntitiesHandler ¶
func PutNamespacedListEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutPercentageBeanEntitiesHandler ¶
func PutPercentageBeanEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutPostFirmwareConfigEntitiesHandler ¶
func PutPostFirmwareConfigEntitiesHandler(w http.ResponseWriter, r *http.Request, isPut bool)
func RemoveDataIpAddressGroupHandler ¶
func RemoveDataIpAddressGroupHandler(w http.ResponseWriter, r *http.Request)
func RemoveDataMacListHandler ¶
func RemoveDataMacListHandler(w http.ResponseWriter, r *http.Request)
func RemoveNamespacedListData ¶
func RemoveNamespacedListData(listType string, listId string, stringListWrapper *shared.StringListWrapper) *xwhttp.ResponseEntity
func RenameNamespacedListHandler ¶
func RenameNamespacedListHandler(w http.ResponseWriter, r *http.Request)
func SaveDownloadLocationFilter ¶
func SaveDownloadLocationFilter(filter *coreef.DownloadLocationFilter, applicationType string) (*corefw.FirmwareRule, error)
func SaveFeatureRules ¶
func SaveFeatureRules(itemList []xshared.Prioritizable) error
func SaveLogUploadSettings ¶
func SaveLogUploadSettings(w http.ResponseWriter, r *http.Request)
This function is not being referenced in router.go. Should we delete it?
func SaveMACRule ¶
func SaveMACRule(w http.ResponseWriter, r *http.Request)
func SaveMacListHandler ¶
func SaveMacListHandler(w http.ResponseWriter, r *http.Request)
func SaveRebootImmediatelyFilter ¶
func SaveRebootImmediatelyFilter(filter *coreef.RebootImmediatelyFilter, applicationType string) (*corefw.FirmwareRule, error)
func UpdateAmv ¶
func UpdateAmv(amv *firmware.ActivationVersion, app string) *xwhttp.ResponseEntity
func UpdateAmvHandler ¶
func UpdateAmvHandler(w http.ResponseWriter, r *http.Request)
func UpdateAmvImport ¶
func UpdateAmvImport(amvToImport *firmware.ActivationVersion, amvinDB *firmware.ActivationVersion) *xwhttp.ResponseEntity
func UpdateAppSettings ¶
func UpdateAppSettings(w http.ResponseWriter, r *http.Request)
func UpdateDownloadLocationFilterHandler ¶
func UpdateDownloadLocationFilterHandler(w http.ResponseWriter, r *http.Request)
func UpdateDownloadLocationRoundRobinFilter ¶
func UpdateDownloadLocationRoundRobinFilter(applicationType string, filter *coreef.DownloadLocationRoundRobinFilterValue) *xwhttp.ResponseEntity
func UpdateEnvModelRuleHandler ¶
func UpdateEnvModelRuleHandler(w http.ResponseWriter, r *http.Request)
func UpdateEnvironment ¶
func UpdateEnvironment(environment *shared.Environment) *xwhttp.ResponseEntity
func UpdateEnvironmentHandler ¶
func UpdateEnvironmentHandler(w http.ResponseWriter, r *http.Request)
func UpdateFeatureRule ¶
func UpdateFeatureRule(featureRule rfc.FeatureRule, applicationType string) (*rfc.FeatureRule, error)
func UpdateFeatureRuleHandler ¶
func UpdateFeatureRuleHandler(w http.ResponseWriter, r *http.Request)
func UpdateFeatureRulePriorities ¶
func UpdateFeatureRulePriorities(itemsList []*rfc.FeatureRule, oldPriority int, newPriority int) []*rfc.FeatureRule
<T extends Prioritizable> List<T> updatePriorities(List<T> itemsList, Integer oldPriority, Integer newPriority)
func UpdateFeatureRulesHandler ¶
func UpdateFeatureRulesHandler(w http.ResponseWriter, r *http.Request)
func UpdateFirmwareConfig ¶
func UpdateFirmwareConfig(config *coreef.FirmwareConfig, appType string) *xwhttp.ResponseEntity
func UpdateFirmwareConfigAS ¶
func UpdateFirmwareConfigAS(config *coreef.FirmwareConfig, appType string, validateName bool) *xwhttp.ResponseEntity
func UpdateFirmwareConfigHandler ¶
func UpdateFirmwareConfigHandler(w http.ResponseWriter, r *http.Request)
func UpdateInfoTableRowKey ¶
func UpdateInfoTableRowKey(w http.ResponseWriter, r *http.Request)
This API can be used to update the raw JSON data in a table; should only be used for fixing table incompatibilities issues between Java and Go
func UpdateIpAddressGroupHandlerV2 ¶
func UpdateIpAddressGroupHandlerV2(w http.ResponseWriter, r *http.Request)
func UpdateIpFilter ¶
func UpdateIpFilter(applicationType string, ipFilter *coreef.IpFilter) *xwhttp.ResponseEntity
func UpdateIpRule ¶
func UpdateIpRule(w http.ResponseWriter, r *http.Request)
func UpdateIpsFilterHandler ¶
func UpdateIpsFilterHandler(w http.ResponseWriter, r *http.Request)
func UpdateLocationFilter ¶
func UpdateLocationFilter(applicationType string, locationFilter *coreef.DownloadLocationFilter) *xwhttp.ResponseEntity
func UpdateLocationFilterHandler ¶
func UpdateLocationFilterHandler(w http.ResponseWriter, r *http.Request)
func UpdateMacListHandlerV2 ¶
func UpdateMacListHandlerV2(w http.ResponseWriter, r *http.Request)
func UpdateModel ¶
func UpdateModel(model *shared.Model) *xwhttp.ResponseEntity
func UpdateModelHandler ¶
func UpdateModelHandler(w http.ResponseWriter, r *http.Request)
func UpdateNamespacedList ¶
func UpdateNamespacedList(namespacedList *shared.GenericNamespacedList, newId string) *xwhttp.ResponseEntity
func UpdateNamespacedListHandler ¶
func UpdateNamespacedListHandler(w http.ResponseWriter, r *http.Request)
func UpdatePercentFilter ¶
func UpdatePercentFilter(applicationType string, filter *coreef.PercentFilterWrapper) *xwhttp.ResponseEntity
func UpdatePercentFilterGlobal ¶
func UpdatePercentFilterGlobal(applicationType string, globalPercentage *coreef.GlobalPercentage) *xwhttp.ResponseEntity
func UpdatePercentFilterGlobalHandler ¶
func UpdatePercentFilterGlobalHandler(w http.ResponseWriter, r *http.Request)
func UpdatePercentFilterHandler ¶
func UpdatePercentFilterHandler(w http.ResponseWriter, r *http.Request)
func UpdatePercentageBean ¶
func UpdatePercentageBean(bean *coreef.PercentageBean, applicationType string, fields log.Fields) *xwhttp.ResponseEntity
func UpdatePercentageBeanHandler ¶
func UpdatePercentageBeanHandler(w http.ResponseWriter, r *http.Request)
func UpdatePrioritizablePriorityAndReorganize ¶
func UpdatePrioritizablePriorityAndReorganize(newItem core.Prioritizable, itemsList []core.Prioritizable, priority int) []core.Prioritizable
func UpdatePrioritizablesPriorities ¶
func UpdatePrioritizablesPriorities(itemsList []core.Prioritizable, oldPriority int, newPriority int) []core.Prioritizable
func UpdateRebootImmediatelyFilter ¶
func UpdateRebootImmediatelyFilter(applicationType string, rebootFilter *coreef.RebootImmediatelyFilter) *xwhttp.ResponseEntity
func UpdateRebootImmediatelyHandler ¶
func UpdateRebootImmediatelyHandler(w http.ResponseWriter, r *http.Request)
func UpdateTimeFilter ¶
func UpdateTimeFilter(applicationType string, timeFilter *xcoreef.TimeFilter) *xwhttp.ResponseEntity
func UpdateTimeFilterHandler ¶
func UpdateTimeFilterHandler(w http.ResponseWriter, r *http.Request)
func ValidateFeatureRule ¶
func ValidateFeatureRule(featureRule *rfc.FeatureRule, applicationType string) error
func ValidateModel ¶
func ValidateRuleStructure ¶
Types ¶
type ActivationVersionResponse ¶
type ActivationVersionResponse struct {
ID string `json:"id"`
ApplicationType string `json:"applicationType"`
Description string `json:"description,omitempty"`
Model string `json:"model,omitempty"`
PartnerId string `json:"partnerId,omitempty"`
RegularExpressions []string `json:"regularExpressions"`
FirmwareVersions []string `json:"firmwareVersions"`
}
func CreateActivationVersionResponse ¶
func CreateActivationVersionResponse(rec *firmware.ActivationVersion) *ActivationVersionResponse
func GetAmv ¶
func GetAmv(id string) *ActivationVersionResponse
func GetAmvALL ¶
func GetAmvALL() []*ActivationVersionResponse
type CacheStats ¶
type CacheStats struct {
DaoRefreshTime int64 `json:"daoRefreshTime"`
CacheSize int `json:"cacheSize"`
NonAbsentCount int `json:"nonAbsentCount"`
RequestCount uint64 `json:"requestCount"`
EvictionCount uint64 `json:"evictionCount"`
HitRate float64 `json:"hitRate"`
MissRate float64 `json:"missRate"`
TotalLoadTime time.Duration `json:"totalLoadTime"`
}
CacheStats statistics for the cache.LoadingCache
type Change ¶
type Change struct {
ChangedKey string `json:"changedKey"`
Operation db.OperationType `json:"operationType"`
CfName string `json:"cfName"`
UserName string `json:"userName"`
}
type EnvModelRuleBeanResponse ¶
type EnvModelRuleBeanResponse struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
EnvironmentId string `json:"environmentId,omitempty"`
ModelId string `json:"modelId,omitempty"`
FirmwareConfig *FirmwareConfigResponse `json:"firmwareConfig,omitempty"`
Noop bool `json:"-"`
}
func ConvertEnvModelRuleBeanToEnvModelRuleBeanResponse ¶
func ConvertEnvModelRuleBeanToEnvModelRuleBeanResponse(bean *coreef.EnvModelBean) *EnvModelRuleBeanResponse
type FirmwareConfigData ¶
type FirmwareConfigResponse ¶
type FirmwareConfigResponse struct {
ID string `json:"id"`
Updated int64 `json:"updated,omitempty"`
Description string `json:"description,omitempty"`
SupportedModelIds []string `json:"supportedModelIds,omitempty"`
FirmwareFilename string `json:"firmwareFilename,omitempty"`
FirmwareVersion string `json:"firmwareVersion,omitempty"`
ApplicationType string `json:"applicationType,omitempty"`
FirmwareDownloadProtocol string `json:"firmwareDownloadProtocol,omitempty"`
FirmwareLocation string `json:"firmwareLocation,omitempty"`
Ipv6FirmwareLocation string `json:"ipv6FirmwareLocation,omitempty"`
UpgradeDelay int64 `json:"upgradeDelay,omitempty"`
RebootImmediately bool `json:"rebootImmediately,omitempty"`
MandatoryUpdate bool `json:"mandatoryUpdate,omitempty"`
Properties map[string]string `json:"properties,omitempty"`
}
func ConvertFirmwareConfigToFirmwareConfigResponse ¶
func ConvertFirmwareConfigToFirmwareConfigResponse(config *coreef.FirmwareConfig) *FirmwareConfigResponse
type IpRuleBeanResponse ¶
type IpRuleBeanResponse struct {
Id string `json:"id,omitempty"`
FirmwareConfig *FirmwareConfigResponse `json:"firmwareConfig,omitempty"`
Name string `json:"name,omitempty"`
IpAddressGroup *shared.IpAddressGroup `json:"ipAddressGroup,omitempty"`
EnvironmentId string `json:"environmentId,omitempty"`
ModelId string `json:"modelId,omitempty"`
Expression *coreef.Expression `json:"expression,omitempty"`
Noop bool `json:"noop"`
}
func ConvertIpRuleBeanToIpRuleBeanResponse ¶
func ConvertIpRuleBeanToIpRuleBeanResponse(bean *coreef.IpRuleBean) *IpRuleBeanResponse
type MacRuleBeanResponse ¶
type MacRuleBeanResponse struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
MacAddresses string `json:"macAddresses,omitempty"`
MacListRef string `json:"macListRef,omitempty"`
FirmwareConfig *FirmwareConfigResponse `json:"firmwareConfig,omitempty"`
TargetedModelIds *[]string `json:"targetedModelIds,omitempty"`
MacList *[]string `json:"macList,omitempty"`
Noop bool `json:"-"`
}
func ConvertMacRuleBeanToMacRuleBeanResponse ¶
func ConvertMacRuleBeanToMacRuleBeanResponse(bean *coreef.MacRuleBean) *MacRuleBeanResponse
type Statistics ¶
type Statistics struct {
StatsMap map[string]CacheStats `json:"Statistics"`
}
Statistics cache statistics
Source Files
¶
- amv_handler.go
- amv_service.go
- baserule_validator.go
- common.go
- environment_handler.go
- environment_service.go
- feature_handler.go
- feature_rule_handler.go
- feature_rule_service.go
- feature_service.go
- firmware_config_handler.go
- firmware_config_service.go
- firmware_rule_handler.go
- firmware_rule_report_page_handler.go
- firmware_rule_service.go
- firmware_rule_template_handler.go
- firmware_rule_template_service.go
- firstreport.go
- ip_address_group_service.go
- ips_filter_service.go
- location_filter_service.go
- log_controller.go
- log_file_handler.go
- log_upload_settings_handler.go
- model_handler.go
- model_service.go
- namedspace_list_handler.go
- namespaced_list_service.go
- penetration_data_handler.go
- percent_filter_service.go
- percentage_bean_service.go
- percentagebean_handler.go
- percentfilter_handler.go
- prioritizable.go
- queries_handler.go
- queries_helper.go
- ri_filter_service.go
- time_filter_service.go