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
Index ¶
- func CreateEntity(feature *xwrfc.Feature, applicationType string) error
- func DeleteFeatureById(id string)
- func DeleteFeatureByIdHandler(w http.ResponseWriter, r *http.Request)
- func DoesFeatureExist(id string) bool
- func DoesFeatureInstanceExistForAnotherId(feature *xwrfc.Feature) bool
- func FeaturePost(feature *xwrfc.Feature) (*xwrfc.Feature, error)
- func GetAllFeature() []*xwrfc.Feature
- func GetFeatureById(id string) *xwrfc.Feature
- func GetFeatureByIdHandler(w http.ResponseWriter, r *http.Request)
- func GetFeatureEntityById(id string) *xwrfc.FeatureEntity
- func GetFeatureEntityListByApplicationTypeSorted(applicationType string) []*xwrfc.FeatureEntity
- func GetFeatureFiltered(searchContext map[string]string) []*xwrfc.Feature
- func GetFeaturesByApplicationTypeSorted(applicationType string) []*xwrfc.Feature
- func GetFeaturesByIdList(featureIdList []string) []*xwrfc.Feature
- func GetFeaturesByIdListHandler(w http.ResponseWriter, r *http.Request)
- func GetFeaturesFilteredHandler(w http.ResponseWriter, r *http.Request)
- func GetFeaturesHandler(w http.ResponseWriter, r *http.Request)
- func GetFeaturesWithPageNumbers(features []*xwrfc.Feature, pageNumber int, pageSize int) []*xwrfc.Feature
- func GetPreprocessedFeaturesHandler(w http.ResponseWriter, r *http.Request)
- func GetXconfConnector() *xhttp.XconfConnector
- func ImportFeatureEntities(featureEntityList []*xwrfc.FeatureEntity, overwrite bool, ...) map[string]xhttp.EntityMessage
- func IsFeatureUsedInFeatureRule(id string) (bool, string)
- func PostFeatureEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PostFeatureHandler(w http.ResponseWriter, r *http.Request)
- func PutFeature(feature *xwrfc.Feature) (*xwrfc.Feature, error)
- func PutFeatureEntitiesHandler(w http.ResponseWriter, r *http.Request)
- func PutFeatureHandler(w http.ResponseWriter, r *http.Request)
- func UpdateEntity(feature *xwrfc.Feature, applicationType string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFeatureById ¶
func DeleteFeatureById(id string)
func DeleteFeatureByIdHandler ¶
func DeleteFeatureByIdHandler(w http.ResponseWriter, r *http.Request)
func DoesFeatureExist ¶
func GetAllFeature ¶
func GetFeatureById ¶
func GetFeatureByIdHandler ¶
func GetFeatureByIdHandler(w http.ResponseWriter, r *http.Request)
func GetFeatureEntityById ¶
func GetFeatureEntityById(id string) *xwrfc.FeatureEntity
func GetFeatureEntityListByApplicationTypeSorted ¶
func GetFeatureEntityListByApplicationTypeSorted(applicationType string) []*xwrfc.FeatureEntity
func GetFeaturesByIdList ¶
func GetFeaturesByIdListHandler ¶
func GetFeaturesByIdListHandler(w http.ResponseWriter, r *http.Request)
func GetFeaturesFilteredHandler ¶
func GetFeaturesFilteredHandler(w http.ResponseWriter, r *http.Request)
func GetFeaturesHandler ¶
func GetFeaturesHandler(w http.ResponseWriter, r *http.Request)
func GetPreprocessedFeaturesHandler ¶ added in v1.0.13
func GetPreprocessedFeaturesHandler(w http.ResponseWriter, r *http.Request)
func GetXconfConnector ¶ added in v1.0.13
func GetXconfConnector() *xhttp.XconfConnector
func ImportFeatureEntities ¶
func ImportFeatureEntities(featureEntityList []*xwrfc.FeatureEntity, overwrite bool, applicationType string) map[string]xhttp.EntityMessage
func PostFeatureEntitiesHandler ¶
func PostFeatureEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PostFeatureHandler ¶
func PostFeatureHandler(w http.ResponseWriter, r *http.Request)
func PutFeatureEntitiesHandler ¶
func PutFeatureEntitiesHandler(w http.ResponseWriter, r *http.Request)
func PutFeatureHandler ¶
func PutFeatureHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.