operations

package
v0.21.188 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZitiEdgeManagementAPI

type ZitiEdgeManagementAPI struct {
	Middleware func(middleware.Builder) http.Handler

	// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator

	// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator

	// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator

	// JSONConsumer registers a consumer for the following mime types:
	//   - application/json
	JSONConsumer runtime.Consumer
	// TxtConsumer registers a consumer for the following mime types:
	//   - text/plain
	TxtConsumer runtime.Consumer

	// ApplicationJWTProducer registers a producer for the following mime types:
	//   - application/jwt
	ApplicationJWTProducer runtime.Producer
	// BinProducer registers a producer for the following mime types:
	//   - image/png
	BinProducer runtime.Producer
	// JSONProducer registers a producer for the following mime types:
	//   - application/json
	JSONProducer runtime.Producer
	// TextYamlProducer registers a producer for the following mime types:
	//   - text/yaml
	TextYamlProducer runtime.Producer

	// ZtSessionAuth registers a function that takes a token and returns a principal
	// it performs authentication based on an api key zt-session provided in the header
	ZtSessionAuth func(string) (interface{}, error)

	// APIAuthorizer provides access control (ACL/RBAC/ABAC) by providing access to the request and authenticated principal
	APIAuthorizer runtime.Authorizer

	// CurrentAPISessionDeleteCurrentAPISessionHandler sets the operation handler for the delete current API session operation
	CurrentAPISessionDeleteCurrentAPISessionHandler current_api_session.DeleteCurrentAPISessionHandler
	// IdentityAssociateIdentitysServiceConfigsHandler sets the operation handler for the associate identitys service configs operation
	IdentityAssociateIdentitysServiceConfigsHandler identity.AssociateIdentitysServiceConfigsHandler
	// AuthenticationAuthenticateHandler sets the operation handler for the authenticate operation
	AuthenticationAuthenticateHandler authentication.AuthenticateHandler
	// AuthenticationAuthenticateMfaHandler sets the operation handler for the authenticate mfa operation
	AuthenticationAuthenticateMfaHandler authentication.AuthenticateMfaHandler
	// DatabaseCheckDataIntegrityHandler sets the operation handler for the check data integrity operation
	DatabaseCheckDataIntegrityHandler database.CheckDataIntegrityHandler
	// AuthPolicyCreateAuthPolicyHandler sets the operation handler for the create auth policy operation
	AuthPolicyCreateAuthPolicyHandler auth_policy.CreateAuthPolicyHandler
	// AuthenticatorCreateAuthenticatorHandler sets the operation handler for the create authenticator operation
	AuthenticatorCreateAuthenticatorHandler authenticator.CreateAuthenticatorHandler
	// CertificateAuthorityCreateCaHandler sets the operation handler for the create ca operation
	CertificateAuthorityCreateCaHandler certificate_authority.CreateCaHandler
	// ConfigCreateConfigHandler sets the operation handler for the create config operation
	ConfigCreateConfigHandler config.CreateConfigHandler
	// ConfigCreateConfigTypeHandler sets the operation handler for the create config type operation
	ConfigCreateConfigTypeHandler config.CreateConfigTypeHandler
	// DatabaseCreateDatabaseSnapshotHandler sets the operation handler for the create database snapshot operation
	DatabaseCreateDatabaseSnapshotHandler database.CreateDatabaseSnapshotHandler
	// EdgeRouterCreateEdgeRouterHandler sets the operation handler for the create edge router operation
	EdgeRouterCreateEdgeRouterHandler edge_router.CreateEdgeRouterHandler
	// EdgeRouterPolicyCreateEdgeRouterPolicyHandler sets the operation handler for the create edge router policy operation
	EdgeRouterPolicyCreateEdgeRouterPolicyHandler edge_router_policy.CreateEdgeRouterPolicyHandler
	// ExternalJWTSignerCreateExternalJWTSignerHandler sets the operation handler for the create external Jwt signer operation
	ExternalJWTSignerCreateExternalJWTSignerHandler external_jwt_signer.CreateExternalJWTSignerHandler
	// IdentityCreateIdentityHandler sets the operation handler for the create identity operation
	IdentityCreateIdentityHandler identity.CreateIdentityHandler
	// CurrentIdentityCreateMfaRecoveryCodesHandler sets the operation handler for the create mfa recovery codes operation
	CurrentIdentityCreateMfaRecoveryCodesHandler current_identity.CreateMfaRecoveryCodesHandler
	// PostureChecksCreatePostureCheckHandler sets the operation handler for the create posture check operation
	PostureChecksCreatePostureCheckHandler posture_checks.CreatePostureCheckHandler
	// RouterCreateRouterHandler sets the operation handler for the create router operation
	RouterCreateRouterHandler router.CreateRouterHandler
	// ServiceCreateServiceHandler sets the operation handler for the create service operation
	ServiceCreateServiceHandler service.CreateServiceHandler
	// ServiceEdgeRouterPolicyCreateServiceEdgeRouterPolicyHandler sets the operation handler for the create service edge router policy operation
	ServiceEdgeRouterPolicyCreateServiceEdgeRouterPolicyHandler service_edge_router_policy.CreateServiceEdgeRouterPolicyHandler
	// ServicePolicyCreateServicePolicyHandler sets the operation handler for the create service policy operation
	ServicePolicyCreateServicePolicyHandler service_policy.CreateServicePolicyHandler
	// TerminatorCreateTerminatorHandler sets the operation handler for the create terminator operation
	TerminatorCreateTerminatorHandler terminator.CreateTerminatorHandler
	// RouterCreateTransitRouterHandler sets the operation handler for the create transit router operation
	RouterCreateTransitRouterHandler router.CreateTransitRouterHandler
	// DatabaseDataIntegrityResultsHandler sets the operation handler for the data integrity results operation
	DatabaseDataIntegrityResultsHandler database.DataIntegrityResultsHandler
	// APISessionDeleteAPISessionsHandler sets the operation handler for the delete API sessions operation
	APISessionDeleteAPISessionsHandler api_session.DeleteAPISessionsHandler
	// AuthPolicyDeleteAuthPolicyHandler sets the operation handler for the delete auth policy operation
	AuthPolicyDeleteAuthPolicyHandler auth_policy.DeleteAuthPolicyHandler
	// AuthenticatorDeleteAuthenticatorHandler sets the operation handler for the delete authenticator operation
	AuthenticatorDeleteAuthenticatorHandler authenticator.DeleteAuthenticatorHandler
	// CertificateAuthorityDeleteCaHandler sets the operation handler for the delete ca operation
	CertificateAuthorityDeleteCaHandler certificate_authority.DeleteCaHandler
	// ConfigDeleteConfigHandler sets the operation handler for the delete config operation
	ConfigDeleteConfigHandler config.DeleteConfigHandler
	// ConfigDeleteConfigTypeHandler sets the operation handler for the delete config type operation
	ConfigDeleteConfigTypeHandler config.DeleteConfigTypeHandler
	// EdgeRouterDeleteEdgeRouterHandler sets the operation handler for the delete edge router operation
	EdgeRouterDeleteEdgeRouterHandler edge_router.DeleteEdgeRouterHandler
	// EdgeRouterPolicyDeleteEdgeRouterPolicyHandler sets the operation handler for the delete edge router policy operation
	EdgeRouterPolicyDeleteEdgeRouterPolicyHandler edge_router_policy.DeleteEdgeRouterPolicyHandler
	// EnrollmentDeleteEnrollmentHandler sets the operation handler for the delete enrollment operation
	EnrollmentDeleteEnrollmentHandler enrollment.DeleteEnrollmentHandler
	// ExternalJWTSignerDeleteExternalJWTSignerHandler sets the operation handler for the delete external Jwt signer operation
	ExternalJWTSignerDeleteExternalJWTSignerHandler external_jwt_signer.DeleteExternalJWTSignerHandler
	// IdentityDeleteIdentityHandler sets the operation handler for the delete identity operation
	IdentityDeleteIdentityHandler identity.DeleteIdentityHandler
	// CurrentIdentityDeleteMfaHandler sets the operation handler for the delete mfa operation
	CurrentIdentityDeleteMfaHandler current_identity.DeleteMfaHandler
	// PostureChecksDeletePostureCheckHandler sets the operation handler for the delete posture check operation
	PostureChecksDeletePostureCheckHandler posture_checks.DeletePostureCheckHandler
	// RouterDeleteRouterHandler sets the operation handler for the delete router operation
	RouterDeleteRouterHandler router.DeleteRouterHandler
	// ServiceDeleteServiceHandler sets the operation handler for the delete service operation
	ServiceDeleteServiceHandler service.DeleteServiceHandler
	// ServiceEdgeRouterPolicyDeleteServiceEdgeRouterPolicyHandler sets the operation handler for the delete service edge router policy operation
	ServiceEdgeRouterPolicyDeleteServiceEdgeRouterPolicyHandler service_edge_router_policy.DeleteServiceEdgeRouterPolicyHandler
	// ServicePolicyDeleteServicePolicyHandler sets the operation handler for the delete service policy operation
	ServicePolicyDeleteServicePolicyHandler service_policy.DeleteServicePolicyHandler
	// SessionDeleteSessionHandler sets the operation handler for the delete session operation
	SessionDeleteSessionHandler session.DeleteSessionHandler
	// TerminatorDeleteTerminatorHandler sets the operation handler for the delete terminator operation
	TerminatorDeleteTerminatorHandler terminator.DeleteTerminatorHandler
	// RouterDeleteTransitRouterHandler sets the operation handler for the delete transit router operation
	RouterDeleteTransitRouterHandler router.DeleteTransitRouterHandler
	// APISessionDetailAPISessionsHandler sets the operation handler for the detail API sessions operation
	APISessionDetailAPISessionsHandler api_session.DetailAPISessionsHandler
	// AuthPolicyDetailAuthPolicyHandler sets the operation handler for the detail auth policy operation
	AuthPolicyDetailAuthPolicyHandler auth_policy.DetailAuthPolicyHandler
	// AuthenticatorDetailAuthenticatorHandler sets the operation handler for the detail authenticator operation
	AuthenticatorDetailAuthenticatorHandler authenticator.DetailAuthenticatorHandler
	// CertificateAuthorityDetailCaHandler sets the operation handler for the detail ca operation
	CertificateAuthorityDetailCaHandler certificate_authority.DetailCaHandler
	// ConfigDetailConfigHandler sets the operation handler for the detail config operation
	ConfigDetailConfigHandler config.DetailConfigHandler
	// ConfigDetailConfigTypeHandler sets the operation handler for the detail config type operation
	ConfigDetailConfigTypeHandler config.DetailConfigTypeHandler
	// CurrentAPISessionDetailCurrentIdentityAuthenticatorHandler sets the operation handler for the detail current identity authenticator operation
	CurrentAPISessionDetailCurrentIdentityAuthenticatorHandler current_api_session.DetailCurrentIdentityAuthenticatorHandler
	// EdgeRouterDetailEdgeRouterHandler sets the operation handler for the detail edge router operation
	EdgeRouterDetailEdgeRouterHandler edge_router.DetailEdgeRouterHandler
	// EdgeRouterPolicyDetailEdgeRouterPolicyHandler sets the operation handler for the detail edge router policy operation
	EdgeRouterPolicyDetailEdgeRouterPolicyHandler edge_router_policy.DetailEdgeRouterPolicyHandler
	// EnrollmentDetailEnrollmentHandler sets the operation handler for the detail enrollment operation
	EnrollmentDetailEnrollmentHandler enrollment.DetailEnrollmentHandler
	// ExternalJWTSignerDetailExternalJWTSignerHandler sets the operation handler for the detail external Jwt signer operation
	ExternalJWTSignerDetailExternalJWTSignerHandler external_jwt_signer.DetailExternalJWTSignerHandler
	// IdentityDetailIdentityHandler sets the operation handler for the detail identity operation
	IdentityDetailIdentityHandler identity.DetailIdentityHandler
	// IdentityDetailIdentityTypeHandler sets the operation handler for the detail identity type operation
	IdentityDetailIdentityTypeHandler identity.DetailIdentityTypeHandler
	// CurrentIdentityDetailMfaHandler sets the operation handler for the detail mfa operation
	CurrentIdentityDetailMfaHandler current_identity.DetailMfaHandler
	// CurrentIdentityDetailMfaQrCodeHandler sets the operation handler for the detail mfa qr code operation
	CurrentIdentityDetailMfaQrCodeHandler current_identity.DetailMfaQrCodeHandler
	// CurrentIdentityDetailMfaRecoveryCodesHandler sets the operation handler for the detail mfa recovery codes operation
	CurrentIdentityDetailMfaRecoveryCodesHandler current_identity.DetailMfaRecoveryCodesHandler
	// PostureChecksDetailPostureCheckHandler sets the operation handler for the detail posture check operation
	PostureChecksDetailPostureCheckHandler posture_checks.DetailPostureCheckHandler
	// PostureChecksDetailPostureCheckTypeHandler sets the operation handler for the detail posture check type operation
	PostureChecksDetailPostureCheckTypeHandler posture_checks.DetailPostureCheckTypeHandler
	// RouterDetailRouterHandler sets the operation handler for the detail router operation
	RouterDetailRouterHandler router.DetailRouterHandler
	// ServiceDetailServiceHandler sets the operation handler for the detail service operation
	ServiceDetailServiceHandler service.DetailServiceHandler
	// ServiceEdgeRouterPolicyDetailServiceEdgeRouterPolicyHandler sets the operation handler for the detail service edge router policy operation
	ServiceEdgeRouterPolicyDetailServiceEdgeRouterPolicyHandler service_edge_router_policy.DetailServiceEdgeRouterPolicyHandler
	// ServicePolicyDetailServicePolicyHandler sets the operation handler for the detail service policy operation
	ServicePolicyDetailServicePolicyHandler service_policy.DetailServicePolicyHandler
	// SessionDetailSessionHandler sets the operation handler for the detail session operation
	SessionDetailSessionHandler session.DetailSessionHandler
	// SessionDetailSessionRoutePathHandler sets the operation handler for the detail session route path operation
	SessionDetailSessionRoutePathHandler session.DetailSessionRoutePathHandler
	// InformationalDetailSpecHandler sets the operation handler for the detail spec operation
	InformationalDetailSpecHandler informational.DetailSpecHandler
	// InformationalDetailSpecBodyHandler sets the operation handler for the detail spec body operation
	InformationalDetailSpecBodyHandler informational.DetailSpecBodyHandler
	// TerminatorDetailTerminatorHandler sets the operation handler for the detail terminator operation
	TerminatorDetailTerminatorHandler terminator.DetailTerminatorHandler
	// RouterDetailTransitRouterHandler sets the operation handler for the detail transit router operation
	RouterDetailTransitRouterHandler router.DetailTransitRouterHandler
	// IdentityDisableIdentityHandler sets the operation handler for the disable identity operation
	IdentityDisableIdentityHandler identity.DisableIdentityHandler
	// IdentityDisassociateIdentitysServiceConfigsHandler sets the operation handler for the disassociate identitys service configs operation
	IdentityDisassociateIdentitysServiceConfigsHandler identity.DisassociateIdentitysServiceConfigsHandler
	// IdentityEnableIdentityHandler sets the operation handler for the enable identity operation
	IdentityEnableIdentityHandler identity.EnableIdentityHandler
	// CurrentIdentityEnrollMfaHandler sets the operation handler for the enroll mfa operation
	CurrentIdentityEnrollMfaHandler current_identity.EnrollMfaHandler
	// CurrentAPISessionExtendCurrentIdentityAuthenticatorHandler sets the operation handler for the extend current identity authenticator operation
	CurrentAPISessionExtendCurrentIdentityAuthenticatorHandler current_api_session.ExtendCurrentIdentityAuthenticatorHandler
	// CurrentAPISessionExtendVerifyCurrentIdentityAuthenticatorHandler sets the operation handler for the extend verify current identity authenticator operation
	CurrentAPISessionExtendVerifyCurrentIdentityAuthenticatorHandler current_api_session.ExtendVerifyCurrentIdentityAuthenticatorHandler
	// DatabaseFixDataIntegrityHandler sets the operation handler for the fix data integrity operation
	DatabaseFixDataIntegrityHandler database.FixDataIntegrityHandler
	// CertificateAuthorityGetCaJWTHandler sets the operation handler for the get ca Jwt operation
	CertificateAuthorityGetCaJWTHandler certificate_authority.GetCaJWTHandler
	// CurrentAPISessionGetCurrentAPISessionHandler sets the operation handler for the get current API session operation
	CurrentAPISessionGetCurrentAPISessionHandler current_api_session.GetCurrentAPISessionHandler
	// CurrentIdentityGetCurrentIdentityHandler sets the operation handler for the get current identity operation
	CurrentIdentityGetCurrentIdentityHandler current_identity.GetCurrentIdentityHandler
	// IdentityGetIdentityAuthenticatorsHandler sets the operation handler for the get identity authenticators operation
	IdentityGetIdentityAuthenticatorsHandler identity.GetIdentityAuthenticatorsHandler
	// IdentityGetIdentityFailedServiceRequestsHandler sets the operation handler for the get identity failed service requests operation
	IdentityGetIdentityFailedServiceRequestsHandler identity.GetIdentityFailedServiceRequestsHandler
	// IdentityGetIdentityPolicyAdviceHandler sets the operation handler for the get identity policy advice operation
	IdentityGetIdentityPolicyAdviceHandler identity.GetIdentityPolicyAdviceHandler
	// IdentityGetIdentityPostureDataHandler sets the operation handler for the get identity posture data operation
	IdentityGetIdentityPostureDataHandler identity.GetIdentityPostureDataHandler
	// APISessionListAPISessionsHandler sets the operation handler for the list API sessions operation
	APISessionListAPISessionsHandler api_session.ListAPISessionsHandler
	// AuthPolicyListAuthPoliciesHandler sets the operation handler for the list auth policies operation
	AuthPolicyListAuthPoliciesHandler auth_policy.ListAuthPoliciesHandler
	// AuthenticatorListAuthenticatorsHandler sets the operation handler for the list authenticators operation
	AuthenticatorListAuthenticatorsHandler authenticator.ListAuthenticatorsHandler
	// CertificateAuthorityListCasHandler sets the operation handler for the list cas operation
	CertificateAuthorityListCasHandler certificate_authority.ListCasHandler
	// ConfigListConfigTypesHandler sets the operation handler for the list config types operation
	ConfigListConfigTypesHandler config.ListConfigTypesHandler
	// ConfigListConfigsHandler sets the operation handler for the list configs operation
	ConfigListConfigsHandler config.ListConfigsHandler
	// ConfigListConfigsForConfigTypeHandler sets the operation handler for the list configs for config type operation
	ConfigListConfigsForConfigTypeHandler config.ListConfigsForConfigTypeHandler
	// CurrentAPISessionListCurrentIdentityAuthenticatorsHandler sets the operation handler for the list current identity authenticators operation
	CurrentAPISessionListCurrentIdentityAuthenticatorsHandler current_api_session.ListCurrentIdentityAuthenticatorsHandler
	// EdgeRouterListEdgeRouterEdgeRouterPoliciesHandler sets the operation handler for the list edge router edge router policies operation
	EdgeRouterListEdgeRouterEdgeRouterPoliciesHandler edge_router.ListEdgeRouterEdgeRouterPoliciesHandler
	// EdgeRouterListEdgeRouterIdentitiesHandler sets the operation handler for the list edge router identities operation
	EdgeRouterListEdgeRouterIdentitiesHandler edge_router.ListEdgeRouterIdentitiesHandler
	// EdgeRouterPolicyListEdgeRouterPoliciesHandler sets the operation handler for the list edge router policies operation
	EdgeRouterPolicyListEdgeRouterPoliciesHandler edge_router_policy.ListEdgeRouterPoliciesHandler
	// EdgeRouterPolicyListEdgeRouterPolicyEdgeRoutersHandler sets the operation handler for the list edge router policy edge routers operation
	EdgeRouterPolicyListEdgeRouterPolicyEdgeRoutersHandler edge_router_policy.ListEdgeRouterPolicyEdgeRoutersHandler
	// EdgeRouterPolicyListEdgeRouterPolicyIdentitiesHandler sets the operation handler for the list edge router policy identities operation
	EdgeRouterPolicyListEdgeRouterPolicyIdentitiesHandler edge_router_policy.ListEdgeRouterPolicyIdentitiesHandler
	// RoleAttributesListEdgeRouterRoleAttributesHandler sets the operation handler for the list edge router role attributes operation
	RoleAttributesListEdgeRouterRoleAttributesHandler role_attributes.ListEdgeRouterRoleAttributesHandler
	// EdgeRouterListEdgeRouterServiceEdgeRouterPoliciesHandler sets the operation handler for the list edge router service edge router policies operation
	EdgeRouterListEdgeRouterServiceEdgeRouterPoliciesHandler edge_router.ListEdgeRouterServiceEdgeRouterPoliciesHandler
	// EdgeRouterListEdgeRouterServicesHandler sets the operation handler for the list edge router services operation
	EdgeRouterListEdgeRouterServicesHandler edge_router.ListEdgeRouterServicesHandler
	// EdgeRouterListEdgeRoutersHandler sets the operation handler for the list edge routers operation
	EdgeRouterListEdgeRoutersHandler edge_router.ListEdgeRoutersHandler
	// EnrollmentListEnrollmentsHandler sets the operation handler for the list enrollments operation
	EnrollmentListEnrollmentsHandler enrollment.ListEnrollmentsHandler
	// ExternalJWTSignerListExternalJWTSignersHandler sets the operation handler for the list external Jwt signers operation
	ExternalJWTSignerListExternalJWTSignersHandler external_jwt_signer.ListExternalJWTSignersHandler
	// IdentityListIdentitiesHandler sets the operation handler for the list identities operation
	IdentityListIdentitiesHandler identity.ListIdentitiesHandler
	// IdentityListIdentityEdgeRoutersHandler sets the operation handler for the list identity edge routers operation
	IdentityListIdentityEdgeRoutersHandler identity.ListIdentityEdgeRoutersHandler
	// RoleAttributesListIdentityRoleAttributesHandler sets the operation handler for the list identity role attributes operation
	RoleAttributesListIdentityRoleAttributesHandler role_attributes.ListIdentityRoleAttributesHandler
	// IdentityListIdentityServicePoliciesHandler sets the operation handler for the list identity service policies operation
	IdentityListIdentityServicePoliciesHandler identity.ListIdentityServicePoliciesHandler
	// IdentityListIdentityServicesHandler sets the operation handler for the list identity services operation
	IdentityListIdentityServicesHandler identity.ListIdentityServicesHandler
	// IdentityListIdentityTypesHandler sets the operation handler for the list identity types operation
	IdentityListIdentityTypesHandler identity.ListIdentityTypesHandler
	// IdentityListIdentitysEdgeRouterPoliciesHandler sets the operation handler for the list identitys edge router policies operation
	IdentityListIdentitysEdgeRouterPoliciesHandler identity.ListIdentitysEdgeRouterPoliciesHandler
	// IdentityListIdentitysServiceConfigsHandler sets the operation handler for the list identitys service configs operation
	IdentityListIdentitysServiceConfigsHandler identity.ListIdentitysServiceConfigsHandler
	// PostureChecksListPostureCheckTypesHandler sets the operation handler for the list posture check types operation
	PostureChecksListPostureCheckTypesHandler posture_checks.ListPostureCheckTypesHandler
	// PostureChecksListPostureChecksHandler sets the operation handler for the list posture checks operation
	PostureChecksListPostureChecksHandler posture_checks.ListPostureChecksHandler
	// InformationalListRootHandler sets the operation handler for the list root operation
	InformationalListRootHandler informational.ListRootHandler
	// RouterListRoutersHandler sets the operation handler for the list routers operation
	RouterListRoutersHandler router.ListRoutersHandler
	// ServiceListServiceConfigHandler sets the operation handler for the list service config operation
	ServiceListServiceConfigHandler service.ListServiceConfigHandler
	// ServiceEdgeRouterPolicyListServiceEdgeRouterPoliciesHandler sets the operation handler for the list service edge router policies operation
	ServiceEdgeRouterPolicyListServiceEdgeRouterPoliciesHandler service_edge_router_policy.ListServiceEdgeRouterPoliciesHandler
	// ServiceEdgeRouterPolicyListServiceEdgeRouterPolicyEdgeRoutersHandler sets the operation handler for the list service edge router policy edge routers operation
	ServiceEdgeRouterPolicyListServiceEdgeRouterPolicyEdgeRoutersHandler service_edge_router_policy.ListServiceEdgeRouterPolicyEdgeRoutersHandler
	// ServiceEdgeRouterPolicyListServiceEdgeRouterPolicyServicesHandler sets the operation handler for the list service edge router policy services operation
	ServiceEdgeRouterPolicyListServiceEdgeRouterPolicyServicesHandler service_edge_router_policy.ListServiceEdgeRouterPolicyServicesHandler
	// ServiceListServiceEdgeRoutersHandler sets the operation handler for the list service edge routers operation
	ServiceListServiceEdgeRoutersHandler service.ListServiceEdgeRoutersHandler
	// ServiceListServiceIdentitiesHandler sets the operation handler for the list service identities operation
	ServiceListServiceIdentitiesHandler service.ListServiceIdentitiesHandler
	// ServicePolicyListServicePoliciesHandler sets the operation handler for the list service policies operation
	ServicePolicyListServicePoliciesHandler service_policy.ListServicePoliciesHandler
	// ServicePolicyListServicePolicyIdentitiesHandler sets the operation handler for the list service policy identities operation
	ServicePolicyListServicePolicyIdentitiesHandler service_policy.ListServicePolicyIdentitiesHandler
	// ServicePolicyListServicePolicyPostureChecksHandler sets the operation handler for the list service policy posture checks operation
	ServicePolicyListServicePolicyPostureChecksHandler service_policy.ListServicePolicyPostureChecksHandler
	// ServicePolicyListServicePolicyServicesHandler sets the operation handler for the list service policy services operation
	ServicePolicyListServicePolicyServicesHandler service_policy.ListServicePolicyServicesHandler
	// RoleAttributesListServiceRoleAttributesHandler sets the operation handler for the list service role attributes operation
	RoleAttributesListServiceRoleAttributesHandler role_attributes.ListServiceRoleAttributesHandler
	// ServiceListServiceServiceEdgeRouterPoliciesHandler sets the operation handler for the list service service edge router policies operation
	ServiceListServiceServiceEdgeRouterPoliciesHandler service.ListServiceServiceEdgeRouterPoliciesHandler
	// ServiceListServiceServicePoliciesHandler sets the operation handler for the list service service policies operation
	ServiceListServiceServicePoliciesHandler service.ListServiceServicePoliciesHandler
	// ServiceListServiceTerminatorsHandler sets the operation handler for the list service terminators operation
	ServiceListServiceTerminatorsHandler service.ListServiceTerminatorsHandler
	// ServiceListServicesHandler sets the operation handler for the list services operation
	ServiceListServicesHandler service.ListServicesHandler
	// SessionListSessionsHandler sets the operation handler for the list sessions operation
	SessionListSessionsHandler session.ListSessionsHandler
	// InformationalListSpecsHandler sets the operation handler for the list specs operation
	InformationalListSpecsHandler informational.ListSpecsHandler
	// InformationalListSummaryHandler sets the operation handler for the list summary operation
	InformationalListSummaryHandler informational.ListSummaryHandler
	// TerminatorListTerminatorsHandler sets the operation handler for the list terminators operation
	TerminatorListTerminatorsHandler terminator.ListTerminatorsHandler
	// RouterListTransitRoutersHandler sets the operation handler for the list transit routers operation
	RouterListTransitRoutersHandler router.ListTransitRoutersHandler
	// InformationalListVersionHandler sets the operation handler for the list version operation
	InformationalListVersionHandler informational.ListVersionHandler
	// AuthPolicyPatchAuthPolicyHandler sets the operation handler for the patch auth policy operation
	AuthPolicyPatchAuthPolicyHandler auth_policy.PatchAuthPolicyHandler
	// AuthenticatorPatchAuthenticatorHandler sets the operation handler for the patch authenticator operation
	AuthenticatorPatchAuthenticatorHandler authenticator.PatchAuthenticatorHandler
	// CertificateAuthorityPatchCaHandler sets the operation handler for the patch ca operation
	CertificateAuthorityPatchCaHandler certificate_authority.PatchCaHandler
	// ConfigPatchConfigHandler sets the operation handler for the patch config operation
	ConfigPatchConfigHandler config.PatchConfigHandler
	// ConfigPatchConfigTypeHandler sets the operation handler for the patch config type operation
	ConfigPatchConfigTypeHandler config.PatchConfigTypeHandler
	// CurrentAPISessionPatchCurrentIdentityAuthenticatorHandler sets the operation handler for the patch current identity authenticator operation
	CurrentAPISessionPatchCurrentIdentityAuthenticatorHandler current_api_session.PatchCurrentIdentityAuthenticatorHandler
	// EdgeRouterPatchEdgeRouterHandler sets the operation handler for the patch edge router operation
	EdgeRouterPatchEdgeRouterHandler edge_router.PatchEdgeRouterHandler
	// EdgeRouterPolicyPatchEdgeRouterPolicyHandler sets the operation handler for the patch edge router policy operation
	EdgeRouterPolicyPatchEdgeRouterPolicyHandler edge_router_policy.PatchEdgeRouterPolicyHandler
	// ExternalJWTSignerPatchExternalJWTSignerHandler sets the operation handler for the patch external Jwt signer operation
	ExternalJWTSignerPatchExternalJWTSignerHandler external_jwt_signer.PatchExternalJWTSignerHandler
	// IdentityPatchIdentityHandler sets the operation handler for the patch identity operation
	IdentityPatchIdentityHandler identity.PatchIdentityHandler
	// PostureChecksPatchPostureCheckHandler sets the operation handler for the patch posture check operation
	PostureChecksPatchPostureCheckHandler posture_checks.PatchPostureCheckHandler
	// RouterPatchRouterHandler sets the operation handler for the patch router operation
	RouterPatchRouterHandler router.PatchRouterHandler
	// ServicePatchServiceHandler sets the operation handler for the patch service operation
	ServicePatchServiceHandler service.PatchServiceHandler
	// ServiceEdgeRouterPolicyPatchServiceEdgeRouterPolicyHandler sets the operation handler for the patch service edge router policy operation
	ServiceEdgeRouterPolicyPatchServiceEdgeRouterPolicyHandler service_edge_router_policy.PatchServiceEdgeRouterPolicyHandler
	// ServicePolicyPatchServicePolicyHandler sets the operation handler for the patch service policy operation
	ServicePolicyPatchServicePolicyHandler service_policy.PatchServicePolicyHandler
	// TerminatorPatchTerminatorHandler sets the operation handler for the patch terminator operation
	TerminatorPatchTerminatorHandler terminator.PatchTerminatorHandler
	// RouterPatchTransitRouterHandler sets the operation handler for the patch transit router operation
	RouterPatchTransitRouterHandler router.PatchTransitRouterHandler
	// EdgeRouterReEnrollEdgeRouterHandler sets the operation handler for the re enroll edge router operation
	EdgeRouterReEnrollEdgeRouterHandler edge_router.ReEnrollEdgeRouterHandler
	// EnrollmentRefreshEnrollmentHandler sets the operation handler for the refresh enrollment operation
	EnrollmentRefreshEnrollmentHandler enrollment.RefreshEnrollmentHandler
	// IdentityRemoveIdentityMfaHandler sets the operation handler for the remove identity mfa operation
	IdentityRemoveIdentityMfaHandler identity.RemoveIdentityMfaHandler
	// AuthPolicyUpdateAuthPolicyHandler sets the operation handler for the update auth policy operation
	AuthPolicyUpdateAuthPolicyHandler auth_policy.UpdateAuthPolicyHandler
	// AuthenticatorUpdateAuthenticatorHandler sets the operation handler for the update authenticator operation
	AuthenticatorUpdateAuthenticatorHandler authenticator.UpdateAuthenticatorHandler
	// CertificateAuthorityUpdateCaHandler sets the operation handler for the update ca operation
	CertificateAuthorityUpdateCaHandler certificate_authority.UpdateCaHandler
	// ConfigUpdateConfigHandler sets the operation handler for the update config operation
	ConfigUpdateConfigHandler config.UpdateConfigHandler
	// ConfigUpdateConfigTypeHandler sets the operation handler for the update config type operation
	ConfigUpdateConfigTypeHandler config.UpdateConfigTypeHandler
	// CurrentAPISessionUpdateCurrentIdentityAuthenticatorHandler sets the operation handler for the update current identity authenticator operation
	CurrentAPISessionUpdateCurrentIdentityAuthenticatorHandler current_api_session.UpdateCurrentIdentityAuthenticatorHandler
	// EdgeRouterUpdateEdgeRouterHandler sets the operation handler for the update edge router operation
	EdgeRouterUpdateEdgeRouterHandler edge_router.UpdateEdgeRouterHandler
	// EdgeRouterPolicyUpdateEdgeRouterPolicyHandler sets the operation handler for the update edge router policy operation
	EdgeRouterPolicyUpdateEdgeRouterPolicyHandler edge_router_policy.UpdateEdgeRouterPolicyHandler
	// ExternalJWTSignerUpdateExternalJWTSignerHandler sets the operation handler for the update external Jwt signer operation
	ExternalJWTSignerUpdateExternalJWTSignerHandler external_jwt_signer.UpdateExternalJWTSignerHandler
	// IdentityUpdateIdentityHandler sets the operation handler for the update identity operation
	IdentityUpdateIdentityHandler identity.UpdateIdentityHandler
	// IdentityUpdateIdentityTracingHandler sets the operation handler for the update identity tracing operation
	IdentityUpdateIdentityTracingHandler identity.UpdateIdentityTracingHandler
	// PostureChecksUpdatePostureCheckHandler sets the operation handler for the update posture check operation
	PostureChecksUpdatePostureCheckHandler posture_checks.UpdatePostureCheckHandler
	// RouterUpdateRouterHandler sets the operation handler for the update router operation
	RouterUpdateRouterHandler router.UpdateRouterHandler
	// ServiceUpdateServiceHandler sets the operation handler for the update service operation
	ServiceUpdateServiceHandler service.UpdateServiceHandler
	// ServiceEdgeRouterPolicyUpdateServiceEdgeRouterPolicyHandler sets the operation handler for the update service edge router policy operation
	ServiceEdgeRouterPolicyUpdateServiceEdgeRouterPolicyHandler service_edge_router_policy.UpdateServiceEdgeRouterPolicyHandler
	// ServicePolicyUpdateServicePolicyHandler sets the operation handler for the update service policy operation
	ServicePolicyUpdateServicePolicyHandler service_policy.UpdateServicePolicyHandler
	// TerminatorUpdateTerminatorHandler sets the operation handler for the update terminator operation
	TerminatorUpdateTerminatorHandler terminator.UpdateTerminatorHandler
	// RouterUpdateTransitRouterHandler sets the operation handler for the update transit router operation
	RouterUpdateTransitRouterHandler router.UpdateTransitRouterHandler
	// CertificateAuthorityVerifyCaHandler sets the operation handler for the verify ca operation
	CertificateAuthorityVerifyCaHandler certificate_authority.VerifyCaHandler
	// CurrentIdentityVerifyMfaHandler sets the operation handler for the verify mfa operation
	CurrentIdentityVerifyMfaHandler current_identity.VerifyMfaHandler

	// ServeError is called when an error is received, there is a default handler
	// but you can set your own with this
	ServeError func(http.ResponseWriter, *http.Request, error)

	// PreServerShutdown is called before the HTTP(S) server is shutdown
	// This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic
	PreServerShutdown func()

	// ServerShutdown is called when the HTTP(S) server is shut down and done
	// handling all active connections and does not accept connections any more
	ServerShutdown func()

	// Custom command line argument groups with their descriptions
	CommandLineOptionsGroups []swag.CommandLineOptionsGroup

	// User defined logger function.
	Logger func(string, ...interface{})
	// contains filtered or unexported fields
}

ZitiEdgeManagementAPI the ziti edge management API

func NewZitiEdgeManagementAPI

func NewZitiEdgeManagementAPI(spec *loads.Document) *ZitiEdgeManagementAPI

NewZitiEdgeManagementAPI creates a new ZitiEdgeManagement instance

func (*ZitiEdgeManagementAPI) AddMiddlewareFor

func (o *ZitiEdgeManagementAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)

AddMiddlewareFor adds a http middleware to existing handler

func (*ZitiEdgeManagementAPI) AuthenticatorsFor

func (o *ZitiEdgeManagementAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*ZitiEdgeManagementAPI) Authorizer

func (o *ZitiEdgeManagementAPI) Authorizer() runtime.Authorizer

Authorizer returns the registered authorizer

func (*ZitiEdgeManagementAPI) ConsumersFor

func (o *ZitiEdgeManagementAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.

func (*ZitiEdgeManagementAPI) Context

Context returns the middleware context for the ziti edge management API

func (*ZitiEdgeManagementAPI) DefaultConsumes

func (o *ZitiEdgeManagementAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*ZitiEdgeManagementAPI) DefaultProduces

func (o *ZitiEdgeManagementAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*ZitiEdgeManagementAPI) Formats

func (o *ZitiEdgeManagementAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*ZitiEdgeManagementAPI) HandlerFor

func (o *ZitiEdgeManagementAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*ZitiEdgeManagementAPI) Init

func (o *ZitiEdgeManagementAPI) Init()

Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit

func (*ZitiEdgeManagementAPI) ProducersFor

func (o *ZitiEdgeManagementAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.

func (*ZitiEdgeManagementAPI) RegisterConsumer

func (o *ZitiEdgeManagementAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)

RegisterConsumer allows you to add (or override) a consumer for a media type.

func (*ZitiEdgeManagementAPI) RegisterFormat

func (o *ZitiEdgeManagementAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*ZitiEdgeManagementAPI) RegisterProducer

func (o *ZitiEdgeManagementAPI) RegisterProducer(mediaType string, producer runtime.Producer)

RegisterProducer allows you to add (or override) a producer for a media type.

func (*ZitiEdgeManagementAPI) Serve

Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))

func (*ZitiEdgeManagementAPI) ServeErrorFor

func (o *ZitiEdgeManagementAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*ZitiEdgeManagementAPI) SetDefaultConsumes

func (o *ZitiEdgeManagementAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*ZitiEdgeManagementAPI) SetDefaultProduces

func (o *ZitiEdgeManagementAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*ZitiEdgeManagementAPI) SetSpec

func (o *ZitiEdgeManagementAPI) SetSpec(spec *loads.Document)

SetSpec sets a spec that will be served for the clients.

func (*ZitiEdgeManagementAPI) UseRedoc

func (o *ZitiEdgeManagementAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*ZitiEdgeManagementAPI) UseSwaggerUI

func (o *ZitiEdgeManagementAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*ZitiEdgeManagementAPI) Validate

func (o *ZitiEdgeManagementAPI) Validate() error

Validate validates the registrations in the ZitiEdgeManagementAPI

Jump to

Keyboard shortcuts

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