queries

package
v1.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 43 Imported by: 0

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

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

View Source
const (
	IMPORTED     = "IMPORTED"
	NOT_IMPORTED = "NOT_IMPORTED"
)
View Source
const (
	NewPriority   = "newPriority"
	PageNumber    = "pageNumber"
	PageSize      = "pageSize"
	NumberOfItems = "numberOfItems"
)
View Source
const (
	STRING      = "STRING"
	MAC_LIST    = "MAC_LIST"
	IP_LIST     = "IP_LIST"
	RI_MAC_LIST = "RI_MAC_LIST"
)
View Source
const (
	PERCENTAGE_FIELD_NAME = "percentage"
	WHITELIST_FIELD_NAME  = "whitelist"
	PARTNER_ID            = "partnerId"
)
View Source
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 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 CreateWakeupPoolList(applicationType string, force bool, fields log.Fields) error

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 DeleteOneAmv(id string) error

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 GetAllPercentageBeansFromDB

func GetAllPercentageBeansFromDB(applicationType string, sortByName bool, convert bool) ([]*coreef.PercentageBean, error)

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 GetChangeLog() (result map[int64][]Change, err error)

func GetChangeLogForTheDay

func GetChangeLogForTheDay(w http.ResponseWriter, r *http.Request)

func GetChangedKeysMapRaw

func GetChangedKeysMapRaw() (map[string]interface{}, error)

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 GetFeatureRulesSize(appType string) int

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 GetFirmwareConfigId(version string, applicationType string) string

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 GetGlobalPercentageIdByApplication

func GetGlobalPercentageIdByApplication(applicationType string) string

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 GetLogs

func GetLogs(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 GetNamespacedListIdsByType

func GetNamespacedListIdsByType(typeName string) []string

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 GetPercentFilterFieldValues

func GetPercentFilterFieldValues(fieldName string, applicationType string) (map[string][]interface{}, 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 GetPercentageBeanFilterFieldValues

func GetPercentageBeanFilterFieldValues(fieldName string, applicationType string) (map[string][]interface{}, error)

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 GetStats

func GetStats(w http.ResponseWriter, r *http.Request)

func GetStructFieldValues

func GetStructFieldValues(fieldName string, structValue reflect.Value) []interface{}

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 GetSupportedVersionforModel

func GetSupportedVersionforModel(modelids []string, FirmwareVersions []string, app string) []string

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 IsExistEnvironment(envId string) bool

func IsExistModel

func IsExistModel(id string) bool

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 IsValidType(stype string) bool

func NotImplementedHandler

func NotImplementedHandler(w http.ResponseWriter, r *http.Request)

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 ProcessFeatureRules(context map[string]string, fields log.Fields) map[string]interface{}

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 RunGlobalValidation

func RunGlobalValidation(rule re.Rule, fp func() []string) error

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 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 ValidateListDataForAdmin

func ValidateListDataForAdmin(typeName string, listData []string) error

func ValidateModel

func ValidateModel(Id string) error

func ValidateRuleStructure

func ValidateRuleStructure(rule *re.Rule) error

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 GetAmv

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 FirmwareConfigData struct {
	Versions []string `json:"firmwareVersions"`
	ModelSet []string `json:"models"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL