Directories
¶
| Path | Synopsis |
|---|---|
|
cli
module
|
|
|
Package cmd is our cobra cli implementation
|
Package cmd is our cobra cli implementation |
|
catalog
command
|
|
|
common
module
|
|
|
Package config holds configuration stuff to configure the things
|
Package config holds configuration stuff to configure the things |
|
Package db provides an embedded filesystem containing all the database migrations
|
Package db provides an embedded filesystem containing all the database migrations |
|
internal
|
|
|
consts
Package consts contains constant values used throughout the application but are not configurable
|
Package consts contains constant values used throughout the application but are not configurable |
|
controls
Package controls provides functions for working with controls and subcontrols, including cloning and updating controls based on a standard set of controls.
|
Package controls provides functions for working with controls and subcontrols, including cloning and updating controls based on a standard set of controls. |
|
ent/csvgenerated
Code generated by entx CSV generator.
|
Code generated by entx CSV generator. |
|
ent/entconfig
Package entconfig holds configuration stuff for the ent server
|
Package entconfig holds configuration stuff for the ent server |
|
ent/generate
command
|
|
|
ent/generated
Code generated by entfga, DO NOT EDIT.
|
Code generated by entfga, DO NOT EDIT. |
|
ent/historyschema
Code generated by entx.history, DO NOT EDIT.
|
Code generated by entx.history, DO NOT EDIT. |
|
ent/hooks
Package hooks is middleware to alter the graphql mutation
|
Package hooks is middleware to alter the graphql mutation |
|
ent/integrationgenerated
Package integrationgenerated contains generated integration mapping metadata and shared decode utilities.
|
Package integrationgenerated contains generated integration mapping metadata and shared decode utilities. |
|
ent/interceptors
Package interceptors is middleware to alter the graphql query
|
Package interceptors is middleware to alter the graphql query |
|
ent/mixin
Package mixin contains the mixin package
|
Package mixin contains the mixin package |
|
ent/privacy/rule
Package rule contains policy rules
|
Package rule contains policy rules |
|
ent/privacy/token
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up
|
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up |
|
ent/privacy/utils
Package utils is a helper for working with ent policies
|
Package utils is a helper for working with ent policies |
|
ent/schema
Package schema contains the ent schema
|
Package schema contains the ent schema |
|
ent/workflowgenerated
Code generated by ent.
|
Code generated by ent. |
|
entdb
Package entdb extends the ent db library and satisfies matt's needs for consistency
|
Package entdb extends the ent db library and satisfies matt's needs for consistency |
|
entitlements
Package entitlements provides internal functionality for managing entitlemnets via combinations of pkg/entitlements and pkg/catalog
|
Package entitlements provides internal functionality for managing entitlemnets via combinations of pkg/entitlements and pkg/catalog |
|
entitlements/entmapping
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application
|
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application |
|
entitlements/features
code generated by local feature mapping, DO NOT EDIT.
|
code generated by local feature mapping, DO NOT EDIT. |
|
graphapi
Package graphapi is the graph api package
|
Package graphapi is the graph api package |
|
graphapi/common
Package common contains common utilities and types for the GraphQL API.
|
Package common contains common utilities and types for the GraphQL API. |
|
graphapi/directives
Package directives contains the implementations for the custom GraphQL directives used in the schema as well as an entc extension to modify the generated schema to add the directives to the appropriate fields.
|
Package directives contains the implementations for the custom GraphQL directives used in the schema as well as an entc extension to modify the generated schema to add the directives to the appropriate fields. |
|
graphapi/generate
command
|
|
|
graphapi/gqlerrors
Package gqlerrors is a wrapper to define custom errors for the GraphQL server
|
Package gqlerrors is a wrapper to define custom errors for the GraphQL server |
|
httpserve/authmanager
Package authmanager provides the authentication manager for the server to handle session issuance and validation
|
Package authmanager provides the authentication manager for the server to handle session issuance and validation |
|
httpserve/common
Package common provides common utilities and types used across the HTTP server package
|
Package common provides common utilities and types used across the HTTP server package |
|
httpserve/config
Package config holds the echo server configuration utilities
|
Package config holds the echo server configuration utilities |
|
httpserve/handlers
Package handlers contains custom handler functions
|
Package handlers contains custom handler functions |
|
httpserve/route
Package route will hold the routes and route groups
|
Package route will hold the routes and route groups |
|
httpserve/server
Package server contains the server functions
|
Package server contains the server functions |
|
httpserve/serveropts
Package serveropts contains an echo server options wrapper
|
Package serveropts contains an echo server options wrapper |
|
httpserve/specs
Package specs contains OpenAPI specifications that are merged into the main API spec The scim.yaml file contains the SCIM 2.0 OpenAPI specification which is automatically loaded and merged into the main OpenAPI specification during server startup The openlane.openapi.json file contains the fully composed OpenAPI specification that is served from /api-docs and kept in source control for linting and diffing
|
Package specs contains OpenAPI specifications that are merged into the main API spec The scim.yaml file contains the SCIM 2.0 OpenAPI specification which is automatically loaded and merged into the main OpenAPI specification during server startup The openlane.openapi.json file contains the fully composed OpenAPI specification that is served from /api-docs and kept in source control for linting and diffing |
|
httpserve/specs/generate
command
|
|
|
integrations/auth
Package auth provides shared authentication helpers and protocol types for integration auth flows
|
Package auth provides shared authentication helpers and protocol types for integration auth flows |
|
integrations/definitions/awssecurityhub
Package awssecurityhub defines the consolidated AWS Security Hub and Audit Manager integration definition.
|
Package awssecurityhub defines the consolidated AWS Security Hub and Audit Manager integration definition. |
|
integrations/definitions/azureentraid
Package azureentraid provides the Azure Entra ID integration definition for integrations
|
Package azureentraid provides the Azure Entra ID integration definition for integrations |
|
integrations/definitions/azuresecuritycenter
Package azuresecuritycenter provides the Azure Security Center integration definition for integrations
|
Package azuresecuritycenter provides the Azure Security Center integration definition for integrations |
|
integrations/definitions/catalog
Package catalog exposes the built-in reference definition builders for integrations
|
Package catalog exposes the built-in reference definition builders for integrations |
|
integrations/definitions/cloudflare
Package cloudflare provides the Cloudflare integration definition for integrations
|
Package cloudflare provides the Cloudflare integration definition for integrations |
|
integrations/definitions/gcpscc
Package gcpscc provides the GCP Security Command Center integration definition for integrations
|
Package gcpscc provides the GCP Security Command Center integration definition for integrations |
|
integrations/definitions/githubapp
Package githubapp defines the GitHub App reference definition for integrations
|
Package githubapp defines the GitHub App reference definition for integrations |
|
integrations/definitions/googleworkspace
Package googleworkspace provides the Google Workspace integration definition for integrations
|
Package googleworkspace provides the Google Workspace integration definition for integrations |
|
integrations/definitions/microsoftteams
Package microsoftteams provides the Microsoft Teams integration definition for integrations
|
Package microsoftteams provides the Microsoft Teams integration definition for integrations |
|
integrations/definitions/okta
Package okta provides the Okta integration definition for integrations
|
Package okta provides the Okta integration definition for integrations |
|
integrations/definitions/scim
Package scim defines the SCIM reference definition for integrations
|
Package scim defines the SCIM reference definition for integrations |
|
integrations/definitions/slack
Package slack provides the Slack integration definition for integrations
|
Package slack provides the Slack integration definition for integrations |
|
integrations/operations
Package operations dispatches and executes definition-scoped operations for integrations
|
Package operations dispatches and executes definition-scoped operations for integrations |
|
integrations/providerkit
Package providerkit provides shared helpers used by integration definition implementations which assist in building consistent and robust integrations while reducing boilerplate.
|
Package providerkit provides shared helpers used by integration definition implementations which assist in building consistent and robust integrations while reducing boilerplate. |
|
integrations/registry
Package registry stores definition registrations for the greenfield integration runtime
|
Package registry stores definition registrations for the greenfield integration runtime |
|
integrations/runtime
Package runtime wires the integrations services into one executable runtime
|
Package runtime wires the integrations services into one executable runtime |
|
integrations/types
Package types defines the greenfield integration definition and registry contracts
|
Package types defines the greenfield integration definition and registry contracts |
|
keymaker
Package keymaker orchestrates OAuth/OIDC activation flows for integrations
|
Package keymaker orchestrates OAuth/OIDC activation flows for integrations |
|
keystore
Package keystore manages installation-scoped credential persistence and pooled client initialization for integrations.
|
Package keystore manages installation-scoped credential persistence and pooled client initialization for integrations. |
|
mutations
Package mutations provides shared helpers for extracting, normalizing, and cloning mutation field change data across eventing and workflow trigger contexts.
|
Package mutations provides shared helpers for extracting, normalizing, and cloning mutation field change data across eventing and workflow trigger contexts. |
|
objects
Package objects provides storage orchestration layer that combines clientpool provider resolution with objects/storage pure operations to enable multi-tenant file storage management.
|
Package objects provides storage orchestration layer that combines clientpool provider resolution with objects/storage pure operations to enable multi-tenant file storage management. |
|
slacknotify
Package slacknotify provides Slack webhook notification helpers shared across packages.
|
Package slacknotify provides Slack webhook notification helpers shared across packages. |
|
testutils
Package testutils provides utilities for use in tests
|
Package testutils provides utilities for use in tests |
|
workflows
Package workflows provides minimal registry types for workflow ent templates
|
Package workflows provides minimal registry types for workflow ent templates |
|
workflows/engine
Package engine is the workflow engine for orchestrating workflow execution
|
Package engine is the workflow engine for orchestrating workflow execution |
|
workflows/observability
Package observability provides logging and metrics wrappers and consistency for workflows there are several functions in this package that are geared towards reducing boilerplate overhead with the main callers by pre-setting common fields such as operation origin and trigger event so that inline within the workflow package we don't have crazy verbose log and metric statements making the code harder to read
|
Package observability provides logging and metrics wrappers and consistency for workflows there are several functions in this package that are geared towards reducing boilerplate overhead with the main callers by pre-setting common fields such as operation origin and trigger event so that inline within the workflow package we don't have crazy verbose log and metric statements making the code harder to read |
|
workflows/reconciler
Package reconciler provides workflow reconciliation helpers.
|
Package reconciler provides workflow reconciliation helpers. |
|
workflows/resolvers
Package resolvers provides a registry for workflow target resolution functions
|
Package resolvers provides a registry for workflow target resolution functions |
|
pkg
|
|
|
catalog
Package catalog provides the core functionality for managing and validating the catalog of products, features, and prices in the Openlane project
|
Package catalog provides the core functionality for managing and validating the catalog of products, features, and prices in the Openlane project |
|
catalog/gencatalog
Package gencatalog is the output of parsing the catalog file
|
Package gencatalog is the output of parsing the catalog file |
|
catalog/genjsonschema
Package genjsonschema generates JSON schema files from Go structs for use in validating catalogs
|
Package genjsonschema generates JSON schema files from Go structs for use in validating catalogs |
|
catalog/genyaml
command
Package main inside of genyaml generates Go source files from a catalog YAML file
|
Package main inside of genyaml generates Go source files from a catalog YAML file |
|
celx
Package celx provides utilities for working with CEL (Common Expression Language) expressions, including environment creation, expression compilation, evaluation, and conversion between CEL values and JSON-compatible types.
|
Package celx provides utilities for working with CEL (Common Expression Language) expressions, including environment creation, expression compilation, evaluation, and conversion between CEL values and JSON-compatible types. |
|
entitlements
Package entitlements is a wrapper package for the entitlements service and a basic stripe integration
|
Package entitlements is a wrapper package for the entitlements service and a basic stripe integration |
|
gala
Package gala provides durable, typed eventing primitives intended to replace ad-hoc in-memory dispatch patterns with a River-native foundation it's a black tie affair for your events, ensuring they arrive in style and on time
|
Package gala provides durable, typed eventing primitives intended to replace ad-hoc in-memory dispatch patterns with a River-native foundation it's a black tie affair for your events, ensuring they arrive in style and on time |
|
jsonx
Package jsonx provides helpers for json in/out operations
|
Package jsonx provides helpers for json in/out operations |
|
logx
Package logx is a package for logging with echo and
|
Package logx is a package for logging with echo and |
|
logx/consolelog
Package console log is a zerolog consolewriter output formatter that can be used generically with any zerolog instantiation so that it's not specific to a particular application
|
Package console log is a zerolog consolewriter output formatter that can be used generically with any zerolog instantiation so that it's not specific to a particular application |
|
mapx
Package mapx provides generic helpers for creating, cloning, merging, and querying maps and set-maps.
|
Package mapx provides generic helpers for creating, cloning, merging, and querying maps and set-maps. |
|
metrics
Package metrics holds configuration and middleware for prometheus style metrics
|
Package metrics holds configuration and middleware for prometheus style metrics |
|
middleware/auth
Package auth handles auth
|
Package auth handles auth |
|
middleware/cachecontrol
Package cachecontrol creates a cache control echo middleware
|
Package cachecontrol creates a cache control echo middleware |
|
middleware/cors
Package cors does cors stuff
|
Package cors does cors stuff |
|
middleware/csrf
Package CSRF provides middleware for handling Cross-Site Request Forgery (CSRF) protection in web applications
|
Package CSRF provides middleware for handling Cross-Site Request Forgery (CSRF) protection in web applications |
|
middleware/debug
Package debug contains utility helper functions for debugging when working with echo server
|
Package debug contains utility helper functions for debugging when working with echo server |
|
middleware/graphapi
package graphapi provides helper functions for middleware working with GraphQL API requests
|
package graphapi provides helper functions for middleware working with GraphQL API requests |
|
middleware/impersonation
Package impersonation provides middleware for handling user impersonation in HTTP requests.
|
Package impersonation provides middleware for handling user impersonation in HTTP requests. |
|
middleware/mime
Package mime does mime stuff
|
Package mime does mime stuff |
|
middleware/ratelimit
Package ratelimit implements a rate limiting middleware
|
Package ratelimit implements a rate limiting middleware |
|
middleware/secure
Package secure is middleware that provides protection against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks
|
Package secure is middleware that provides protection against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks |
|
middleware/transaction
Package transaction implements a transaction middleware for REST endpoints using the ent db client
|
Package transaction implements a transaction middleware for REST endpoints using the ent db client |
|
objects
Package objects provides a clean, modern object storage service with dynamic multi-provider support, context-based client injection, and integration with external credential systems.
|
Package objects provides a clean, modern object storage service with dynamic multi-provider support, context-based client injection, and integration with external credential systems. |
|
objects/storage/providers/disk
Package disk is the local disk storage provider for objects service
|
Package disk is the local disk storage provider for objects service |
|
objects/storage/providers/r2
Package r2 is the Cloudflare R2 storage provider for objects service
|
Package r2 is the Cloudflare R2 storage provider for objects service |
|
objects/storage/providers/s3
Package s3 is the AWS S3 storage provider for objects service
|
Package s3 is the AWS S3 storage provider for objects service |
|
objects/storage/proxy
Package proxy implements a storage proxy that provides presigned URL generation
|
Package proxy implements a storage proxy that provides presigned URL generation |
|
permissioncache
Package permissioncache handles permissioncache for things like features
|
Package permissioncache handles permissioncache for things like features |
|
shortlinks
Package shortlinks provides a thin helper for the hosted shortlink API
|
Package shortlinks provides a thin helper for the hosted shortlink API |
|
slacktemplates
Package slacktemplates provides templates for Slack messages
|
Package slacktemplates provides templates for Slack messages |
|
ssoutils
Package ssoutils provides helper functionality for OIDC-based SSO integration, helping to bridge the gap between our choices on HTTP Server, token issuance, and overall SSO flow Several of the functions in this package are used to generate URLs for SSO login and callback due to limitations within echox not allowing for easy access to route paths
|
Package ssoutils provides helper functionality for OIDC-based SSO integration, helping to bridge the gap between our choices on HTTP Server, token issuance, and overall SSO flow Several of the functions in this package are used to generate URLs for SSO login and callback due to limitations within echox not allowing for easy access to route paths |
Click to show internal directories.
Click to hide internal directories.
