Documentation
¶
Overview ¶
Package adminconformance provides reusable checks for hosts that mount the workflow-plugin-admin shell and contributed runtime-integrated admin surfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpectedContribution ¶
type ExpectedContribution struct {
ID string `json:"id"`
Title string `json:"title,omitempty"`
Path string `json:"path,omitempty"`
RenderMode string `json:"render_mode,omitempty"`
RuntimeIntegrated bool
BackingRoutes []RouteProbe
}
ExpectedContribution describes an admin surface the host expects the admin registry endpoint to expose.
type Options ¶
type Options struct {
Handler http.Handler
BaseURL string
Client *http.Client
ContributionsPath string
AuthenticatedHeaders map[string]string
UnauthenticatedHeaders map[string]string
ExpectedContributions []ExpectedContribution
RouteProbes []RouteProbe
UnauthenticatedProbes []RouteProbe
}
Options configures an admin conformance check. Supply either Handler for in-process checks or BaseURL for launched-host checks.
Click to show internal directories.
Click to hide internal directories.