Documentation ¶
Index ¶
- func APIKeySecrets(workloadName string, api *gigglev1alpha1.Api) []*v1.Secret
- func APIKeySecretsFromUser(userID, workloadName, apiKey string) *v1.Secret
- func AuthConfig(doc *openapi3.T, publicHost string) (*authorinov1beta1.AuthConfig, error)
- func AuthConfigAPIKeyResponse() *authorinov1beta1.Response
- func AuthConfigConditionsFromOperation(opPath, opVerb string) []authorinov1beta1.JSONPattern
- func AuthConfigIdentitiesFromOpenAPI(oasDoc *openapi3.T) ([]*authorinov1beta1.Identity, error)
- func AuthConfigIdentityFromApiKeyScheme(identity *authorinov1beta1.Identity, secScheme *openapi3.SecurityScheme, ...)
- func AuthConfigIdentityFromOIDCScheme(identity *authorinov1beta1.Identity, secScheme *openapi3.SecurityScheme)
- func AuthConfigIdentityFromSecurityRequirement(name, opPath, opVerb, workloadName string, secScheme *openapi3.SecurityScheme) (*authorinov1beta1.Identity, error)
- func AuthConfigResponsesFromOpenAPI(oasDoc *openapi3.T) ([]*authorinov1beta1.Response, error)
- func RateLimitPolicy(doc *openapi3.T, api *gigglev1alpha1.Api) (*kuadrantv1alpha1.RateLimitPolicy, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIKeySecrets ¶
func APIKeySecrets(workloadName string, api *gigglev1alpha1.Api) []*v1.Secret
func APIKeySecretsFromUser ¶
func AuthConfig ¶
func AuthConfig(doc *openapi3.T, publicHost string) (*authorinov1beta1.AuthConfig, error)
func AuthConfigAPIKeyResponse ¶
func AuthConfigAPIKeyResponse() *authorinov1beta1.Response
func AuthConfigConditionsFromOperation ¶
func AuthConfigConditionsFromOperation(opPath, opVerb string) []authorinov1beta1.JSONPattern
func AuthConfigIdentitiesFromOpenAPI ¶
func AuthConfigIdentitiesFromOpenAPI(oasDoc *openapi3.T) ([]*authorinov1beta1.Identity, error)
func AuthConfigIdentityFromApiKeyScheme ¶
func AuthConfigIdentityFromApiKeyScheme(identity *authorinov1beta1.Identity, secScheme *openapi3.SecurityScheme, workloadName string)
func AuthConfigIdentityFromOIDCScheme ¶
func AuthConfigIdentityFromOIDCScheme(identity *authorinov1beta1.Identity, secScheme *openapi3.SecurityScheme)
func AuthConfigIdentityFromSecurityRequirement ¶
func AuthConfigIdentityFromSecurityRequirement(name, opPath, opVerb, workloadName string, secScheme *openapi3.SecurityScheme) (*authorinov1beta1.Identity, error)
func AuthConfigResponsesFromOpenAPI ¶
func AuthConfigResponsesFromOpenAPI(oasDoc *openapi3.T) ([]*authorinov1beta1.Response, error)
func RateLimitPolicy ¶
func RateLimitPolicy(doc *openapi3.T, api *gigglev1alpha1.Api) (*kuadrantv1alpha1.RateLimitPolicy, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.