operations

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZitiEdgeAPI

type ZitiEdgeAPI 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

	// ApplicationPkcs10Consumer registers a consumer for the following mime types:
	//   - application/pkcs10
	ApplicationPkcs10Consumer runtime.Consumer
	// ApplicationXPemFileConsumer registers a consumer for the following mime types:
	//   - application/x-pem-file
	ApplicationXPemFileConsumer runtime.Consumer
	// 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
	// ApplicationPkcs7MimeProducer registers a producer for the following mime types:
	//   - application/pkcs7-mime
	ApplicationPkcs7MimeProducer runtime.Producer
	// ApplicationXPemFileProducer registers a producer for the following mime types:
	//   - application/x-pem-file
	ApplicationXPemFileProducer runtime.Producer
	// ApplicationXX509UserCertProducer registers a producer for the following mime types:
	//   - application/x-x509-user-cert
	ApplicationXX509UserCertProducer 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
	// 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
	// CurrentAPISessionCreateCurrentAPISessionCertificateHandler sets the operation handler for the create current Api session certificate operation
	CurrentAPISessionCreateCurrentAPISessionCertificateHandler current_api_session.CreateCurrentAPISessionCertificateHandler
	// 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
	// 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
	// PostureChecksCreatePostureResponseHandler sets the operation handler for the create posture response operation
	PostureChecksCreatePostureResponseHandler posture_checks.CreatePostureResponseHandler
	// PostureChecksCreatePostureResponseBulkHandler sets the operation handler for the create posture response bulk operation
	PostureChecksCreatePostureResponseBulkHandler posture_checks.CreatePostureResponseBulkHandler
	// 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
	// SessionCreateSessionHandler sets the operation handler for the create session operation
	SessionCreateSessionHandler session.CreateSessionHandler
	// TerminatorCreateTerminatorHandler sets the operation handler for the create terminator operation
	TerminatorCreateTerminatorHandler terminator.CreateTerminatorHandler
	// TransitRouterCreateTransitRouterHandler sets the operation handler for the create transit router operation
	TransitRouterCreateTransitRouterHandler transit_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
	// 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
	// CurrentAPISessionDeleteCurrentAPISessionCertificateHandler sets the operation handler for the delete current Api session certificate operation
	CurrentAPISessionDeleteCurrentAPISessionCertificateHandler current_api_session.DeleteCurrentAPISessionCertificateHandler
	// 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
	// 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
	// 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
	// TransitRouterDeleteTransitRouterHandler sets the operation handler for the delete transit router operation
	TransitRouterDeleteTransitRouterHandler transit_router.DeleteTransitRouterHandler
	// APISessionDetailAPISessionsHandler sets the operation handler for the detail API sessions operation
	APISessionDetailAPISessionsHandler api_session.DetailAPISessionsHandler
	// 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
	// CurrentAPISessionDetailCurrentAPISessionCertificateHandler sets the operation handler for the detail current Api session certificate operation
	CurrentAPISessionDetailCurrentAPISessionCertificateHandler current_api_session.DetailCurrentAPISessionCertificateHandler
	// 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
	// GeoRegionDetailGeoRegionHandler sets the operation handler for the detail geo region operation
	GeoRegionDetailGeoRegionHandler geo_region.DetailGeoRegionHandler
	// 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
	// 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
	// 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
	// TransitRouterDetailTransitRouterHandler sets the operation handler for the detail transit router operation
	TransitRouterDetailTransitRouterHandler transit_router.DetailTransitRouterHandler
	// IdentityDisassociateIdentitysServiceConfigsHandler sets the operation handler for the disassociate identitys service configs operation
	IdentityDisassociateIdentitysServiceConfigsHandler identity.DisassociateIdentitysServiceConfigsHandler
	// EnrollEnrollHandler sets the operation handler for the enroll operation
	EnrollEnrollHandler enroll.EnrollHandler
	// EnrollEnrollCaHandler sets the operation handler for the enroll ca operation
	EnrollEnrollCaHandler enroll.EnrollCaHandler
	// EnrollEnrollErOttHandler sets the operation handler for the enroll er ott operation
	EnrollEnrollErOttHandler enroll.EnrollErOttHandler
	// CurrentIdentityEnrollMfaHandler sets the operation handler for the enroll mfa operation
	CurrentIdentityEnrollMfaHandler current_identity.EnrollMfaHandler
	// EnrollEnrollOttHandler sets the operation handler for the enroll ott operation
	EnrollEnrollOttHandler enroll.EnrollOttHandler
	// EnrollEnrollOttCaHandler sets the operation handler for the enroll ott ca operation
	EnrollEnrollOttCaHandler enroll.EnrollOttCaHandler
	// EnrollErnollUpdbHandler sets the operation handler for the ernoll updb operation
	EnrollErnollUpdbHandler enroll.ErnollUpdbHandler
	// 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
	// CurrentIdentityGetCurrentIdentityEdgeRoutersHandler sets the operation handler for the get current identity edge routers operation
	CurrentIdentityGetCurrentIdentityEdgeRoutersHandler current_identity.GetCurrentIdentityEdgeRoutersHandler
	// 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
	// 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
	// CurrentAPISessionListCurrentAPISessionCertificatesHandler sets the operation handler for the list current Api session certificates operation
	CurrentAPISessionListCurrentAPISessionCertificatesHandler current_api_session.ListCurrentAPISessionCertificatesHandler
	// 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
	// GeoRegionListGeoRegionsHandler sets the operation handler for the list geo regions operation
	GeoRegionListGeoRegionsHandler geo_region.ListGeoRegionsHandler
	// 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
	// InformationalListProtocolsHandler sets the operation handler for the list protocols operation
	InformationalListProtocolsHandler informational.ListProtocolsHandler
	// InformationalListRootHandler sets the operation handler for the list root operation
	InformationalListRootHandler informational.ListRootHandler
	// 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
	// CurrentAPISessionListServiceUpdatesHandler sets the operation handler for the list service updates operation
	CurrentAPISessionListServiceUpdatesHandler current_api_session.ListServiceUpdatesHandler
	// 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
	// TransitRouterListTransitRoutersHandler sets the operation handler for the list transit routers operation
	TransitRouterListTransitRoutersHandler transit_router.ListTransitRoutersHandler
	// InformationalListVersionHandler sets the operation handler for the list version operation
	InformationalListVersionHandler informational.ListVersionHandler
	// WellKnownListWellKnownCasHandler sets the operation handler for the list well known cas operation
	WellKnownListWellKnownCasHandler well_known.ListWellKnownCasHandler
	// 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
	// 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
	// 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
	// TransitRouterPatchTransitRouterHandler sets the operation handler for the patch transit router operation
	TransitRouterPatchTransitRouterHandler transit_router.PatchTransitRouterHandler
	// IdentityRemoveIdentityMfaHandler sets the operation handler for the remove identity mfa operation
	IdentityRemoveIdentityMfaHandler identity.RemoveIdentityMfaHandler
	// 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
	// IdentityUpdateIdentityHandler sets the operation handler for the update identity operation
	IdentityUpdateIdentityHandler identity.UpdateIdentityHandler
	// PostureChecksUpdatePostureCheckHandler sets the operation handler for the update posture check operation
	PostureChecksUpdatePostureCheckHandler posture_checks.UpdatePostureCheckHandler
	// 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
	// TransitRouterUpdateTransitRouterHandler sets the operation handler for the update transit router operation
	TransitRouterUpdateTransitRouterHandler transit_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
}

ZitiEdgeAPI the ziti edge API

func NewZitiEdgeAPI

func NewZitiEdgeAPI(spec *loads.Document) *ZitiEdgeAPI

NewZitiEdgeAPI creates a new ZitiEdge instance

func (*ZitiEdgeAPI) AddMiddlewareFor

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

AddMiddlewareFor adds a http middleware to existing handler

func (*ZitiEdgeAPI) AuthenticatorsFor

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

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*ZitiEdgeAPI) Authorizer

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

Authorizer returns the registered authorizer

func (*ZitiEdgeAPI) ConsumersFor

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

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

func (*ZitiEdgeAPI) Context

func (o *ZitiEdgeAPI) Context() *middleware.Context

Context returns the middleware context for the ziti edge API

func (*ZitiEdgeAPI) DefaultConsumes

func (o *ZitiEdgeAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*ZitiEdgeAPI) DefaultProduces

func (o *ZitiEdgeAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*ZitiEdgeAPI) Formats

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

Formats returns the registered string formats

func (*ZitiEdgeAPI) HandlerFor

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

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

func (*ZitiEdgeAPI) Init

func (o *ZitiEdgeAPI) Init()

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

func (*ZitiEdgeAPI) ProducersFor

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

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

func (*ZitiEdgeAPI) RegisterConsumer

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

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

func (*ZitiEdgeAPI) RegisterFormat

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

RegisterFormat registers a custom format validator

func (*ZitiEdgeAPI) RegisterProducer

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

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

func (*ZitiEdgeAPI) Serve

func (o *ZitiEdgeAPI) Serve(builder middleware.Builder) http.Handler

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

func (*ZitiEdgeAPI) ServeErrorFor

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

ServeErrorFor gets a error handler for a given operation id

func (*ZitiEdgeAPI) SetDefaultConsumes

func (o *ZitiEdgeAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*ZitiEdgeAPI) SetDefaultProduces

func (o *ZitiEdgeAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*ZitiEdgeAPI) SetSpec

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

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

func (*ZitiEdgeAPI) UseRedoc added in v0.16.46

func (o *ZitiEdgeAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*ZitiEdgeAPI) UseSwaggerUI added in v0.16.46

func (o *ZitiEdgeAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*ZitiEdgeAPI) Validate

func (o *ZitiEdgeAPI) Validate() error

Validate validates the registrations in the ZitiEdgeAPI

Jump to

Keyboard shortcuts

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