apiserver

package
v0.0.0-...-892b39a Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

  • Copyright 2021 VMware, Inc.
  • All Rights Reserved.

* 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.

  • Copyright 2019-2021 VMware, Inc.
  • All Rights Reserved.

* 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptedIngressAPIHandler

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

func AcceptedLBSvcAPIHandler

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

func AcceptedRouteAPIHandler

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

func FetchIngestionObjectsAndRespond

func FetchIngestionObjectsAndRespond(w http.ResponseWriter, r *http.Request, objType string, accepted bool)

func FilterAPIGetHandler

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

func GSGraphHandler

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

func GetAmkoAPIServer

func GetAmkoAPIServer() api.ApiServerInterface

func GhRuleAPIHandler

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

func RejectedIngressAPIHandler

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

func RejectedLBSvcAPIHandler

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

func RejectedRouteAPIHandler

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

func SetAmkoAPIServer

func SetAmkoAPIServer(server api.ApiServerInterface)

func WriteErrorToResponse

func WriteErrorToResponse(w http.ResponseWriter)

func WriteToResponse

func WriteToResponse(w http.ResponseWriter, data interface{})

Types

type AcceptedIngressAPI

type AcceptedIngressAPI struct{}

func (AcceptedIngressAPI) ApiOperationMap

func (ai AcceptedIngressAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (AcceptedIngressAPI) InitModel

func (ai AcceptedIngressAPI) InitModel()

type AcceptedLBSvcAPI

type AcceptedLBSvcAPI struct{}

func (AcceptedLBSvcAPI) ApiOperationMap

func (as AcceptedLBSvcAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (AcceptedLBSvcAPI) InitModel

func (as AcceptedLBSvcAPI) InitModel()

type AcceptedRouteAPI

type AcceptedRouteAPI struct{}

func (AcceptedRouteAPI) ApiOperationMap

func (ar AcceptedRouteAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (AcceptedRouteAPI) InitModel

func (ar AcceptedRouteAPI) InitModel()

type FilterAPI

type FilterAPI struct{}

func (FilterAPI) ApiOperationMap

func (f FilterAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (FilterAPI) InitModel

func (f FilterAPI) InitModel()

type GSGraphAPI

type GSGraphAPI struct{}

func (GSGraphAPI) ApiOperationMap

func (g GSGraphAPI) ApiOperationMap(prometheusEnavbled bool, reg *prometheus.Registry) []models.OperationMap

func (GSGraphAPI) InitModel

func (g GSGraphAPI) InitModel()

type GslbHostRuleAPI

type GslbHostRuleAPI struct{}

func (GslbHostRuleAPI) ApiOperationMap

func (g GslbHostRuleAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (GslbHostRuleAPI) InitModel

func (g GslbHostRuleAPI) InitModel()

type RejectedIngressAPI

type RejectedIngressAPI struct{}

func (RejectedIngressAPI) ApiOperationMap

func (ri RejectedIngressAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (RejectedIngressAPI) InitModel

func (ai RejectedIngressAPI) InitModel()

type RejectedLBSvcAPI

type RejectedLBSvcAPI struct{}

func (RejectedLBSvcAPI) ApiOperationMap

func (rs RejectedLBSvcAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (RejectedLBSvcAPI) InitModel

func (rs RejectedLBSvcAPI) InitModel()

type RejectedRouteAPI

type RejectedRouteAPI struct{}

func (RejectedRouteAPI) ApiOperationMap

func (rr RejectedRouteAPI) ApiOperationMap(prometheusEnabled bool, reg *prometheus.Registry) []models.OperationMap

func (RejectedRouteAPI) InitModel

func (rr RejectedRouteAPI) InitModel()

Jump to

Keyboard shortcuts

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